/* ============================================
   AU FILET DE CANARD — Premium Family Retreat
   Design: Warm Organic Premium with grain texture
   Palette: Beige, Sage, Amber/Duck, Midnight Blue
   ============================================ */

:root {
  --c-cream: #FBF7F2;
  --c-cream-dark: #F0E8DC;
  --c-beige: #E8DDD0;
  --c-amber: #C8956C;
  --c-amber-light: #D4A97A;
  --c-amber-dark: #A67B58;
  --c-sage: #8B9E7E;
  --c-sage-light: #B5C4A8;
  --c-midnight: #1A2332;
  --c-midnight-light: #2A3A4E;
  --c-charcoal: #2C2C2C;
  --c-gray: #6B7280;
  --c-gray-light: #9CA3AF;
  --c-white: #FFFFFF;
  --c-star: #F5A623;

  --f-display: 'DM Serif Display', Georgia, serif;
  --f-body: 'Outfit', -apple-system, sans-serif;

  --s-section: clamp(80px, 10vw, 140px);
  --s-container: min(1200px, 90vw);

  --t-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  --t-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--f-body); color: var(--c-charcoal); background: var(--c-cream); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ============ GRAIN OVERLAY ============ */
.grain-overlay {
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ============ PRELOADER ============ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--c-cream);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring { animation: loaderSpin 1.5s ease-in-out infinite; }
@keyframes loaderSpin {
  0% { stroke-dashoffset: 314; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -314; }
}
.duck-icon { animation: duckBob 2s ease-in-out infinite; }
@keyframes duckBob {
  0%, 100% { transform: translate(35px, 30px) translateY(0); }
  50% { transform: translate(35px, 30px) translateY(-4px); }
}

/* ============ UTILITIES ============ */
.container { max-width: var(--s-container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--s-section) 0; position: relative; }
.section-eyebrow {
  font-family: var(--f-body); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--c-amber); display: block; margin-bottom: 12px;
}
.section-eyebrow-light { color: var(--c-amber-light); }
.section-title {
  font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15; color: var(--c-midnight); margin-bottom: 16px;
}
.section-title-light { color: var(--c-white); }
.section-subtitle { color: var(--c-gray); font-size: 1.05rem; max-width: 520px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-subtitle { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 100px;
  font-weight: 600; font-size: 0.95rem;
  transition: var(--t-base); cursor: pointer;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn:hover::after { transform: translateX(100%); }
.btn-primary {
  background: var(--c-amber); color: var(--c-white);
  box-shadow: 0 4px 16px rgba(200,149,108,0.35);
}
.btn-primary:hover { background: var(--c-amber-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,149,108,0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.15); color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); }
.btn-outline {
  background: transparent; color: var(--c-amber);
  border: 2px solid var(--c-amber);
}
.btn-outline:hover { background: var(--c-amber); color: var(--c-white); }
.btn-outline-light {
  background: transparent; color: var(--c-white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: var(--c-white); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* Animations */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate].animated { opacity: 1; transform: translate(0); }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: var(--t-smooth);
}
.navbar.scrolled {
  background: rgba(251,247,242,0.92); backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06); padding: 10px 0;
}
.nav-container {
  max-width: var(--s-container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; z-index: 10; }
.logo-svg { color: var(--c-white); transition: var(--t-base); }
.navbar.scrolled .logo-svg { color: var(--c-amber); }
.logo-text {
  font-family: var(--f-display); font-size: 1.15rem;
  color: var(--c-white); transition: var(--t-base);
}
.navbar.scrolled .logo-text { color: var(--c-midnight); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500;
  color: rgba(255,255,255,0.85); transition: var(--t-base);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--c-amber);
  transform: scaleX(0); transition: var(--t-base); transform-origin: left;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.navbar.scrolled .nav-links a { color: var(--c-charcoal); }
.nav-cta {
  background: var(--c-amber) !important; color: var(--c-white) !important;
  padding: 10px 24px !important; border-radius: 100px;
  transition: var(--t-base) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--c-amber-dark) !important; transform: translateY(-1px); }
.nav-right { display: flex; align-items: center; gap: 16px; }

