.footer-about .logo {
  color: white;
}
/* === CSS RESET & GLOBAL STYLES === */
:root {
  --primary-color: #ff3333; /* Warna merah dari logo */
  --secondary-color: #ff4444; /* Warna merah lebih terang */
  --dark-color: #222222; /* Warna hitam dari logo */
  --text-color: #333333;
  --background-color: #ffffff; /* Background putih bersih */
  --light-gray: #f8f8f8;
  --white-color: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
  color: #666;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

img {
  max-width: 100%;
  display: block;
}

section {
  padding: 40px 0;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s, background-color 0.3s;
}

.btn:hover {
  background-color: #cc2222;
  transform: translateY(-3px);
}

/* === HEADER & NAVIGATION === */
.header {
  padding: 20px 0;
  background-color: var(--background-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
}
.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--dark-color);
  padding: 8px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.hamburger:hover {
  background-color: var(--light-gray);
}

/* === HERO SECTION === */
#hero {
  padding-top: 60px;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-text .subtitle {
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.hero-text p {
  margin: 20px 0 30px;
  max-width: 500px;
}

.hero-image {
  flex: 1;
}
.hero-image img {
  border-radius: 30px;
  object-fit: cover;
  width: 100%;
  height: auto;
}

/* === LAYANAN SECTION === */
.layanan-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  max-width: 100%;
  overflow: hidden;
}

.layanan-card {
  background-color: var(--white-color);
  border-radius: 15px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  min-width: 0;
  word-wrap: break-word;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.layanan-card:hover {
  transform: translateY(-10px);
}
.layanan-card .icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.layanan-card h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 600;
}

/* === TENTANG KAMI SECTION === */
#tentang {
  background-color: var(--white-color);
}
.tentang-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.tentang-image {
  flex: 1;
}
.tentang-image img {
  border-radius: 20px;
  width: 100%;
}
.tentang-text {
  flex: 1.2;
}
.tentang-text h2 {
  text-align: left;
  margin-bottom: 20px;
}
.tentang-text p {
  margin-bottom: 15px;
}

/* === PRODUK SECTION === */
#produk {
  background-color: var(--background-color);
  padding: 80px 0;
}

.product-category {
  margin-bottom: 60px;
}

.product-category:last-child {
  margin-bottom: 0;
}

.product-category h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  color: var(--dark-color);
  text-align: left;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background-color: var(--light-gray);
}

.product-info {
  padding: 18px;
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-color);
  line-height: 1.3;
}

.product-card .specs {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.4;
}

.product-card .price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* === CARA ORDER SECTION === */
#cara-order {
  padding: 80px 0;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  text-align: center;
}

#cara-order h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

#cara-order .section-subtitle {
  max-width: 700px;
  margin: 0 auto 50px auto;
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 80px;
}

.step-card {
  background: white;
  color: var(--text-color);
  padding: 60px 25px 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-card img {
  max-width: 120px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--dark-color);
}

.step-card p {
  font-size: 0.9rem;
  color: #666;
}

/* === PORTOFOLIO SECTION === */
.portofolio-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.portofolio-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 280px;
  cursor: pointer;
}

.portofolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.portofolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px 15px 15px;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.portofolio-overlay h4 {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.portofolio-overlay p {
  font-size: 0.75rem;
}

.portofolio-item:hover .portofolio-overlay {
  transform: translateY(0);
}

.portofolio-item:hover img {
  transform: scale(1.1);
}

/* === FAQ SECTION === */
#faq {
  background-color: var(--light-gray);
}

.faq-container {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  background: var(--white-color);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white-color);
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: var(--light-gray);
}

.faq-question h4 {
  margin: 0;
  color: var(--dark-color);
}

.faq-answer {
  padding: 0 20px 20px;
  color: #666;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* === KONTAK KAMI SECTION === */
#kontak {
  background-color: var(--white-color);
}
.kontak-wrapper {
  background-color: #fdfdfd;
  padding: 50px;
  border-radius: 20px;
  border: 1px solid #eee;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.kontak-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.kontak-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
}
.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: 30px;
}
.kontak-form .form-group {
  margin-bottom: 20px;
}
.kontak-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.kontak-form input,
.kontak-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-family: "Poppins", sans-serif;
  background: #f9f9f9;
}
.kontak-form textarea {
  resize: vertical;
  height: 120px;
}
.kontak-form .btn {
  width: 100%;
  border: none;
  cursor: pointer;
}

/* === MEDIA QUERIES TABLET === */
@media (max-width: 1200px) {
  /* Layanan unggulan - Grid 3x2 untuk tablet dan layar medium */
  .layanan-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .layanan-card {
    padding: 20px 15px;
  }

  .layanan-card .icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
  }

  .layanan-card h3 {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 600;
  }
}

/* === FOOTER === */
.footer {
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about p {
  color: #ccc;
  margin-top: 15px;
}
.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  color: #ccc;
  transition: color 0.3s, padding-left 0.3s;
}
.footer-col ul a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}
.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.footer-socials a {
  color: var(--white-color);
  font-size: 1.3rem;
  transition: color 0.3s, transform 0.3s;
}
.footer-socials a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #aaa;
}

/* === FLOATING WHATSAPP BUTTON === */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
  line-height: 1;
  margin: 0;
}

