/* ============================================================
   NADHIMA HERITAGE VILLAS — style.css v3.1 (Bootstrap-integrated)
   Luxury · Spiritual · Heritage · Minimal
   
   Bootstrap 5.3 is loaded BEFORE this file.
   All custom classes take precedence over Bootstrap defaults.
   Bootstrap utility classes (d-flex, gap-*, text-center, etc.)
   are used in HTML where they add value without conflict.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Cinzel:wght@400;500;600&&family=Jost:wght@300;400;500;600&family=Noto+Serif+Tamil:wght@400;500&display=swap');

/* ─── Reset Bootstrap box-model changes that conflict ────────
   Bootstrap sets box-sizing on *, which is fine — we keep it.
   We reset Bootstrap's body/font overrides with our own tokens.
   ──────────────────────────────────────────────────────────── */

/* ─── Tokens — Brand Palette v3.1 ─────────────────────────── */
:root {
  /* ── Primary: Deep Maroon ── */
  --maroon:       #6B1F1F;
  --maroon-dk:    #4E1515;
  --maroon-lt:    #9B3A3A;
  --maroon-pale:  #F5E8E8;
  --maroon-ring:  rgba(107,31,31,0.22);

  /* ── Secondary: Mustard Gold ── */
  --gold:         #D4A017;
  --gold-lt:      #EEC04A;
  --gold-pale:    #FDF5DC;
  --gold-ring:    rgba(212,160,23,0.25);

  /* ── Support: Dark Wood Brown ── */
  --wood:         #3B2A1A;
  --wood-mid:     #5C4030;
  --wood-lt:      #8A6040;

  /* ── Background: Ivory / Cream ── */
  --cream:        #F8F1E5;
  --ivory:        #F2E8D8;
  --ivory-dk:     #E8D8C0;
  --sand:         #DCCBA8;

  /* ── Semantic text ── */
  --text-h:       #3B2A1A;
  --text-body:    #4A3020;
  --text-muted:   #7A5840;
  --text-light:   #A8845C;

  /* ── Aliases for backward compat ── */
  --sage:         var(--maroon-lt);
  --sage-dk:      var(--maroon);
  --sage-lt:      var(--maroon-pale);
  --sage-pale:    var(--maroon-pale);
  --clay:         var(--gold);
  --earth:        var(--wood);
  --earth-mid:    var(--wood-mid);
  --brown:        var(--wood-lt);
  --charcoal:     #1A1008;

  /* ── Fonts ── */
  --ff-display: 'Cinzel', serif;
  --ff-serif: 'Cormorant Garamond', serif;
  --ff-sans:  'Jost', sans-serif;
  --ff-tamil: 'Noto Serif Tamil', serif;

  /* ── Type scale ── */
  --fs-xs:   0.72rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;
  --fs-6xl:  3.75rem;

  /* ── Shadows ── */
  --sh-sm: 0 2px 14px rgba(59,42,26,0.10);
  --sh-md: 0 6px 32px rgba(59,42,26,0.14);
  --sh-lg: 0 16px 56px rgba(59,42,26,0.18);

  --ease: cubic-bezier(0.25,0.46,0.45,0.94);

  /* ── Override Bootstrap's CSS variables to match brand ── */
  --bs-body-font-family: 'Jost', sans-serif;
  --bs-body-color: #4A3020;
  --bs-body-bg: #F8F1E5;
  --bs-primary: #6B1F1F;
  --bs-primary-rgb: 107,31,31;
  --bs-link-color: #6B1F1F;
  --bs-link-hover-color: #4E1515;
  --bs-border-color: #E8D8C0;
  --bs-border-radius: 0.5rem;
  --bs-font-sans-serif: 'Jost', sans-serif;
}

/* ─── Base — override Bootstrap's resets with brand styles ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100vw; }
body {
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--text-body);
  background: var(--cream);
  overflow-x: hidden;
  max-width: 100vw;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all .3s var(--ease); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1,h2,h3,h4 { font-family: var(--ff-serif); color: var(--text-h); line-height: 1.18; font-weight: 600; }
p { line-height: 1.8; color: var(--text-body); }

/* ─── Override Bootstrap margin/padding utilities conflicts ── */
/* Bootstrap's .mb-3/.mb-4 use rem — keep them but ensure our
   spacing tokens aren't overridden on custom elements           */
.story-img-main, .pilg-img, .suite-card, .feat-box,
.temple-card, .testi-card, .tip-card, .adv-item {
  margin: 0; /* prevent Bootstrap margin resets */
}

/* ─── Scroll progress ────────────────────────────────────── */
#progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--maroon-dk));
  transition: width .1s linear;
}

/* ─── Reveal animations ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.left  { transform: translateX(-40px); }
.reveal.right { transform: translateX(40px); }
.reveal.up    { transform: translateY(30px); }
.reveal.in    { opacity: 1; transform: translate(0); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; } .d5 { transition-delay: .5s; } .d6 { transition-delay: .6s; }

/* ─── Layout helpers ─────────────────────────────────────── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.pad { padding: 6rem 0; }
.pad-lg { padding: 8rem 0; }
.pad-xl { padding: 10rem 0; }
.center { text-align: center; }

/* ─── Section label / eyebrow ────────────────────────────── */
.label {
  font-family: var(--ff-sans); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .38em; text-transform: uppercase;
  color: var(--maroon); display: block; margin-bottom: .75rem;
}
.label-gold  { color: var(--gold); }
.label-clay  { color: var(--maroon-lt); }
.label-white { color: rgba(255,255,255,.65); }

/* ─── Headings ───────────────────────────────────────────── */
.h-display {
  font-family: var(--ff-serif);
  font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl));
  font-weight: 600; color: var(--text-h);
  line-height: 1.15; letter-spacing: -.01em;
  margin-bottom: 1rem;
}
.h-display em  { font-style: italic; color: var(--maroon); font-weight: 500; }
.h-display.white { color: #fff; }
.h-display.white em { color: var(--gold-lt); }

.h-section {
  font-family: var(--ff-serif);
  font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-4xl));
  font-weight: 600; line-height: 1.2;
  margin-bottom: 1rem;
}
.h-section em { font-style: italic; color: var(--gold); font-weight: 500; }

/* ─── Body text ──────────────────────────────────────────── */
.body-lead { font-size: var(--fs-lg); font-weight: 400; color: var(--text-muted); line-height: 1.85; }
.body-text  { font-size: var(--fs-base); font-weight: 400; color: var(--text-muted); line-height: 1.85; }

