/* ============================================================
   BASE.CSS — Harmon Earth Exports
   Light theme only — colors extracted from logo
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Type Scale */
  --text-xs:   clamp(0.72rem,  0.68rem + 0.2vw,  0.8125rem);
  --text-sm:   clamp(0.875rem, 0.82rem + 0.28vw, 0.9375rem);
  --text-base: clamp(0.9375rem,0.9rem  + 0.2vw,  1rem);
  --text-lg:   clamp(1.0625rem,0.98rem + 0.4vw,  1.25rem);
  --text-xl:   clamp(1.25rem,  1.1rem  + 0.75vw, 1.75rem);
  --text-2xl:  clamp(1.625rem, 1.2rem  + 1.5vw,  2.5rem);
  --text-3xl:  clamp(2rem,     1.2rem  + 3vw,    3.75rem);
  --text-hero: clamp(2.25rem,  0.8rem  + 5vw,    5.5rem);

  /* Spacing */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-14: 3.5rem;  --space-16: 4rem;    --space-20: 5rem;
  --space-24: 6rem;    --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.25rem;  --radius-md: 0.5rem;   --radius-lg: 0.75rem;
  --radius-xl: 1rem;     --radius-2xl: 1.5rem;  --radius-full: 9999px;

  /* Transition */
  --transition: 220ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Layout */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1240px;
  --nav-height:      76px;

  /* ── LIGHT THEME — logo-extracted colors ── */
  /* Backgrounds — warm cream/parchment */
  --color-bg:             #FDF8F0;
  --color-surface:        #F5EDD8;
  --color-surface-2:      #EDE2C8;
  --color-surface-offset: #E5D8BA;
  --color-divider:        #D8CAA8;
  --color-border:         #C8B890;

  /* Text — deep espresso to warm tan */
  --color-text:           #1E100A;
  --color-text-muted:     #5C3C20;
  --color-text-faint:     #9A7B5A;
  --color-text-inverse:   #FDF8F0;

  /* Primary — logo's gold border ring */
  --color-primary:        #B07820;
  --color-primary-hover:  #8E5F12;
  --color-primary-active: #724C0A;
  --color-primary-dim:    rgba(176, 120, 32, 0.10);
  --color-primary-border: rgba(176, 120, 32, 0.28);

  /* Accent — chilli red from logo */
  --color-accent:         #C83010;
  --color-accent-hover:   #A82808;
  --color-accent-dim:     rgba(200, 48, 16, 0.10);

  /* Spice palette from logo */
  --color-turmeric:  #D48C10;   /* golden turmeric */
  --color-chilli:    #C83010;   /* vivid chilli red */
  --color-cardamom:  #5A8A30;   /* cardamom green */
  --color-clove:     #3A2410;   /* dark clove brown */
  --color-coriander: #8A7040;   /* warm coriander */
  --color-cumin:     #7A5828;   /* cumin brown */

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(30, 16, 10, 0.08);
  --shadow-md: 0 6px 24px rgba(30, 16, 10, 0.12);
  --shadow-lg: 0 20px 60px rgba(30, 16, 10, 0.16);
  --glow-gold: 0 0 40px rgba(176, 120, 32, 0.18);
}

/* ── Base Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--nav-height);
  color-scheme: light;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
input, textarea, select, button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  text-wrap: balance;
  color: var(--color-text);
}
p { line-height: 1.8; color: var(--color-text-muted); }
button { cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Scroll Reveal Animations ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Utilities ─────────────────────────────────────────────── */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
}
.container--narrow {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
.section { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }
.section--alt { background: var(--color-surface); border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); }

.eyebrow {
  font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-primary); font-weight: 700; margin-bottom: var(--space-3);
  display: block;
}
.divider { width: 56px; height: 2px; background: var(--color-primary); margin-block: var(--space-5); }
.divider--center { margin-inline: auto; }
.gold { color: var(--color-primary); }
.text-center { text-align: center; }

.tag {
  display: inline-flex; align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--color-primary-dim);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-border);
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: 600; font-size: var(--text-sm);
  transition: all var(--transition); cursor: pointer;
  white-space: nowrap; border: none;
}
.btn--primary {
  background: var(--color-primary); color: #fff;
  box-shadow: 0 2px 8px rgba(176,120,32,0.25);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(176,120,32,0.35);
}
.btn--outline {
  background: transparent; color: var(--color-primary);
  border: 1.5px solid var(--color-primary-border);
}
.btn--outline:hover { background: var(--color-primary-dim); border-color: var(--color-primary); }
.btn--whatsapp {
  background: #25D366; color: #fff;
  box-shadow: 0 2px 8px rgba(37,211,102,0.25);
}
.btn--whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding-block: clamp(var(--space-20), 10vw, var(--space-32));
  padding-top: calc(clamp(var(--space-20), 10vw, var(--space-32)) + var(--nav-height));
  text-align: center;
  background: linear-gradient(160deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-divider);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B07820' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .eyebrow { margin-bottom: var(--space-3); }
