/* ==========================================================================
   Ayurvedic Vacation — Design System
   Palette drawn from Kerala mural painting (kalamezhuthu / temple murals):
   ivory canvas, mural green, ochre-vermillion, turmeric gold, ink outline.
   ========================================================================== */

:root {
  --ivory: #FBF6EC;
  --ivory-deep: #F2E9D6;
  --card: #FFFDF8;
  --ink: #211B12;
  --ink-soft: #4A4232;
  --green: #1F4D3C;
  --green-deep: #143329;
  --green-mist: #E7EFE8;
  --vermillion: #A63A2E;
  --vermillion-soft: #C8564A;
  --gold: #B8863B;
  --gold-light: #E8C77E;
  --line: rgba(33, 27, 18, 0.12);

  --display: "Fraunces", "Iowan Old Style", serif;
  --body: "Work Sans", "Segoe UI", sans-serif;
  --mono: "Zilla Slab", serif;

  --radius: 4px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--green-deep);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--green); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vermillion);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--vermillion);
  display: inline-block;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--deep { background: var(--green-deep); color: #E9EFE7; }
.section--deep h2, .section--deep h3 { color: var(--ivory); }
.section--deep p { color: #C9D6C9; }
.section--ivory-deep { background: var(--ivory-deep); }

.lede { font-size: 1.15rem; max-width: 62ch; }

/* ---------- Nilavilakku (lamp-flame) marker, used instead of numbering ---- */
.lamp {
  width: 26px; height: 26px;
  flex-shrink: 0;
}

/* ---------- Header / Nav -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600;
  font-size: 1.25rem; color: var(--green-deep); text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand span.mark { color: var(--vermillion); }
.nav-links {
  display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0;
  font-size: 0.88rem; font-weight: 500;
  flex-wrap: nowrap;
  min-width: 0;
}
.nav-links a {
  color: var(--ink); text-decoration: none; position: relative;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--vermillion); }
.nav-links-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  width: 40px; height: 40px; align-items: center; justify-content: center;
  color: var(--green-deep); cursor: pointer; flex-shrink: 0;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-whatsapp {
  background: var(--green); color: #fff;
  box-shadow: 0 6px 18px rgba(31,77,60,0.28);
}
.btn-whatsapp:hover { background: var(--green-deep); }
.btn-ghost {
  background: transparent; border-color: var(--ink);
  color: var(--ink);
}
.btn-gold {
  background: var(--gold-light); color: var(--green-deep);
  border-color: var(--gold);
}
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Mural strip divider (signature element) ------------------------ */
.mural-strip {
  width: 100%; height: 22px;
  background-repeat: repeat-x;
  background-size: auto 100%;
  opacity: 0.9;
}

/* ---------- Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  padding: 64px 0 60px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { margin-top: 14px; }
.hero-cta { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: 26px; margin-top: 36px; flex-wrap: wrap;
}
.trust-item {
  font-size: 0.85rem; color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
}
.hero-art { position: relative; }

/* ---------- Cards ------------------------------------------------------------ */
.grid {
  display: grid; gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: 0 14px 30px rgba(33,27,18,0.08); transform: translateY(-3px); }
.card .lamp { margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; margin-bottom: 14px; }
.card-link {
  font-size: 0.85rem; font-weight: 600; color: var(--vermillion);
  text-decoration: none;
}

.pill {
  display: inline-block; padding: 4px 12px;
  border: 1px solid var(--gold); color: var(--gold);
  border-radius: 100px; font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700;
  margin-bottom: 10px;
}

/* ---------- Section header ---------------------------------------------------- */
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Table (packages / dosha) -------------------------------------------- */
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { font-family: var(--display); color: var(--green-deep); font-weight: 600; }

/* ---------- FAQ ------------------------------------------------------------------ */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { margin: 0; }

/* ---------- Footer --------------------------------------------------------------- */
.site-footer { background: var(--green-deep); color: #C9D6C9; padding: 64px 0 30px; }
.site-footer h4 { color: var(--gold-light); font-size: 0.95rem; margin-bottom: 16px; }
.site-footer a { color: #C9D6C9; text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem; color: #8FA192;
}

/* ---------- Sticky WhatsApp bubble ------------------------------------------------ */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  background: var(--green); color: #fff;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(31,77,60,0.4);
  text-decoration: none;
}
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Breadcrumb ------------------------------------------------------------- */
.breadcrumb { font-size: 0.82rem; color: var(--ink-soft); padding: 18px 0 0; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--vermillion); }

/* ---------- Blog ------------------------------------------------------------------- */
.post-meta { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 8px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { color: var(--ink-soft); }
.prose blockquote {
  border-left: 3px solid var(--gold); margin: 1.6em 0; padding: 4px 0 4px 20px;
  font-style: italic; color: var(--green-deep); font-family: var(--display); font-size: 1.15rem;
}

/* ---------- Responsive -------------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav-links { gap: 14px; font-size: 0.82rem; }
}
@media (max-width: 1040px) {
  .brand .b2 { display: none; }
  .nav-links { gap: 11px; font-size: 0.78rem; }
}
@media (max-width: 940px) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(33,27,18,0.08);
    padding: 18px 24px 22px;
    gap: 16px;
    font-size: 1rem;
  }
  .nav-links.nav-links--open { display: flex; }
  .nav-links-cta { display: block; margin-top: 4px; width: 100%; }
  .nav-links-cta .btn { width: 100%; justify-content: center; }
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .brand .b2 { display: none; }
}

/* ---------- Reduced motion ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}

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

/* ==========================================================================
   DEPTH LAYER — 3D, glow, glass, illustrated texture
   ========================================================================== */

body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(184,134,59,0.10), transparent 60%),
    radial-gradient(1000px 700px at -10% 20%, rgba(31,77,60,0.07), transparent 55%),
    var(--ivory);
}

