/* ═══════════════════════════════════════════════════════════════════
   Caledon 23 Guest House — caledon23.co.za
   Designed by Total Effex · totalfx.co.za
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --navy:      #1c2b39;
  --navy-deep: #131f2a;
  --gold:      #c9962e;
  --gold-soft: #dfb763;
  --cream:     #faf7f1;
  --cream-2:   #f2ecdf;
  --ink:       #2c3540;
  --ink-soft:  #5c6873;
  --white:     #ffffff;
  --shadow:    0 18px 45px rgba(19, 31, 42, .16);
  --radius:    14px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .25s; }
a:hover { color: var(--navy); }

/* ── layout primitives ─────────────────────────────────────────── */
.container { width: min(1180px, 92%); margin: 0 auto; }
.container.narrow, .narrow { max-width: 760px; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-cream { background: var(--cream); }
.section-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #e9e4d8; }
.section-navy .title-md, .section-navy h2 { color: var(--white); }
.sec-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.4rem); }

.eyebrow { font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .8rem; }
.eyebrow.gold { color: var(--gold-soft); }
.title-lg { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.12; color: var(--navy); }
.title-md { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; color: var(--navy); margin-bottom: 1rem; }
.lead { font-size: 1.13rem; color: var(--ink); margin: 1.2rem 0; }
.body-text { color: var(--ink-soft); margin: 1rem 0; }
.section-navy .body-text { color: #cfd6dc; }

/* ── buttons ───────────────────────────────────────────────────── */
.btn { display: inline-block; padding: .78rem 1.7rem; border-radius: 50px; font-weight: 600; font-size: .88rem; letter-spacing: .06em; cursor: pointer; border: 2px solid transparent; transition: all .3s var(--ease); text-transform: uppercase; }
.btn-lg { padding: .95rem 2.3rem; font-size: .95rem; }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-soft); color: var(--navy); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201, 150, 46, .35); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); color: var(--gold-soft); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,.75); color: var(--white); background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-outline-gold { border-color: var(--gold); color: var(--gold-soft); }
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }

/* button rows — buttons never touch, wrap cleanly */
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.center .btn + .btn, .cta-band .btn + .btn { margin-left: .9rem; }
@media (max-width: 620px) { .btn-row { flex-direction: column; align-items: stretch; } .btn-row .btn { text-align: center; } }

