/* ==========================================================================
   Shining Star Hotel — Design System
   Nature-inspired: forest green, moss, gold, cream. Pure CSS (no frameworks).
   ========================================================================== */

:root {
  /* Colours */
  --forest-900: #16301f;
  --forest-800: #1e3d26;
  --forest-700: #2f5d3a;
  --forest-600: #3d7549;
  --moss-400: #7ba05b;
  --gold-500: #c9a227;
  --gold-400: #e0be55;
  --cream-50: #faf7f0;
  --cream-100: #f3ede1;
  --sand-200: #e6ddcb;
  --ink-900: #1d2119;
  --ink-600: #4e564a;
  --ink-400: #7d857a;
  --white: #ffffff;

  /* Typography */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", system-ui, sans-serif;
  --font-script: "Great Vibes", cursive;

  /* Space & shape */
  --container: 1240px;
  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(22, 48, 31, 0.07);
  --shadow: 0 12px 34px rgba(22, 48, 31, 0.12);
  --shadow-lg: 0 26px 60px rgba(22, 48, 31, 0.2);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 78px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-600);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 .5em;
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; }

::selection { background: var(--gold-400); color: var(--forest-900); }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--tint { background: var(--cream-50); }
.section--sand { background: linear-gradient(180deg, var(--cream-100), var(--cream-50)); }
.text-center { text-align: center; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Section heading ---------- */
.eyebrow {
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 500;
  margin-bottom: .6rem;
  display: block;
}
.section-head { max-width: 660px; margin: 0 auto 52px; }
.section-head p { color: var(--ink-400); }
.leaf-divider {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 14px 0 4px;
}
.leaf-divider::before,
.leaf-divider::after {
  content: ""; height: 1px; width: 62px;
  background: linear-gradient(90deg, transparent, var(--moss-400));
}
.leaf-divider::after { background: linear-gradient(270deg, transparent, var(--moss-400)); }
.leaf-divider span { color: var(--moss-400); font-size: 1rem; line-height: 1; }
.section-head.is-left { margin-inline: 0; text-align: left; }
.section-head.is-left .leaf-divider { justify-content: flex-start; }
.section-head.is-left .leaf-divider::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--forest-700);
  --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius-sm);
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,.32) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn:hover::after { transform: translateX(120%); }
.btn--gold { --btn-bg: var(--gold-500); --btn-fg: var(--forest-900); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); border-color: rgba(255,255,255,.75); }
.btn--ghost:hover { background: var(--white); color: var(--forest-800); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--forest-700); border-color: var(--forest-700); }
.btn--outline:hover { background: var(--forest-700); color: var(--white); }
.btn--sm { padding: 10px 20px; font-size: .72rem; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--forest-900);
  color: rgba(255,255,255,.82);
  font-size: .8rem;
  padding: 9px 0;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; justify-content: space-between; }
.topbar-group { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.topbar a { transition: color .3s var(--ease); }
.topbar a:hover { color: var(--gold-400); }
.topbar .ico { color: var(--gold-400); margin-right: 7px; }
.topbar-social { display: flex; gap: 14px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--sand-200);
  transition: box-shadow .4s var(--ease), padding .4s var(--ease);
}
.header { box-shadow: var(--shadow-sm); }
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-star { color: var(--gold-500); font-size: 2.1rem; line-height: 1; transition: transform .6s var(--ease); }
.brand:hover .brand-star { transform: rotate(72deg) scale(1.08); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-stars { color: var(--gold-500); font-size: .6rem; letter-spacing: 3px; }
.brand-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.4rem; color: var(--forest-900); letter-spacing: .5px;
}
.brand-sub { font-size: .58rem; letter-spacing: .55em; color: var(--ink-400); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-900); font-weight: 500; position: relative; padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold-500); transition: width .35s var(--ease);
}
.nav a:hover { color: var(--forest-700); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.nav a.is-active { color: var(--gold-500); }

.nav-toggle {
  display: none; width: 44px; height: 40px; border: 1px solid var(--sand-200);
  background: var(--cream-50); border-radius: var(--radius-sm); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--forest-800); transition: transform .3s var(--ease), opacity .3s var(--ease); }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: clamp(520px, 88vh, 820px); overflow: hidden; background: var(--forest-900); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease);
}

