/* =========================
   CSS VARIABLES & RESET
========================= */
:root {
  --black: #0B1F3A;
  --cream: #F3F7FB;
  --gold: #C9A227;
  --white: #FFFFFF;
  --muted: #5F6B7A;
  --line: #DCE5EF;
  --green: #0B6B4B;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: #fff;
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================
   TOPBAR
========================= */
.topbar {
  background: var(--black);
  color: white;
  text-align: center;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* =========================
   NAVBAR
========================= */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  min-height: 80px;
}

.logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 700;
  font-size: 15px;
}

.nav-links a {
  transition: 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.nav-links a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-cta {
  background: var(--black);
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 800;
  transition: 0.25s;
  display: inline-block;
  white-space: nowrap;
  font-size: 14px;
}

.nav-cta:hover {
  background: #1a2f4a;
}

/* =========================
   HERO
========================= */
.hero {
  background: var(--cream);
  padding: 60px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: #E8D9A8;
  color: #7A5C00;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.4px;
}

h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  margin-bottom: 16px;
  font-weight: 800;
}

h1 span {
  color: var(--gold);
}

.hero p {
  font-size: 16px;
  color: #505050;
  margin-bottom: 24px;
  max-width: 95%;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 55px rgba(11, 31, 58, 0.14);
}

/* =========================
   BUTTONS
========================= */
.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 800;
  transition: .25s ease;
  border: none;
  cursor: pointer;
  font-size: 15px;
  white-space: nowrap;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}

.btn-dark {
  background: var(--black);
  color: white;
}

.btn-outline {
  border: 1px solid var(--line);
  background: white;
  color: var(--black);
}

.btn-outline:hover {
  background: #f0f4f9;
}

/* =========================
   SECTION
========================= */
section {
  padding: 60px 0;
}

.section-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 10px;
  font-weight: 800;
  color: var(--black);
}

.section-head p {
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================
   FEATURES / KEUNGGULAN - FIXED
   Menggunakan flexbox dengan flex-wrap
   agar lebih rapi di semua ukuran layar
========================================== */
#keunggulan {
  background: var(--white);
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature {
  flex: 1 1 300px;
  max-width: 350px;
  min-width: 280px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 24px;
  background: white;
  transition: 0.25s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.feature:hover {
  box-shadow: 0 12px 24px rgba(11, 31, 58, 0.08);
  transform: translateY(-3px);
}

.feature i {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 4px;
}

.feature h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--black);
}

.feature p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* =========================
   PRODUCTS
========================= */
.products {
  background: #F7FAFD;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: .25s ease;
  display: flex;
  flex-direction: column;
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 31, 58, 0.10);
}

.product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f5f5f5;
  padding: 16px;
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tag {
  display: inline-block;
  background: #E8D9A8;
  color: var(--black);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 10px;
  width: fit-content;
}

.product h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.price {
  font-size: 34px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1.1;
}

.small {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.product-info .btn {
  margin-top: auto;
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
}

/* =========================
   PILIHAN WARNA - GRID
========================= */
.color-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 24px;
}

.color-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  transition: .25s ease;
  box-shadow: 0 4px 12px rgba(11, 31, 58, 0.05);
}

.color-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(11, 31, 58, 0.10);
}

.color-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: #f7f7f7;
  padding: 10px;
}

.color-card h4 {
  padding: 10px 6px 12px;
  font-size: 11px;
  font-weight: 800;
  color: var(--black);
  margin: 0;
}

/* =========================
   ABOUT STORE
========================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(11, 31, 58, 0.12);
}

.about-content h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 15px;
}

/* =========================
   CONTACT
========================= */
.contact {
  background: var(--cream);
  text-align: center;
}

.contact h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}

.contact p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 15px;
}

.contact .buttons {
  justify-content: center;
}

.map-wrapper {
  margin-top: 30px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.1);
}

.map-wrapper iframe {
  display: block;
}

/* =========================
   FOOTER
========================= */
footer {
  background: var(--black);
  color: white;
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

footer strong {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 5px;
}

footer p {
  color: #AAB4C2;
  font-size: 12px;
  margin: 0;
}

/* =========================
   WHATSAPP FLOAT
========================= */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  z-index: 999;
  transition: 0.25s;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.06);
  background: #0a5a3e;
}

/* ============================================
   RESPONSIVE - TABLET (max-width: 992px)
============================================ */
@media (max-width: 992px) {
  .container {
    padding: 0 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .hero p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  /* Features - tetap 2 kolom di tablet */
  .features {
    gap: 20px;
  }

  .feature {
    flex: 1 1 280px;
    max-width: 48%;
    min-width: 250px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .color-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .color-card img {
    height: 130px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .about-content .btn {
    margin: 0 auto;
  }
}

/* ============================================
   RESPONSIVE - MOBILE (max-width: 768px)
============================================ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-inner {
    min-height: 70px;
    padding: 8px 0;
  }

  .logo img {
    height: 50px;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 13px;
  }

  .hero {
    padding: 40px 0;
  }

  h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 14px;
  }

  section {
    padding: 40px 0;
  }

  .section-head h2 {
    font-size: 24px;
  }

  /* Features - 1 kolom di mobile */
  .features {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .feature {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
    min-width: unset;
  }

  .color-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .color-card img {
    height: 120px;
  }

  .color-card h4 {
    font-size: 10px;
    padding: 8px 4px 10px;
  }

  .buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .price {
    font-size: 28px;
  }

  .product h3 {
    font-size: 20px;
  }

  .contact h2 {
    font-size: 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .wa-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    right: 14px;
    bottom: 14px;
  }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
============================================ */
@media (max-width: 480px) {
  .container {
    width: 94%;
    padding: 0 10px;
  }

  h1 {
    font-size: 24px;
  }

  .hero {
    padding: 30px 0;
  }

  .eyebrow {
    font-size: 10px;
    padding: 5px 10px;
  }

  .btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .feature {
    padding: 24px 16px;
  }

  .feature i {
    font-size: 30px;
  }

  .feature h3 {
    font-size: 18px;
  }

  .color-card img {
    height: 100px;
  }

  .color-card h4 {
    font-size: 9px;
  }

  .map-wrapper iframe {
    height: 250px;
  }
}