/* ── topbar ────────────────────────────────────────────────────── */
.topbar { background: var(--navy-deep); color: #b9c3cc; font-size: .78rem; position: relative; z-index: 60; }
.topbar-inner { width: min(1180px, 94%); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: .45rem 0; gap: 1rem; }
.topbar a { color: #b9c3cc; margin-right: 1.1rem; }
.topbar a:hover { color: var(--gold-soft); }
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.de-flag-note { color: var(--gold-soft); font-weight: 500; white-space: nowrap; }
.lang-switch { display: flex; gap: .35rem; align-items: center; color: #5c6873; }
.lang-switch a { margin: 0; font-weight: 600; padding: .1rem .3rem; }
.lang-switch a.on { color: var(--gold-soft); border-bottom: 2px solid var(--gold); }

/* day/night toggle */
.daynight { position: relative; width: 62px; height: 28px; border-radius: 50px; border: 1px solid rgba(255,255,255,.25); background: linear-gradient(90deg, #eeb84c 0%, #1a2b3c 100%); cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 0 7px; font-size: .8rem; transition: all .3s; }
.daynight .dn-sun { color: #fff; z-index: 1; }
.daynight .dn-moon { color: #cfd8e3; z-index: 1; }
.daynight .dn-knob { position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: transform .35s var(--ease); }
body.night-mode .daynight .dn-knob { transform: translateX(34px); }

/* ── navbar ────────────────────────────────────────────────────── */
.navbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 2px 18px rgba(19,31,42,.08); transition: all .3s; }
.nav-inner { width: min(1280px, 94%); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: .4rem 0; }
.nav-logo img { height: 62px; width: auto; transition: height .3s; }
.navbar.shrunk .nav-logo img { height: 48px; }
.nav-links { display: flex; align-items: center; gap: 1.3rem; }
.nav-links > a:not(.btn-book), .drop-parent { color: var(--navy); font-weight: 500; font-size: .84rem; letter-spacing: .04em; padding: .5rem 0; position: relative; white-space: nowrap; }
.nav-links > a:not(.btn-book)::after, .drop-parent::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: width .3s var(--ease); }
.nav-links > a:not(.btn-book):hover::after, .nav-drop:hover .drop-parent::after { width: 100%; }
.nav-links > a.btn-book { background: var(--gold); color: var(--white) !important; padding: .75rem 1.8rem; border-radius: 50px; font-weight: 600; font-size: .8rem; letter-spacing: .05em; white-space: nowrap; flex-shrink: 0; line-height: 1; display: inline-flex; align-items: center; }
.nav-links > a.btn-book:hover { background: var(--navy); }
.nav-drop { position: relative; }
.drop-menu { position: absolute; top: 100%; left: -1rem; background: var(--white); min-width: 250px; border-radius: 10px; box-shadow: var(--shadow); padding: .5rem 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .28s var(--ease); }
.nav-drop:hover .drop-menu { opacity: 1; visibility: visible; transform: translateY(4px); }
.drop-menu a { display: block; padding: .55rem 1.2rem; color: var(--navy); font-size: .85rem; }
.drop-menu a:hover { background: var(--cream); color: var(--gold); padding-left: 1.5rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-toggle span { width: 26px; height: 2px; background: var(--navy); transition: all .3s; }

@media (max-width: 1280px) {
  .nav-links { gap: .9rem; }
  .nav-links > a:not(.btn-book), .drop-parent { font-size: .78rem; }
  .nav-links > a.btn-book { padding: .7rem 1.4rem; font-size: .76rem; }
}

/* ── hero (day/night) ──────────────────────────────────────────── */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: opacity 1.4s ease; animation: heroZoom 22s ease-in-out infinite alternate; }
.hero-day-img { opacity: 1; }
.hero-night-img { opacity: 0; }
body.night-mode .hero-day-img { opacity: 0; }
body.night-mode .hero-night-img { opacity: 1; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,31,42,.32) 0%, rgba(19,31,42,.18) 45%, rgba(19,31,42,.62) 100%); transition: background 1.2s; }
body.night-mode .hero-overlay { background: linear-gradient(180deg, rgba(9,16,24,.45) 0%, rgba(9,16,24,.3) 45%, rgba(9,16,24,.72) 100%); }
/* twinkling stars — visible only at night */
.hero-stars { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 41% 30%, #ffeebb 50%, transparent 51%),
    radial-gradient(1px 1px at 57% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 66% 24%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 15%, #ffeebb 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 88% 28%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 42%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 94% 45%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 49% 18%, #fff 50%, transparent 51%);
  animation: twinkle 3.6s ease-in-out infinite alternate; }
body.night-mode .hero-stars { opacity: .9; }
@keyframes twinkle { from { filter: brightness(.7); } to { filter: brightness(1.25); } }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); padding: 6rem 1rem 4rem; max-width: 900px; }
.hero-logo { max-width: 170px; margin: 0 auto 1.4rem; filter: drop-shadow(0 6px 18px rgba(0,0,0,.4)); }
.hero-eyebrow { font-size: .8rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-bottom: 1rem; }
.hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 1.1; text-shadow: 0 4px 24px rgba(0,0,0,.45); }
.hero-ctas { margin-top: 2.2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-badge { max-width: 110px; margin: 2.4rem auto 0; background: rgba(255,255,255,.92); padding: .6rem; border-radius: 10px; box-shadow: 0 8px 26px rgba(0,0,0,.3); }
.hero-scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px; }
.hero-scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: var(--gold-soft); animation: scrollHint 1.8s ease-in-out infinite; }
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ── page hero (inner pages) ───────────────────────────────────── */
.page-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; background-size: cover; background-position: center; overflow: hidden; }
.page-hero.short { min-height: 34vh; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,31,42,.25), rgba(19,31,42,.72)); }
.page-hero-content { position: relative; z-index: 2; color: var(--white); width: min(1180px, 92%); margin: 0 auto; padding: 5.5rem 0 2.6rem; }
.page-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4.6vw, 3.3rem); text-shadow: 0 4px 20px rgba(0,0,0,.4); }
.post-hero { background: var(--navy); background-size: cover; background-position: center; min-height: 52vh; display: flex; align-items: flex-end; position: relative; }