/* Language Selector */
.lang-selector { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  font-size: 0.82rem; font-weight: 500;
  color: rgba(255,255,255,0.85); transition: var(--t-base);
  background: rgba(255,255,255,0.1); min-height: 44px;
}
.navbar.scrolled .lang-btn { color: var(--c-charcoal); background: rgba(0,0,0,0.04); }
.lang-btn:hover { background: rgba(255,255,255,0.2); }
.navbar.scrolled .lang-btn:hover { background: rgba(0,0,0,0.08); }
.lang-flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; }
.lang-option img { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; vertical-align: middle; }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--c-white); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 8px; min-width: 160px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: var(--t-base);
}
.lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 14px; border-radius: 8px;
  font-size: 0.88rem; color: var(--c-charcoal); transition: var(--t-base);
}
.lang-option:hover { background: var(--c-cream); }
.lang-option.active { background: var(--c-cream); color: var(--c-amber); font-weight: 600; }

/* Mobile Toggle */
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 10000; cursor: pointer; }
.nav-toggle span {
  display: block; width: 100%; height: 2px; background: var(--c-white);
  position: absolute; left: 0; transition: var(--t-base);
}
.navbar.scrolled .nav-toggle span { background: var(--c-charcoal); }
.nav-toggle.active span { background: var(--c-white) !important; }
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 32px; }
.nav-toggle.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(20,28,42,0.88) 0%, rgba(20,28,42,0.72) 50%, rgba(20,28,42,0.9) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 24px;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(12px);
  padding: 8px 20px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 500; color: var(--c-white);
  margin-bottom: 28px; border: 1px solid rgba(255,255,255,0.15);
}
.hero-title {
  font-family: var(--f-display); color: var(--c-white);
  font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4), 0 4px 40px rgba(0,0,0,0.2);
}
.hero-title-line { display: block; }
.hero-title-accent {
  color: var(--c-amber-light); font-style: italic;
  text-shadow: 0 2px 20px rgba(200,149,108,0.4), 0 4px 40px rgba(0,0,0,0.2);
}
.hero-subtitle {
  color: rgba(255,255,255,0.9); font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 560px; margin: 0 auto 36px; font-weight: 400; line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  padding: 20px 36px; background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px); border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-stat { text-align: center; }
.hero-stat-value { display: block; font-family: var(--f-display); font-size: 1.8rem; color: var(--c-white); }
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.7); font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em; }
.hero-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

/* Floating SVGs */
.hero-float { position: absolute; z-index: 1; opacity: 0.4; }
.hero-float-1 { top: 15%; left: 8%; animation: float1 8s ease-in-out infinite; }
.hero-float-2 { bottom: 20%; right: 10%; animation: float2 10s ease-in-out infinite; }
.hero-float-3 { top: 40%; right: 5%; animation: float3 12s ease-in-out infinite; }
@keyframes float1 { 0%, 100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(15px,-20px) rotate(10deg); } }
@keyframes float2 { 0%, 100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-10px,15px) rotate(-8deg); } }
@keyframes float3 { 0%, 100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(20px,10px) rotate(5deg); } }

/* ============ AMENITIES BANNER ============ */
.amenities-banner {
  background: var(--c-white);
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
}
.amenities-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.amenities-track {
  display: flex; gap: 32px; width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.amenities-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.amenity-chip {
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; font-size: 0.85rem;
  font-weight: 500; color: var(--c-charcoal);
  padding: 8px 16px; border-radius: 100px;
  background: var(--c-cream); flex-shrink: 0;
}
.amenity-chip svg { color: var(--c-amber); flex-shrink: 0; }

/* ============ ABOUT ============ */
.about { background: var(--c-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-images { position: relative; }
.about-img { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.about-img:hover img { transform: scale(1.03); }
.about-img-main { aspect-ratio: 4/5; }
.about-img-secondary {
  position: absolute; bottom: -30px; right: -30px;
  width: 55%; aspect-ratio: 1; border: 6px solid var(--c-white);
  border-radius: 16px;
}
.about-badge-float {
  position: absolute; top: -20px; right: 20px;
  background: var(--c-amber); color: var(--c-white);
  padding: 16px 24px; border-radius: 16px;
  text-align: center; box-shadow: 0 8px 24px rgba(200,149,108,0.3);
  animation: badgeFloat 3s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.about-badge-number { display: block; font-family: var(--f-display); font-size: 2rem; line-height: 1; }
.about-badge-text { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.9; }
.about-content { }
.about-text { color: var(--c-gray); margin-bottom: 16px; font-size: 1rem; line-height: 1.75; }
.about-fun-fact {
  background: var(--c-cream); padding: 16px 20px; border-radius: 12px;
  border-left: 3px solid var(--c-amber);
  margin: 24px 0; display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.95rem; color: var(--c-gray); line-height: 1.6;
}
.about-fun-fact svg { flex-shrink: 0; margin-top: 2px; }
.about-hosts { display: flex; gap: 24px; margin-top: 28px; }
.about-host { display: flex; align-items: center; gap: 12px; }
.about-host-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-amber); color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 1.2rem;
  transition: var(--t-spring);
}
.about-host:hover .about-host-avatar { transform: scale(1.1) rotate(-5deg); }
.about-host div { display: flex; flex-direction: column; }
.about-host strong { font-size: 0.95rem; }
.about-host span { font-size: 0.78rem; color: var(--c-amber); font-weight: 500; }

/* ============ GALLERY ============ */
.gallery { background: var(--c-cream); overflow: hidden; }
.gallery-track { position: relative; padding: 0 0 40px; }
.gallery-slider {
  display: flex; gap: 20px; padding: 0 max(24px, calc((100vw - 1200px) / 2));
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.gallery-slider::-webkit-scrollbar { display: none; }
.gallery-slide {
  flex: 0 0 auto; width: min(480px, 80vw); scroll-snap-align: center;
  border-radius: 20px; overflow: hidden; position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: transform 0.4s ease;
}
.gallery-slide:hover { transform: translateY(-6px); }
.gallery-slide img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-slide:hover img { transform: scale(1.05); }
.gallery-label {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
  color: var(--c-white); padding: 8px 16px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 500;
}
.gallery-controls {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-top: 32px;
}
.gallery-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-white); color: var(--c-charcoal);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: var(--t-base);
}
.gallery-btn:hover { background: var(--c-amber); color: var(--c-white); transform: scale(1.08); }
.gallery-dots { display: flex; gap: 8px; }
.gallery-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-beige); transition: var(--t-base); cursor: pointer;
}
.gallery-dot.active { background: var(--c-amber); width: 24px; border-radius: 4px; }

