/* ================================================================
   The Colonel's Homestay – Main Stylesheet
   ================================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --color-primary:    #003322;
  --color-secondary:  #C5A059;
  --color-gold:       #C5A059;
  --color-bg:         #F9F6F0;
  --color-cream:      #F5F5DC;
  --color-text:       #1a1a1a;
  --color-accent:     #F3E8D0;
  --color-white:      #FFFFFF;
  --color-muted:      #5a5a5a;
  --color-border:     #E5E0D5;
  --color-dark:       #002b1b;

  --font-heading:     'Playfair Display', Georgia, serif;
  --font-body:        'Poppins', sans-serif;
  --font-btn:         'Montserrat', sans-serif;
  --font-script:      'Great Vibes', cursive;

  --shadow-sm:        0 2px 8px rgba(11,59,46,.08);
  --shadow-md:        0 8px 30px rgba(11,59,46,.12);
  --shadow-lg:        0 20px 60px rgba(11,59,46,.16);
  --shadow-gold:      0 8px 30px rgba(200,155,60,.25);

  --radius-sm:        8px;
  --radius-md:        16px;
  --radius-lg:        24px;
  --radius-xl:        40px;

  --transition:       all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast:  all 0.2s ease;

  --color-nav-bg:     #F5F1E6;
  --color-nav-btn:    #1A301F;
  --navbar-height:    88px;
  --nav-fade-height:  142px;
  --color-nav-logo:   #1a3a6b;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: clip;
  max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
a:hover { color: var(--color-gold); }

/* ── Preloader ─────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0;
  background: var(--color-primary);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo-img { height: 80px; width: auto; margin: 0 auto 20px; object-fit: contain; }
.preloader-bar { width: 200px; height: 3px; background: rgba(255,255,255,.2); border-radius: 10px; margin: 20px auto 0; overflow: hidden; }
.preloader-progress { height: 100%; width: 0; background: var(--color-gold); border-radius: 10px; animation: preload .8s ease forwards; }
@keyframes preload { to { width: 100%; } }

/* ── Typography ────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; color: var(--color-primary); }

.section-label {
  font-family: var(--font-btn); font-size: .75rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--color-gold);
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.section-label::before, .section-label::after {
  content: ''; flex: 1; max-width: 40px; height: 1px; background: var(--color-gold);
}
.section-label.centered { justify-content: center; }

.section-label.script-label {
  font-family: var(--font-script);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: none;
  color: var(--color-gold);
  margin-bottom: 8px;
}
.section-label.script-label::before,
.section-label.script-label::after { display: none; }
.section-label.script-label.light { color: var(--color-gold); }

.script-accent {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  color: var(--color-gold);
  font-size: 1.15em;
}
.script-accent.light { color: var(--color-gold); }

.stars-gold {
  color: var(--color-gold);
  font-size: .65rem;
  letter-spacing: 6px;
  margin: 12px 0 16px;
}

.title-line-deco {
  width: 120px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 0 auto;
}

.why-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.section-title .italic { font-style: italic; color: var(--color-gold); }

.divider-gold {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  border-radius: 2px; margin: 1rem 0;
}
.divider-gold.centered { margin: 1rem auto; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  font-family: var(--font-btn); font-weight: 600; font-size: .85rem;
  letter-spacing: 1px; padding: 14px 32px; border-radius: 50px;
  transition: var(--transition); position: relative; overflow: hidden;
  text-transform: uppercase;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.1); transform: translateX(-100%);
  transition: transform .4s ease;
}
.btn:hover::after { transform: translateX(0); }

.btn-primary-custom {
  background: var(--color-primary); color: var(--color-white);
  border: 2px solid var(--color-primary); box-shadow: var(--shadow-md);
}
.btn-primary-custom:hover {
  background: transparent; color: var(--color-primary);
  box-shadow: var(--shadow-lg); transform: translateY(-2px);
}

.btn-gold {
  background: var(--color-gold); color: var(--color-white);
  border: 2px solid var(--color-gold); box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: transparent; color: var(--color-gold);
  transform: translateY(-2px);
}

.btn-outline-custom {
  background: transparent; color: var(--color-white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-custom:hover { background: var(--color-white); color: var(--color-primary); }

.btn-book-nav {
  font-family: var(--font-btn); font-weight: 700; font-size: .72rem;
  letter-spacing: 1.8px; padding: 12px 28px; border-radius: 50px;
  background: var(--color-nav-btn); color: #ffffff;
  border: none; transition: var(--transition);
  text-transform: uppercase;
  box-shadow: 0 5px 18px rgba(26, 48, 31, 0.35);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  flex-shrink: 0;
}
.btn-book-nav i { color: var(--color-gold); font-size: .9rem; }
.btn-book-nav:hover {
  background: #0f1f14; color: #ffffff;
  box-shadow: 0 7px 22px rgba(26, 48, 31, 0.42);
}

.btn-outline-gold {
  background: transparent; color: var(--color-gold);
  border: 2px solid var(--color-gold); font-family: var(--font-btn);
  font-weight: 600; font-size: .8rem; letter-spacing: 1px;
  padding: 12px 28px; border-radius: 50px; transition: var(--transition);
  text-transform: uppercase;
}
.btn-outline-gold:hover {
  background: var(--color-gold); color: var(--color-white);
}

/* ── Navbar ────────────────────────────────────────────────── */
body.nav-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 43, 27, 0.45);
  z-index: 1040;
  pointer-events: none;
}
#mainNav {
  height: var(--navbar-height);
  background: transparent;
  box-shadow: none;
  transition: var(--transition);
  z-index: 1000;
  padding: 0;
  overflow: visible;
}