/* ── stats band ────────────────────────────────────────────────── */
.stats { background: var(--navy); color: var(--white); padding: 2.2rem 0; }
.stats-inner { width: min(1080px, 92%); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-n { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--gold-soft); font-weight: 500; }
.stat-l { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #aeb9c2; }

/* ── parallax band ─────────────────────────────────────────────── */
.parallax-band { position: relative; min-height: 46vh; background-size: cover; background-position: center; background-attachment: fixed; display: flex; align-items: center; justify-content: center; }
.parallax-band::before { content: ''; position: absolute; inset: 0; background: rgba(19,31,42,.55); }
.parallax-content { position: relative; z-index: 2; text-align: center; color: var(--white); padding: 3rem 1rem; }
.parallax-content h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 3.6vw, 2.7rem); margin-bottom: 1.6rem; max-width: 760px; }
@media (max-width: 900px) { .parallax-band { background-attachment: scroll; } }

/* ── room cards ────────────────────────────────────────────────── */
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.room-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(19,31,42,.1); transition: transform .4s var(--ease), box-shadow .4s; display: block; color: var(--ink); }
.room-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); color: var(--ink); }
.room-img { overflow: hidden; aspect-ratio: 4/3; }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.room-card:hover .room-img img { transform: scale(1.08); }
.room-body { padding: 1.4rem 1.5rem 1.6rem; }
.room-body h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.room-meta { color: var(--ink-soft); font-size: .85rem; margin-bottom: .8rem; }
.room-cta { color: var(--gold); font-weight: 600; font-size: .85rem; letter-spacing: .04em; }
.room-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* ── split sections ────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4; }
.split.rev .split-img { order: 2; }
.split.rev .split-txt { order: 1; }
.kenburns img { animation: kb 18s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1) translate(0,0); } to { transform: scale(1.09) translate(-1.5%, 1.5%); } }
.de-inline { color: var(--gold-soft); font-weight: 600; margin: 1rem 0 1.4rem; }

/* ── reviews marquee ───────────────────────────────────────────── */
.agg-stars { margin-top: 1rem; }
.stars-big { color: var(--gold); font-size: 1.5rem; letter-spacing: .18em; }
.agg-num { display: block; color: var(--ink-soft); font-size: .9rem; margin-top: .3rem; }
.review-marquee { overflow: hidden; padding: 1rem 0 .4rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.review-track { display: flex; gap: 1.4rem; width: max-content; animation: marquee 55s linear infinite; }
.review-marquee:hover .review-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review-card { width: 350px; background: var(--white); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: 0 8px 24px rgba(19,31,42,.09); flex-shrink: 0; }
.review-stars { color: var(--gold); letter-spacing: .14em; margin-bottom: .5rem; }
.review-card h4 { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); margin-bottom: .4rem; }
.review-card p { font-size: .88rem; color: var(--ink-soft); font-style: italic; }
.review-who { margin-top: .9rem; display: flex; justify-content: space-between; align-items: baseline; font-size: .82rem; }
.review-who span { color: var(--gold); font-weight: 600; }

