/* ============================================================
   AZAZI — Grosir Hijab Semarang
   Design language: draped-fabric elegance.
   Deep wine + muted gold on warm ivory, Playfair Display serif
   headlines over Outfit body copy. The recurring "fold" motif
   (scalloped dividers, soft drape curves) nods to a folded
   kerudung on the shelf — the shop's actual signature.
   ============================================================ */

:root {
  /* ---- Color tokens ---- */
  --color-bg:          #FBF6EF;   /* warm ivory */
  --color-bg-alt:      #F4E8DD;   /* soft blush cream, alt sections */
  --color-surface:     #FFFFFF;
  --color-ink:         #2B1E1A;   /* deep umber-black text */
  --color-ink-soft:    #6B584F;   /* muted brown for body copy */
  --color-primary:     #6B2338;   /* deep wine */
  --color-primary-dk:  #4A1725;   /* near-black wine, hero bg tone */
  --color-primary-lt:  #8C4258;
  --color-accent:      #BD9145;   /* muted antique gold */
  --color-accent-lt:   #E7D3A6;
  --color-accent-dk:   #8C6C2E;

  /* ---- Type ---- */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;

  /* ---- Layout ---- */
  --container-w: 1180px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-soft: 0 12px 40px -12px rgba(43, 30, 26, 0.18);
  --shadow-card: 0 4px 20px -6px rgba(43, 30, 26, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  min-width: 0;
}

img { max-width: 100%; height: auto; display: block; }

/* Prevent long text, embeds, and form controls from widening the viewport. */
main, section, header, footer, nav, div, form, input, select, textarea, button { min-width: 0; }
p, h1, h2, h3, h4, a, span, label, button { overflow-wrap: anywhere; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  font-weight: 600;
  line-height: 1.2;
}

.section-container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

.accent-text { color: var(--color-primary); font-style: italic; }

.gradient-text {
  background: linear-gradient(100deg, var(--color-primary) 0%, var(--color-accent-dk) 55%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-center { text-align: center; }

.sub-heading {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-dk);
  margin-bottom: 14px;
  position: relative;
  padding-left: 30px;
}

.sub-heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 1.5px;
  background: var(--color-accent);
}

/* Scroll reveal defaults */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 0.9s var(--ease) forwards;
}
.fade-in:nth-child(1) { animation-delay: 0.05s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.35s; }
.fade-in:nth-child(4) { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-on-scroll, .fade-in { opacity: 1; transform: none; animation: none; transition: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.btn i { width: 18px; height: 18px; }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-bg);
  box-shadow: 0 10px 24px -8px rgba(107, 35, 56, 0.55);
}
.btn-primary:hover {
  background: var(--color-primary-dk);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -8px rgba(107, 35, 56, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--color-bg);
  border: 1.5px solid rgba(251, 246, 239, 0.55);
}
.btn-secondary:hover {
  background: rgba(251, 246, 239, 0.12);
  transform: translateY(-3px);
  border-color: var(--color-bg);
}

.btn-lg { padding: 16px 40px; font-size: 16px; }
.w-100 { width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 22px 0;
}

.navbar.scrolled {
  background: rgba(251, 246, 239, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px -8px rgba(43, 30, 26, 0.15);
  padding: 12px 0;
}

.nav-container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-bg);
  transition: color 0.4s var(--ease);
}
.navbar.scrolled .logo { color: var(--color-ink); }
.navbar.scrolled .logo .accent-text { color: var(--color-primary); }

.logo-icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(251, 246, 239, 0.85);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.navbar.scrolled .nav-link { color: var(--color-ink-soft); }

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.35s var(--ease);
}
.nav-link:hover, .nav-link.active {
  color: var(--color-bg);
}
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--color-primary);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.cta-btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: var(--color-bg) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cta-btn-nav i { width: 16px; height: 16px; }
.cta-btn-nav:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(107,35,56,0.5); }

.mobile-menu-toggle {
  display: none;
  color: var(--color-bg);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.navbar.scrolled .mobile-menu-toggle { color: var(--color-ink); }
.mobile-menu-toggle i { width: 26px; height: 26px; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  background: var(--color-bg);
  transition: max-height 0.5s var(--ease);
}
.mobile-nav.open { max-height: 480px; box-shadow: 0 12px 24px -10px rgba(43,30,26,0.2); }
.mobile-nav a {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink);
  border-top: 1px solid rgba(43,30,26,0.06);
}
.mobile-nav a:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.cta-btn-mobile {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: var(--color-primary) !important;
  font-weight: 700 !important;
}