/* ============ SPACES ============ */
.spaces { background: var(--c-white); }
.spaces-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.space-card {
  border-radius: 20px; overflow: hidden;
  background: var(--c-cream); transition: var(--t-smooth);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.space-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.space-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.space-card-img { position: relative; overflow: hidden; }
.space-card-img img {
  width: 100%; height: 100%; object-fit: cover; min-height: 240px;
  transition: transform 0.6s ease;
}
.space-card:hover .space-card-img img { transform: scale(1.05); }
.space-card-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--c-amber); color: var(--c-white);
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600;
}
.space-card-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.space-card-body h3 { font-family: var(--f-display); font-size: 1.5rem; color: var(--c-midnight); margin-bottom: 12px; }
.space-card-body p { color: var(--c-gray); font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; }
.space-card-amenities { display: flex; flex-wrap: wrap; gap: 8px; }
.space-card-amenities span {
  background: var(--c-white); padding: 6px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 500; color: var(--c-charcoal);
  transition: var(--t-base);
}
.space-card-amenities span:hover { background: var(--c-amber); color: var(--c-white); }

/* ============ FAMILY ============ */
.family { background: var(--c-cream); }
.family-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.family-intro { color: var(--c-gray); font-size: 1.05rem; line-height: 1.75; margin-bottom: 36px; }
.family-features { display: flex; flex-direction: column; gap: 24px; }
.family-feature {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px; border-radius: 16px;
  transition: var(--t-base);
}
.family-feature:hover { background: var(--c-white); box-shadow: 0 4px 20px rgba(0,0,0,0.06); transform: translateX(8px); }
.family-feature-icon { flex-shrink: 0; }
.family-feature h4 { font-size: 1.05rem; color: var(--c-midnight); margin-bottom: 4px; }
.family-feature p { font-size: 0.88rem; color: var(--c-gray); line-height: 1.6; }
.family-visual { position: relative; }
.family-img-stack { position: relative; }
.family-img-1 {
  border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
}
.family-img-2 {
  position: absolute; bottom: -20px; left: -20px;
  width: 55%; border-radius: 16px;
  border: 6px solid var(--c-cream);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  aspect-ratio: 1; object-fit: cover;
}