/* Cream header band — solid top, soft curved fade into hero below */
#mainNav .nav-cream-band {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-fade-height);
  z-index: 0;
  pointer-events: none;
  background: var(--color-nav-bg);
  -webkit-mask-image: radial-gradient(ellipse 105% 88% at 50% 0%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 105% 88% at 50% 0%, #000 52%, transparent 100%);
  transition: height .4s ease, mask-image .4s ease, -webkit-mask-image .4s ease, box-shadow .4s ease;
}
#mainNav .nav-cream-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--color-nav-bg) 0%,
    var(--color-nav-bg) 58%,
    rgba(245, 241, 230, 0.75) 78%,
    rgba(245, 241, 230, 0) 100%
  );
  opacity: 0.45;
}

/* Scrolled — flat solid cream bar */
#mainNav.scrolled {
  height: 72px;
  background: var(--color-nav-bg);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}
#mainNav.scrolled .nav-cream-band {
  height: 100%;
  -webkit-mask-image: none;
  mask-image: none;
  box-shadow: none;
}
#mainNav.scrolled .nav-cream-band::after {
  display: none;
}

/* Inner container */
#mainNav .nav-inner {
  height: var(--navbar-height);
  align-items: center;
  position: relative;
  z-index: 2;
}
#mainNav.scrolled .nav-inner {
  height: 72px;
}

@media (min-width: 992px) {
  #mainNav .navbar-collapse {
    display: flex !important;
    flex-grow: 1;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  #mainNav .navbar-nav {
    flex: 1;
    justify-content: center;
    gap: 0.2rem;
  }
}

/* Brand logo */
.navbar-brand {
  padding: 0;
  margin-right: 0;
  flex-shrink: 0;
}
.navbar-brand:hover { opacity: 0.88; }
.nav-logo {
  height: 62px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Nav links */
#mainNav .nav-link {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #2c2418;
  padding: .45rem 1rem !important;
  position: relative;
  transition: var(--transition-fast);
}
#mainNav.scrolled .nav-link { color: #2c2418; }
#mainNav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #2c2418;
  transform: translateX(-50%);
  transition: width .25s ease;
  border-radius: 1px;
}
#mainNav .nav-link.active::after {
  width: 26px;
}
#mainNav .nav-link:hover {
  color: #2c2418 !important;
  opacity: 0.7;
}
#mainNav .nav-link.active {
  color: #2c2418 !important;
  opacity: 1;
  font-weight: 500;
}

/* Hamburger */
.navbar-toggler { border: none; padding: 6px; z-index: 2; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-icon {
  display: block; width: 26px; height: 2px;
  background: var(--color-nav-btn); margin: 5px 0;
  transition: var(--transition-fast);
}
#mainNav.scrolled .toggler-icon { background: var(--color-nav-btn); }

/* ── Hero Section ──────────────────────────────────────────── */
.hero-section {
  position: relative; width: 100%; height: 100vh; min-height: 600px;
  overflow: hidden; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.1);
  animation: heroZoom 10s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(0, 43, 27, .78) 0%,
    rgba(0, 43, 27, .45) 35%,
    rgba(0, 0, 0, .12) 65%,
    rgba(0, 0, 0, .05) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding-top: calc(var(--navbar-height) + 40px);
  padding-bottom: 160px;
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 400;
  line-height: 1.12; margin-bottom: 16px;
  opacity: 0; animation: fadeInUp .8s ease .5s forwards;
}
.hero-title-serif {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-white);
  font-size: .72em;
  letter-spacing: .5px;
}
.hero-title-script {
  display: block;
  font-family: var(--font-script);
  color: var(--color-gold);
  font-size: 1.15em;
  line-height: 1.05;
  margin-top: 4px;
}
.hero-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,.92); max-width: 480px;
  line-height: 1.8; margin-bottom: 2rem;
  opacity: 0; animation: fadeInUp .8s ease .7s forwards;
}
.hero-buttons {
  display: flex; flex-wrap: wrap; gap: 1rem;
  opacity: 0; animation: fadeInUp .8s ease .9s forwards;
}
.hero-buttons .btn-gold {
  color: var(--color-primary);
  font-weight: 700;
  border-radius: 8px;
  padding: 14px 28px;
}
.hero-buttons .btn-gold:hover {
  color: var(--color-white);
}
.hero-buttons .btn-outline-custom {
  border-radius: 8px;
  padding: 14px 28px;
}

/* Mobile hero image banner */
.hero-mobile-banner {
  display: none;
  position: relative;
  width: 100%;
  height: min(48vh, 420px);
  min-height: 240px;
  overflow: hidden;
  flex-shrink: 0;
}
.hero-mobile-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.hero-mobile-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 43, 27, 0.35) 0%,
    rgba(0, 43, 27, 0.08) 40%,
    transparent 100%
  );
  pointer-events: none;
}

/* Hero feature pill bar */
.hero-info-pill {
  position: absolute; bottom: 36px; left: 0; right: 0;
  z-index: 5;
  opacity: 0; animation: fadeInUp .8s ease 1.1s forwards;
  pointer-events: none;
}
.hero-info-pill .container {
  pointer-events: auto;
}
.hero-info-pill-inner {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 60px;
  padding: 22px 36px;
  box-shadow: 0 12px 40px rgba(0, 51, 34, 0.15);
  gap: 12px;
  overflow: visible;
}
.hero-info-pill .info-card-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 4px 0; flex: 1; min-width: 180px;
  overflow: visible;
}
.hero-info-pill .info-text {
  min-width: 0;
  overflow: visible;
}
.hero-info-pill .info-card-item + .info-card-item {
  border-left: 1px solid var(--color-border);
  padding-left: 20px;
}
.hero-info-pill .info-icon {
  color: var(--color-primary);
  background: rgba(197, 160, 89, .12);
}
.hero-info-pill .info-text strong {
  font-family: var(--font-btn);
  font-size: .82rem;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--color-primary);
}
.hero-info-pill .info-text span {
  display: block;
  font-size: .78rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.info-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(197, 160, 89, .15);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary); font-size: 1.1rem; flex-shrink: 0;
}
.info-text strong { display: block; font-size: .95rem; color: var(--color-primary); font-weight: 700; }
.info-text span { font-size: .75rem; color: var(--color-muted); line-height: 1.4; }

