/* ============================================
   Coorg Natures Retreat — Website Styles
   ============================================ */

:root {
  --forest-950: #12180f;
  --forest-900: #1a2416;
  --forest-800: #253420;
  --forest-700: #33482a;
  --moss-600: #4c6b3b;
  --moss-500: #6a8a53;
  --clay-500: #b5793f;
  --clay-600: #9c6531;
  --cream-50: #fbf9f3;
  --cream-100: #f4efe2;
  --cream-200: #e9e0c9;
  --ink-900: #201d17;
  --ink-700: #4a453b;
  --ink-500: #78715f;
  --white: #ffffff;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(20, 24, 15, 0.08);
  --shadow-md: 0 10px 30px rgba(20, 24, 15, 0.14);
  --shadow-lg: 0 20px 50px rgba(20, 24, 15, 0.22);
  --container-w: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--forest-950); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--moss-600), var(--clay-500));
  z-index: 999;
  transition: width .08s linear;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--moss-600); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--forest-700); }
.btn-outline { background: transparent; color: var(--forest-950); border-color: var(--forest-800); }
.btn-outline:hover { background: var(--forest-950); color: var(--white); }
.btn-ghost { background: transparent; color: var(--forest-950); }
.btn-ghost:hover { background: var(--cream-200); }
.btn-lg { padding: 14px 28px; font-size: 15.5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; line-height: 1.2; }
.brand-logo { border-radius: 50%; flex-shrink: 0; display: block; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--forest-950); }
.brand-sub { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--moss-600); font-weight: 600; }
.main-nav { display: flex; gap: 28px; flex: 1; justify-content: flex-end; }
.main-nav a { font-size: 14.5px; font-weight: 600; color: var(--ink-700); transition: color .15s; }
.main-nav a:hover { color: var(--moss-600); }
.header-cta { display: flex; gap: 10px; }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--forest-950); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-bg {
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%;
  height: 116%;
  will-change: transform;
  background: #1b1f17;
}
/* Poster-first hero: the still of the cottages is always underneath; the flyover
   video starts transparent and is faded in/out by script.js (.is-playing). */
.hero-still,
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.hero-still { animation: stillDrift 14s ease-out forwards; transform-origin: 50% 55%; }
@keyframes stillDrift { from { transform: scale(1.0); } to { transform: scale(1.04); } }
.hero-bg-video { opacity: 0; transition: opacity 1.6s ease; background: #1b1f17; }
.hero-bg-video.is-playing { opacity: 1; }
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,24,18,.25), rgba(15,18,14,.75));
}
.hero-inner { position: relative; padding-bottom: 72px; padding-top: 120px; max-width: 720px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--clay-500);
  margin: 0 0 14px;
}
.eyebrow.center { text-align: center; }
.hero .eyebrow { color: var(--cream-100); }
.hero h1 { color: var(--white); font-size: clamp(32px, 5vw, 52px); margin-bottom: 18px; }
.hero-lede { font-size: 17px; color: var(--cream-100); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero .btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.hero .btn-outline:hover { background: var(--white); color: var(--forest-950); }
.stars { color: var(--clay-500); letter-spacing: 2px; font-size: 15px; }

/* ---------- Metrics strip ---------- */
.metrics { position: relative; z-index: 0; background: var(--cream-100); padding: 56px 0 34px; border-bottom: 1px solid var(--cream-200); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.metric { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ink-700); position: relative; }
.metric:not(:first-child)::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--cream-200);
}
.metric-num { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--forest-950); }
.metric-label { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--moss-600); margin-top: 4px; }

/* ---------- Sections generic ---------- */
.section { padding: 88px 0; }
.section h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section h2.center, h2.center { text-align: center; }
.section-lede { max-width: 620px; color: var(--ink-500); font-size: 16px; }
.section-lede.center { margin: 0 auto 48px; text-align: center; }
.center { text-align: center; }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about-copy h2 { margin-bottom: 18px; }
.about-copy p { color: var(--ink-700); }
.text-link { color: var(--moss-600); font-weight: 700; font-size: 14.5px; }
.text-link:hover { text-decoration: underline; }