/* ── mosaic gallery ────────────────────────────────────────────── */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: .9rem; }
.mosaic-item { border-radius: 12px; overflow: hidden; position: relative; }
.mosaic-item.big { grid-column: span 2; grid-row: span 2; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .7s; }
.mosaic-item:hover img { transform: scale(1.07); filter: brightness(1.08); }

/* ── gallery page ──────────────────────────────────────────────── */
.gal-filters { display: flex; gap: .7rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; }
.gal-filter { padding: .55rem 1.4rem; border-radius: 50px; border: 1.5px solid var(--navy); background: none; color: var(--navy); font-weight: 600; font-size: .84rem; cursor: pointer; transition: all .25s; }
.gal-filter.on, .gal-filter:hover { background: var(--navy); color: var(--gold-soft); }
.gal-grid { columns: 3 300px; column-gap: 1rem; }
.gal-item { display: block; break-inside: avoid; margin-bottom: 1rem; border-radius: 12px; overflow: hidden; position: relative; }
.gal-item img { width: 100%; transition: transform .6s var(--ease); }
.gal-item::after { content: '⤢'; position: absolute; right: 12px; bottom: 10px; color: #fff; font-size: 1.1rem; opacity: 0; transition: opacity .3s; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.gal-item:hover img { transform: scale(1.05); }
.gal-item:hover::after { opacity: 1; }
.gal-item.hidden { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,18,26,.94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-close { position: absolute; top: 20px; right: 26px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 2rem; padding: .6rem 1rem; cursor: pointer; border-radius: 8px; transition: background .25s; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }

/* ── room gallery (5-up) ───────────────────────────────────────── */
.room-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: .9rem; }
.rg-item { display: block; border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 1/1; }
.rg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .6s; }
.rg-item::after { content: '⤢'; position: absolute; right: 10px; bottom: 8px; color: #fff; font-size: 1rem; opacity: 0; transition: opacity .3s; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.rg-item:hover img { transform: scale(1.07); filter: brightness(1.06); }
.rg-item:hover::after { opacity: 1; }
@media (max-width: 1020px) { .room-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .room-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ── facilities ────────────────────────────────────────────────── */
.facil-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .7rem 1.6rem; max-width: 900px; margin: 2rem auto 0; }
.facil-item { padding: .5rem 0; color: var(--ink-soft); font-size: .93rem; }
.facil-item .tick { color: var(--gold); font-weight: 700; margin-right: .4rem; }
.facil-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.fc { background: var(--white); border-radius: var(--radius); padding: 1.8rem 1.2rem; text-align: center; box-shadow: 0 8px 22px rgba(19,31,42,.07); transition: transform .35s var(--ease); }
.fc:hover { transform: translateY(-6px); }
.fc span { font-size: 2rem; display: block; margin-bottom: .7rem; }
.fc h3 { font-size: .92rem; font-weight: 600; color: var(--navy); }

/* ── area cards ────────────────────────────────────────────────── */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.area-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 28px rgba(19,31,42,.09); transition: transform .4s var(--ease); }
.area-card:hover { transform: translateY(-6px); }
.area-img { aspect-ratio: 16/10; overflow: hidden; }
.area-img img { width: 100%; height: 100%; object-fit: cover; }
.area-body { padding: 1.3rem 1.4rem 1.5rem; }
.area-body h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); margin-bottom: .5rem; }
.area-body p { font-size: .88rem; color: var(--ink-soft); margin-bottom: .7rem; }
.area-body a { font-weight: 600; font-size: .85rem; }

