* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
}

/* NAVBAR - Sama persis, cuma padding rem dan media untuk stack di mobile */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9375rem 1.875rem; /* 15px 30px */
  height: 110px;
  width: 100%;
  background-color: #2b2424;
  color: white;
  box-sizing: border-box;
  margin: 0 auto;
}

.logo-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.3125rem; /* 5px */
}

.logo img {
  height: auto;
  width: 100%;
  max-width: 200px;
}

.brand {
  font-size: 1.25rem; /* 20px */
  font-weight: bold;
  color: white;
  margin: 0;
  padding-bottom: 0;
  padding-left: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5625rem; /* 25px */
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 1rem; /* 16px */
  position: relative;
  padding: 0.5rem 0; /* Tambah padding untuk touch target 44px min */
  display: flex;
  align-items: center;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: white;
  transition: 0.3s;
}

.nav-links li a:hover::after,
.nav-links li a:focus::after { /* Tambah focus untuk accessibility */
  width: 100%;
}

/* BODY GLOBAL - Konsisten ke Poppins utama, tapi biarkan Georgia untuk heading seperti original */
body {
  font-family: 'Poppins', sans-serif; /* Ubah ke Poppins utama, fallback Arial */
  margin: 0;
  background-color: #faf8f5;
  color: #333;
}

/* BODY GLOBAL - Konsisten ke Poppins utama, tapi biarkan Georgia untuk heading seperti original */
body {
  font-family: 'Poppins', sans-serif; /* Ubah ke Poppins utama, fallback Arial */
  margin: 0;
  background-color: #faf8f5;
  color: #333;
}





/* === HERO BANNER === */
.hero-banner {
  position: relative;
  width: 100%;
  max-width: 1752px;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* Atau cover jika mau full tanpa gap */
}