@media (max-width: 940px) {
  .nav-links { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

/* fabric-fold drape at hero base, echoes a hung kerudung edge */
.hero-section::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 90px;
  background: var(--color-bg);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 90' preserveAspectRatio='none'%3E%3Cpath d='M0,90 L0,40 Q50,80 100,40 Q150,0 200,40 Q250,80 300,40 Q350,0 400,40 Q450,80 500,40 Q550,0 600,40 Q650,80 700,40 Q750,0 800,40 Q850,80 900,40 Q950,0 1000,40 Q1050,80 1100,40 Q1150,0 1200,40 L1200,90 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 90' preserveAspectRatio='none'%3E%3Cpath d='M0,90 L0,40 Q50,80 100,40 Q150,0 200,40 Q250,80 300,40 Q350,0 400,40 Q450,80 500,40 Q550,0 600,40 Q650,80 700,40 Q750,0 800,40 Q850,80 900,40 Q950,0 1000,40 Q1050,80 1100,40 Q1150,0 1200,40 L1200,90 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(251, 246, 239, 0.1);
  border: 1px solid rgba(231, 211, 166, 0.4);
  color: var(--color-accent-lt);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 26px;
}
.hero-badge i { width: 15px; height: 15px; }

.hero-title {
  font-size: clamp(34px, 5.4vw, 58px);
  color: var(--color-bg);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(251, 246, 239, 0.82);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator{
    position: absolute;

    left: 50%;
    bottom: 30px;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    color: #D4AF37;

    z-index: 10;

    pointer-events: none;
}

.chevrons{
    margin-top:10px;
}

.chevrons span{
    display:block;
    width:18px;
    height:18px;
    border-right:3px solid #D4AF37;
    border-bottom:3px solid #D4AF37;
    transform:rotate(45deg);
    margin:-6px;
    animation:scrollDown 1.5s infinite;
}

.chevrons span:nth-child(2){
    animation-delay:.2s;
}

@keyframes scrollDown{

    0%{
        opacity:0;
        transform:rotate(45deg) translate(-10px,-10px);
    }

    50%{
        opacity:1;
    }

    100%{
        opacity:0;
        transform:rotate(45deg) translate(10px,10px);
    }

}


/* ============================================================
   ABOUT
   ============================================================ */
.about-section { padding: 110px 0; }
.about-section:nth-of-type(even) { background: var(--color-bg-alt); }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.about-content h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 20px; }

.lead-text {
  font-size: 17px;
  color: var(--color-ink-soft);
  margin-bottom: 16px;
}
.about-content > p { color: var(--color-ink-soft); margin-bottom: 14px; }
.about-content strong { color: var(--color-primary); }

.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }

.feature-item { display: flex; gap: 18px; align-items: flex-start; }

.feature-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--color-primary);
  color: var(--color-accent-lt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon i { width: 21px; height: 21px; }

.feature-text h3 { font-size: 16.5px; margin-bottom: 4px; font-family: var(--font-body); font-weight: 600; }
.feature-text p { font-size: 14.5px; color: var(--color-ink-soft); }

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 4.6;
  background: var(--color-primary-dk);
}
.about-image-wrapper .about-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.about-image-wrapper .about-img.is-active { opacity: 1; }

.glass-card {
  background: rgba(251, 246, 239, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(251, 246, 239, 0.3);
}

.info-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.badge-num { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--color-bg); }
.badge-lbl { font-size: 12px; color: rgba(251, 246, 239, 0.9); max-width: 130px; }

/* ============================================================
   PRODUCT SECTIONS (Azara Motif / Paris Polos)
   ============================================================ */
.products-section { padding: 110px 0; position: relative; }

.section-header { max-width: 640px; margin: 0 auto 56px; }
.section-header h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.section-desc { color: var(--color-ink-soft); font-size: 16px; }

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.product-main-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1 / 1.05;
  background: var(--color-bg-alt);
}
.product-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.product-main-img.is-active { opacity: 1; }

.product-main-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  background: var(--color-accent);
  color: var(--color-primary-dk);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 18px -6px rgba(0,0,0,0.25);
}

.variants-list { display: flex; flex-direction: column; gap: 4px; }