/* ---------- Cottages ---------- */
.cottages { background: var(--cream-100); }
.cottage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.cottage-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.cottage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cottage-card img { height: 220px; object-fit: cover; }
.cottage-card h3 { padding: 20px 20px 0; font-size: 19px; }
.cottage-card p { padding: 8px 20px 22px; color: var(--ink-500); font-size: 14.5px; }
.pricing-note {
  margin-top: 44px;
  background: var(--cream-100);
  color: var(--forest-950);
  border: 1px solid var(--cream-200);
  border-left: 4px solid var(--clay-500);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.pricing-note strong { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--forest-950); }
.pricing-note span { display: block; color: var(--ink-500); font-size: 13.5px; margin-top: 4px; }

/* ---------- Amenities ---------- */
.amenities { background: var(--white); }
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.amenity {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cream-100);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--forest-950);
}
.amenity-icon { font-size: 20px; }

/* ---------- Why ---------- */
.why { background: var(--cream-100); }
.why-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card { background: var(--white); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); }
.why-card h3 { font-size: 17px; margin-bottom: 8px; }
.why-card p { color: var(--ink-500); font-size: 14.5px; margin: 0; }

/* ---------- Gallery ---------- */
.gallery { background: var(--white); }
/* Manual horizontal scroll strip — same real-scrolling mechanism as the reviews
   marquee (see script.js's setupScrollStrip), but with autoScroll:false, so it
   only moves on drag/wheel/touch or the arrow buttons, never on its own. */
.gallery-grid {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.gallery-grid::-webkit-scrollbar { display: none; }
.gallery-grid img {
  height: 260px;
  width: auto;
  flex: 0 0 auto;
  border-radius: var(--radius-md);
  cursor: pointer;
  scroll-snap-align: start;
  transition: opacity .15s, transform .2s;
}
.gallery-grid img:hover { transform: scale(1.02); opacity: .93; }

/* ---------- Video ---------- */
.video-section { background: var(--cream-100); }
.video-wrap {
  max-width: 900px;
  margin: 44px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--forest-950);
  box-shadow: var(--shadow-lg);
}
.video-wrap video { width: 100%; max-height: 560px; display: block; background: #000; }

/* ---------- Booking enquiry form ---------- */
.book-enquiry {
  margin-top: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.book-enquiry h3 { font-size: 18px; margin-bottom: 20px; }
.enquiry-form { display: grid; gap: 16px; max-width: 560px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--moss-600);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.enquiry-guests { max-width: 140px; }
.enquiry-form input {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--cream-200);
  background: var(--cream-50);
  color: var(--ink-900);
  transition: border-color .15s, background .15s;
}
.enquiry-form input:focus { outline: none; border-color: var(--moss-600); background: var(--white); }
.enquiry-form .btn { justify-self: start; }
.enquiry-note { font-size: 12.5px; color: var(--ink-500); margin: 2px 0 0; max-width: 480px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--cream-100); color: var(--ink-900); }
.reviews .eyebrow { color: var(--clay-600); }
.reviews .eyebrow { margin-bottom: 40px; }
.reviews .stars { color: var(--clay-600); }
/* Genuinely scrollable review marquee — inspired by snabbit.com's testimonial row.
   Cards are duplicated once in the markup; script.js auto-advances scrollLeft and
   wraps seamlessly at the halfway point, pauses on hover so a review can be read,
   and the arrow buttons (shared .marquee-arrow styling, see "Marquee arrows" below)
   nudge scrollLeft directly — this is a real overflow-x:auto container, so it's also
   scrollable by mouse wheel, trackpad and touch, not just the buttons. */