/* ── golf ──────────────────────────────────────────────────────── */
.golf-tabs { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.2rem; }
.golf-tab { padding: .6rem 1.5rem; border-radius: 50px; border: 1.5px solid var(--navy); background: none; color: var(--navy); font-weight: 600; font-size: .85rem; cursor: pointer; transition: all .25s; }
.golf-tab.on, .golf-tab:hover { background: var(--navy); color: var(--gold-soft); }
.golf-region { display: none; }
.golf-region.on { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.golf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.4rem; }
.golf-card { background: var(--white); border: 1px solid var(--cream-2); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: 0 8px 22px rgba(19,31,42,.06); }
.golf-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); margin-bottom: .8rem; }
.golf-spec { width: 100%; font-size: .84rem; border-collapse: collapse; }
.golf-spec td { padding: .32rem 0; border-bottom: 1px dashed var(--cream-2); vertical-align: top; }
.golf-spec td:first-child { color: var(--ink-soft); width: 38%; }
.golf-link { display: inline-block; margin-top: .8rem; font-weight: 600; font-size: .85rem; }

/* ── contact ───────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.6rem; align-items: start; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.2rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form-wrap label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); }
.contact-form-wrap input, .contact-form-wrap select, .contact-form-wrap textarea { width: 100%; margin-top: .35rem; padding: .68rem .85rem; border: 1.5px solid #e2ddd2; border-radius: 10px; font-family: inherit; font-size: .93rem; background: var(--cream); transition: border-color .25s, background .25s; }
.contact-form-wrap input:focus, .contact-form-wrap select:focus, .contact-form-wrap textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.arrival-pref { border: none; margin: 1.4rem 0; }
.arrival-pref legend { font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: .7rem; }
.pref-card { display: block; margin-bottom: .8rem; cursor: pointer; }
.pref-card input { position: absolute; opacity: 0; }
.pref-body { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: .1rem .8rem; align-items: center; border: 2px solid #e2ddd2; border-radius: 12px; padding: 1rem 1.2rem; transition: all .25s var(--ease); background: var(--cream); }
.pref-icon { grid-row: span 2; font-size: 1.6rem; }
.pref-body strong { color: var(--navy); font-size: .95rem; }
.pref-body small { color: var(--ink-soft); font-size: .8rem; grid-column: 2; }
.pref-card input:checked + .pref-body { border-color: var(--gold); background: #fdf7ea; box-shadow: 0 6px 18px rgba(201,150,46,.18); }
.form-msg { margin-top: 1rem; font-size: .9rem; font-weight: 500; }
.form-msg.ok { color: #3d8b40; }
.form-msg.err { color: #b33; }
.contact-card { background: var(--navy); color: #dfe5ea; border-radius: var(--radius); padding: 1.8rem; margin-bottom: 1.4rem; }
.contact-card h3 { font-family: var(--font-display); color: var(--white); font-size: 1.35rem; margin-bottom: .8rem; }
.contact-card a { color: var(--gold-soft); }
.contact-card p { margin: .35rem 0; font-size: .9rem; }

/* ── blog ──────────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 26px rgba(19,31,42,.08); color: var(--ink); display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.blog-card:hover { transform: translateY(-7px); color: var(--ink); }
.blog-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-body { padding: 1.3rem 1.4rem 1.5rem; }
.blog-cat { display: inline-block; background: var(--cream-2); color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 40px; margin-bottom: .7rem; }
.blog-body h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); margin-bottom: .5rem; line-height: 1.25; }
.blog-body p { font-size: .87rem; color: var(--ink-soft); }
.blog-meta { display: block; margin-top: .8rem; font-size: .78rem; color: #9aa4ad; }
.post-hero .page-hero-content { padding-bottom: 3rem; }
.post-meta { color: #cfd6dc; font-size: .88rem; margin-top: .6rem; }
.post-body-wrap { width: min(760px, 92%); margin: 0 auto; padding: 3.4rem 0 2rem; }
.post-body h2, .post-body h3 { font-family: var(--font-display); color: var(--navy); margin: 1.8rem 0 .7rem; }
.post-body h2 { font-size: 1.7rem; } .post-body h3 { font-size: 1.35rem; }
.post-body p { margin: .9rem 0; color: var(--ink); }
.post-body ul { margin: .9rem 0 .9rem 1.4rem; }
.post-body img { border-radius: 12px; margin: 1.4rem 0; }
.post-cta { display: flex; gap: 1rem; margin-top: 2.6rem; flex-wrap: wrap; }

/* ── emergency / legal ─────────────────────────────────────────── */
.emergency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2rem; }
.em-card { background: var(--white); border-radius: var(--radius); box-shadow: 0 8px 22px rgba(19,31,42,.07); padding: 1.5rem 1.7rem; }
.em-card h3 { font-family: var(--font-display); color: var(--navy); font-size: 1.3rem; margin-bottom: .8rem; }
.em-card ul { list-style: none; }
.em-card li { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem 0; border-bottom: 1px dashed var(--cream-2); font-size: .88rem; }
.em-card li span { color: var(--ink-soft); }
.legal h2 { font-family: var(--font-display); color: var(--navy); font-size: 1.4rem; margin: 1.8rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-soft); font-size: .93rem; }
.legal ul { margin: .6rem 0 .6rem 1.3rem; }
.fancy-list { list-style: none; margin: 1.2rem 0; }
.fancy-list li { padding: .6rem 0 .6rem 1.8rem; position: relative; color: var(--ink-soft); border-bottom: 1px dashed var(--cream-2); }
.fancy-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ── CTA band ──────────────────────────────────────────────────── */
.cta-band { background: linear-gradient(140deg, var(--navy), var(--navy-deep)); color: var(--white); padding: 3.6rem 0; }
.cta-band h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 1.4rem; }