.variant-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 12px;
  border-bottom: 1px solid rgba(43,30,26,0.08);
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
  border-radius: var(--radius-sm);
}
.variant-item:first-child { border-top: 1px solid rgba(43,30,26,0.08); }
.variant-item:hover { background: var(--color-bg-alt); padding-left: 20px; }

.variant-icon-wrapper {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 40px;
}
.variant-number {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--color-accent-dk);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.variant-emoji {
  font-size: 15px;
  color: var(--color-accent);
}
.variant-icon-wrapper .variant-emoji { filter: sepia(0.6) saturate(2) hue-rotate(-20deg); }

.variant-details h3 { font-size: 16.5px; font-family: var(--font-body); font-weight: 600; margin-bottom: 4px; }
.variant-details p { font-size: 14.5px; color: var(--color-ink-soft); }

.section-footer { margin-top: 64px; }
.section-footer p { color: var(--color-ink-soft); margin-bottom: 22px; font-size: 15.5px; }

/* ============================================================
   DONAT / AZARA POLOS SECTION
   ============================================================ */
.donat-section { padding: 110px 0; background: var(--color-primary-dk); position: relative; overflow: hidden; }
.donat-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(189, 145, 69, 0.14), transparent 55%);
  pointer-events: none;
}

.donat-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
  position: relative;
}

.donat-image-side {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.donat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.donat-img.is-active { opacity: 1; }

.donat-overlay-card {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 3;
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.donat-overlay-card h4 { color: var(--color-bg); font-size: 15px; margin-bottom: 2px; }
.donat-overlay-card p { color: rgba(251,246,239,0.82); font-size: 13px; }

.donat-content-side .sub-heading { color: var(--color-accent-lt); }
.donat-content-side .sub-heading::before { background: var(--color-accent-lt); }
.donat-content-side h2 { color: var(--color-bg); font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.donat-content-side .lead-text { color: rgba(251,246,239,0.82); }
.donat-content-side > p { color: rgba(251,246,239,0.7); margin-bottom: 24px; }
.donat-content-side strong { color: var(--color-accent-lt); }

.donat-perks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.donat-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-bg);
  font-size: 15px;
  font-weight: 500;
}
.donat-perks i { width: 19px; height: 19px; color: var(--color-accent); flex-shrink: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 110px 0; }

.faq-accordion-container {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid rgba(43,30,26,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-item.open { box-shadow: var(--shadow-card); border-color: rgba(189,145,69,0.35); }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-ink);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--color-accent-dk); }

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-content p {
  padding: 0 24px 22px;
  color: var(--color-ink-soft);
  font-size: 15px;
  line-height: 1.7;
}
.faq-content strong { color: var(--color-ink); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { padding: 110px 0; background: var(--color-bg-alt); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 16px; }
.contact-info > p { color: var(--color-ink-soft); margin-bottom: 36px; font-size: 16px; }

.info-links { display: flex; flex-direction: column; gap: 18px; }

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--color-surface);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.info-card > i {
  width: 22px;
  height: 22px;
  color: var(--color-bg);
  background: var(--color-primary);
  padding: 10px;
  border-radius: 12px;
  box-sizing: content-box;
  flex-shrink: 0;
}
.info-card-text h3 { font-size: 15.5px; font-family: var(--font-body); font-weight: 600; margin-bottom: 3px; }
.info-card-text p { font-size: 14.5px; color: var(--color-ink-soft); margin-bottom: 6px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.text-link i { width: 13px; height: 13px; }
.text-link:hover { color: var(--color-accent-dk); border-color: currentColor; }

.contact-form-container {
  background: var(--color-surface);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.contact-form h3 { font-size: 21px; margin-bottom: 6px; }
.contact-form > p { color: var(--color-ink-soft); font-size: 14.5px; margin-bottom: 26px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(43,30,26,0.14);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--color-ink);
  background: var(--color-bg);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(107, 35, 56, 0.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }

.contact-form .btn { margin-top: 6px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--color-primary-dk); padding: 70px 0 0; }

.footer-container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
}

.footer-brand .logo { color: var(--color-bg); font-size: 22px; margin-bottom: 14px; }
.footer-brand .logo .accent-text { color: var(--color-accent); }
.footer-brand p { color: rgba(251,246,239,0.6); font-size: 14.5px; max-width: 300px; }