.marquee-wrap { position: relative; }
.reviews-marquee {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.reviews-marquee::-webkit-scrollbar { display: none; }
.reviews-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  padding: 4px 20px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  width: 300px;
  flex: 0 0 auto;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-card p { color: var(--ink-700); font-size: 14.5px; margin: 12px 0; }
.review-author { font-weight: 700; font-size: 13.5px; color: var(--moss-600); }
.review-card-wide { width: 420px; border-left: 3px solid var(--clay-500); }
.review-card-compact { width: 220px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.review-reply {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--cream-200);
  font-size: 13.5px;
  color: var(--ink-500);
}
.review-reply strong { color: var(--forest-950); }

/* Shared arrow-button styling for the horizontally-scrollable strips
   (reviews marquee + gallery strip). Positioned over the strip's edges. */
.marquee-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--cream-200);
  background: var(--white);
  color: var(--forest-950);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform .15s ease, background .15s ease;
}
.marquee-arrow:hover { background: var(--moss-600); color: var(--white); }
.marquee-arrow:active { transform: translateY(-50%) scale(.92); }
.marquee-arrow-prev { left: -4px; }
.marquee-arrow-next { right: -4px; }
@media (max-width: 700px) {
  .marquee-arrow { width: 36px; height: 36px; font-size: 18px; }
  .marquee-arrow-prev { left: 2px; }
  .marquee-arrow-next { right: 2px; }
}

/* ---------- Book ---------- */
.book { background: var(--cream-100); }
.book-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.book-links { display: grid; gap: 12px; }
.book-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
}
.book-link:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.book-link .arrow { color: var(--moss-600); font-weight: 700; }
.book-link-muted { opacity: .7; }
.book-link-muted .arrow { color: var(--ink-500); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.book-link-primary { background: var(--forest-950); color: var(--white); }
.book-link-primary .arrow { color: var(--clay-500); }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.contact-list { margin-top: 24px; margin-bottom: 32px; display: grid; gap: 18px; }
.contact-list li { font-size: 15.5px; font-weight: 600; }
.contact-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--moss-600); font-weight: 700; margin-bottom: 3px; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; box-shadow: var(--shadow-md); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-950); color: var(--cream-200); padding: 36px 0 14px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--forest-700); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-inner .brand-name { display: block; color: var(--white); font-family: var(--font-display); font-size: 18px; }
.footer-inner .brand-sub { display: block; font-size: 12px; color: var(--cream-200); margin-top: 2px; }
.footer-links { display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: var(--white); }
.footer-note { text-align: center; font-size: 12px; line-height: 1.7; color: var(--cream-200); opacity: .75; margin: 18px 0 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 12, .92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .about-grid, .why-grid, .book-grid, .contact-grid { grid-template-columns: 1fr; }
  .cottage-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(3, 1fr); }
  .why-cards { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .metric:nth-child(3)::before { display: none; }
  .gallery-grid img { height: 220px; }
}