/* === STEP ICONS === */
.step-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin: 0 auto 20px auto;
  display: block;
  text-align: center;
  width: 120px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === RESPONSIVE - MOBILE ANCHOR === */
@media (max-width: 992px) {
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Typography adjustments for mobile */
  h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 12px;
  }

  h3 {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin: 0 auto 30px;
  }

  /* Layanan unggulan - Grid 3x2 untuk mobile */
  .layanan-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .layanan-card {
    padding: 18px 10px;
    text-align: center;
    border-radius: 12px;
  }

  .layanan-card .icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .layanan-card h3 {
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.2;
    font-weight: 600;
  }

  /* Produk - Grid 2 kolom */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-card {
    border-radius: 10px;
  }

  .product-card img {
    height: 180px;
  }

  .product-info {
    padding: 15px;
  }

  .product-info h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .product-info .specs {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }

  .product-info .price {
    font-size: 0.9rem;
    font-weight: 700;
  }

  /* Portofolio - Grid 3 kolom */
  .portofolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .portofolio-item {
    height: 150px;
  }

  .portofolio-overlay {
    padding: 15px 10px 10px;
  }

  .portofolio-overlay h4 {
    font-size: 0.75rem;
    margin-bottom: 3px;
  }

  .portofolio-overlay p {
    font-size: 0.65rem;
  }

  .hero-text .subtitle {
    justify-content: center;
  }
  .header {
    padding: 15px 0;
  }
  .navbar {
    position: relative;
  }
  .logo img {
    height: 40px;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white-color);
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
    border-top: 1px solid #eee;
    /* Hide menu by default */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 1000;
  }
  .nav-links.active {
    max-height: 320px;
  }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-links li:last-child {
    border-bottom: none;
  }
  .nav-links a {
    display: block;
    padding: 15px 25px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 0;
  }
  .nav-links a:hover {
    background-color: var(--primary-color);
    color: white;
  }
  .hamburger {
    display: block;
    color: var(--dark-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
  }
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    order: 2;
  }
  .hero-image {
    order: 1;
    margin-bottom: 30px;
  }
  .tentang-content {
    flex-direction: column;
  }
  .kontak-wrapper {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .kontak-info {
    text-align: center;
  }
  .info-item {
    /* justify-content: center; */
    text-align: start;
  }
}

@media (max-width: 600px) {
  /* Further typography adjustments for smaller screens */
  h1 {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
  }

  h2 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  /* Layanan unggulan - Maintain 3x2 grid but smaller */
  .layanan-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .layanan-card {
    padding: 15px 8px;
    border-radius: 10px;
  }

  .layanan-card .icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .layanan-card h3 {
    font-size: 0.75rem;
    margin-bottom: 0;
    line-height: 1.2;
    font-weight: 600;
  }

  /* Produk - Keep 2 columns */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card img {
    height: 160px;
  }

  .product-info {
    padding: 12px;
  }

  .product-info h3 {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }

  .product-info .specs {
    font-size: 0.75rem;
    margin-bottom: 6px;
  }

  .product-info .price {
    font-size: 0.85rem;
    font-weight: 700;
  }

  /* Portofolio - Keep 3 columns */
  .portofolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .portofolio-item {
    height: 130px;
  }

  .portofolio-overlay {
    padding: 12px 8px 8px;
  }

  .portofolio-overlay h4 {
    font-size: 0.7rem;
    margin-bottom: 2px;
  }

  .portofolio-overlay p {
    font-size: 0.6rem;
  }

  .header {
    padding: 12px 0;
  }
  .logo img {
    height: 35px;
  }
  .hamburger {
    font-size: 1.3rem;
    padding: 6px;
  }
  .nav-links {
    /* padding: 15px 0; */
    gap: 10px;
  }
  .nav-links a {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  #cara-order h2 {
    font-size: 2rem;
  }
  .steps-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .step-card {
    padding: 50px 20px 25px 20px;
  }
  .step-icon {
    font-size: 3rem;
    height: 80px;
  }
  #produk {
    padding: 50px 0;
  }
  .product-category h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  /* Extra small screens - adjust layanan to 2x3 grid */
  .layanan-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .layanan-card {
    padding: 18px 12px;
  }

  .layanan-card .icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .layanan-card h3 {
    font-size: 0.8rem;
    margin-bottom: 0;
    font-weight: 600;
    line-height: 1.2;
  }

  /* Produk - Keep 2 columns but adjust spacing */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card img {
    height: 140px;
  }

  .product-info {
    padding: 10px;
  }

  .product-info h3 {
    font-size: 0.85rem;
    margin-bottom: 4px;
  }

  .product-info .specs {
    font-size: 0.7rem;
    margin-bottom: 5px;
  }

  .product-info .price {
    font-size: 0.8rem;
    font-weight: 700;
  }

  /* Portofolio - Keep 3 columns even on very small screens */
  .portofolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .portofolio-item {
    height: 140px;
  }

  .portofolio-overlay {
    padding: 10px 6px 6px;
  }

  .portofolio-overlay h4 {
    font-size: 0.65rem;
    margin-bottom: 2px;
  }

  .portofolio-overlay p {
    font-size: 0.55rem;
  }
}