/* ── About Section ─────────────────────────────────────────── */
.about-section {
  background: #FAF7F2;
  position: relative;
  overflow: visible;
  margin-top: -70px;
  padding-top: 100px;
  z-index: 4;
}

.about-info-pill { display: none; }

.about-section-body {
  padding-top: 20px;
  padding-bottom: 100px;
}

.about-leaf {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  object-fit: contain;
  display: block;
  height: auto;
}

/* Gold/cream leaf – top-left of about content */
.about-section-inner {
  position: relative;
}

.about-leaf-gold {
  top: -10px;
  left: 0;
  width: min(210px, 24vw);
  max-height: 360px;
  opacity: .78;
  z-index: 1;
  transform-origin: bottom center;
  animation: leafGoldSway 7s ease-in-out infinite;
  filter: drop-shadow(0 4px 14px rgba(92, 72, 48, 0.18));
}

/* Green leaf – overlaps image from bottom-right (positioned on wrap, not clipped) */
.about-image-wrap .about-leaf-green {
  bottom: 8px;
  right: -44px;
  width: min(280px, 38%);
  max-height: 340px;
  height: auto;
  opacity: 1;
  z-index: 4;
  filter: drop-shadow(0 8px 20px rgba(0, 51, 34, .15));
  transform-origin: 88% 92%;
  animation: leafGreenSway 5.5s ease-in-out infinite;
}

.about-section .container { position: relative; z-index: 2; }

.about-heading {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  line-height: 1.25;
  margin-bottom: .5rem;
  color: #002B1B;
}

.divider-star {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 24px;
  max-width: 280px;
}
.divider-star-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold));
}
.divider-star-line:last-child {
  background: linear-gradient(90deg, var(--color-gold), transparent);
}
.divider-star i {
  color: var(--color-gold);
  font-size: .55rem;
  flex-shrink: 0;
}

.btn-explore {
  padding: 14px 32px;
  border-radius: 8px;
  font-size: .78rem;
  letter-spacing: 1.5px;
  min-width: 280px;
  text-align: center;
}
.btn-explore:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.about-image-wrap {
  position: relative;
  overflow: visible;
  padding-right: 40px;
  padding-bottom: 36px;
}
.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #e8e4dc;
}
.about-image-frame picture,
.about-image-frame .about-image-main {
  display: block;
  width: 100%;
  line-height: 0;
}
.about-image-frame picture img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  max-width: none;
}
.about-video-btn {
  position: absolute;
  bottom: 28px;
  left: -20px;
  transition: var(--transition);
  z-index: 5;
  max-width: calc(100% + 20px);
}
.about-video-btn:hover { transform: translateY(-3px); }
.about-play-box {
  display: flex; align-items: center; gap: 14px;
  background: var(--color-primary);
  padding: 16px 24px 16px 16px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 51, 34, .25);
  position: relative;
  overflow: visible;
  min-width: 300px;
}
.about-play-box .play-btn {
  width: 46px; height: 46px; font-size: .8rem;
  animation: none; flex-shrink: 0;
  background: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(197, 160, 89, .4);
}
.about-play-box .play-btn-label {
  position: relative; z-index: 2;
  background: none; padding: 0;
  font-family: var(--font-heading);
  font-style: normal;
  font-size: 1rem;
  color: var(--color-gold);
  white-space: nowrap;
  line-height: 1.35;
}
.about-play-box .play-btn-label em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 1.2em;
  color: var(--color-gold);
}
.play-box-leaf {
  position: absolute;
  pointer-events: none;
}
.play-box-leaf-gold {
  right: 8px;
  bottom: -12px;
  width: 55px;
  opacity: .5;
  z-index: 1;
  transform-origin: center bottom;
  animation: playLeafGoldSway 4.5s ease-in-out infinite;
}
.play-box-leaf-green {
  right: -18px;
  top: -8px;
  width: 45px;
  opacity: .7;
  z-index: 1;
  transform-origin: bottom right;
  animation: playLeafGreenSway 4s ease-in-out infinite 0.6s;
}
.about-text {
  color: #002B1B;
  font-size: .92rem;
  line-height: 1.9;
}
.about-text p { margin-bottom: 1rem; }
.about-text p:last-child { margin-bottom: 0; }
.about-motto {
  font-family: var(--font-heading);
  color: #002B1B;
  font-size: .95rem;
  line-height: 1.75;
  margin-top: 1.25rem;
}
.about-motto em { font-style: italic; color: #002B1B; }
.about-motto strong { font-weight: 700; color: #002B1B; }

.about-leaf-decor { display: none; }

.about-stats { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 2rem; }
.stat-card {
  flex: 1; min-width: 120px; text-align: center;
  background: var(--color-accent); border-radius: var(--radius-md);
  padding: 20px 10px;
}
.stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--color-primary); line-height: 1; }
.stat-label { font-size: .75rem; color: var(--color-muted); margin-top: 4px; }

.play-btn {
  width: 70px; height: 70px; background: var(--color-gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.4rem; transition: var(--transition);
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(197,160,89,.5); } 70% { box-shadow: 0 0 0 20px rgba(197,160,89,0); } 100% { box-shadow: 0 0 0 0 rgba(197,160,89,0); } }