.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(12,26,16,.82) 0%, rgba(12,26,16,.5) 45%, rgba(12,26,16,.15) 100%);
}
.hero-inner { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; }
.hero-copy { max-width: 620px; color: var(--white); }
.hero-copy h1 { color: var(--white); margin-bottom: .1em; }
.hero-kicker { font-size: 1.15rem; color: rgba(255,255,255,.85); margin-bottom: .3rem; }
.hero-script { font-family: var(--font-script); font-size: clamp(2rem, 4vw, 3rem); color: var(--moss-400); margin-bottom: 1rem; }
.hero-copy p.hero-text { color: rgba(255,255,255,.86); max-width: 460px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-dots { position: absolute; bottom: 28px; left: 0; right: 0; z-index: 4; display: flex; justify-content: center; gap: 10px; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative; padding: clamp(80px, 12vw, 150px) 0; text-align: center;
  background-size: cover; background-position: center; color: var(--white);
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,26,16,.72), rgba(12,26,16,.55)); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); margin-bottom: .2em; }
.crumbs { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.crumbs a:hover { color: var(--gold-400); }
.crumbs span { color: var(--gold-400); }

/* ---------- Welcome / about split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.split-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.split-media img { height: clamp(220px, 26vw, 320px); width: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.split-media img:nth-child(2) { transform: translateY(-22px); }
.split-media img:hover { transform: translateY(-30px); box-shadow: var(--shadow); }
.split-media img:nth-child(2):hover { transform: translateY(-46px); }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--sand-200);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--moss-400); }
.card-media { position: relative; overflow: hidden; }
.card-media img { height: 240px; width: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.08); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--forest-800); color: var(--white);
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-sm);
}
.badge--gold { background: var(--gold-500); color: var(--forest-900); }
.card-body { padding: 22px 22px 24px; }
.card-body h3 { margin-bottom: .5rem; }
.room-feats { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .8rem; color: var(--ink-400); margin-bottom: 16px; }
.room-feats span { display: inline-flex; align-items: center; gap: 6px; }
.room-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--sand-200); padding-top: 16px; }
.price { font-family: var(--font-display); font-size: 1.5rem; color: var(--forest-700); font-weight: 700; }
.price small { font-family: var(--font-body); font-size: .72rem; color: var(--ink-400); font-weight: 400; }

/* ---------- Amenity strip ---------- */
.amenities { background: var(--cream-100); }
.amenity-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; text-align: center; }
.amenity { padding: 8px; transition: transform .4s var(--ease); }
.amenity:hover { transform: translateY(-6px); }
.amenity .ico { font-size: 1.7rem; color: var(--forest-700); display: block; margin-bottom: 8px; }
.amenity strong { display: block; font-size: .85rem; color: var(--ink-900); }
.amenity span { font-size: .76rem; color: var(--ink-400); }

/* ---------- Why choose / list ---------- */
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: var(--ink-600); }
.check-list li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--forest-700); color: #fff; font-size: .72rem;
  display: grid; place-items: center; margin-top: 4px;
}