/* ─── Gold ornament divider ──────────────────────────────── */
.ornament { display: flex; align-items: center; gap: .9rem; margin: 1.2rem 0; }
.ornament-line { flex: 1; max-width: 100px; height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.ornament-dot  { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

/* ─── Buttons — override Bootstrap's .btn base carefully ─── */
/* We define our own .btn on top of Bootstrap's .btn.
   Bootstrap .btn sets display:inline-block; we upgrade to flex. */
.btn {
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: .95rem 2.2rem;
  cursor: pointer;
  border: none;
  transition: background .25s, transform .2s, box-shadow .25s, color .25s;
  line-height: 1.4;
}
.btn-gold {
  color: var(--wood) !important;
  background: var(--gold) !important;
  border: none !important;
}
.btn-gold:hover {
  background: var(--gold-lt) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,160,23,.45);
  color: var(--wood) !important;
}
.btn-sage {
  color: #fff !important;
  background: var(--maroon) !important;
  border: none !important;
}
.btn-sage:hover { background: var(--maroon-dk) !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(107,31,31,.4); }
.btn-outline {
  color: var(--maroon) !important;
  background: transparent !important;
  border: 2px solid var(--maroon) !important;
}
.btn-outline:hover { background: var(--maroon) !important; color: #fff !important; }
.btn-outline-white {
  color: #fff !important;
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,.6) !important;
}
.btn-outline-white:hover { background: rgba(255,255,255,.12) !important; border-color: #fff !important; }
.btn-wa {
  color: #fff !important;
  background: #25D366 !important;
  border: none !important;
}
.btn-wa:hover { background: #1da851 !important; transform: translateY(-2px); }

/* Bootstrap's .w-100 on .btn — ensure flex is maintained */
.btn.w-100 { width: 100% !important; }

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
#nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.4rem 0;
  background: linear-gradient(to bottom, rgba(59,42,26,.72) 0%, transparent 100%);
  transition: all .4s var(--ease);
}
#nav.solid {
  background: rgba(59,42,26,.97);
  padding: .85rem 0;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.nav-wrap {
  max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%;
}
.logo { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.logo-main {
  font-family: var(--ff-serif); font-size: 1.3rem; font-weight: 600;
  color: var(--gold); letter-spacing: .07em;
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
}
.logo-main-tamil {
  font-family: var(--ff-serif); font-size: 1.1rem; font-weight: 400;
  color: rgba(255,255,255,.6); letter-spacing: .07em;
  text-shadow: 0 2px 12px rgba(0,0,0,.8); padding-top: 3px;
}
.logo-sub { font-family: var(--ff-tamil); font-size: .65rem; font-weight: 400; color: rgba(255,255,255,.6); letter-spacing: .04em; }
.nav-menu { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.88);
  padding: .5rem .85rem; position: relative;
  text-shadow: 0 1px 6px rgba(0,0,0,.7);
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: 0; left: .85rem; right: .85rem;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav-menu a:hover { color: var(--gold-lt); }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-book {
  font-size: var(--fs-xs) !important; font-weight: 700 !important; letter-spacing: .16em !important;
  text-transform: uppercase !important; color: var(--wood) !important;
  background: var(--gold) !important; padding: .6rem 1.4rem !important;
  border-radius: 4px !important; text-shadow: none !important;
  transition: background .25s, transform .2s !important;
}
.nav-book::after { display: none !important; }
.nav-book:hover { background: var(--gold-lt) !important; transform: translateY(-1px) !important; }

/* Hamburger */
.ham { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.ham span { display: block; width: 24px; height: 1.5px; background: rgba(255,255,255,.9); transition: all .3s; }

/* Mobile drawer */
.drawer {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(59,42,26,.98); backdrop-filter: blur(12px);
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.drawer.open { display: flex; }
.drawer a {
  font-family: var(--ff-serif); font-size: 1.6rem; font-weight: 500;
  color: rgba(255,255,255,.82); letter-spacing: .05em; transition: color .3s;
}
.drawer a:hover { color: var(--gold); }
.drawer-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; cursor: pointer;
  font-size: 1.8rem; color: rgba(255,255,255,.6); transition: color .3s;
}
.drawer-close:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   SECTION 1: HOME / HERO
   ═══════════════════════════════════════════════════════════ */
#home {
  position: relative; width: 100%; height: 100vh; min-height: 660px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
  animation: kbZoom 14s ease forwards; will-change: transform;
}
@keyframes kbZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(15,9,3,.52) 0%,
    rgba(20,12,6,.38) 40%,
    rgba(20,12,6,.58) 70%,
    rgba(10,6,2,.88) 100%
  );
}
.hero-bg-placeholder {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(145deg, #4e1515 0%, #6b1f1f 35%, #8a3030 55%, #3b2a1a 80%, #2a1a10 100%);
}
.hero-content {
  position: relative; z-index: 3;
  text-align: center; padding: 3.5rem 1.5rem 1.5rem 1.5rem;
  max-width: 1080px;
}
.hero-label {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .4em;
  text-transform: uppercase; color: var(--gold-lt);
  display: inline-block; margin-bottom: 1.4rem;
  animation: fadeUp 1.4s .3s ease both;
}
.hero-h1 {
  font-family: var(--ff-display);
  font-size: clamp(1.35rem, 3.8vw, 2.8rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 4px 24px rgba(0,0,0,.65), 0 2px 8px rgba(0,0,0,.9);
  margin-bottom: .85rem;
  animation: fadeUp 1.4s .5s ease both;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-h1 em {
  font-style: italic;
  color: var(--gold-lt);
}

.hero-h2 {
  font-family: 'Noto Serif Tamil', serif;
  font-size: clamp(.82rem, 1.8vw, 1.15rem);
  font-weight: 500;
  color: rgba(255,255,255,.88);
  line-height: 1.85;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
  margin: 0 auto 1.4rem;
  max-width: 860px;
  animation: fadeUp 1.4s .8s ease both;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.hero-h2 em {
  font-style: normal;
  color: var(--gold-lt);
}
.hero-h2 em {
  font-style: normal;
  color: var(--gold-lt);
}
.hero-sub {
  font-size: clamp(.95rem, 2.2vw, 1.25rem); font-weight: 400;
  color: rgba(255,255,255,.82); line-height: 1.72;
  max-width: 600px; margin: 0 auto 2.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.7);
  animation: fadeUp 1.4s .7s ease both;
}

.hero-btns {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 1.4s .9s ease both;
}
.hero-chips {
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2rem;
  animation: fadeUp 1.4s 1.1s ease both;
}
.hero-chip {
  display: flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px; padding: .55rem .9rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .1em;
  color: rgba(255,255,255,.85); backdrop-filter: blur(6px);
}
.hero-chip i { color: var(--gold); font-size: 1.15rem; }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: .45rem;
  animation: fadeUp 2s 1.6s ease both;
}
.hero-scroll span { font-size: .58rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.scroll-dot { width: 24px; height: 36px; border: 1.5px solid rgba(201,168,76,.55); border-radius: 12px; position: relative; }
.scroll-dot::after {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 8px; background: var(--gold); border-radius: 2px;
  animation: scrollBounce 2.2s ease infinite;
}
@keyframes scrollBounce { 0%,100% { transform: translateX(-50%) translateY(0); opacity: 1; } 70% { transform: translateX(-50%) translateY(10px); opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
/* ═══════════════════════════════════════════════════════════
   SECTION 2: EXPERIENCE
   ═══════════════════════════════════════════════════════════ */
#experience { background: var(--cream); }

.story-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
  margin-bottom: 5rem;
}
.story-img { position: relative; }
.story-img-main {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: 12px; box-shadow: var(--sh-lg); display: block;
}
.story-img-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--gold); color: var(--earth);
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: var(--sh-md);
  font-family: var(--ff-serif);
  z-index: 2;
}
.story-img-badge span:first-child { font-size: 2rem; font-weight: 700; line-height: 1; }
.story-img-badge span:last-child  { font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }
.story-img-frame {
  position: absolute; top: 1.5rem; left: 1.5rem; right: -.8rem; bottom: -.8rem;
  border: 1.5px solid var(--gold); border-radius: 12px;
  opacity: .22; pointer-events: none; z-index: -1;
}

/* Suite cards */


/* Suite cards - YOUR EXACT CSS (preserved) */
.suite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.suite-card {
  background: var(--ivory);
  border: 1px solid var(--ivory-dk);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.suite-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
}
.suite-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
  overflow: hidden;
}
.suite-card:hover .suite-card-img img {
  transform: scale(1.06);
}
.suite-card-body {
  padding: 1.5rem;
}
.suite-card-name {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-h);
  margin-bottom: .4rem;
}
.suite-card-river {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: .7rem;
  display: block;
}
.suite-card-body p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.75;
}