.scroll-indicator {
  position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.7); font-size: .7rem; letter-spacing: 2px;
  text-transform: uppercase; animation: bounce 2s infinite;
}
.scroll-indicator .mouse {
  width: 22px; height: 35px; border: 2px solid rgba(255,255,255,.6);
  border-radius: 15px; position: relative;
}
.scroll-indicator .mouse::after {
  content: ''; position: absolute; top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--color-gold);
  border-radius: 2px; animation: scroll 1.5s ease infinite;
}
@keyframes scroll { 50% { top: 15px; opacity: 0; } }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

/* Scroll indicator */

/* ── Section Spacing ───────────────────────────────────────── */
.section-py { padding: 100px 0; }
.section-py-sm { padding: 60px 0; }
.stat-card {
  flex: 1; min-width: 120px; text-align: center;
  background: var(--color-accent); border-radius: var(--radius-md);
  padding: 20px 10px;
}
.stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--color-primary); line-height: 1; }
.stat-label { font-size: .75rem; color: var(--color-muted); margin-top: 4px; }

.play-btn {
  width: 70px; height: 70px; background: var(--color-gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.4rem; transition: var(--transition);
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(197,160,89,.5); } 70% { box-shadow: 0 0 0 20px rgba(197,160,89,0); } 100% { box-shadow: 0 0 0 0 rgba(197,160,89,0); } }

/* ── Family Section ────────────────────────────────────────── */
.family-section-wrap { background: var(--color-bg); padding-bottom: 100px; }
.family-section {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 32px;
  padding: 60px 50px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.family-section h2, .family-section h3 { color: var(--color-white); }
.family-bio { color: rgba(255,255,255,.85); font-size: .95rem; line-height: 1.85; }
.colonel-img-wrap {
  width: 200px; height: 200px;
  border-radius: 50%; overflow: hidden;
  border: 4px solid var(--color-gold);
  box-shadow: var(--shadow-md);
  margin: 0 auto;
}
.colonel-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.legacy-list { display: flex; flex-direction: column; gap: 24px; }
.legacy-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.legacy-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(197, 160, 89, .2);
  border: 2px solid var(--color-gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-gold); font-size: 1rem; flex-shrink: 0;
}
.legacy-item h6 {
  color: var(--color-gold); font-size: .95rem; margin-bottom: 4px;
  font-family: var(--font-heading);
}
.legacy-item p { color: rgba(255,255,255,.75); font-size: .85rem; margin: 0; line-height: 1.6; }

/* ── Why Choose Us ─────────────────────────────────────────── */
.why-section { background: var(--color-cream); }
.why-side-image {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); height: 100%; min-height: 280px;
  position: relative;
  will-change: transform;
}
.why-side-image.img-reveal::after { display: none; }
.why-side-image img {
  width: 100%; height: 100%; min-height: 280px; object-fit: cover;
  transform-origin: center center;
  will-change: transform;
}
.why-section .why-line-deco {
  transform-origin: center;
}
.why-section .why-feature-item {
  perspective: 800px;
}
.why-section .feature-card {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}
.why-section .feature-card:hover {
  transform: translateY(-10px) scale(1.02);
}
.why-section .feature-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.35s ease,
              color 0.35s ease;
}
.why-section .feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(-6deg);
}
.why-section .feature-card:hover .feature-icon i {
  animation: whyIconPop 0.55s ease;
}
@keyframes whyIconPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}
.feature-card {
  background: var(--color-white); border-radius: var(--radius-lg);
  padding: 32px 24px; text-align: center;
  box-shadow: 0 4px 20px rgba(0, 51, 34, .08);
  transition: var(--transition);
  border: 1px solid rgba(0, 51, 34, .04); height: 100%;
}
.feature-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
}
.feature-icon {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--color-accent); margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--color-primary);
  transition: var(--transition);
}
.feature-card:hover .feature-icon { background: var(--color-gold); color: white; }
.feature-card h5 { font-size: 1rem; margin-bottom: .5rem; }
.feature-card p { font-size: .85rem; color: var(--color-muted); margin: 0; }

/* ── Rooms Section ─────────────────────────────────────────── */
.rooms-section { background: var(--color-bg); }
.room-card {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  background: var(--color-white); height: 100%;
}
.room-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.room-img-wrap { position: relative; overflow: hidden; height: 260px; }
.room-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.room-card:hover .room-img-wrap img { transform: scale(1.08); }
.room-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--color-gold); color: white;
  padding: 4px 14px; border-radius: 50px;
  font-size: .72rem; font-family: var(--font-btn); font-weight: 700;
}
.room-price-tag {
  position: absolute; top: 16px; right: 16px;
  background: var(--color-primary); color: white;
  padding: 6px 14px; border-radius: 50px;
  font-size: .8rem; font-family: var(--font-btn); font-weight: 700;
}
.room-price-tag .from { font-size: .65rem; opacity: .8; }
.room-body { padding: 24px; }
.room-facilities { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.room-fac-tag {
  font-size: .72rem; padding: 4px 10px; background: var(--color-accent);
  border-radius: 50px; color: var(--color-primary);
  font-family: var(--font-btn); font-weight: 500;
}
.room-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.room-guests { font-size: .8rem; color: var(--color-muted); }
.room-guests i { color: var(--color-gold); }
.room-detail-main-img {
  height: 460px;
  object-fit: cover;
}
.room-detail-thumb {
  height: 120px;
  object-fit: cover;
}
.map-placeholder {
  height: 400px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
}

/* ── Amenities ─────────────────────────────────────────────── */
.amenities-section { background: var(--color-primary); color: white; }
.amenities-section h2 { color: white; }
.amenity-card {
  text-align: center; padding: 32px 20px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md); transition: var(--transition);
  height: 100%;
}
.amenity-card:hover {
  background: rgba(200,155,60,.15); border-color: var(--color-gold);
  transform: translateY(-4px);
}
.amenity-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(200,155,60,.2); margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--color-gold); transition: var(--transition);
}
.amenity-card:hover .amenity-icon { background: var(--color-gold); color: white; }
.amenity-card h6 { color: white; font-family: var(--font-btn); font-weight: 600; margin-bottom: .3rem; }
.amenity-card p { color: rgba(255,255,255,.6); font-size: .78rem; margin: 0; }