/* ---------- Attractions ---------- */
.attraction { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--sand-200); text-align: center; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.attraction:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.attraction img { height: 170px; width: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.attraction:hover img { transform: scale(1.07); }
.attraction .body { padding: 16px 14px 20px; }
.attraction h4 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 6px; color: var(--ink-900); }
.attraction .dist { font-size: .78rem; color: var(--moss-400); display: block; margin-bottom: 10px; }
.link-more { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--forest-700); font-weight: 500; }
.link-more:hover { color: var(--gold-500); }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; color: var(--white); background: var(--forest-900); overflow: hidden; }
.testimonials-bg { position: absolute; inset: 0; opacity: .3; }
.testimonials-bg img { width: 100%; height: 100%; object-fit: cover; }
.testimonials .container { position: relative; z-index: 2; }
.testimonials h2 { color: var(--white); }
.quote-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  background: rgba(255,255,255,.9); color: var(--ink-600);
  border-radius: var(--radius); padding: 26px 24px; text-align: center;
  transition: transform .5s var(--ease);
}
.quote:hover { transform: translateY(-8px); }
.stars { color: var(--gold-500); letter-spacing: 3px; margin-bottom: 10px; }
.quote p { font-style: italic; margin-bottom: 12px; }
.quote cite { font-style: normal; font-weight: 500; color: var(--forest-800); font-size: .88rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; text-align: center; padding: clamp(60px, 8vw, 100px) 0; background-size: cover; background-position: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(250,247,240,.82); }
.cta-band .container { position: relative; z-index: 2; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item.tall img { height: 400px; }
.gallery-item:hover img { transform: scale(1.09); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(12,26,16,.85));
  font-size: .85rem; letter-spacing: .06em;
  transform: translateY(12px); opacity: 0; transition: all .45s var(--ease);
}
.gallery-item:hover figcaption { transform: translateY(0); opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(10,20,13,.92); padding: 30px;
  align-items: center; justify-content: center;
}

.lightbox img { max-width: min(1000px, 92vw); max-height: 84vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 22px; right: 26px; font-size: 2rem; color: #fff; background: none; border: 0; cursor: pointer; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Facilities ---------- */
.facility {
  background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease);
}
.facility:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.facility .ico { font-size: 1.9rem; display: block; margin-bottom: 12px; color: var(--forest-700); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-900); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--sand-200);
  border-radius: var(--radius-sm); background: var(--cream-50);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest-600); background: #fff;
  box-shadow: 0 0 0 4px rgba(61,117,73,.13);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--ink-400); }
.form-msg { display: none; margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); background: #e8f2e6; color: var(--forest-800); font-size: .9rem; }
.form-msg:target { display: block; animation: fade .4s var(--ease); }

.info-tile { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--sand-200); }
.info-tile .ico { color: var(--gold-500); font-size: 1.2rem; }
.info-tile strong { display: block; color: var(--ink-900); font-size: .95rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--forest-700); }
.stat span { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-400); }

/* ---------- Footer ---------- */
.footer { background: var(--forest-900); color: rgba(255,255,255,.72); padding: 64px 0 0; }
.footer h4 { color: var(--white); font-family: var(--font-body); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
.footer a { transition: color .3s var(--ease), padding-left .3s var(--ease); }
.footer li a:hover { color: var(--gold-400); padding-left: 6px; }
.footer li { padding: 5px 0; font-size: .9rem; }
.footer .brand-name, .footer .brand-sub { color: var(--white); }
.footer .brand-sub { color: rgba(255,255,255,.6); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.25); font-size: .85rem;
  transition: all .35s var(--ease);
}
.footer-social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--forest-900); transform: translateY(-4px); }
.footer-bottom {
  margin-top: 46px; border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .82rem;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--forest-700); color: #fff; font-size: 1.1rem;
  display: grid; place-items: center; text-decoration: none;
  transition: all .4s var(--ease); box-shadow: var(--shadow);
}

.to-top:hover { background: var(--gold-500); color: var(--forest-900); }