/* Image styling - clean without background colors */
.suite-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}

/* Subtle overlay on hover for better visual feedback */
.suite-card-img {
  position: relative;
}

/* Responsive */
@media (max-width: 768px) {
  .suite-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .suite-card-img {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .suite-grid {
    grid-template-columns: 1fr;
  }
  
  .suite-card-img {
    height: 200px;
  }
}


/* Features row */
/* Features Row - Updated with Image Icons & Glow Animation */
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.feat-box {
  text-align: center;
  padding: 2.2rem 1.5rem;
  background: var(--ivory, #F2E8D8);
  border: 1px solid var(--ivory-dk, #E8D8C0);
  border-radius: 12px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

/* Bottom border gradient on hover */
.feat-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--maroon, #6B1F1F), var(--gold, #D4A017));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.feat-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md, 0 6px 32px rgba(59,42,26,0.14));
}

.feat-box:hover::after {
  transform: scaleX(1);
}

/* Icon Container */
.feat-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--maroon-pale, #F5E8E8);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

/* Image Icon Styles */
.feat-icon-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition: all 0.3s ease;
  display: block;
}

/* Glow Animation & Zoom Effect on Hover */
.feat-box:hover .feat-icon {
  background: var(--maroon, #6B1F1F);
  box-shadow: 0 0 15px rgba(212, 160, 23, 0.5), 0 0 25px rgba(107, 31, 31, 0.3);
  animation: iconGlow 1.2s ease-in-out infinite;
}

.feat-box:hover .feat-icon-img {
  transform: scale(1.1);
  filter: brightness(0) invert(1);
  animation: iconPulse 1.2s ease-in-out infinite;
}

/* Keyframe Animations */
@keyframes iconGlow {
  0% {
    box-shadow: 0 0 5px rgba(212, 160, 23, 0.3), 0 0 10px rgba(107, 31, 31, 0.2);
  }
  50% {
    box-shadow: 0 0 18px rgba(212, 160, 23, 0.7), 0 0 28px rgba(107, 31, 31, 0.4);
  }
  100% {
    box-shadow: 0 0 5px rgba(212, 160, 23, 0.3), 0 0 10px rgba(107, 31, 31, 0.2);
  }
}

@keyframes iconPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

/* Text Styles */
.feat-box h4 {
  font-family: var(--ff-serif, 'Cormorant Garamond', serif);
  font-size: var(--fs-lg, 1.125rem);
  font-weight: 600;
  color: var(--text-h, #3B2A1A);
  margin-bottom: 0.5rem;
}

.feat-box p {
  font-size: var(--fs-sm, 0.875rem);
  color: var(--text-muted, #7A5840);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .features-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  
  .feat-box {
    padding: 1.8rem 1.2rem;
  }
  
  .feat-icon {
    width: 60px;
    height: 60px;
  }
  
  .feat-icon-img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 576px) {
  .features-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feat-box {
    padding: 1.5rem 1rem;
  }
  
  .feat-icon {
    width: 55px;
    height: 55px;
  }
  
  .feat-icon-img {
    width: 28px;
    height: 28px;
  }
  
  .feat-box h4 {
    font-size: 1rem;
  }
  
  .feat-box p {
    font-size: 0.75rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   HERITAGE & CULTURE BLOCK
   Add these rules to your existing experience CSS file
   ═══════════════════════════════════════════════════════════ */

.heritage-block {
  position: relative;
  border: 1px solid var(--ivory-dk);
  border-radius: 12px;
  padding: 3rem;
  margin-top: 4rem;
  overflow: hidden;

  /* Fallback background */
  background-color: var(--ivory);
}

/* Background image layer — blended, not a raw overlay */
.heritage-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/temple_img.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  /* Blend the image into the ivory surface */
  opacity: 0.10;
  mix-blend-mode: multiply;

  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
}

/* Push all children above the pseudo-element */
.heritage-block > * {
  position: relative;
  z-index: 1;
}

/* Heritage item rows */
.heritage-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 8px;

  /* Semi-transparent card so the bg image peeks through */
  background: rgba(var(--cream-rgb, 253, 246, 236), 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(196, 154, 60, 0.15);
  transition: background .25s, border-color .25s, transform .25s;
}
.heritage-item:hover {
  background: rgba(var(--cream-rgb, 253, 246, 236), 0.9);
  border-color: rgba(196, 154, 60, 0.35);
  transform: translateX(4px);
}

.heritage-item-icon {
  font-size: 1.2rem;
  color: var(--sage-dk);
  margin-top: 2px;
  flex-shrink: 0;
}

.heritage-item-title {
  display: block;
  color: var(--text-h);
  font-size: var(--fs-sm);
  margin-bottom: 2px;
}

.heritage-item-text {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 992px) {
  .heritage-block { padding: 2rem; }
}

@media (max-width: 600px) {
  .heritage-block {
    padding: 1.5rem 1rem;
    margin-top: 2.5rem;
  }
  .heritage-block::before {
    /* Slightly stronger on mobile since less screen area */
    opacity: 0.12;
  }
  .heritage-item { padding: .85rem .9rem; }
}

/* ═══════════════════════════════════════════════════════════
   STORY COLLAGE — auto-sliding 2×2 image grid
   ═══════════════════════════════════════════════════════════ */
.story-collage {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--sh-lg);

  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  background: var(--ivory-dk); /* gap colour */
}

/* Each slot */
.collage-slot {
  position: relative;
  overflow: hidden;
}
.collage-slot img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity .35s ease, transform .35s ease;
}

/* Slot shape variants — top-left gets rounded corner */
.slot-a { border-radius: 10px 0 0 0; }
.slot-b { border-radius: 0 10px 0 0; }
.slot-c { border-radius: 0 0 0 10px; }
.slot-d { border-radius: 0 0 10px 0; }

/* Swap animation — fade + slight zoom out */
.collage-slot.collage-swap img {
  opacity: 0;
  transform: scale(1.06);
}

/* Gentle always-on Ken-Burns per slot (staggered) */
.slot-a img { animation: kbA 8s ease-in-out infinite alternate; }
.slot-b img { animation: kbB 9s ease-in-out infinite alternate; }
.slot-c img { animation: kbC 7s ease-in-out infinite alternate; }
.slot-d img { animation: kbD 10s ease-in-out infinite alternate; }

@keyframes kbA { from { transform: scale(1);    } to { transform: scale(1.08); } }
@keyframes kbB { from { transform: scale(1.05); } to { transform: scale(1);    } }
@keyframes kbC { from { transform: scale(1);    } to { transform: scale(1.07); } }
@keyframes kbD { from { transform: scale(1.04); } to { transform: scale(1);    } }

/* Pause Ken-Burns during swap to avoid conflict */
.collage-slot.collage-swap img {
  animation: none;
  opacity: 0;
  transform: scale(1.06);
}

/* Gold corner accents */
.collage-corner {
  position: absolute;
  width: 32px; height: 32px;
  z-index: 3; pointer-events: none;
}
.collage-corner.tl {
  top: 10px; left: 10px;
  border-top: 2px solid rgba(196,154,60,.75);
  border-left: 2px solid rgba(196,154,60,.75);
  border-radius: 4px 0 0 0;
}
.collage-corner.br {
  bottom: 10px; right: 10px;
  border-bottom: 2px solid rgba(196,154,60,.75);
  border-right: 2px solid rgba(196,154,60,.75);
  border-radius: 0 0 4px 0;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 992px) {
  .story-intro {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .story-collage { height: 360px; }
  .suite-grid    { grid-template-columns: repeat(2, 1fr); }
  .features-row  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .story-collage { height: 260px; gap: 3px; }
  .suite-grid    { grid-template-columns: 1fr; }
  .features-row  { grid-template-columns: 1fr; }
  .story-img-badge {
    width: 84px; height: 84px;
    bottom: -1rem; right: -1rem;
  }
  .story-img-badge span:first-child { font-size: 1.6rem; }
}
/* ═══════════════════════════════════════════════════════════
   SECTION 3: PILGRIMAGE
   ═══════════════════════════════════════════════════════════ */
#pilgrimage {
  background: linear-gradient(150deg, var(--maroon-dk) 0%, var(--maroon) 45%, var(--wood) 100%);
  position: relative; overflow: hidden;
  /* margin-top: 0px; */
  scroll-margin-top: 0;
}
#pilgrimage::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,160,23,.08) 0%, transparent 60%);
}

.pilg-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
  margin-bottom: 5rem;
}
.pilg-img {
  width: 100%; height: 460px; object-fit: cover;
  border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.4); display: block;
}

/* ═══════════════════════════════════════════════════════════
   TEMPLE DISTANCE CARDS
   ═══════════════════════════════════════════════════════════ */

.temple-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

/* ── Card shell ─────────────────────────────────────────── */
.temple-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.temple-card:hover {
  border-color: rgba(201,168,76,.55);
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
}

/* ── Image section ──────────────────────────────────────── */
.temple-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(40,20,5,.6); /* fallback if image missing */
}