/* ── Gallery ───────────────────────────────────────────────── */
.gallery-section { background: var(--color-primary); }
.gallery-section .section-title { color: white; }
.gallery-swiper-wrap {
  position: relative; padding: 0 48px;
}
.gallery-swiper { overflow: hidden; padding: 4px 0; }
.gallery-swiper .swiper-wrapper { align-items: stretch; }
.gallery-swiper .swiper-slide {
  width: 220px; height: auto; flex-shrink: 0;
}
.gallery-swiper-prev,
.gallery-swiper-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(200,155,60,.55); background: rgba(0,43,27,.85);
  color: var(--color-gold); cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); pointer-events: auto;
}
.gallery-swiper-prev:hover,
.gallery-swiper-next:hover {
  background: var(--color-gold); color: var(--color-primary); border-color: var(--color-gold);
}
.gallery-swiper-prev { left: 0; }
.gallery-swiper-next { right: 0; }
.gallery-swiper-prev.swiper-button-disabled,
.gallery-swiper-next.swiper-button-disabled { opacity: .35; pointer-events: none; }
.gallery-thumb {
  border-radius: var(--radius-md); overflow: hidden;
  position: relative; cursor: pointer; aspect-ratio: 4/3;
}
.gallery-thumb a { display: block; position: relative; height: 100%; }
.gallery-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease; display: block;
}
.gallery-thumb:hover img { transform: scale(1.08); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn {
  font-family: var(--font-btn); font-size: .8rem; font-weight: 600;
  padding: 8px 20px; border-radius: 50px; border: 2px solid var(--color-border);
  background: transparent; color: var(--color-muted); cursor: pointer; transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--color-primary); color: white; border-color: var(--color-primary);
}

.gallery-grid { columns: 3; column-gap: 16px; }
.gallery-item {
  break-inside: avoid; margin-bottom: 16px;
  border-radius: var(--radius-md); overflow: hidden;
  position: relative; cursor: pointer;
}
.gallery-item img {
  width: 100%; display: block;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(11,59,46,.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-item-overlay,
.gallery-thumb:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay i { color: white; font-size: 2rem; }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials-section { background: var(--color-accent); }
.testimonial-card {
  background: var(--color-white); border-radius: var(--radius-lg);
  padding: 36px 30px; position: relative; box-shadow: var(--shadow-sm);
  height: 100%; transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.quote-icon {
  position: absolute; top: 24px; right: 24px;
  font-size: 3rem; color: var(--color-accent); line-height: 1;
}
.testimonial-stars { color: var(--color-gold); margin-bottom: 12px; }
.testimonial-text { font-style: italic; color: var(--color-text); margin-bottom: 1.5rem; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 50px; height: 50px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--color-gold);
}
.author-avatar-placeholder {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--color-primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.2rem;
  font-weight: 700; flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: .95rem; margin-bottom: 2px; }
.author-location { font-size: .78rem; color: var(--color-muted); }
.author-source { font-size: .72rem; color: var(--color-gold); font-weight: 600; }

/* ── Location ──────────────────────────────────────────────── */
.location-section { background: var(--color-bg); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-embed iframe { width: 100%; height: 450px; border: none; display: block; }
.nearby-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nearby-card {
  background: var(--color-white); border-radius: var(--radius-md);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.nearby-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.nearby-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--color-accent); display: flex; align-items: center;
  justify-content: center; color: var(--color-primary); font-size: 1rem; flex-shrink: 0;
}
.nearby-text strong { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 2px; }
.nearby-text span { font-size: .75rem; color: var(--color-muted); }

/* ── Contact ───────────────────────────────────────────────── */
.contact-card {
  background: var(--color-white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md);
}
.form-control, .form-select {
  background: var(--color-bg); border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm); padding: 12px 16px;
  font-family: var(--font-body); font-size: .9rem; color: var(--color-text);
  transition: var(--transition-fast);
}
.form-control:focus, .form-select:focus {
  border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(200,155,60,.15);
  background: white;
}
.form-label { font-size: .82rem; font-weight: 600; color: var(--color-primary); margin-bottom: 6px; }

/* ── Booking Form ──────────────────────────────────────────── */
.booking-hero { background: var(--color-primary); padding: 120px 0 60px; }
.booking-card {
  background: var(--color-white); border-radius: var(--radius-xl);
  padding: 50px; box-shadow: var(--shadow-lg); margin-top: -80px; position: relative; z-index: 10;
}

/* ── Blog Cards ────────────────────────────────────────────── */
.blog-card {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  background: var(--color-white); height: 100%;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-img { height: 220px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-body { padding: 24px; }
.blog-category {
  font-size: .72rem; font-family: var(--font-btn); font-weight: 700;
  color: var(--color-gold); text-transform: uppercase; letter-spacing: 1px;
}
.blog-title { font-size: 1.1rem; margin: 8px 0; }
.blog-title a:hover { color: var(--color-gold); }
.blog-meta { font-size: .78rem; color: var(--color-muted); }

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  position: relative; padding: 160px 0 80px;
  background: var(--color-primary); text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/pattern.svg') center/cover;
  opacity: .06;
}
.page-hero h1 { color: white; font-size: clamp(2.5rem, 5vw, 4rem); }
.page-hero .page-subtitle { color: rgba(255,255,255,.7); font-size: 1rem; margin-top: .5rem; }
.breadcrumb { justify-content: center; }
.breadcrumb-item a { color: var(--color-gold); }
.breadcrumb-item.active, .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.6); }