/* ---------- Reveal (CSS only) ---------- */
@keyframes reveal-in { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.reveal { animation: reveal-in .9s var(--ease) both; }
.reveal.d1 { animation-delay: .12s; }
.reveal.d2 { animation-delay: .24s; }
.reveal.d3 { animation-delay: .36s; }
.reveal.d4 { animation-delay: .48s; }
@supports (animation-timeline: view()) {
  .reveal { animation: reveal-in linear both; animation-delay: 0s; animation-timeline: view(); animation-range: entry 0% cover 26%; }
  .reveal.d1, .reveal.d2, .reveal.d3, .reveal.d4 { animation-delay: 0s; }
  .reveal.d1 { animation-range: entry 0% cover 30%; }
  .reveal.d2 { animation-range: entry 0% cover 34%; }
  .reveal.d3 { animation-range: entry 0% cover 38%; }
  .reveal.d4 { animation-range: entry 0% cover 42%; }
}

/* ---------- Nav checkbox (no JS) ---------- */
.nav-check { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.nav-check:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-check:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-check:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero auto slider (no JS) ---------- */
.hero-slide { opacity: 0; animation: heroFade 18s infinite var(--ease); }
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide img { animation: kenburns 18s ease-out infinite; }
@keyframes heroFade {
  0% { opacity: 0; } 4% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; }
}
.hero-dots span {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5);
  animation: dotOn 18s infinite steps(1);
}
.hero-dots span:nth-child(1) { animation-delay: 0s; }
.hero-dots span:nth-child(2) { animation-delay: 6s; }
.hero-dots span:nth-child(3) { animation-delay: 12s; }
@keyframes dotOn { 0%, 33% { background: var(--moss-400); transform: scale(1.3); } 34%, 100% { background: rgba(255,255,255,.5); transform: scale(1); } }

/* ---------- Gallery filter + lightbox (no JS) ---------- */
.gal-filter { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 34px; }
.filter-bar label { cursor: pointer; }
#f-all:not(:checked) ~ .filter-bar label[for="f-all"],
#f-rooms:not(:checked) ~ .filter-bar label[for="f-rooms"],
#f-dining:not(:checked) ~ .filter-bar label[for="f-dining"],
#f-exterior:not(:checked) ~ .filter-bar label[for="f-exterior"],
#f-nature:not(:checked) ~ .filter-bar label[for="f-nature"] {
  background: transparent; color: var(--forest-800); border: 1px solid var(--forest-700);
}
#f-rooms:checked ~ .gallery-grid .gallery-item:not([data-cat="rooms"]),
#f-dining:checked ~ .gallery-grid .gallery-item:not([data-cat="dining"]),
#f-exterior:checked ~ .gallery-grid .gallery-item:not([data-cat="exterior"]),
#f-nature:checked ~ .gallery-grid .gallery-item:not([data-cat="nature"]) { display: none; }
.gallery-zoom { display: block; }
.lightbox:target { display: flex; animation: fade .35s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .amenity-row { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 96px 30px 30px; gap: 6px; box-shadow: var(--shadow-lg);
    transform: translateX(105%); transition: transform .45s var(--ease); z-index: 70;
  }
  .nav-check:checked ~ .nav { transform: none; }
  .nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--cream-100); font-size: .84rem; }
  .nav-toggle { display: flex; z-index: 90; }
  .header .btn { display: none; }
  .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .quote-track, .gallery-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .split-media img:nth-child(2) { transform: none; }
}
@media (max-width: 720px) {
  .topbar .container { justify-content: center; }
  .amenity-row { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4, .quote-track, .gallery-grid, .stats, .split-media { grid-template-columns: 1fr; }
  .gallery-item.tall img, .gallery-item img { height: 240px; }
  .footer-grid { grid-template-columns: 1fr; }
  
  .hero { height: 78vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-slide:nth-child(1) { opacity: 1; }
}
.topbar-group span {
    font-size: 17px;
}
.topbar-group a{
    font-size: 17px;
}
.hero-script {
    color: #c9a227;
}

@media (max-width: 575px) {
    .section .container.grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .grid-4 {
        grid-template-columns: 1fr !important;
    }

    .card.reveal {
        width: 100%;
    }

    .card.reveal img {
        width: 100%;
        height: auto !important;
    }
}
@media (max-width:575px) {
    .nav {
        inset: 0 0 0 26px;
        padding: 66px 30px 12px;
        gap: 0px;
    }
        .nav a {
        width: 100%;
        padding: 8px 0;
}
}
figure{
  margin:0;
}

figure.gallery-item.reveal.view img {
    height: 387px;
}
figure.gallery-item.reveal.diningview {
    height: 260px;
}