@media (max-width: 720px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-50);
    flex-direction: column;
    padding: 20px 24px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--cream-200);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-cta-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--cream-200);
  }
  .nav-cta-mobile .btn { width: 100%; }
  .hero { min-height: 100vh; }
  .hero-inner { padding-top: 100px; padding-bottom: 56px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cottage-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .review-card { width: 250px; }
  .review-card-wide { width: 300px; }
  .review-card-compact { width: 180px; }
  .gallery-grid img { height: 170px; }
  .pricing-note { flex-direction: column; align-items: flex-start; }
  .section { padding: 60px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .book-enquiry { padding: 22px; }
  .video-wrap video { max-height: 240px; }
}

/* ============================================
   Motion — hero entrance + scroll reveals
   ============================================ */

/* Hero entrance (runs once on load, no JS needed) */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-inner > * { opacity: 0; animation: fadeUp .8s ease forwards; }
.hero-inner .eyebrow { animation-delay: .05s; }
.hero-inner h1 { animation-delay: .15s; }
.hero-inner .hero-lede { animation-delay: .3s; }
.hero-inner .hero-actions { animation-delay: .45s; }

/* Scroll-triggered reveal, toggled by IntersectionObserver in script.js */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition: opacity .7s cubic-bezier(.2,.65,.3,1), transform .7s cubic-bezier(.2,.65,.3,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* Gentle stagger inside grids — nth-child delay, capped so late items don't lag too long */
.about-grid .reveal:nth-child(2) { transition-delay: .12s; }
.contact-grid .reveal:nth-child(2) { transition-delay: .12s; }
.cottage-grid .reveal:nth-child(1) { transition-delay: 0s; }
.cottage-grid .reveal:nth-child(2) { transition-delay: .1s; }
.cottage-grid .reveal:nth-child(3) { transition-delay: .2s; }
.amenities-grid .reveal:nth-child(1) { transition-delay: 0s; }
.amenities-grid .reveal:nth-child(2) { transition-delay: .06s; }
.amenities-grid .reveal:nth-child(3) { transition-delay: .12s; }
.amenities-grid .reveal:nth-child(4) { transition-delay: .18s; }
.amenities-grid .reveal:nth-child(5) { transition-delay: .24s; }
.amenities-grid .reveal:nth-child(6) { transition-delay: .3s; }
.why-cards .reveal:nth-child(1) { transition-delay: 0s; }
.why-cards .reveal:nth-child(2) { transition-delay: .08s; }
.why-cards .reveal:nth-child(3) { transition-delay: .16s; }
.why-cards .reveal:nth-child(4) { transition-delay: .24s; }
.book-links .reveal:nth-child(1) { transition-delay: 0s; }
.book-links .reveal:nth-child(2) { transition-delay: .06s; }
.book-links .reveal:nth-child(3) { transition-delay: .12s; }
.book-links .reveal:nth-child(4) { transition-delay: .18s; }
.book-links .reveal:nth-child(5) { transition-delay: .24s; }

/* A little more polish on interactive elements already using .btn/.cottage-card/etc. */
.metric-num { transition: transform .3s ease; }
.metric:hover .metric-num { transform: scale(1.06); }
.amenity { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.amenity:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); background: var(--white); }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-inner > *, .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-bg { transform: none !important; }
  .hero-bg-video { display: none; }
  .hero-still { animation: none !important; }
  .g-item, .step, .step-line::after { transition: none !important; }
  .wa-fab { transition: none !important; }
}


/* ============================================
   Round 3 additions
   ============================================ */

/* ---------- "5.0 on Google" badge overlapping hero + metrics ---------- */
.google-badge {
  position: absolute;
  z-index: 5;
  right: max(24px, calc((100vw - var(--container-w)) / 2 + 24px));
  bottom: -34px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  color: var(--forest-950);
  border-radius: var(--radius-lg);
  padding: 14px 22px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  animation: fadeUp .8s ease .75s forwards;
  transition: transform .2s ease, box-shadow .2s ease;
}
.google-badge:hover { transform: translateY(-3px); box-shadow: 0 24px 56px rgba(20,24,15,.3); }
.gb-score { font-family: var(--font-display); font-size: 40px; font-weight: 600; line-height: 1; }
.gb-meta { display: flex; flex-direction: column; gap: 2px; }
.gb-text { font-size: 12.5px; color: var(--ink-500); font-weight: 600; }

/* ---------- Gallery: big cards, staggered reveal ---------- */
.gallery-cards {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.g-item { margin: 0; }
.g-item[hidden] { display: none; }
.g-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--forest-900);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.g-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.65,.3,1);
}
.g-open:hover img { transform: scale(1.05); }
/* Small portrait photos: show whole picture over a blurred copy of itself so
   they never get stretched or cropped awkwardly. */