/* ── footer ────────────────────────────────────────────────────── */
.footer { background: var(--navy-deep); color: #aab5bf; }
.footer-inner { width: min(1180px, 92%); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2.4rem; padding: 3.6rem 0 2.4rem; }
.footer-logo { max-width: 130px; }
.footer-badge { max-width: 110px; margin-top: 1rem; }
.footer-de { margin-top: 1rem; color: var(--gold-soft); font-size: .85rem; }
.footer h4 { color: var(--white); font-family: var(--font-display); font-size: 1.15rem; margin-bottom: .9rem; }
.footer p { font-size: .87rem; margin: .3rem 0; }
.footer a { color: #aab5bf; }
.footer a:hover { color: var(--gold-soft); }
.footer-social { display: flex; gap: .8rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: all .3s; }
.footer-social a:hover { background: var(--gold); color: var(--white); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; text-align: center; font-size: .8rem; }
.footer-bottom a { color: var(--gold-soft); }
.adm-link { opacity: .5; }

.footer-partners { background: #ffffff; }
.footer-partners-inner { width: min(1180px, 92%); margin: 0 auto; display: flex; justify-content: center; align-items: center; gap: clamp(1.4rem, 4vw, 3rem); flex-wrap: wrap; padding: 1.4rem 0; }
.fp-item { display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease); }
.fp-item:hover { transform: translateY(-3px); }
.fp-item img { max-height: 64px; width: auto; }

/* WhatsApp float */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(37,211,102,.4); transition: transform .3s var(--ease); animation: waPulse 2.6s ease-in-out infinite; }
.wa-float:hover { transform: scale(1.1); color: #fff; }
@keyframes waPulse { 0%,100% { box-shadow: 0 10px 26px rgba(37,211,102,.4); } 50% { box-shadow: 0 10px 26px rgba(37,211,102,.4), 0 0 0 14px rgba(37,211,102,0); } }

/* ── reveal animations ─────────────────────────────────────────── */
.reveal, .reveal-left, .reveal-right { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: opacity, transform; }
.reveal { transform: translateY(34px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal.in, .reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }
.reveal-hero { opacity: 0; transform: translateY(26px); animation: heroIn .9s var(--ease) forwards; }
.reveal-hero.d1 { animation-delay: .18s; } .reveal-hero.d2 { animation-delay: .34s; }
.reveal-hero.d3 { animation-delay: .5s; } .reveal-hero.d4 { animation-delay: .68s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-hero { opacity: 1; transform: none; }
}

/* ── responsive ────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .room-grid, .area-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .facil-cards { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .nav-links { position: fixed; inset: 0 0 0 30%; background: var(--navy-deep); flex-direction: column; justify-content: center; align-items: flex-start; padding: 2rem; gap: .4rem; transform: translateX(105%); transition: transform .4s var(--ease); z-index: 100; overflow-y: auto; }
  .nav-links.open { transform: none; box-shadow: -20px 0 60px rgba(0,0,0,.4); }
  .nav-links > a:not(.btn-book), .drop-parent { color: #e6e2d8; font-size: 1rem; padding: .55rem 0; }
  .drop-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0 0 0 1rem; display: none; }
  .nav-drop.open .drop-menu { display: block; }
  .drop-menu a { color: #b4bec7; padding: .4rem 0; }
  .nav-links > a.btn-book { margin-top: 1rem; padding: .85rem 2rem; font-size: .85rem; justify-content: center; }
  .nav-toggle { display: flex; z-index: 110; position: relative; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #fff; }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fff; }
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev .split-img { order: 1; } .split.rev .split-txt { order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .emergency-grid { grid-template-columns: 1fr; }
  .topbar-contacts a.hide-sm, .de-flag-note.hide-sm { display: none; }
}
@media (max-width: 620px) {
  .room-grid, .area-grid, .blog-grid, .facil-cards { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .form-row.two { grid-template-columns: 1fr; }
  .hero { min-height: 84vh; }
  .hero-logo { max-width: 130px; }
}

/* ═══════════════════════════════════════════════════════════════════
   NIGHT MODE — full site theme in the Caledon 23 logo blue (#211e59)
   Toggle in the topbar; remembered per visitor.
   ═══════════════════════════════════════════════════════════════════ */
body.night-mode {
  --logo-blue:  #211e59;
  --nm-bg:      #1a1747;
  --nm-surface: #262260;
  --nm-surface-2:#2d2970;
  --nm-line:    #3b3684;
  --nm-text:    #e9e8f4;
  --nm-soft:    #b9b6d6;
  background: var(--nm-bg); color: var(--nm-text);
}
body.night-mode .title-lg, body.night-mode .title-md,
body.night-mode h1, body.night-mode h2, body.night-mode h3 { color: #ffffff; }
body.night-mode .lead { color: var(--nm-text); }
body.night-mode .body-text, body.night-mode p { color: var(--nm-soft); }
body.night-mode .section { background: var(--nm-bg); }
body.night-mode .section-cream { background: var(--logo-blue); }
body.night-mode .section-navy { background: linear-gradient(160deg, #16133e, #0f0d30); }
body.night-mode .sec-head .body-text { color: var(--nm-soft); }

/* navbar + dropdowns */
body.night-mode .navbar { background: rgba(26, 23, 71, .96); box-shadow: 0 2px 18px rgba(0,0,0,.4); }
body.night-mode .nav-links > a, body.night-mode .drop-parent { color: #eceafa; }
body.night-mode .drop-menu { background: var(--nm-surface); box-shadow: 0 18px 45px rgba(0,0,0,.5); }
body.night-mode .drop-menu a { color: #dddbf0; }
body.night-mode .drop-menu a:hover { background: var(--nm-surface-2); color: var(--gold-soft); }
body.night-mode .nav-toggle span { background: #eceafa; }
body.night-mode .hero-badge { background: rgba(255,255,255,.96); border-radius: 10px; padding: .45rem; }

/* cards & surfaces */
body.night-mode .room-card, body.night-mode .blog-card, body.night-mode .area-card,
body.night-mode .golf-card, body.night-mode .review-card, body.night-mode .fc,
body.night-mode .em-card, body.night-mode .contact-form-wrap, body.night-mode .soc-card {
  background: var(--nm-surface); box-shadow: 0 12px 32px rgba(0,0,0,.35); border-color: var(--nm-line);
}
body.night-mode .room-body h3, body.night-mode .blog-body h3, body.night-mode .area-body h3,
body.night-mode .golf-card h3, body.night-mode .review-card h4, body.night-mode .fc h3,
body.night-mode .em-card h3 { color: #ffffff; }
body.night-mode .room-card, body.night-mode .blog-card { color: var(--nm-text); }
body.night-mode .room-meta, body.night-mode .blog-body p, body.night-mode .area-body p,
body.night-mode .review-card p, body.night-mode .facil-item { color: var(--nm-soft); }
body.night-mode .blog-cat { background: var(--nm-surface-2); }
body.night-mode .golf-spec td { border-bottom-color: var(--nm-line); }
body.night-mode .golf-spec td:first-child { color: #a3a0c4; }
body.night-mode .em-card li { border-bottom-color: var(--nm-line); }
body.night-mode .em-card li span { color: var(--nm-soft); }
body.night-mode .em-card li strong { color: #fff; }
body.night-mode .fancy-list li { color: var(--nm-soft); border-bottom-color: var(--nm-line); }
body.night-mode .legal h2 { color: #fff; }
body.night-mode .legal p, body.night-mode .legal li { color: var(--nm-soft); }

/* stats + parallax + cta */
body.night-mode .stats { background: #16133e; }
body.night-mode .cta-band { background: linear-gradient(140deg, #16133e, #0f0d30); }
body.night-mode .parallax-band::before { background: rgba(15, 13, 48, .68); }

/* buttons & filters */
body.night-mode .btn-outline-navy { border-color: #cfcce8; color: #e9e8f4; }
body.night-mode .btn-outline-navy:hover { background: #eceafa; color: var(--logo-blue); }
body.night-mode .btn-navy { background: var(--gold); }
body.night-mode .gal-filter, body.night-mode .golf-tab { border-color: #cfcce8; color: #e9e8f4; }
body.night-mode .gal-filter.on, body.night-mode .gal-filter:hover,
body.night-mode .golf-tab.on, body.night-mode .golf-tab:hover { background: #eceafa; color: var(--logo-blue); }

/* forms */
body.night-mode .contact-form-wrap label { color: #eceafa; }
body.night-mode .contact-form-wrap input, body.night-mode .contact-form-wrap select,
body.night-mode .contact-form-wrap textarea { background: var(--nm-surface-2); border-color: var(--nm-line); color: var(--nm-text); }
body.night-mode .contact-form-wrap input:focus, body.night-mode .contact-form-wrap select:focus,
body.night-mode .contact-form-wrap textarea:focus { background: #353075; border-color: var(--gold); }
body.night-mode .pref-body { background: var(--nm-surface-2); border-color: var(--nm-line); }
body.night-mode .pref-body strong { color: #fff; }
body.night-mode .pref-body small { color: var(--nm-soft); }
body.night-mode .pref-card input:checked + .pref-body { background: #3a2f6b; border-color: var(--gold); }
body.night-mode .arrival-pref legend { color: #eceafa; }

/* eyebrows keep gold, but soften body accents */
body.night-mode .eyebrow { color: var(--gold-soft); }
body.night-mode .stat-l { color: #a3a0c4; }
body.night-mode .agg-num { color: var(--nm-soft); }
body.night-mode .post-body p, body.night-mode .post-body li { color: var(--nm-text); }
body.night-mode .post-body h2, body.night-mode .post-body h3 { color: #fff; }

/* footer partners keep white chips (already), footer unchanged (dark) */
body.night-mode .footer { background: #0f0d30; }
body.night-mode .footer-partners { background: #ffffff; }