/* ── Legal Pages ─────────────────────────────────────────────── */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  color: var(--color-text);
}
.legal-updated {
  font-size: .88rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-primary);
  margin: 2rem 0 1rem;
}
.legal-content p,
.legal-content li {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--color-muted);
}
.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.legal-content li { margin-bottom: .5rem; }
.legal-content a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover { color: var(--color-gold); }
.legal-contact-list {
  list-style: none;
  padding-left: 0;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 1rem 0 2rem;
}
.legal-contact-list li {
  margin-bottom: .35rem;
  color: var(--color-text);
}
.legal-footer-links {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: .9rem;
}
.legal-footer-links a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.legal-footer-links a:hover { color: var(--color-gold); }

/* ── Footer ────────────────────────────────────────────────── */
.newsletter-bar {
  background: var(--color-primary); padding: 30px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.newsletter-title { color: white; font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; }
.newsletter-input {
  background: rgba(255,255,255,.1) !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  color: white !important; border-radius: 50px !important; padding: 12px 20px !important;
  flex: 1;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.5) !important; }
.newsletter-input:focus { border-color: var(--color-gold) !important; box-shadow: none !important; }

.site-footer { background: #002B1B; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0;
  color: rgba(255,255,255,.4); font-size: .8rem;
}
.footer-main { padding: 70px 0 50px; }
.footer-logo {
  height: 72px;
  width: auto;
  max-width: 100%;
  margin-bottom: 16px;
  object-fit: contain;
  display: block;
}
.footer-tagline { color: rgba(255,255,255,.65); font-size: .88rem; font-style: italic; line-height: 1.7; }
.footer-socials { display: flex; gap: 10px; margin-top: 0; flex-wrap: wrap; }
.social-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
  transition: var(--transition-fast);
}
.social-icon-gold {
  background: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
}
.social-icon:hover, .social-icon-gold:hover {
  background: var(--color-gold); color: white; transform: translateY(-2px);
  border-color: var(--color-gold);
}
.footer-review-label {
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  margin-bottom: 8px;
}
.footer-legal-link {
  color: rgba(255,255,255,.45);
  font-size: .8rem;
  transition: var(--transition-fast);
}
.footer-legal-link:hover { color: var(--color-gold); }
.footer-designed-by {
  color: rgba(255, 255, 255, .45);
  font-size: .78rem;
}
.footer-designed-by a {
  color: var(--color-gold);
  font-weight: 600;
  transition: var(--transition-fast);
}
.footer-designed-by a:hover { color: #fff; }
.tripadvisor-badge {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.6); font-size: .8rem; font-family: var(--font-btn);
  border: 1px solid rgba(255,255,255,.15); padding: 6px 14px; border-radius: 50px;
  transition: var(--transition-fast);
}
.tripadvisor-badge:hover { color: white; border-color: var(--color-gold); }
.tripadvisor-badge i { color: #34e0a1; }

.footer-heading {
  color: var(--color-gold); font-family: var(--font-btn); font-size: .8rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.2rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  transition: var(--transition-fast);
}
.footer-links a::before {
  content: '\203A';
  color: var(--color-gold);
  margin-right: 8px;
  font-weight: 700;
}
.footer-links a:hover { color: var(--color-gold); padding-left: 4px; }

.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.footer-contact-list i { color: var(--color-gold); margin-top: 3px; flex-shrink: 0; width: 16px; }
.footer-contact-list span, .footer-contact-list a { color: rgba(255,255,255,.7); font-size: .85rem; line-height: 1.5; }
.footer-contact-list a:hover { color: var(--color-gold); }

/* ── Floating Buttons ──────────────────────────────────────── */
.floating-whatsapp, .floating-call {
  position: fixed; z-index: 999; border-radius: 50%;
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; box-shadow: var(--shadow-md); transition: var(--transition);
  bottom: 160px;
}
.floating-whatsapp { right: 20px; background: #25D366; color: white; }
.floating-call { right: 20px; background: var(--color-primary); color: white; bottom: 100px; }
.floating-whatsapp:hover, .floating-call:hover { transform: scale(1.1); color: white; }

.scroll-top-btn {
  position: fixed; bottom: 40px; right: 20px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-gold); color: white; border: none;
  font-size: .9rem; cursor: pointer; box-shadow: var(--shadow-md);
  display: none; transition: var(--transition);
}
.scroll-top-btn.visible { display: flex; align-items: center; justify-content: center; }
.scroll-top-btn:hover { background: var(--color-primary); transform: translateY(-2px); }

/* Mobile sticky bar */
.mobile-book-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  width: 100%;
  max-width: 100%;
  background: #fff;
  padding: 10px 12px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .15);
  border-top: none;
  overflow: hidden;
  box-sizing: border-box;
}
.site-footer .mobile-book-bar {
  margin-top: 0;
}
.mobile-book-bar .btn-call-mobile,
.mobile-book-bar .btn-whatsapp-mobile,
.mobile-book-bar .btn-book-mobile {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px 4px;
  border-radius: 10px;
  border: none;
  font-size: clamp(0.68rem, 2.6vw, 0.78rem);
  font-family: var(--font-btn);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  box-sizing: border-box;
}
.mobile-book-bar .btn-call-mobile::after,
.mobile-book-bar .btn-whatsapp-mobile::after,
.mobile-book-bar .btn-book-mobile::after {
  display: none;
}
.mobile-book-bar .btn-call-mobile i,
.mobile-book-bar .btn-whatsapp-mobile i,
.mobile-book-bar .btn-book-mobile i {
  flex-shrink: 0;
  font-size: 1rem;
  pointer-events: none;
}
.mobile-book-bar .mobile-bar-text {
  display: none;
}
.btn-call-mobile { background: var(--color-primary); color: white; }
.btn-whatsapp-mobile { background: #25D366; color: white; }
.btn-book-mobile { background: var(--color-gold); color: white; }
.btn-call-mobile:active,
.btn-whatsapp-mobile:active,
.btn-book-mobile:active { transform: scale(0.98); }

/* ── Toast Notifications ───────────────────────────────────── */
.toast-container-custom {
  position: fixed; top: 20px; right: 20px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}
.toast-custom {
  background: white; border-radius: var(--radius-sm); padding: 14px 20px;
  box-shadow: var(--shadow-lg); border-left: 4px solid var(--color-gold);
  display: flex; align-items: center; gap: 10px; min-width: 280px;
  font-size: .88rem; animation: slideInRight .3s ease;
}
.toast-custom.success { border-color: #22c55e; }
.toast-custom.error { border-color: #ef4444; }
.toast-custom i { font-size: 1.1rem; }
.toast-custom.success i { color: #22c55e; }
.toast-custom.error i { color: #ef4444; }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── Utility ───────────────────────────────────────────────── */
.bg-primary-custom { background: var(--color-primary) !important; }
.bg-gold { background: var(--color-gold) !important; }
.bg-accent { background: var(--color-accent) !important; }
.text-gold { color: var(--color-gold) !important; }
.text-primary-custom { color: var(--color-primary) !important; }
.text-white { color: white !important; }
.italic-text { font-style: italic; }
.fw-600 { font-weight: 600; }
.cta-section { padding: 80px 0; background: var(--color-bg); }
.cta-section-accent { padding: 60px 0; background: var(--color-accent); }
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.contact-icon-box {
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 1.1rem;
}
.booking-info-panel { background: var(--color-accent); }
.booking-step-icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .85rem;
}
.room-meta-row { flex-wrap: wrap !important; gap: 0.5rem 1rem !important; }
.faq-cta-box { background: var(--color-accent); }
.page-container-narrow { max-width: 800px; margin-left: auto; margin-right: auto; }

/* ── Fade Animations ───────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1199.98px) {
  #mainNav {
    background: var(--color-nav-bg);
    height: auto;
    min-height: var(--navbar-height);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    z-index: 1050;
  }
  #mainNav .nav-cream-band {
    height: 100%;
    min-height: var(--navbar-height);
    -webkit-mask-image: none;
    mask-image: none;
    background: var(--color-nav-bg);
    pointer-events: none;
  }
  #mainNav .nav-cream-band::after { display: none; }
  #mainNav .nav-inner {
    height: auto;
    min-height: var(--navbar-height);
    position: relative;
    flex-wrap: wrap;
    align-items: center;
  }
  #mainNav.scrolled .nav-inner { height: auto; min-height: 72px; }
  #mainNav .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    background: var(--color-nav-bg);
    padding: 0.75rem 0 1.25rem;
    border-top: 1px solid var(--color-border);
    margin-top: 0.25rem;
    box-shadow: 0 14px 28px rgba(0, 43, 27, 0.12);
    border-radius: 0 0 16px 16px;
    position: relative;
    z-index: 5;
  }
  #mainNav .navbar-collapse.show,
  #mainNav .navbar-collapse.collapsing {
    display: block;
  }
  #mainNav .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    width: 100%;
    margin: 0;
  }
  #mainNav .nav-item { width: 100%; }
  #mainNav .nav-link {
    color: var(--color-primary) !important;
    display: block;
    width: 100%;
    padding: 0.72rem 0.85rem !important;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
  }
  #mainNav .nav-link:hover,
  #mainNav .nav-link:focus {
    background: rgba(0, 51, 34, 0.07);
    opacity: 1;
  }
  #mainNav .nav-link::after { display: none; }
  #mainNav .nav-link.active {
    font-weight: 700;
    background: rgba(197, 160, 89, 0.18);
    color: var(--color-primary) !important;
  }
  .btn-book-nav {
    width: 100%;
    justify-content: center;
    margin-top: 0.85rem;
  }
  .navbar-toggler {
    position: relative;
    z-index: 6;
  }
  .nav-logo { height: 50px; }
  .toggler-icon { background: var(--color-primary) !important; }
  .site-footer {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  .footer-bottom {
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .scroll-top-btn { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 991.98px) {
  .page-hero {
    padding: calc(var(--navbar-height) + 48px) 0 56px;
  }
  .page-hero h1 { font-size: clamp(2rem, 6vw, 3rem); }
  .page-hero .page-subtitle { font-size: .95rem; padding: 0 8px; }
  .booking-hero { padding: calc(var(--navbar-height) + 40px) 0 48px; }
  .section-py { padding: 70px 0; }
  .section-py-sm { padding: 48px 0; }
  .cta-section { padding: 64px 0; }
  .cta-section-accent { padding: 52px 0; }
  .contact-card { padding: 28px 24px; }
  .booking-card { padding: 32px 28px; margin-top: -48px; }
  .footer-main { padding: 48px 0 36px; }
  .map-embed iframe { height: 320px; }
  .toast-container-custom {
    left: 16px;
    right: 16px;
    top: calc(var(--navbar-height) + 12px);
  }
  .toast-custom { min-width: 0; width: 100%; }
  .amenity-card { padding: 24px 16px; }
  .amenity-icon { width: 56px; height: 56px; font-size: 1.25rem; }
  .gallery-swiper-wrap { padding: 0 40px; }
  .gallery-filters { gap: 6px; margin-bottom: 2rem; }
  .filter-btn { font-size: .78rem; padding: 8px 14px; }
  .newsletter-bar .row { text-align: center; gap: 12px; }
  .newsletter-bar form { justify-content: center; }
  .hero-info-pill .info-card-item + .info-card-item {
    border-left: none; border-top: 1px solid var(--color-border);
    padding-left: 0; padding-top: 12px;
  }
  .hero-section {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--color-bg);
    overflow: hidden;
  }
  .hero-mobile-banner {
    display: block;
  }
  .hero-content {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .hero-content .container,
  .hero-content .row,
  .hero-content [class*="col-"] {
    max-width: 100%;
  }
  .hero-title {
    padding: 0 4px;
    margin-bottom: 10px;
  }
  .hero-title .hero-title-serif {
    color: var(--color-primary);
  }
  .hero-subtitle {
    max-width: 100%;
    font-size: 0.95rem;
    margin-top: 0;
    margin-bottom: 1.25rem;
    padding-top: 0;
    color: var(--color-muted);
    line-height: 1.65;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 8px;
    padding: 14px 20px;
    white-space: normal;
    text-align: center;
  }
  .hero-buttons .btn-outline-custom {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-white);
  }
  .hero-buttons .btn-outline-custom:hover {
    background: var(--color-primary);
    color: var(--color-white);
  }
  .hero-info-pill {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    flex: 0 0 auto;
    z-index: 3;
    padding: 0 0 24px;
    pointer-events: auto;
  }
  .hero-info-pill .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero-info-pill-inner {
    border-radius: 20px;
    padding: 18px 20px;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
  }
  .hero-info-pill .info-card-item {
    min-width: 0;
    width: 100%;
    flex: none;
  }
  .hero-info-pill .info-text span {
    display: block;
    white-space: normal;
    line-height: 1.45;
    font-size: 0.8rem;
  }
  .about-section { margin-top: 0; padding-top: 60px; }
  .about-leaf-gold {
    display: block;
    top: -6px;
    left: 0;
    width: min(150px, 38vw);
    opacity: .72;
  }
  .about-image-wrap .about-leaf-green {
    display: block;
    width: min(130px, 34vw);
    max-height: 200px;
    right: -16px;
    bottom: 52px;
  }
  .about-image-wrap {
    padding-right: 12px;
    padding-bottom: 12px;
  }
  .about-image-frame picture img {
    height: min(340px, 58vw);
    min-height: 260px;
  }
  .about-video-btn {
    left: 8px;
    bottom: 12px;
    max-width: calc(100% - 16px);
  }
  .about-play-box {
    min-width: 0;
    max-width: 100%;
    padding: 12px 16px 12px 12px;
  }
  .about-play-box .play-btn-label {
    font-size: .88rem;
    white-space: normal;
  }
  .play-box-leaf-green {
    display: block;
    width: 38px;
    right: -10px;
    top: -6px;
  }
  .family-section { padding: 40px 28px; border-radius: 24px; }
  .gallery-grid { columns: 2; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn { width: 100%; margin: 0 !important; }
  .room-card .d-flex.gap-2:not(.room-meta-row) { flex-wrap: wrap; }
  .room-card .d-flex.gap-2:not(.room-meta-row) .btn { flex: 1 1 calc(50% - 6px); min-width: 120px; }
  .accordion-button { font-size: .9rem; padding: 14px 16px; }
  .room-detail-main-img { height: min(380px, 52vw); }
}
@media (max-width: 767.98px) {
  .booking-card .row.g-3 > [class*="col-md-4"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
@media (max-width: 575.98px) {
  .mobile-book-bar {
    gap: 5px;
    padding: 8px 10px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
  .mobile-book-bar .btn-call-mobile,
  .mobile-book-bar .btn-whatsapp-mobile,
  .mobile-book-bar .btn-book-mobile {
    padding: 12px 4px;
  }
  .hero-title { font-size: 2.2rem; }
  .hero-mobile-banner {
    height: min(44vh, 380px);
    min-height: 220px;
  }
  .hero-mobile-banner img {
    object-position: center 30%;
  }
  .hero-info-pill-inner { padding: 16px 18px; }
  .about-image-frame picture img {
    height: min(300px, 62vw);
    min-height: 240px;
  }
  .btn-explore { min-width: 100%; text-align: center; }
  .gallery-swiper-wrap { padding: 0 36px; }
  .gallery-swiper .swiper-slide { width: 160px; }
  .gallery-grid { columns: 1; }
  .nearby-cards { grid-template-columns: 1fr; }
  .booking-card { padding: 24px 18px; margin-top: -32px; }
  .colonel-img-wrap { width: 160px; height: 160px; }
  .page-hero { padding: calc(var(--navbar-height) + 28px) 0 40px; }
  .section-py { padding: 56px 0; }
  .section-py-sm { padding: 40px 0; }
  .cta-section { padding: 52px 0; }
  .cta-section-accent { padding: 44px 0; }
  .contact-card { padding: 24px 18px; }
  .footer-main { padding: 40px 0 28px; }
  .footer-logo { height: 60px; }
  .footer-bottom .row > [class*="col-"] + [class*="col-"] { margin-top: 12px; }
  .amenity-card { padding: 20px 14px; }
  .amenity-card h6 { font-size: .82rem; }
  .amenity-card p { font-size: .72rem; }
  .map-embed iframe { height: 260px; }
  .breadcrumb { font-size: .82rem; flex-wrap: wrap; }
  .legal-content { padding: 0 4px; }
  .container-fluid.px-4 { padding-left: 16px !important; padding-right: 16px !important; }
  .room-detail-main-img { height: min(280px, 62vw); }
  .room-detail-thumb { height: 88px; }
  .map-placeholder { height: 260px; }
}

/* ── Optimized picture elements ─────────────────────────────── */
picture { display: block; max-width: 100%; }
picture img { max-width: 100%; height: auto; }
.hero-mobile-banner picture,
.hero-mobile-banner picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb picture,
.gallery-thumb picture img,
.gallery-item picture,
.gallery-item picture img,
.room-img-wrap picture,
.room-img-wrap picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.room-detail-gallery picture img { width: 100%; }
