/* =========================================================
   FAQIH AINUL GROUP — Design Tokens
   Palette  : Navy Deep #0B1F3A · Navy Mid #14315C · Gold #C9A227
              Gold Light #E8C766 · Cream #F8F5EE · Ink #1C2333
   Type     : "Playfair Display" (display/serif) + "Inter" (body)
   Signature: Pita emas "PREMIUM QUALITY" & garis pembagi emas tipis
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy-deep: #0B1F3A;
  --navy-mid: #14315C;
  --navy-soft: #1E3A66;
  --gold: #C9A227;
  --gold-light: #E8C766;
  --cream: #F8F5EE;
  --ink: #1C2333;
  --muted: #6B7280;
  --white: #FFFFFF;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4, .display {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--navy-deep);
  margin: 0 0 0.5em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* --- Gold divider (signature element) --- */
.gold-rule {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 14px 0 22px;
}
.gold-rule.center { margin-left: auto; margin-right: auto; }

/* --- Ribbon badge (echoes product packaging design) --- */
.ribbon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-deep);
  color: var(--gold-light);
  border: 1px solid var(--gold);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

/* --- Header / Nav --- */
.site-header {
  background: var(--navy-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.brand {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand span { color: var(--gold-light); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: #DCE3EE;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.88rem;
}
.nav-toggle { display: none; }

/* --- Hero --- */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, var(--navy-soft), var(--navy-deep));
  color: var(--white);
  padding: 90px 0 70px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: 2.6rem;
  line-height: 1.15;
}
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero p { color: #C7D0E0; font-size: 1.05rem; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,162,39,0.35); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.4); color: var(--white); }
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

.hero-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.hero-card .stat { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #EEE; }
.hero-card .stat:last-child { border-bottom: none; }
.hero-card .stat b { color: var(--navy-deep); }

/* --- Section --- */
.section { padding: 70px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

/* --- Product grid --- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.card-product {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s;
  display: flex;
  flex-direction: column;
}
.card-product:hover { transform: translateY(-4px); }
.card-product .thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-deep));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  text-align: center;
  padding: 16px;
}
.card-product .thumb img { width:100%; height:100%; object-fit:cover; }
.card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.card-body .cat { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.card-body h3 { font-size: 1.1rem; margin: 6px 0 8px; }
.card-body .price { color: var(--navy-deep); font-weight: 700; font-size: 1.05rem; margin-top: auto; padding-top: 10px; }
.card-body .price small { color: var(--muted); font-weight: 500; font-size: 0.78rem; }
.card-actions { margin-top: 14px; display: flex; gap: 8px; }
.btn-sm {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
}
.btn-sm.primary { background: var(--navy-deep); color: var(--white); }
.btn-sm.wa { background: #25D366; color: var(--white); }

/* --- Why us / features --- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 28px; }
.feature { text-align: left; padding: 24px; background: var(--white); border-radius: 10px; border-top: 3px solid var(--gold); box-shadow: var(--shadow); }
.feature h4 { font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* --- FAQ --- */
.faq-item { background: var(--white); border-radius: 10px; padding: 20px 24px; margin-bottom: 14px; box-shadow: var(--shadow); }
.faq-item h4 { font-size: 1rem; margin-bottom: 8px; color: var(--navy-deep); }
.faq-item p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* --- Product detail --- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.detail-gallery { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--navy-mid), var(--navy-deep)); border-radius: 12px; display:flex; align-items:center; justify-content:center; color: var(--gold-light); font-family:'Playfair Display',serif; overflow:hidden; }
.detail-gallery img { width:100%; height:100%; object-fit:cover; }
.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.spec-table td { padding: 10px 0; border-bottom: 1px solid #E6E2D8; font-size: 0.92rem; }
.spec-table td:first-child { color: var(--muted); width: 40%; }
.price-tag { font-size: 1.8rem; color: var(--navy-deep); font-weight: 700; margin: 10px 0 4px; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info .item { margin-bottom: 22px; }
.contact-info .item b { display: block; color: var(--navy-deep); margin-bottom: 4px; }
.form-control {
  width: 100%; padding: 13px 14px; border: 1px solid #DDD6C4;
  border-radius: var(--radius); font-family: inherit; font-size: 0.95rem;
  margin-bottom: 14px; background: var(--white);
}
textarea.form-control { resize: vertical; min-height: 110px; }

/* --- Footer --- */
.site-footer { background: var(--navy-deep); color: #B9C2D4; padding: 50px 0 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h5 { color: var(--white); font-family:'Playfair Display',serif; margin-bottom: 14px; }
.site-footer a { color: #B9C2D4; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.82rem; text-align: center; color: #8592A8; }

/* --- Floating WhatsApp --- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  background: #25D366; color: var(--white); width: 56px; height: 56px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25); font-size: 1.6rem;
}

/* --- Responsive --- */
@media (max-width: 860px) {
  .hero-grid, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero h1 { font-size: 2rem; }
}

/* --- Focus visibility --- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