/* === GLIMPSE SECTION === */
.glimpse-section {
  background-image: url('aglimpseofus.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 3.75rem 1.25rem; /* 60px 20px */
}

.glimpse-overlay {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 1.25rem 1.875rem; /* 20px 30px */
  max-width: 1000px;
  width: 100%;
  text-align: center;
  border-radius: 8px;
}

.glimpse-overlay h2 {
  font-size: 2rem; /* 32px */
  color: #3e3e3e;
  margin-bottom: 0.9375rem; /* 15px */
}

.glimpse-overlay p {
  font-size: 1rem; /* 16px */
  color: #2b2b2b;
  line-height: 1.6;
}

/* === NEWEST SECTIONS (New In, Signature, Couple) === */
.newest-section {
  padding: 3.75rem 1.875rem; /* 60px 30px */
  background-color: #ffffff;
  text-align: center;
  max-width: 100%;
}

.section-title {
  font-size: 2rem; /* 32px */
  color: #584646;
  margin-bottom: 0.625rem; /* 10px */
}

.section-subtitle {
  font-size: 1rem; /* 16px */
  color: #333;
  margin-bottom: 2.5rem; /* 40px */
}

.product-preview {
  display: flex;
  justify-content: center;
  gap: 2.5rem; /* 40px */
  flex-wrap: wrap;
}

.product-card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  max-width: 300px;
  flex: 1 1 250px; /* Grow/shrink fleksibel */
  min-width: 0; /* Hindari overflow flex */
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.product-name {
  margin-top: 0.9375rem; /* 15px */
  font-size: 1.125rem; /* 18px */
  color: #584646;
  font-weight: 600;
}

.product-card:hover,
.product-card:focus { /* Untuk touch */
  transform: scale(1.03);
}

   /* === FOOTER === */
   .footer {
     position: relative;
     background-image: url("foot.png");
     background-size: cover;
     background-position: center top; /* Fix: Mulai dari top, biar bagian atas gambar nggak kepotong */
     background-repeat: no-repeat;
     background-attachment: scroll; /* Non-fixed default, biar smooth di semua device (hilangkan parallax jika bikin crop) */
     padding: 1.5rem 1.25rem; /* Kurangi dari 2.5rem ke 1.5rem top/bottom – space lebih compact */
     color: white;
     margin-top: 0; /* Eksplisit: No margin atas, biar nggak overlap/crop dengan section sebelumnya */
     width: 100%;
   }

   .footer-overlay {
     position: absolute;
     top: 0;
     left: 0;
     height: 100%;
     width: 100%;
     background: rgba(129, 99, 81, 0.5); /* Tetap ringan */
     z-index: 1;
   }

   .footer-content {
     position: relative;
     z-index: 2;
     display: grid;
     grid-template-columns: 1fr 1fr 1fr;
     gap: 1rem; /* Kurangi dari 1.5rem ke 1rem – lebih tight tanpa berantakan */
     max-width: 1200px;
     margin: 0 auto;
   }

   .footer-column {
     min-width: 200px;
     padding: 0.5rem 0; /* Kurangi padding internal vertikal */
   }

   .footer-column h4,
   .footer-subtitle {
     margin-bottom: 0.75rem; /* Kurangi dari 0.9375rem ke 0.75rem (12px) – space lebih efisien */
     font-size: 1.125rem;
     font-weight: bold;
     border-bottom: 2px solid rgba(255, 255, 255, 0.3);
     display: inline-block;
     padding-bottom: 0.3125rem;
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
   }

   .footer-social p {
     margin: 0.25rem 0 0; /* Kurangi dari 0.3125rem ke 0.25rem (4px) */
     font-size: 0.9375rem;
     color: #ffffff;
     font-weight: 500;
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
     line-height: 1.4;
   }

   .footer-nav ul {
     list-style: none;
     padding: 0;
   }

   .footer-nav ul li a {
     color: white;
     text-decoration: none;
     line-height: 1.5; /* Kurangi sedikit dari 1.6 biar compact */
     display: block;
     font-size: 0.9375rem;
     font-weight: 500;
     padding: 0.2rem 0; /* Spacing antar link lebih kecil */
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
     transition: color 0.3s ease;
   }

   .footer-nav ul li a:hover,
   .footer-nav ul li a:focus {
     color: #ddd;
     text-decoration: none;
   }

   .footer-location p {
     margin: 0.25rem 0; /* Kurangi spacing */
     font-size: 0.875rem;
     line-height: 1.4; /* Compact */
     word-break: break-word;
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
     color: #ffffff;
   }

   .footer-location h4 a {
     color: white;
     text-decoration: none;
     font-weight: bold;
   }

   .footer-location h4 a:hover,
   .footer-location h4 a:focus {
     color: #ddd;
     text-decoration: underline;
   }

   .footer-social {
     text-align: left;
     display: flex;
     flex-direction: column;
   }

   .social-icons {
     display: flex;
     gap: 0.75rem;
     flex-wrap: wrap;
     margin-top: 0.5rem;
     align-items: center;
   }

   .social-icons a {
     display: inline-block;
     transition: transform 0.3s ease;
     min-height: 44px;
     min-width: 44px;
     display: flex;
     align-items: center;
     justify-content: center;
   }

   .social-icons img {
     width: 24px;
     height: 24px;
     border-radius: 4px;
   }

   .social-icons a:hover,
   .social-icons a:focus {
     transform: scale(1.1);
   }

   /* Copyright – Kurangi space atas */
   .footer-bottom {
     text-align: center;
     margin-top: 1rem; /* Kurangi dari 1.5rem ke 1rem */
     font-size: 0.875rem;
     color: #f7f7f7;
     position: relative;
     z-index: 2;
     padding-top: 0.75rem; /* Kurangi dari 1rem */
     border-top: 1px solid rgba(255, 255, 255, 0.2);
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
   }

   /* === MEDIA QUERIES UNTUK FOOTER (Lebih Compact di Mobile) === */
   @media (max-width: 768px) {
     .footer {
       padding: 1rem 1rem; /* Lebih kecil: 1rem top/bottom */
       margin-top: 0;
     }

     .footer-content {
       grid-template-columns: 1fr;
       gap: 0.75rem; /* Kurangi gap lebih lanjut */
       text-align: center;
       padding: 0;
     }

     .footer-social {
       text-align: center;
       order: 3;
     }

     .social-icons {
       justify-content: center;
       gap: 0.5rem;
     }

     .social-icons a {
       min-height: 40px;
       min-width: 40px;
     }

     .social-icons img {
       width: 22px;
       height: 22px;
     }

     /* Fonts tetap, tapi spacing lebih tight */
     .footer-column h4,
     .footer-subtitle {
       font-size: 1rem;
       margin-bottom: 0.5rem; /* Lebih kecil di mobile */
     }

     .footer-nav ul li a,
     .footer-social p,
     .footer-location p {
       font-size: 0.875rem;
       padding: 0.15rem 0; /* Link spacing minimal */
     }

     .footer-bottom {
       margin-top: 0.75rem; /* Bahkan lebih kecil */
       padding-top: 0.5rem;
     }
   }

   @media (max-width: 480px) {
     .footer {
       padding: 0.75rem 0.75rem; /* Very compact untuk small phone */
     }

     .footer-content {
       gap: 0.5rem;
     }

     .social-icons {
       gap: 0.375rem;
     }

     .footer-location p {
       font-size: 0.8125rem;
       line-height: 1.3; /* Super compact */
     }
   }






/* HAMBURGER ELEMENTS - Global: Hidden di desktop, visible di mobile via media query */
.nav-toggle {
  display: none; /* Checkbox hidden selalu, fungsional via :checked */
}

.hamburger {
  display: none; /* Hidden di desktop - jangan tambah properties lain di sini biar clean */
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 10px;
  transition: all 0.3s ease;
  transform-origin: left center;
}

/* MEDIA QUERY MOBILE: Hamburger Visible + Dropdown Menu (Override Semua) */
@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1rem; /* Kompak: 12px top/bottom, 16px left/right */
    height: auto; /* Auto fit konten (logo + space untuk hamburger) */
    justify-content: flex-start; /* Mulai dari kiri, biar wrapper centered tanpa expand */
    align-items: center;
    position: relative; /* Parent untuk absolute positioning hamburger */
  }

  .logo-brand-wrapper {
    justify-content: center; /* Center logo + brand */
    flex: none; /* Nggak ambil sisa space */
    max-width: 70%; /* Batasi lebar, biar ruang kanan untuk hamburger */
    margin-right: 1.5rem; /* Jarak 24px aman dari hamburger */
  }

  .logo img {
    max-width: 140px; /* Scale down di mobile */
  }

  .brand {
    font-size: 1rem; /* 16px - lebih kompak */
    white-space: nowrap; /* Text nggak wrap/pecah */
  }

  /* Show & Position Hamburger di Mobile */
  .hamburger {
    display: flex !important; /* Paksa visible */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001; /* Di atas navbar */
    position: absolute; /* Keluar dari flow normal */
    right: 1rem; /* 16px dari kanan edge */
    top: 50%;
    transform: translateY(-50%); /* Center vertikal */
    background: none;
    border: none; /* No extra styling */
  }

  .hamburger span {
    background-color: white !important; /* Pastiin garis putih kontras */
  }

  /* Animasi Hamburger Jadi X Saat Dibuka */
  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Ubah Nav Links Jadi Dropdown Overlay */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(43, 36, 36, 0.95); /* Match navbar bg */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* Gap besar untuk touch */
    margin: 0;
    padding: 0;
    transform: translateY(-100%); /* Hidden di atas */
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
    opacity: 0;
  }

  /* Munculkan Menu Saat Checkbox Checked */
  .nav-toggle:checked ~ .nav-links {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links li a {
    font-size: 1.25rem; /* 20px besar untuk mobile */
    padding: 1rem;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links li a::after {
    display: none; /* No underline di mobile */
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }
}