.temple-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
  /* Warm tint blend so images feel cohesive on dark bg */
  filter: brightness(.88) saturate(.9);
}
.temple-card:hover .temple-card-img img {
  transform: scale(1.07);
  filter: brightness(.96) saturate(1);
}

/* Distance badge — floats over bottom of image */
.temple-dist {
  position: absolute;
  bottom: .65rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;

  display: inline-flex;
  align-items: center;
  gap: 4px;

  background: rgba(20,10,3,.72);
  border: 1px solid rgba(201,168,76,.45);
  color: var(--gold);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ── Text body ──────────────────────────────────────────── */
.temple-card-body {
  padding: 1rem 1.1rem 1.3rem;
}

.temple-card-body h5 {
  font-family: var(--ff-serif);
  font-size: var(--fs-base);
  font-weight: 600;
  color: #fff;
  margin-bottom: .4rem;
  line-height: 1.35;
}

.temple-card-body p {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.5);
  line-height: 1.65;
  margin: 0;
}

/* Gold bottom accent on hover */
.temple-card::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform .35s ease;
}
.temple-card:hover::after {
  transform: scaleX(1);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .temple-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .temple-grid { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
}

@media (max-width: 480px) {
  .temple-grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
  .temple-card-body { padding: .85rem .9rem 1rem; }
  .temple-card-body h5 { font-size: var(--fs-sm); }
}
/* Navagraha strip */
.nava-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  margin-top: 2rem;
}
.nava-item {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.2rem; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07); border-radius: 8px;
}
.nava-item i  { color: var(--gold); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.nava-item h6 { font-family: var(--ff-sans); font-size: var(--fs-sm); font-weight: 600; color: #fff; margin-bottom: .2rem; }
.nava-item p  { font-size: var(--fs-xs); color: rgba(255,255,255,.5); line-height: 1.65; }

/* Coffee callout */
.coffee-box {
  background: rgba(201,168,76,.08); border: 1px solid rgba(201,168,76,.25);
  border-radius: 12px; padding: 2rem 2.5rem; margin-top: 3rem;
  display: flex; gap: 1.5rem; align-items: flex-start;
}
.coffee-icon { font-size: 2.2rem; flex-shrink: 0; margin-top: 4px; }
.coffee-box h4 { font-family: var(--ff-serif); font-size: var(--fs-xl); font-weight: 600; color: var(--gold-lt); margin-bottom: .5rem; }
.coffee-box p  { font-size: var(--fs-sm); color: rgba(255,255,255,.65); line-height: 1.8; }

/* ═══════════════════════════════════════════════════════════
   DEGREE COFFEE CALLOUT
   ═══════════════════════════════════════════════════════════ */
 
.coffee-box {
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 3rem;
}
 
/* ── Image side ─────────────────────────────────────────── */
.coffee-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  overflow: hidden;
}
 
.coffee-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
 
.coffee-box:hover .coffee-img-wrap img {
  transform: scale(1.04);
}
 
/* Gold label badge over image */
.coffee-img-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 15, 5, 0.72);
  border: 1px solid rgba(201,168,76,.4);
  color: rgba(201,168,76,.9);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.coffee-img-badge i { font-size: .85rem; }
 
/* ── Content side ───────────────────────────────────────── */
.coffee-content {
  padding: 2.5rem;
}
 
.coffee-box h4 {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--gold-lt);
  margin-bottom: 1rem;
}
 
.coffee-box p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.65);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.coffee-box p:last-child { margin-bottom: 0; }
 
/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 992px) {
  .coffee-img-wrap {
    min-height: 280px;
    /* On tablet/mobile image stacks on top — give it a fixed height */
    height: 280px;
  }
  .coffee-content {
    padding: 2rem;
  }
}
 
@media (max-width: 600px) {
  .coffee-img-wrap { height: 220px; min-height: 220px; }
  .coffee-content  { padding: 1.5rem 1.25rem; }
  .coffee-box h4   { font-size: var(--fs-lg); }
}

/* ═══════════════════════════════════════════════════════════
   SECTION 4: LOCATION & GUIDE
   ═══════════════════════════════════════════════════════════ */

.location-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}

.location-modern {
  width: 100%;
  max-width: 1280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.location-modern-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

/* Left Content Area */
.location-modern-content {
  padding: 2rem 2.5rem;
  background: var(--gold-pale);
}

.location-icon {
  width: 48px;
  height: 48px;
  background: var(--maroon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.location-icon i {
  font-size: 1.4rem;
  color: var(--gold);
}

.location-modern-title {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-h);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.location-modern-text {
  font-size: var(--fs-base);
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.location-modern-text i {
  color: var(--maroon);
  margin-right: 6px;
}

/* Badges */
.location-modern-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: rgba(107, 31, 31, 0.1);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--maroon);
  border: 1px solid rgba(107, 31, 31, 0.15);
}

.badge i {
  font-size: 0.75rem;
}

/* Button */
.location-modern-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background: var(--maroon);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: all 0.25s ease;
  border: 1px solid var(--gold);
}

.location-modern-btn:hover {
  background: var(--maroon-dk);
  transform: translateX(5px);
  color: #fff;
}

/* Right Map Area */
.location-modern-map {
  min-height: 420px;
}

.location-iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
  display: block;
}