.footer-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.footer-col h4 {
  color: var(--color-accent-lt);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(251,246,239,0.68);
  font-size: 14.5px;
  padding: 6px 0;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-col a:hover { color: var(--color-bg); transform: translateX(3px); }

.footer-bottom {
  border-top: 1px solid rgba(251,246,239,0.1);
  padding: 22px 32px;
  text-align: center;
}
.footer-bottom p { color: rgba(251,246,239,0.5); font-size: 13px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .about-grid,
  .donat-grid,
  .products-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .about-image-wrapper { order: -1; aspect-ratio: 16 / 10; }
  .donat-image-side { aspect-ratio: 16 / 10; }
  .product-main-card { aspect-ratio: 16 / 10; }

  /* Mobile/tablet: never crop JPG, JPEG, PNG, or WEBP carousel images. */
  .about-image-wrapper,
  .product-main-card { background: var(--color-bg-alt); }
  .donat-image-side { background: rgba(251, 246, 239, 0.1); }
  .about-image-wrapper .about-img,
  .product-main-img,
  .donat-img {
    object-fit: contain;
    object-position: center;
  }

  /* The hero image is a PNG background, so it needs the same complete-image rule. */
  .hero-bg {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1A0F0A;
    transform: none;
  }

  .footer-container { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .section-container { padding: 0 20px; }
  .nav-container { padding: 0 20px; }
  .about-section, .products-section, .donat-section, .faq-section, .contact-section { padding: 72px 0; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .contact-form-container { padding: 26px; }
  .footer-links-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .info-badge { padding: 12px 16px; }
}

/* ============================================================
   MOBILE SAFETY — Android and iPhone
   Desktop rules above intentionally remain unchanged.
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --radius-lg: 20px;
  }

  body { font-size: clamp(15px, 4vw, 16px); }

  .navbar {
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: 12px;
  }

  .navbar.scrolled {
    padding-top: max(9px, env(safe-area-inset-top));
    padding-bottom: 9px;
  }

  .logo { font-size: clamp(19px, 6vw, 22px); gap: 8px; }
  .logo-icon { width: 21px; height: 21px; }
  .mobile-menu-toggle { padding: 8px; margin: -8px; }

  .mobile-nav {
    max-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-nav.open { max-height: calc(100dvh - 58px - env(safe-area-inset-top)); }
  .mobile-nav a { padding: 12px 20px; font-size: 15px; }

  .hero-section {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    align-items: center;
    padding: max(88px, calc(64px + env(safe-area-inset-top))) 0 42px;
  }
  .hero-bg {
    /* `contain` keeps the complete hero artwork visible on narrow screens. */
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #1A0F0A;
    transform: none;
  }
  .hero-section::after { height: 46px; }
  .hero-container { width: 100%; padding: 0 20px; }
  .hero-badge { max-width: 100%; margin-bottom: 18px; padding: 7px 13px; font-size: clamp(11px, 3.25vw, 13px); }
  .hero-title { font-size: clamp(30px, 9vw, 40px); margin-bottom: 16px; }
  .hero-subtitle { font-size: clamp(15px, 4.2vw, 17px); margin-bottom: 26px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { min-height: 48px; padding-inline: 18px; }
  .scroll-indicator { display: none; }

  .section-container, .nav-container { width: 100%; padding-inline: 16px; }
  .about-section, .products-section, .donat-section, .faq-section, .contact-section { padding-block: 56px; }
  .about-grid, .donat-grid, .products-grid, .contact-grid { gap: 36px; }
  .section-header { margin-bottom: 34px; }
  .section-header h2, .about-content h2, .donat-content-side h2, .contact-info h2 { font-size: clamp(27px, 8vw, 34px); }
  .lead-text, .section-desc { font-size: clamp(15px, 4vw, 16px); }

  /* Product images are never cropped on phones; the card adapts to each viewport. */
  .about-image-wrapper, .donat-image-side, .product-main-card {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--color-bg-alt);
  }
  .donat-image-side { background: rgba(251, 246, 239, 0.1); }
  .about-image-wrapper .about-img,
  .product-main-img,
  .donat-img {
    object-fit: contain;
    object-position: center;
  }
  .info-badge, .donat-overlay-card { max-width: calc(100% - 24px); }
  .info-badge { top: 12px; left: 12px; }
  .donat-overlay-card { right: 12px; bottom: 12px; }

  .feature-item, .variant-item, .info-card { gap: 12px; }
  .feature-icon { width: 42px; height: 42px; border-radius: 12px; }
  .variant-item { padding: 16px 4px; }
  .variant-item:hover { padding-left: 8px; }
  .faq-trigger { padding: 17px 16px; font-size: 15px; }
  .faq-content p { padding: 0 16px 18px; font-size: 15px; }

  .contact-form-container { padding: 22px 16px; }
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; }
  .footer-container { padding-inline: 16px; padding-bottom: 34px; }
  .footer-links-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { padding: 18px 16px max(18px, env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
  .hero-section { padding-top: 82px; }
  .hero-title { font-size: 29px; }
  .hero-badge { align-items: flex-start; text-align: left; }
  .btn-lg { padding-inline: 22px; }
}
/* ============================================================
   Mouse
   ============================================================ */

/* ============================================================
   HERO ORIGINAL APPEARANCE
   Keep azazihero.png and all hero content exactly in its original style.
   ============================================================ */
@media (max-width: 940px) {
  .hero-bg {
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    background-color: transparent;
    transform: scale(1.05);
  }
}

@media (max-width: 640px) {
  .hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
  }
  .hero-section::after { height: 90px; }
  .hero-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
  }
  .hero-badge {
    max-width: none;
    margin-bottom: 26px;
    padding: 8px 18px;
    font-size: 13px;
  }
  .hero-title {
    font-size: clamp(34px, 5.4vw, 58px);
    margin-bottom: 22px;
  }
  .hero-subtitle {
    font-size: 17px;
    margin: 0 auto 36px;
  }
  .hero-actions {
    flex-direction: row;
    width: auto;
    gap: 16px;
    flex-wrap: wrap;
  }
  .hero-actions .btn {
    width: auto;
    min-height: 0;
    padding: 14px 30px;
  }
  .scroll-indicator { display: flex; }
}