/* ============ REVIEWS ============ */
.reviews { background: var(--c-white); }
.reviews-ratings {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 40px;
  max-width: 700px; margin: 0 auto 56px;
}
.rating-item { display: flex; align-items: center; gap: 12px; }
.rating-label { font-size: 0.85rem; color: var(--c-gray); min-width: 100px; }
.rating-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--c-cream-dark); overflow: hidden; }
.rating-fill { height: 100%; border-radius: 3px; background: var(--c-amber); transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.rating-score { font-size: 0.85rem; font-weight: 600; color: var(--c-charcoal); min-width: 28px; text-align: right; }

/* Reviews Carousel */
.reviews-carousel {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  margin-bottom: 40px;
}
.reviews-track {
  display: flex; gap: 24px;
  animation: reviewsScroll 40s linear infinite;
  width: max-content;
}
.reviews-track:hover { animation-play-state: paused; }
@keyframes reviewsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.review-card {
  background: var(--c-cream); padding: 28px; border-radius: 16px;
  transition: var(--t-base); flex: 0 0 360px; max-width: 360px;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-amber); color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 1.1rem; flex-shrink: 0;
}
.review-header div { display: flex; flex-direction: column; }
.review-header strong { font-size: 0.95rem; }
.review-date { font-size: 0.78rem; color: var(--c-gray-light); }
.review-stars { margin-left: auto; color: var(--c-star); font-size: 0.85rem; letter-spacing: 2px; }
.review-text { color: var(--c-gray); font-size: 0.92rem; line-height: 1.7; font-style: italic; }
.reviews-cta { text-align: center; }

/* ============ ACTIVITIES ============ */
.activities { background: var(--c-cream); }
.activities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.activity-card {
  background: var(--c-white); padding: 36px 28px; border-radius: 20px;
  text-align: center; transition: var(--t-smooth);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.activity-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.activity-icon { margin-bottom: 20px; }
.activity-icon svg { transition: var(--t-spring); }
.activity-card:hover .activity-icon svg { transform: scale(1.1) rotate(-5deg); }
.activity-card h3 { font-family: var(--f-display); font-size: 1.2rem; color: var(--c-midnight); margin-bottom: 8px; }
.activity-card p { font-size: 0.88rem; color: var(--c-gray); line-height: 1.65; margin-bottom: 12px; }
.activity-distance {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  color: var(--c-amber); background: var(--c-cream);
  padding: 4px 12px; border-radius: 100px;
}

/* ============ BOOKING ============ */
.booking {
  position: relative; min-height: 600px;
  display: flex; align-items: center;
  overflow: hidden;
}
.booking-bg { position: absolute; inset: 0; }
.booking-bg-img {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.booking-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,35,50,0.9) 0%, rgba(42,58,78,0.84) 100%);
}
.booking-content {
  position: relative; z-index: 2;
  text-align: center; padding: 80px 24px;
}
.booking-text { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 36px; }
.booking-info {
  display: flex; justify-content: center; gap: 36px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.booking-info-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.8); font-size: 0.92rem;
}
.booking-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer {
  background: var(--c-midnight); color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-size: 1.15rem;
  color: var(--c-white); margin-bottom: 12px;
}
.footer-tagline { font-size: 0.88rem; line-height: 1.6; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); transition: var(--t-base);
}
.footer-social a:hover { background: var(--c-amber); border-color: var(--c-amber); color: var(--c-white); transform: translateY(-2px); }
.footer-links h4, .footer-contact h4 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-amber); margin-bottom: 20px;
}
.footer-links a {
  display: block; font-size: 0.88rem; padding: 6px 0;
  transition: var(--t-base);
}
.footer-links a:hover { color: var(--c-white); padding-left: 6px; }
.footer-contact p { font-size: 0.85rem; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px; text-align: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
}

/* ============ GUEST NAV BUTTON ============ */
.nav-guest-btn {
  background: rgba(255,255,255,0.1) !important; color: var(--c-white) !important;
  padding: 8px 18px !important; border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.3) !important;
  font-size: 0.82rem !important; font-weight: 500;
  transition: var(--t-base) !important;
}
.nav-guest-btn::after { display: none !important; }
.nav-guest-btn:hover { background: rgba(255,255,255,0.2) !important; border-color: rgba(255,255,255,0.5) !important; }
.navbar.scrolled .nav-guest-btn {
  background: var(--c-cream) !important; color: var(--c-amber) !important;
  border-color: var(--c-amber) !important;
}
.navbar.scrolled .nav-guest-btn:hover { background: var(--c-amber) !important; color: var(--c-white) !important; }