/* Tablet */
@media (max-width: 992px) {
  .location-modern-grid {
    grid-template-columns: 1fr;
  }

  .location-modern-map {
    min-height: 320px;
  }

  .location-iframe {
    min-height: 320px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .location-modern-content {
    padding: 1.5rem;
  }

  .location-modern-badges {
    gap: 0.5rem;
  }

  .badge {
    font-size: 0.65rem;
    padding: 0.4rem 0.8rem;
  }

  .location-modern-btn {
    width: 100%;
    justify-content: center;
  }

  .location-modern-map {
    min-height: 280px;
  }

  .location-iframe {
    min-height: 280px;
  }
}
/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .location-modern-grid {
    grid-template-columns: 1fr;
  }
  
  .location-modern-content {
    padding: 1.5rem;
  }
  
  .location-modern-title {
    font-size: var(--fs-lg);
  }
  
  .location-modern-text {
    font-size: var(--fs-sm);
  }
  
  .location-modern-map {
    min-height: 250px;
  }
  
  .location-iframe {
    min-height: 250px;
  }
  
  .location-icon {
    width: 40px;
    height: 40px;
  }
  
  .location-icon i {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .location-modern-content {
    padding: 1.2rem;
  }
  
  .location-modern-badges {
    gap: 0.4rem;
  }
  
  .badge {
    padding: 0.3rem 0.8rem;
    font-size: 0.65rem;
  }
  
  .location-modern-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
  }
  
  .location-modern-map {
    min-height: 220px;
  }
  
  .location-iframe {
    min-height: 220px;
  }
}

   
#location { background: var(--ivory); }

.story-track { max-width: 820px; margin: 4rem auto 0; position: relative; }
.story-track::before {
  content: ''; position: absolute; left: 1.5rem; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--maroon-pale) 15%, var(--gold) 50%, var(--maroon-pale) 85%, transparent);
}
.story-step { display: flex; gap: 2.5rem; margin-bottom: 3.5rem; padding-left: .5rem; position: relative; }
.step-node  { flex-shrink: 0; margin-top: .3rem; }
.step-circle {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--maroon-pale); border: 2px solid var(--maroon-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: var(--maroon); transition: all .35s;
}
.story-step:hover .step-circle { background: var(--maroon); color: #fff; transform: scale(1.1); }
.step-time { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .35rem; }
.step-body h4 { font-family: var(--ff-serif); font-size: var(--fs-xl); font-weight: 600; color: var(--text-h); margin-bottom: .6rem; line-height: 1.3; }
.step-body p  { font-size: var(--fs-base); color: var(--text-muted); line-height: 1.85; }

/* Distance chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.chip {
  display: flex; align-items: center; gap: .4rem;
  background: var(--maroon-pale); border: 1px solid rgba(107,31,31,.3);
  color: var(--maroon); font-size: var(--fs-xs); font-weight: 600;
  padding: .35rem .85rem; border-radius: 100px;
}
.chip.gold { background: var(--gold-pale); border-color: rgba(212,160,23,.45); color: var(--wood); }
.chip i { font-size: .65rem; }

/* Travel tips */
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.tip-card {
  padding: 1.8rem; background: var(--cream);
  border: 1px solid var(--ivory-dk); border-radius: 10px;
}
.tip-card i  { font-size: 1.4rem; color: var(--maroon); margin-bottom: .9rem; display: block; }
.tip-card h5 { font-family: var(--ff-serif); font-size: var(--fs-lg); font-weight: 600; color: var(--text-h); margin-bottom: .4rem; }
.tip-card p  { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.75; }

/* Location advantage strip */
.adv-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-top: 4rem; padding-top: 4rem;
  border-top: 1px solid var(--ivory-dk);
}
.adv-item  { text-align: center; padding: 1.5rem; }
.adv-icon  { font-size: 1.8rem; color: var(--maroon); margin-bottom: .8rem; }
.adv-item h5 { font-family: var(--ff-serif); font-size: var(--fs-lg); font-weight: 600; color: var(--text-h); margin-bottom: .4rem; }
.adv-item p  { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════
   SECTION 5: GALLERY (inline in index)
   ═══════════════════════════════════════════════════════════ */
#gallery { background: var(--cream); }

.gallery-tabs {
  display: flex; gap: .5rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 2.5rem;
}
.g-tab {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: .55rem 1.3rem; border-radius: 100px; cursor: pointer;
  background: transparent; border: 1px solid var(--ivory-dk);
  color: var(--text-muted); transition: all .25s;
}
.g-tab:hover, .g-tab.active { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* Masonry-style grid */
.gallery-grid { columns: 3; column-gap: 12px; }
.g-item {
  break-inside: avoid; margin-bottom: 12px;
  position: relative; overflow: hidden; cursor: pointer;
  border-radius: 8px;
}
.g-item img { width: 100%; display: block; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(107,31,31,.85) 0%, transparent 55%);
  opacity: 0; transition: opacity .4s;
  display: flex; align-items: flex-end; padding: 1.2rem;
}
.g-item:hover .g-overlay { opacity: 1; }
.g-overlay span { font-family: var(--ff-serif); font-size: var(--fs-base); font-style: italic; font-weight: 500; color: #fff; }
.g-zoom {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.5);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .9rem; opacity: 0;
  transition: all .4s;
}
.g-item:hover .g-zoom { opacity: 1; transform: translate(-50%,-50%) scale(1); }

.g-ph {
  break-inside: avoid; margin-bottom: 12px; border-radius: 8px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--ivory); border: 1px solid var(--ivory-dk);
  color: var(--text-light); font-size: .65rem; letter-spacing: .15em;
  text-transform: uppercase; text-align: center; flex-direction: column; gap: .3rem;
  cursor: pointer; transition: background .3s;
}
.g-ph:hover { background: var(--maroon-pale); }
.g-ph i { font-size: 1.8rem; margin-bottom: .2rem; }

/* Old Lightbox */
#lightbox {
  position: fixed; inset: 0; background: rgba(8,4,1,.96);
  z-index: 9900; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
#lightbox.open { opacity: 1; pointer-events: all; }
#lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; transform: scale(.9); transition: transform .4s; }
#lightbox.open img { transform: scale(1); }
#lb-close {
  position: absolute; top: 1.5rem; right: 2rem;
  font-size: 2rem; color: rgba(255,255,255,.65);
  background: none; border: none; cursor: pointer; transition: color .3s;
}
#lb-close:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   SECTION 6: CONTACT
   ═══════════════════════════════════════════════════════════ */
#contact {
  background: var(--wood); position: relative; overflow: hidden;
}
#contact::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 30% 60%, rgba(212,160,23,.07) 0%, transparent 55%);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-row {
  display: flex; gap: 1rem; margin-bottom: 1.4rem;
  font-size: var(--fs-base); color: rgba(255,255,255,.7); line-height: 1.7;
}
.contact-row i { color: var(--gold); margin-top: 3px; flex-shrink: 0; font-size: 1rem; }
.contact-row a { color: rgba(255,255,255,.7); transition: color .3s; }
.contact-row a:hover { color: var(--gold); }

.contact-form-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(212,160,23,.2);
  border-radius: 12px; padding: 2.5rem;
  backdrop-filter: blur(8px);
}
.contact-form-box h3 {
  font-family: var(--ff-serif); font-size: var(--fs-2xl); font-weight: 600;
  color: #fff; margin-bottom: .4rem;
}
.contact-form-box p { font-size: var(--fs-sm); color: rgba(255,255,255,.55); margin-bottom: 1.8rem; }

/* Form inputs — override Bootstrap's .form-label and .form-input if needed */
.form-label {
  display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .45rem;
}
.form-input {
  width: 100%; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15); border-radius: 4px;
  color: #fff; font-family: var(--ff-sans); font-size: var(--fs-sm);
  font-weight: 400; padding: .85rem 1rem;
  transition: border-color .3s; margin-bottom: 1.2rem;
}
.form-input:focus { border-color: var(--gold); box-shadow: none; outline: none; background: rgba(255,255,255,.1); }
.form-input::placeholder { color: rgba(255,255,255,.3); }
textarea.form-input { resize: vertical; min-height: 100px; }