/* ============================================================
   Popup
   ============================================================ */

.popup{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.55);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.popup-box{

    position:relative;

    width:92%;
    
    max-height:90vh;

    display:flex;

    flex-direction:column;
    
    max-width:430px;

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 25px 60px rgba(0,0,0,.35);

    animation:zoom .35s;

}

.slider{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px 20px 10px;

}

.slide{

    width:auto;

    max-width:100%;

    max-height:68vh;

    height:auto;

    display:none;

    object-fit:contain;

    border-radius:14px;

}

.slide.active{

    display:block;

}

.buy-btn{

    display:block;

    width:90%;

    margin:8px auto 16px;

    padding:18px;

    text-align:center;

    font-size:22px;

    font-weight:700;

    color:#2b1c00;

    border-radius:12px;

    text-decoration:none;

    background:linear-gradient(90deg,#c99620,#f0d36b,#b88313);

}

/* ===========================
   Tombol Close
=========================== */


.popup-close{

    position:absolute;

    top:11px;

    right:11px;

    left:auto;

    width:48px;

    height:48px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#e53935;

    color:#fff;

    font-size:30px;

    font-weight:bold;

    border:none;

    border-radius:50%;

    cursor:pointer;

    z-index:99999;

    box-shadow:0 8px 20px rgba(0,0,0,.30);

}

.popup-close:hover{

    background:#c62828;

    transform:scale(1.1);

}

.dots{

    margin:15px 0 10px;

}
.dot{

    width:10px;

    height:10px;

    display:inline-block;

    border-radius:50%;

    background:#ccc;

    margin:5px;

}

.dot.active{

    background:#d40055;

}

@keyframes zoom{

from{

transform:scale(.8);

opacity:0;

}

to{

transform:scale(1);

opacity:1;

}

}

@media (max-width:480px){

.popup-box{

    width:82%;

    max-width:340px;

    max-height:78vh;

}

}

@media (max-width:480px){

.popup-close{

    top:10px;

    right:10px;

    width:38px;

    height:38px;

    font-size:28px;

}

}

/* ==========================
   Desktop Only
========================== */

@media (min-width:769px){

.popup-box{

    max-width:470px;

}

.popup-close{

    top:14px;

    right:14px;

    width:48px;

    height:48px;

    font-size:30px;

}

}

/* ==========================
   Mobile Only
========================== */

@media (max-width:768px){

.popup-box{

    width:82%;

    max-width:340px;

}

.popup-close{

    top:10px;

    right:10px;

    width:48px;

    height:48px;

    border-radius:50%;

    font-size:34px;

}

}