/* ============ GUEST MODAL ============ */
.guest-modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(26,35,50,0.7); backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--t-smooth);
  padding: 24px;
}
.guest-modal-overlay.open { opacity: 1; visibility: visible; }
.guest-modal {
  background: var(--c-white); border-radius: 24px;
  padding: 48px 40px; text-align: center; max-width: 420px; width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  transform: translateY(20px) scale(0.96); transition: var(--t-smooth);
  position: relative;
}
.guest-modal-overlay.open .guest-modal { transform: translateY(0) scale(1); }
.guest-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-gray-light); transition: var(--t-base);
}
.guest-modal-close:hover { background: var(--c-cream); color: var(--c-charcoal); }
.guest-modal-icon { margin-bottom: 20px; }
.guest-modal-title { font-family: var(--f-display); font-size: 1.5rem; color: var(--c-midnight); margin-bottom: 8px; }
.guest-modal-desc { color: var(--c-gray); font-size: 0.92rem; margin-bottom: 28px; }
.pin-inputs { display: flex; justify-content: center; gap: 10px; margin-bottom: 16px; }
.pin-digit {
  width: 52px; height: 64px; border: 2px solid var(--c-beige);
  border-radius: 14px; text-align: center;
  font-family: var(--f-display); font-size: 1.5rem; color: var(--c-midnight);
  background: var(--c-cream); transition: var(--t-base);
  outline: none; -moz-appearance: textfield;
}
.pin-digit::-webkit-inner-spin-button, .pin-digit::-webkit-outer-spin-button { display: none; }
.pin-digit:focus { border-color: var(--c-amber); box-shadow: 0 0 0 3px rgba(200,149,108,0.15); }
.pin-digit.success { border-color: #4CAF50; background: #E8F5E9; }
.pin-digit.error { border-color: #F44336; animation: pinShake 0.4s ease; }
@keyframes pinShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.pin-error { color: #F44336; font-size: 0.85rem; font-weight: 500; opacity: 0; transition: var(--t-base); margin-bottom: 8px; }
.pin-error.visible { opacity: 1; }
.pin-hint { color: var(--c-gray-light); font-size: 0.78rem; font-style: italic; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-img-secondary { right: 0; bottom: -20px; }
  .family-layout { grid-template-columns: 1fr; gap: 48px; }
  .family-visual { order: -1; }
  .spaces-grid { grid-template-columns: 1fr; }
  .space-card-featured { grid-template-columns: 1fr; }
  .reviews-ratings { grid-template-columns: repeat(2, 1fr); }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-links {
    position: fixed; inset: 0; background: var(--c-midnight);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 24px; opacity: 0; visibility: hidden; transition: var(--t-smooth);
    z-index: 9999;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { color: var(--c-white) !important; font-size: 1.2rem; }
  .nav-toggle { display: block; }
  .hero-stats { flex-direction: row; gap: 20px; padding: 16px 24px; }
  .hero-stat-value { font-size: 1.4rem; }
  .reviews-ratings { grid-template-columns: 1fr 1fr; }
  .review-card { flex: 0 0 300px; max-width: 300px; }
  .activities-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .booking-bg-img { background-attachment: scroll; }
  .booking-info { flex-direction: column; align-items: center; gap: 16px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-wrap: wrap; }
  .about-hosts { flex-direction: column; gap: 16px; }
  .reviews-ratings { grid-template-columns: 1fr; }
  .review-card { flex: 0 0 280px; max-width: 280px; }
}

/* ============ NET PARALLAX TRANSITION ============ */
.net-transition {
  position: relative;
  height: 60vh;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--c-midnight) 0%,
    #1E2A3A 40%,
    #2A1F18 70%,
    var(--c-cream) 100%
  );
  background-size: 100% 100%;
  z-index: 1;
}
.net-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.net-mesh .net-line {
  fill: none;
  stroke: var(--c-amber);
  stroke-width: 1.5;
  opacity: 0.4;
  vector-effect: non-scaling-stroke;
}
.net-mesh .net-knot {
  fill: var(--c-amber);
  opacity: 0.5;
}
.net-glow {
  transition: opacity 0.5s;
}
.net-transition-text {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  will-change: transform;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.net-transition-text span {
  font-family: var(--f-heading);
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: rgba(255,255,255,0.6);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Section Thread Dividers */
.section-thread {
  display: block;
  width: 100%;
  height: 40px;
  margin: -20px 0;
  position: relative;
  z-index: 2;
  overflow: visible;
}
.thread-line {
  stroke-linecap: round;
  transition: d 0.3s;
}
.section-thread.thread-reverse {
  transform: scaleX(-1);
}

/* Thread sway animation */
@keyframes threadSway {
  0% { transform: translateY(0); }
  100% { transform: translateY(3px); }
}
.section-thread .thread-line {
  animation: threadSway 5s ease-in-out infinite alternate;
}
.section-thread.thread-reverse .thread-line {
  animation-duration: 7s;
  animation-direction: alternate-reverse;
}

@media (max-width: 768px) {
  .net-transition { height: 45vh; }
  .net-transition-text span { font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .net-transition { height: 35vh; }
}