/* Quick contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 5rem; }
.contact-card {
  text-align: center; padding: 2rem 1.5rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; transition: background .3s, border-color .3s;
}
.contact-card:hover { background: rgba(212,160,23,.1); border-color: rgba(212,160,23,.35); }
.contact-card i  { font-size: 1.6rem; color: var(--gold); margin-bottom: .8rem; display: block; }
.contact-card h5 { font-family: var(--ff-sans); font-size: var(--fs-sm); font-weight: 600; color: #fff; margin-bottom: .3rem; }
.contact-card p  { font-size: var(--fs-xs); color: rgba(255,255,255,.5); }
.contact-card a  { color: rgba(255,255,255,.7); font-size: var(--fs-sm); }
.contact-card a:hover { color: var(--gold); }


/* Honeypot — completely hidden */
.cf-honeypot {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
 
/* Each field wrapper */
.cf-field {
  margin-bottom: 0;
  position: relative;
}
 
/* Required star */
.cf-star {
  color: #e05c5c;
  font-size: .85rem;
  margin-left: 2px;
  font-weight: 700;
  line-height: 1;
}
 
/* Optional label */
.cf-optional {
  font-size: .62rem;
  font-weight: 400;
  color: rgba(255,255,255,.35);
  letter-spacing: .06em;
  text-transform: none;
  margin-left: 4px;
}
 
/* Input — invalid state */
.form-input.cf-invalid {
  border-color: #e05c5c !important;
  background: rgba(224,92,92,.06) !important;
}
 
/* Input — valid state */
.form-input.cf-valid {
  border-color: rgba(125,202,125,.55) !important;
}
 
/* Inline error message under each field */
.cf-error-msg {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: .7rem;
  color: #f08080;
  font-family: var(--ff-sans);
  font-weight: 500;
  margin-top: .3rem;
  margin-bottom: .6rem;
  animation: cfErrIn .2s ease;
}
.cf-error-msg.cf-show {
  display: flex;
}
.cf-error-msg i {
  font-size: .75rem;
  flex-shrink: 0;
}
@keyframes cfErrIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
 
/* Submit button — loading state */
#formBtn:disabled {
  opacity: .75;
  cursor: not-allowed;
}
 
/* Shake animation on invalid submit */
@keyframes cfShake {
  0%,100% { transform: translateX(0); }
  15%     { transform: translateX(-8px); }
  30%     { transform: translateX(8px); }
  45%     { transform: translateX(-6px); }
  60%     { transform: translateX(6px); }
  75%     { transform: translateX(-3px); }
  90%     { transform: translateX(3px); }
}
.cf-shake { animation: cfShake .4s ease; }
 
/* ── Success / Error message at BOTTOM of form ── */
.cf-msg {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: var(--fs-sm);
  font-weight: 500;
  font-family: var(--ff-sans);
  line-height: 1.6;
  animation: cfMsgIn .35s ease;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
@keyframes cfMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
 
/* Success */
.cf-msg.cf-success {
  background: rgba(58,122,58,.18);
  border: 1px solid rgba(125,202,125,.4);
  color: #7dca7d;
}
.cf-msg.cf-success::before {
  content: '\2713';
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
 
/* Error */
.cf-msg.cf-error {
  background: rgba(180,60,60,.18);
  border: 1px solid rgba(224,92,92,.4);
  color: #f08080;
}
.cf-msg.cf-error::before {
  content: '\26A0';
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS - ROTATING CAROUSEL (SINGLE CARD)
   ═══════════════════════════════════════════════════════════ */
#testimonials {
  background: var(--ivory);
  position: relative;
  z-index: 1;
  padding: 70px 0;
}

.testi-subtitle {
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  color: var(--text-muted);
  max-width: 550px;
  margin: 0.75rem auto 0;
  line-height: 1.5;
}

/* Carousel Container */
.testimonial-carousel {
  position: relative;
  max-width: 900px;
  margin: 2rem auto 0;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.carousel-slide {
  display: none;
  animation: fadeEffect 0.5s ease;
}

.carousel-slide.active {
  display: block;
}

@keyframes fadeEffect {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Single Card Styles */
.testi-card-single {
  background: var(--cream);
  border: 1px solid var(--ivory-dk);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: row;
  width: 100%;
}

.testi-card-single:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

/* Image Wrapper - Left Side */
.testi-image-wrapper {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  flex: 0.9;
  min-width: 280px;
}

.testi-image-collage {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.4s ease;
}

.testi-card-single:hover .testi-image-collage {
  transform: scale(1.02);
}

/* Overlay with zoom icon */
.testi-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(59, 42, 26, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.testi-image-wrapper:hover .testi-img-overlay {
  opacity: 1;
}

.testi-img-icon {
  width: 50px;
  height: 50px;
  background: var(--maroon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-pale);
  font-size: 1.3rem;
  transition: transform 0.25s ease;
  border: 2px solid var(--gold);
}

.testi-image-wrapper:hover .testi-img-icon {
  transform: scale(1.1);
}

/* Image Badge */
.image-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 2;
  background: var(--maroon);
  color: var(--gold-pale);
  font-size: 0.7rem;
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-sans);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(212, 160, 23, 0.3);
}

/* Content Area - Right Side */
.testi-content-single {
  padding: 1.8rem 2rem;
  flex: 1.2;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 500px;
}

/* Custom Scrollbar */
.testi-content-single::-webkit-scrollbar {
  width: 5px;
}

.testi-content-single::-webkit-scrollbar-track {
  background: var(--ivory-dk);
  border-radius: 10px;
}

.testi-content-single::-webkit-scrollbar-thumb {
  background: var(--maroon);
  border-radius: 10px;
}

.testi-stars {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

/* Day Section */
.testi-day {
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed var(--ivory-dk);
}

.testi-day:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.testi-day-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.testi-day-title i {
  font-size: 1rem;
  color: var(--maroon);
}

.testi-day-title span {
  font-family: var(--ff-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.testi-text {
  font-family: var(--ff-sans);
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 0;
}

.testi-text strong {
  color: var(--maroon);
  font-weight: 600;
}

/* Review Text */
.testi-quote {
  margin-bottom: 0.8rem;
}

.testi-quote i {
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.4;
}

.review-text {
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
}

/* Highlights Grid */
.testi-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 1rem 0 0.5rem;
}

.testi-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  background: var(--maroon-pale);
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--maroon);
  font-family: var(--ff-sans);
  transition: all 0.2s ease;
}

.testi-highlight-item:hover {
  background: var(--gold-pale);
  transform: translateX(4px);
}

/* Author Section */
.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--ivory-dk);
  padding-top: 1.2rem;
  margin-top: 1rem;
}

.testi-avatar {
  width: 52px;
  height: 52px;
  background: var(--maroon-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-tamil, var(--ff-serif));
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--maroon);
  flex-shrink: 0;
  border: 1px solid var(--gold-ring, rgba(212, 160, 23, 0.25));
  transition: all 0.2s ease;
}

.testi-card-single:hover .testi-avatar {
  background: var(--gold-pale);
  border-color: var(--gold);
}

.testi-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-h);
  font-family: var(--ff-sans);
  margin-bottom: 3px;
}

.testi-from {
  font-size: 0.72rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Navigation Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1.8rem;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--ivory-dk);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--maroon);
}

.dot:hover {
  background: var(--gold);
}

/* Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--maroon);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: var(--gold-pale);
  font-size: 1.2rem;
}

.carousel-arrow:hover {
  background: var(--maroon-dk);
  transform: translateY(-50%) scale(1.05);
}

.prev-arrow {
  left: -60px;
}

.next-arrow {
  right: -60px;
}

/* Lightbox Styles */
.image-lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.image-lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.image-lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  width: 48px;
  height: 48px;
  background: var(--maroon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-pale);
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--gold);
}

.image-lightbox-close:hover {
  transform: scale(1.1);
}

.image-lightbox-img {
  max-width: 85%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  border: 3px solid var(--gold);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.image-lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(107, 31, 31, 0.9);
  backdrop-filter: blur(8px);
  color: var(--gold-pale);
  font-family: var(--ff-serif);
  font-size: 0.85rem;
  padding: 8px 24px;
  border-radius: 40px;
  font-style: italic;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .prev-arrow {
    left: -40px;
  }
  .next-arrow {
    right: -40px;
  }
}

@media (max-width: 900px) {
  .testi-card-single {
    flex-direction: column;
  }
  
  .testi-image-wrapper {
    min-height: 250px;
  }
  
  .testi-image-collage {
    min-height: 250px;
  }
  
  .testi-content-single {
    max-height: none;
    padding: 1.5rem;
  }
  
  .prev-arrow {
    left: 10px;
  }
  
  .next-arrow {
    right: 10px;
  }
  
  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  #testimonials {
    padding: 50px 0;
  }
  
  .testi-content-single {
    padding: 1.2rem;
  }
  
  .testi-text, .review-text {
    font-size: 0.82rem;
  }
  
  .testi-day-title span {
    font-size: 0.72rem;
  }
  
  .testi-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  
  .testi-highlight-item {
    padding: 0.5rem 0.7rem;
    font-size: 0.68rem;
  }
  
  .testi-avatar {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  
  .image-lightbox-img {
    max-width: 92%;
    max-height: 60vh;
  }
  
  .image-lightbox-caption {
    font-size: 0.7rem;
    padding: 6px 16px;
    white-space: normal;
    text-align: center;
    width: 90%;
  }
}

@media (max-width: 480px) {
  .testi-image-wrapper {
    min-height: 200px;
  }
  
  .testi-image-collage {
    min-height: 200px;
  }
  
  .testi-content-single {
    padding: 1rem;
  }
  
  .testi-text, .review-text {
    font-size: 0.75rem;
  }
  
  .testi-highlights {
    grid-template-columns: 1fr;
  }
  
  .testi-stars {
    font-size: 0.7rem;
  }
  
  .image-badge {
    font-size: 0.6rem;
    padding: 4px 10px;
  }
  
  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */
#faq { background: var(--cream); }
.faq-wrap { max-width: 760px; margin: 3.5rem auto 0; }
.faq-item { border-bottom: 1px solid var(--ivory-dk); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 0; cursor: pointer;
  font-family: var(--ff-serif); font-size: var(--fs-xl); font-weight: 600;
  color: var(--text-h); line-height: 1.3; transition: color .3s;
}
.faq-q:hover { color: var(--maroon); }
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px;
  border: 1.5px solid rgba(107,31,31,.4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--maroon); font-size: .75rem;
  transition: all .3s; transform: rotate(0deg); margin-top: 3px;
}
.faq-item.open .faq-icon { background: var(--maroon); border-color: var(--maroon); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-body { padding: 0 0 1.5rem; font-size: var(--fs-base); color: var(--text-muted); line-height: 1.85; }
.faq-item.open .faq-a { max-height: 500px; }

/* ═══════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════ */
#cta-band {
  position: relative; overflow: hidden;
  background: url('../images/cta-bg.jpg') center/cover no-repeat;
  padding: 9rem 0;
}
#cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(78,21,21,.88) 0%, rgba(59,42,26,.82) 100%);
}
.cta-content { position: relative; z-index: 2; text-align: center; max-width: 680px; margin: 0 auto; padding: 0 2rem; }
.cta-bg-fallback { position: absolute; inset: 0; background: linear-gradient(135deg, var(--maroon-dk) 0%, var(--maroon) 45%, var(--wood) 100%); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
footer {
  background: var(--charcoal);
  border-top: 3px solid var(--maroon-dk);
}
.footer-body { padding: 5rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
.f-logo-main { font-family: var(--ff-serif); font-size: 1.5rem; font-weight: 600; color: var(--gold); letter-spacing: .07em; display: block; margin-bottom: .25rem; }
.f-logo-sub  { font-family: var(--ff-tamil); font-size: .7rem; color: rgba(255,255,255,.38); display: block; margin-bottom: 1.2rem; }
.f-desc      { font-size: var(--fs-sm); color: rgba(255,255,255,.45); line-height: 1.8; max-width: 260px; }
.f-social    { display: flex; gap: .6rem; margin-top: 1.5rem; }
.f-soc {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4); font-size: .82rem; text-decoration: none; transition: all .3s;
}
.f-soc:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,160,23,.12); }
.f-head  { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.f-links { list-style: none; padding: 0; }
.f-links li { margin-bottom: .5rem; }
.f-links a  { font-size: var(--fs-sm); color: rgba(255,255,255,.45); transition: color .3s; }
.f-links a:hover { color: var(--gold); }
.f-contact-row { display: flex; gap: .75rem; margin-bottom: .8rem; font-size: var(--fs-sm); color: rgba(255,255,255,.45); line-height: 1.65; }
.f-contact-row i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 1.4rem 0; text-align: center; }
.footer-bottom p { font-size: var(--fs-xs); color: rgba(255,255,255,.25); }