.g-contain .g-open { background: var(--forest-900) var(--gbg) center / cover; }
.g-contain .g-open::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(22px) brightness(.7);
  -webkit-backdrop-filter: blur(22px) brightness(.7);
}
.g-contain .g-open img { position: relative; object-fit: contain; }
.g-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--forest-950);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .2s, transform .2s;
}
.g-open:hover .g-zoom, .g-open:focus-visible .g-zoom { opacity: 1; transform: scale(1); }
.g-open:focus-visible { outline: 3px solid var(--moss-500); outline-offset: 3px; }
.g-item figcaption { padding: 12px 6px 0; font-size: 14.5px; font-weight: 600; color: var(--ink-700); }
.gallery-more { text-align: center; margin-top: 40px; }
.gallery-more[hidden] { display: none; }
/* Photos are revealed one after another (delay set per-item from script.js). */
.g-item.reveal { transform: translateY(36px) scale(.97); }
.g-item.reveal.is-visible { transform: none; }

/* ---------- How to book ---------- */
.how { background: var(--white); }
.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  counter-reset: none;
}
/* connecting line behind the numbered circles (desktop) */
.steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 16.6%;
  right: 16.6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--moss-500) 0 8px, transparent 8px 16px);
  opacity: .55;
}
.step { position: relative; text-align: center; padding: 0 10px; }
.step-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--moss-600);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  box-shadow: 0 0 0 8px var(--white), var(--shadow-sm);
  margin-bottom: 18px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-500); font-size: 15px; max-width: 290px; margin: 0 auto; }
.steps .step:nth-child(2) { transition-delay: .15s; }
.steps .step:nth-child(3) { transition-delay: .3s; }
.steps-cta { text-align: center; margin-top: 44px; }

/* ---------- Floating WhatsApp button ---------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  background: #1fa855;
  color: var(--white);
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 10px 28px rgba(15, 80, 40, .38);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease, background .15s ease;
}
.wa-fab.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.wa-fab:hover { background: #178f49; }
.wa-fab svg { flex-shrink: 0; }

/* ---------- Lightbox (prev/next, caption, counter) ---------- */
.lightbox { flex-direction: column; background: rgba(12, 15, 10, .94); touch-action: pan-y; }
.lightbox.open { display: flex; animation: lbIn .25s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-figure { margin: 0; max-width: min(1200px, 100%); display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: 78vh; object-fit: contain; transition: opacity .2s ease; }
.lightbox img.is-loading { opacity: .25; }
.lightbox figcaption { display: flex; gap: 14px; align-items: baseline; justify-content: center; color: var(--cream-100); padding-top: 14px; font-size: 15px; font-weight: 600; text-align: center; }
.lightbox-count { color: var(--cream-200); opacity: .7; font-size: 13px; font-weight: 500; }
.lightbox-close, .lightbox-nav { z-index: 2; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

@media (max-width: 980px) {
  .gallery-cards { gap: 20px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
}
@media (max-width: 720px) {
  .google-badge { position: relative; right: auto; bottom: auto; margin: -20px 24px 22px auto; width: fit-content; padding: 10px 16px; z-index: 5; }
  .hero { flex-direction: column; justify-content: flex-end; align-items: stretch; }
  .metrics { padding-top: 40px; }
  .gallery-cards { grid-template-columns: 1fr; gap: 26px; }
  .wa-fab { right: 14px; bottom: 14px; padding: 14px; }
  .wa-fab-label { display: none; }
  .lightbox { padding: 16px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 26px; background: rgba(0,0,0,.45); }
}

/* ---------- Getting there (distances) ---------- */
.route-list { display: grid; gap: 6px; margin-top: 4px; }
.route { display: flex; gap: 10px; align-items: baseline; font-weight: 600; font-size: 15.5px; }
.route strong { min-width: 92px; color: var(--forest-950); font-family: var(--font-display); font-weight: 600; }
.route-note { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 500; color: var(--ink-500); max-width: 420px; }

/* anchor targets clear the sticky header */
#enquiry, #book { scroll-margin-top: 90px; }
