/* ============================================
   SAVASH — custom styles on top of Tailwind CDN
   ============================================ */

html { scroll-behavior: smooth; }
body { scroll-padding-top: 4rem; }

/* Hindi typography — a touch more line-height */
html[lang="hi"] body { line-height: 1.7; }
html[lang="hi"] .font-display { font-family: 'Playfair Display', 'Noto Sans Devanagari', serif; }

/* ---------- Nav ---------- */
.nav-link {
  position: relative;
  color: #2B1E0E;
  transition: color .2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: #D4A017;
  transition: width .25s ease;
}
.nav-link:hover { color: #A8800F; }
.nav-link:hover::after { width: 100%; }

.mobile-link {
  padding: .55rem .25rem;
  color: #2B1E0E;
  border-bottom: 1px solid rgba(43,30,14,.06);
}
.mobile-link:last-child { border-bottom: none; }

/* Scrolled nav shadow */
#nav.scrolled {
  box-shadow: 0 8px 24px -16px rgba(43,30,14,.25);
}

/* ---------- Section primitives ---------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #A8800F;
}
.section-eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: #D4A017;
  display: inline-block;
}
.section-title {
  margin-top: .85rem;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.15;
  color: #2B1E0E;
}

/* ---------- About feature cards ---------- */
.feature-card {
  background: #ffffff;
  border: 1px solid rgba(212,160,23,.18);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(43,30,14,.25);
}
.feature-icon {
  width: 3rem; height: 3rem;
  border-radius: .75rem;
  background: linear-gradient(135deg, #F5C14E 0%, #D4A017 100%);
  color: #2B1E0E;
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.feature-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #2B1E0E;
}
.feature-desc {
  margin-top: .4rem;
  font-size: .875rem;
  color: rgba(43,30,14,.7);
  line-height: 1.55;
}

/* ---------- Product cards ---------- */
.product-card {
  background: #ffffff;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(212,160,23,.15);
  transition: transform .3s ease, box-shadow .3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(43,30,14,.35);
}
.product-visual {
  position: relative;
  height: 220px;
  display: grid; place-items: center;
  overflow: hidden;
}
.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.2), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,.15), transparent 50%);
}
.product-bottle {
  position: relative;
  width: 80px;
  height: 160px;
  border-radius: 10px 10px 14px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(0,0,0,.15));
  box-shadow:
    inset 4px 0 8px rgba(255,255,255,.25),
    inset -4px 0 8px rgba(0,0,0,.25),
    0 20px 40px -20px rgba(0,0,0,.5);
}
.product-bottle::before { /* cap */
  content: "";
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 18px;
  background: #2B1E0E;
  border-radius: 4px 4px 2px 2px;
}
.product-bottle::after { /* neck */
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 8px;
  background: #8a6a10;
}
.product-bottle[data-color="dark"]   { background: linear-gradient(180deg, #6b4e08 0%, #2B1E0E 100%); }
.product-bottle[data-color="gold"]   { background: linear-gradient(180deg, #F5C14E 0%, #A8800F 100%); }
.product-bottle[data-color="amber"]  { background: linear-gradient(180deg, #E6B325 0%, #7A5D0A 100%); }
.product-bottle[data-color="clear"]  { background: linear-gradient(180deg, #ffffffcc 0%, #F5E6C8 100%); }

.product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #2B1E0E;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.tag {
  padding: .3rem .75rem;
  border-radius: 999px;
  background: #FEF3C7;
  color: #7A5D0A;
  font-weight: 600;
}

/* ---------- Why cards ---------- */
.why-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(245,193,78,.2);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.why-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(245,193,78,.5);
  transform: translateY(-4px);
}
.why-num {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 2.25rem;
  color: #F5C14E;
  line-height: 1;
  margin-bottom: .75rem;
}
.why-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #FAF3E0;
  margin-bottom: .5rem;
}
.why-desc {
  font-size: .875rem;
  color: rgba(250,243,224,.7);
  line-height: 1.55;
}

/* ---------- Vision ---------- */
.vision-pill {
  padding: .85rem 1rem;
  border-radius: .75rem;
  background: #ffffff;
  border: 1px solid rgba(212,160,23,.25);
  font-weight: 600;
  font-size: .875rem;
  color: #2B1E0E;
  box-shadow: 0 10px 20px -12px rgba(43,30,14,.15);
}

/* ---------- Contact ---------- */
.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-icon {
  width: 3rem; height: 3rem;
  border-radius: .9rem;
  background: rgba(43,30,14,.12);
  color: #2B1E0E;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background .2s ease, transform .2s ease;
}
a.contact-row:hover .contact-icon {
  background: #2B1E0E;
  color: #F5C14E;
  transform: scale(1.05);
}

/* ---------- Form ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.field > span {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(43,30,14,.65);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .7rem .9rem;
  border-radius: .6rem;
  border: 1.5px solid rgba(43,30,14,.15);
  background: #ffffff;
  color: #2B1E0E;
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #D4A017;
  box-shadow: 0 0 0 3px rgba(212,160,23,.2);
}
.field textarea { resize: vertical; min-height: 100px; }

/* ---------- Language toggle ---------- */
.lang-btn.active {
  background: #D4A017;
  color: #FAF3E0;
}

/* ---------- Floating animation ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.float-anim { animation: float 6s ease-in-out infinite; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Misc ---------- */
::selection { background: #F5C14E; color: #2B1E0E; }