/* ---------- Glass header --------------------------------------------------------------- */
.site-header {
  background: rgba(251, 246, 236, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(33,27,18,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 24px rgba(33,27,18,0.05);
}

/* ---------- Logo lockup ------------------------------------------------------------------ */
.brand { gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  filter: drop-shadow(0 6px 10px rgba(31,77,60,0.35));
  transition: transform 0.35s cubic-bezier(.2,.9,.3,1.3);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word .b1 {
  font-family: var(--display); font-weight: 700; font-size: 1.22rem;
  background: linear-gradient(120deg, var(--vermillion) 0%, var(--gold) 55%, var(--green) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.01em;
}
.brand-word .b2 {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 2px;
}

/* ---------- 3D tilt cards ---------------------------------------------------------------- */
.tilt-wrap { perspective: 1200px; }
.card {
  position: relative;
  box-shadow: 0 1px 2px rgba(33,27,18,0.06), 0 12px 24px -8px rgba(33,27,18,0.10);
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover {
  box-shadow: 0 2px 4px rgba(33,27,18,0.08), 0 28px 44px -14px rgba(20,51,41,0.24);
  transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
}
.card::after {
  content: "";
  position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(255,255,255,0.5), transparent 40%);
  opacity: 0; transition: opacity 0.25s ease; pointer-events: none;
}
.card:hover::after { opacity: 1; }
.section--deep .card, .section--deep .card::after { background-color: rgba(255,255,255,0.04); }

/* ---------- Buttons with real depth ------------------------------------------------------- */
.btn { position: relative; box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset; }
.btn-whatsapp {
  background: linear-gradient(155deg, #256149 0%, var(--green) 55%, var(--green-deep) 100%);
  box-shadow: 0 2px 0 rgba(255,255,255,0.18) inset, 0 10px 24px -6px rgba(20,51,41,0.55);
}
.btn-whatsapp:hover { box-shadow: 0 2px 0 rgba(255,255,255,0.22) inset, 0 16px 32px -8px rgba(20,51,41,0.6); }
.btn-gold {
  background: linear-gradient(155deg, #F1D89A 0%, var(--gold-light) 55%, var(--gold) 100%);
  box-shadow: 0 2px 0 rgba(255,255,255,0.4) inset, 0 10px 24px -6px rgba(184,134,59,0.45);
}
.wa-float {
  background: linear-gradient(155deg, #2C7256 0%, var(--green) 60%, var(--green-deep) 100%);
  box-shadow: 0 4px 0 rgba(255,255,255,0.15) inset, 0 14px 30px rgba(20,51,41,0.5);
  animation: wa-pulse 2.8s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 0 rgba(255,255,255,0.15) inset, 0 14px 30px rgba(20,51,41,0.5); }
  50% { box-shadow: 0 4px 0 rgba(255,255,255,0.15) inset, 0 14px 30px rgba(20,51,41,0.5), 0 0 0 12px rgba(31,77,60,0.08); }
}

/* ---------- Decorative blobs / atmosphere ------------------------------------------------- */
.blob {
  position: absolute; border-radius: 50%; filter: blur(60px);
  opacity: 0.35; pointer-events: none; z-index: 0;
}
.hero { position: relative; z-index: 1; }
.hero::before {
  content: ""; position: absolute; top: -80px; right: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(184,134,59,0.28), transparent 70%);
  filter: blur(10px); z-index: -1; border-radius: 50%;
}
.hero::after {
  content: ""; position: absolute; bottom: -100px; left: -140px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(31,77,60,0.18), transparent 70%);
  filter: blur(10px); z-index: -1; border-radius: 50%;
}

/* ---------- Illustration frame (used for SVG scene illustrations) ------------------------- */
.art-frame {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(20,51,41,0.35), 0 2px 0 rgba(255,255,255,0.5) inset;
  transform: rotate(-1.2deg);
  transition: transform 0.4s ease;
}
.art-frame:hover { transform: rotate(0deg) scale(1.01); }
.art-frame--flat { transform: none; }
.art-frame img, .art-frame svg { width: 100%; height: auto; display: block; }
.art-caption {
  font-size: 0.72rem; color: var(--ink-soft); text-align: center; margin-top: 10px;
  letter-spacing: 0.03em;
}

/* ---------- Stat strip -------------------------------------------------------------------- */
.stat-strip { display: flex; flex-wrap: wrap; gap: 36px; }
.stat-strip .stat { min-width: 120px; }
.stat-strip .num {
  font-family: var(--display); font-size: 2.1rem; font-weight: 700; color: var(--green-deep);
  display: block; line-height: 1;
}
.stat-strip .label { font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Location grid + map -------------------------------------------------------------- */
.district-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; position: relative; overflow: hidden;
}
.district-card .region-tag {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 6px;
}
.district-card h3 { margin-bottom: 6px; font-size: 1.15rem; }
.district-card p { font-size: 0.88rem; margin-bottom: 0; }

/* ---------- Accordion-style FAQ (bigger sets) ------------------------------------------------ */
.faq-item h3 {
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item h3::after {
  content: "+"; font-family: var(--body); font-weight: 400; color: var(--gold); font-size: 1.4rem;
  flex-shrink: 0;
}
.faq-grid { columns: 2; column-gap: 48px; }
.faq-grid .faq-item { break-inside: avoid; }
@media (max-width: 900px) { .faq-grid { columns: 1; } }

/* ---------- Photo mosaic gallery ------------------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px;
  gap: 14px;
}
.gallery-grid .g-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 30px -10px rgba(20,51,41,0.35);
  transform: rotate(0deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-grid .g-item:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 24px 44px -12px rgba(20,51,41,0.45);
}
.gallery-grid .g-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid .g-tall { grid-row: span 2; }
.gallery-grid .g-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 12px 8px;
  font-size: 0.72rem; color: #fff;
  background: linear-gradient(0deg, rgba(20,51,41,0.85), transparent);
  opacity: 0; transition: opacity 0.25s ease;
}
.gallery-grid .g-item:hover .g-caption { opacity: 1; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-grid .g-wide { grid-column: span 2; }
}

/* ---------- Image-style SVG scenes ------------------------------------------------------------ */
.scene { display: block; width: 100%; height: auto; border-radius: 16px; }

@media (max-width: 900px) {
  .art-frame { transform: none; }
}