.page-hero__eyebrow {
  font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-primary); font-weight: 700; margin-bottom: var(--space-3);
  display: block; position: relative;
}
.page-hero__title {
  font-size: var(--text-3xl); font-weight: 600;
  margin-bottom: var(--space-4); line-height: 1.1;
  position: relative;
}
.page-hero__subtitle {
  font-size: var(--text-base); color: var(--color-text-muted);
  max-width: 560px; margin-inline: auto; line-height: 1.8;
  position: relative;
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--color-divider);
  transition: all var(--transition);
}
.nav.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(253, 248, 240, 0.98);
}
.nav__inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 100%;
}
.nav__logo {
  display: flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-display); font-size: var(--text-lg);
  font-weight: 700; color: var(--color-primary);
  white-space: nowrap; flex-shrink: 0;
  transition: opacity var(--transition);
}
.nav__logo:hover { opacity: 0.85; }
.nav__logo img {
  width: 60px; height: 60px;
  object-fit: contain;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.nav__logo-text { line-height: 1.15; }
.nav__logo-sub {
  display: block; font-size: 0.6em; font-weight: 400;
  color: var(--color-text-muted); letter-spacing: 0.08em;
  text-transform: uppercase; font-family: var(--font-body);
}
.nav__links {
  display: flex; align-items: center; gap: var(--space-2);
  list-style: none; flex: 1; justify-content: center;
}
.nav__links a {
  font-size: var(--text-sm); color: var(--color-text-muted);
  transition: color var(--transition); font-weight: 500;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
}
.nav__links a:hover { color: var(--color-primary); background: var(--color-primary-dim); }
.nav__links a.active {
  color: var(--color-primary); font-weight: 700;
  background: var(--color-primary-dim);
}
.nav__actions { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }

.nav__hamburger {
  display: none; width: 42px; height: 42px;
  border-radius: var(--radius-md); place-items: center;
  border: 1.5px solid var(--color-border); color: var(--color-text);
  transition: all var(--transition); background: var(--color-bg);
}
.nav__hamburger:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: var(--color-bg); z-index: 99;
  padding: var(--space-8) var(--space-6);
  flex-direction: column; gap: var(--space-3);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: var(--text-xl); font-family: var(--font-display);
  color: var(--color-text); font-weight: 500;
  padding: var(--space-4) var(--space-3);
  border-bottom: 1px solid var(--color-divider);
  transition: color var(--transition);
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--color-primary); }
.mobile-menu .mobile-menu__cta { margin-top: var(--space-6); }

@media (max-width: 900px) {
  .nav__links     { display: none; }
  .nav__hamburger { display: grid; }
}
@media (max-width: 540px) {
  .nav__logo-text { display: none; }
  .nav__logo img  { width: 52px; height: 52px; }
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--color-clove);
  color: #EDE0C8;
  padding-block: var(--space-12) var(--space-8);
}
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10); margin-bottom: var(--space-10);
}
.footer__brand img {
  width: 72px; height: 72px; border-radius: var(--radius-full);
  margin-bottom: var(--space-5); object-fit: contain;
  border: 2px solid rgba(176,120,32,0.4);
}
.footer__brand-name {
  font-family: var(--font-display); font-size: var(--text-lg);
  font-weight: 700; color: #D4A040; margin-bottom: var(--space-3);
}
.footer__brand-desc {
  font-size: var(--text-sm); color: #B09878; line-height: 1.75; max-width: 260px;
}
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer__social-link {
  width: 38px; height: 38px; border-radius: var(--radius-md);
  border: 1px solid rgba(176,120,32,0.3);
  display: grid; place-items: center;
  color: #D4A040; transition: all var(--transition);
}
.footer__social-link:hover {
  background: rgba(176,120,32,0.2);
  border-color: #D4A040;
  color: #F0C060;
  transform: translateY(-2px);
}
.footer__social-link svg { width: 18px; height: 18px; }
.footer__col-title {
  font-size: var(--text-xs); text-transform: uppercase;
  letter-spacing: 0.14em; font-weight: 700;
  color: #D4A040; margin-bottom: var(--space-5);
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer__links a {
  font-size: var(--text-sm); color: #B09878; transition: color var(--transition);
}
.footer__links a:hover { color: #F0C060; }
.footer__links li { font-size: var(--text-sm); color: #B09878; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--space-8); border-top: 1px solid rgba(176,120,32,0.2);
  flex-wrap: wrap; gap: var(--space-3);
}
.footer__copy  { font-size: var(--text-xs); color: #7A6048; }
.footer__badge { font-size: var(--text-xs); color: #7A6048; }
.footer__gstin { font-size: var(--text-xs); color: #7A6048; }

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
@media (max-width: 540px) {
  .footer__inner  { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ── WhatsApp FAB ──────────────────────────────────────────── */
.wa-fab {
  position: fixed; bottom: var(--space-8); right: var(--space-8); z-index: 999;
  width: 58px; height: 58px; border-radius: var(--radius-full);
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all var(--transition); border: none;
  text-decoration: none;
}
.wa-fab:hover { background: #1da851; transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }
.wa-fab svg { width: 28px; height: 28px; fill: #fff; }
.wa-fab-tooltip {
  position: absolute; right: calc(100% + var(--space-3)); top: 50%; transform: translateY(-50%);
  background: #1E100A; color: #FDF8F0;
  font-size: var(--text-xs); font-weight: 600;
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-md);
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity var(--transition);
  box-shadow: var(--shadow-md);
}
.wa-fab:hover .wa-fab-tooltip { opacity: 1; }
@media (max-width: 480px) { .wa-fab { bottom: var(--space-5); right: var(--space-5); } }

/* ── Spice Separator ───────────────────────────────────────── */
.spice-separator {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-4); padding-block: var(--space-2);
}
.spice-separator__line { flex: 1; height: 1px; background: var(--color-divider); }
.spice-separator__icons { display: flex; gap: var(--space-3); color: var(--color-primary); font-size: 0.875rem; }