/* ─── Float buttons ───────────────────────────────────────── */
.floats { position: fixed; bottom: 2rem; right: 1.5rem; z-index: 900; display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.float-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; border: none; cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.28);
  transition: transform .3s, box-shadow .3s;
}
.float-btn:hover { transform: scale(1.1); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.f-wa  { background: #25D366; color: #fff; }
.f-top { background: var(--maroon); color: #fff; opacity: 0; transition: opacity .4s, transform .3s; }
.f-top.show { opacity: 1; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-grid  { grid-template-columns: 1fr; gap: 3rem; }
  .suite-grid    { grid-template-columns: repeat(2, 1fr); }
  .story-intro   { grid-template-columns: 1fr; gap: 3rem; }
  .pilg-hero     { grid-template-columns: 1fr; gap: 3rem; }
  .temple-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pad    { padding: 4.5rem 0; }
  .pad-lg { padding: 5.5rem 0; }
  .pad-xl { padding: 6rem 0; }
  .wrap   { padding: 0 1.25rem; width: 100%; }
  .nav-menu    { display: none; }
  .ham         { display: flex; }
  .suite-grid  { grid-template-columns: 1fr; }
  .features-row{ grid-template-columns: repeat(2, 1fr); }
  .temple-grid { grid-template-columns: 1fr; }
  .nava-strip  { grid-template-columns: 1fr; }
  .tips-grid   { grid-template-columns: 1fr; }
  .adv-strip   { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid{ columns: 2; }
  .testi-grid  { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .story-img-badge { display: none; }
  .hero-btns, .cta-btns { flex-direction: column; align-items: center; }

  section, header, footer, nav, div { max-width: 100%; }
  .hero-chips { overflow: hidden; }

  .nav-wrap   { padding: 0 1.1rem; width: 100%; }
  .logo img   { height: 60px; width: auto; }
  #nav        { padding: 0.75rem 0; }

  #home {
    align-items: flex-end;
    padding-bottom: 1rem;
    min-height: 100svh;
    min-height: 100vh;
  }
  .hero-content {
    padding: 1.5rem 1.25rem 0.5rem;
    max-width: 100%; width: 100%;
    margin-bottom: 70px;
  }
  .hero-label { font-size: .6rem; letter-spacing: .28em; margin-bottom: .75rem; }
  .hero-h1    { font-size: clamp(1.45rem, 7vw, 2.2rem); line-height: 1.18; margin-bottom: .75rem; }
  .hero-sub   { font-size: .92rem; margin-bottom: 1.4rem; line-height: 1.65; }
  .hero-btns  { gap: .65rem; }
  .hero-chips {
    gap: .4rem; margin-top: 1rem; flex-wrap: wrap;
    justify-content: center; padding: 0 .5rem;
  }
  .hero-chip  { font-size: .57rem; padding: .28rem .6rem; letter-spacing: .05em; white-space: nowrap; }
  .hero-scroll{ bottom: 1rem; }
  .btn        { padding: .85rem 1.5rem; font-size: .64rem; letter-spacing: .14em; }
}

@media (max-width: 480px) {
  .features-row { grid-template-columns: 1fr; }
  .adv-strip    { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .story-step   { gap: 1.5rem; }
  .story-track::before { left: .8rem; }
  .coffee-box   { flex-direction: column; }

  .logo img { height: 52px; }
  #nav      { padding: 0.6rem 0; }

  #home { padding-bottom: .5rem; }
  .hero-content { 
    padding: 1.0rem 1rem 0.5rem; 
    margin-bottom: 75px;
    /* margin-top: 40px; ADDED: pushes content down on mobile for better logo alignment */
    
  }
  .hero-h1   { font-size: clamp(1.3rem, 7.5vw, 2rem);  }
  .hero-sub  { font-size: .875rem; display: none; }
  .hero-chips{ display: none; }
  .hero-scroll{ display: none; }
}

@media (max-width: 390px) {
  .logo img { height: 48px; }
  #nav      { padding: 0.5rem 0; }
  .nav-wrap { padding: 0 .9rem; }
  #home     { padding-bottom: .5rem; }
  .hero-content { 
    padding: 1rem .9rem .5rem; 
    margin-bottom: 70px;
    margin-top: 50px; /* ADDED: extra push for very small screens */
  }
  .hero-h1  { font-size: clamp(1.2rem, 8vw, 1.75rem); line-height: 1.2; }
  .hero-sub { font-size: .8rem; line-height: 1.58; }
  .hero-label { font-size: .54rem; letter-spacing: .2em; margin-bottom: .55rem; }
  .btn      { padding: .72rem 1.2rem; font-size: .59rem; }
  .wrap     { padding: 0 1rem; }
}

/* ═══════════════════════════════════════════════════════════
   GALLERY PAGE — gallery section styles
   ═══════════════════════════════════════════════════════════ */
.page-hero {
  position: relative; height: 42vh; min-height: 320px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, var(--maroon-dk) 0%, var(--maroon) 45%, var(--wood) 100%);
  z-index: 0;
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(78,21,21,.55) 0%, rgba(59,42,26,.72) 100%);
}
.page-hero-content { position: relative; z-index: 2; text-align: center; padding: 2rem 1.5rem; }
.page-hero-content .label { color: rgba(212,160,23,.9); }
.page-hero-content h1 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 600; color: #fff; line-height: 1.15;
  text-shadow: 0 3px 20px rgba(0,0,0,.55);
}
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .75rem;
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(212,160,23,.8); transition: color .3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { opacity: .4; }

/* Gallery filter tabs */
.gal-filters {
  display: flex; gap: .6rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 2.8rem;
}
.gal-tab {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  padding: .55rem 1.4rem; border-radius: 100px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--ivory-dk);
  color: var(--text-muted); transition: all .25s var(--ease);
}
.gal-tab:hover { border-color: var(--maroon-lt); color: var(--maroon); }
.gal-tab.active { background: var(--maroon); border-color: var(--maroon); color: #fff; box-shadow: 0 4px 14px rgba(107,31,31,.3); }

/* Gallery grid — 4 cols */
.gal-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.gal-cell {
  position: relative; aspect-ratio: 4 / 3;
  border-radius: 10px; overflow: hidden; cursor: pointer;
  background: var(--ivory); box-shadow: 0 2px 12px rgba(59,42,26,.1);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.gal-cell:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.gal-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s var(--ease), opacity .3s;
  transform: scale(1); opacity: 0;
}
.gal-cell img.loaded { opacity: 1; }
.gal-cell:hover img { transform: scale(1.08); }
.gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(107,31,31,.82) 0%, rgba(59,42,26,.35) 55%, transparent 100%);
  opacity: 0; transition: opacity .35s var(--ease);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 1.2rem 1rem;
}
.gal-cell:hover .gal-overlay { opacity: 1; }
.gal-overlay-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.6);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; opacity: 0;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gal-cell:hover .gal-overlay-icon { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.gal-caption {
  font-family: var(--ff-serif); font-style: italic; font-size: var(--fs-sm); font-weight: 500;
  color: #fff; text-align: center; line-height: 1.35;
}
.gal-cell.hidden { display: none; }

/* Shimmer loading */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.gal-cell::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--ivory) 0%, var(--sand) 50%, var(--ivory) 100%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  pointer-events: none; transition: opacity .3s;
}
.gal-cell.img-ready::before { opacity: 0; pointer-events: none; }

/* Fullscreen Lightbox */
#gal-lightbox {
  position: fixed; inset: 0; z-index: 9990;
  background: rgba(8,3,1,.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .38s var(--ease);
  padding: 1.5rem;
}
#gal-lightbox.open { opacity: 1; pointer-events: all; }
.lb-img-wrap {
  position: relative; max-width: min(90vw, 1100px); max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  transform: scale(.88); transition: transform .38s var(--ease);
}
#gal-lightbox.open .lb-img-wrap { transform: scale(1); }
#lb-main-img {
  max-width: 100%; max-height: 88vh; object-fit: contain; display: block;
  border-radius: 6px; box-shadow: 0 24px 80px rgba(0,0,0,.6); user-select: none;
}
.lb-caption-bar {
  position: absolute; bottom: -3rem; left: 0; right: 0; text-align: center;
  font-family: var(--ff-serif); font-style: italic;
  font-size: var(--fs-base); color: rgba(255,255,255,.65);
}
#lb-x {
  position: fixed; top: 1.4rem; right: 1.8rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.8); font-size: 1.3rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .25s, color .25s, transform .2s; z-index: 2;
}
#lb-x:hover { background: var(--maroon); color: #fff; transform: scale(1.08); }
.lb-arrow {
  position: fixed; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8); font-size: 1.3rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .2s; user-select: none;
}
.lb-arrow:hover { background: rgba(212,160,23,.4); border-color: rgba(212,160,23,.6); transform: translateY(-50%) scale(1.06); }
#lb-prev { left: 1.5rem; }
#lb-next { right: 1.5rem; }
.lb-counter {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  font-family: var(--ff-sans); font-size: var(--fs-xs);
  font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.38); z-index: 2;
}
.lb-dots { position: fixed; bottom: 3rem; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 2; }
.lb-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.25); transition: background .25s, transform .25s;
  cursor: pointer; border: none; padding: 0;
}
.lb-dot.active { background: var(--gold); transform: scale(1.35); }

/* Responsive gallery grid */
@media (max-width: 1024px) { .gal-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lb-arrow { width: 40px; height: 40px; font-size: 1rem; }
  #lb-prev { left: .6rem; }
  #lb-next { right: .6rem; }
}
@media (max-width: 380px) { .gal-grid { gap: 8px; } }