/* Black Skimmer Retreat — island & nautical theme
   Palette: sand, deep ocean navy, sea-glass teal, brass.
   Deliberately NOT Windygap's forest green. */

:root {
  --sand: #f7f2e8;
  --sand-deep: #efe7d5;
  --shell: #fffdf8;
  --navy: #14324a;
  --navy-deep: #0c2030;
  --sea: #2f6f7e;
  --sea-soft: #dcebe9;
  --brass: #c0973f;
  --brass-deep: #a37f2c;
  --ink: #21313a;
  --muted: #5f6f76;
  --line: #e2d8c2;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.wrap.narrow { max-width: 760px; }
.section { padding: 5rem 0; }
.section-tint { background: var(--shell); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.kicker {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.75rem;
  color: var(--sea); font-weight: 600; margin-bottom: 0.6rem;
}
.kicker.light { color: var(--sea-soft); }
.lede { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.2rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 0.85rem 2rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1px solid transparent; cursor: pointer;
}
.btn-brass { background: var(--brass); color: #fff; box-shadow: 0 4px 14px rgba(192,151,63,0.35); }
.btn-brass:hover { background: var(--brass-deep); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.6); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); }
.btn-sm { padding: 0.55rem 1.3rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.6rem; font-size: 1.05rem; }

/* ---------- navbar ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.25s ease, box-shadow 0.25s ease; }
.nav.scrolled { background: rgba(247,242,232,0.96); box-shadow: 0 2px 16px rgba(12,32,48,0.12); backdrop-filter: blur(8px); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.brand-mark { font-size: 1.5rem; color: var(--brass); }
.brand-text { font-family: var(--serif); font-size: 1.25rem; color: #fff; transition: color 0.25s; }
.brand-text em { font-style: italic; color: var(--brass); }
.nav.scrolled .brand-text { color: var(--navy); }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a { text-decoration: none; color: #fff; font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav.scrolled .nav-links a { color: var(--navy); }
.nav-links a:hover { color: var(--brass); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: #fff; cursor: pointer; }
.nav.scrolled .nav-toggle { color: var(--navy); }
.nav-mobile { display: none; flex-direction: column; gap: 0.4rem; padding: 0 1.5rem 1.2rem; background: rgba(247,242,232,0.98); }
.nav-mobile a { text-decoration: none; padding: 0.5rem 0; color: var(--navy); font-weight: 500; }
.nav-mobile.open { display: flex; }
@media (max-width: 860px) { .nav-links, .nav-cta { display: none; } .nav-toggle { display: block; } }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--navy-deep); }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.6s ease; background-size: cover; background-position: center; }
.hero-slide.active { opacity: 1; }
.hero-slide.slide-ph {
  background: linear-gradient(160deg, #14324a 0%, #1d4a63 45%, #2f6f7e 100%);
  display: flex; align-items: center; justify-content: center;
}
.slide-ph-inner { text-align: center; color: rgba(255,255,255,0.75); padding: 2rem; }
.slide-ph-inner .ph-anchor { font-size: 4rem; display: block; margin-bottom: 1rem; }
.slide-ph-inner p { font-family: var(--serif); font-size: 1.4rem; font-style: italic; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,32,48,0.45) 0%, rgba(12,32,48,0.15) 40%, rgba(12,32,48,0.55) 100%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; color: #fff; }
.hero-kicker { text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.8rem; color: var(--sea-soft); font-weight: 600; margin-bottom: 1rem; }
.hero-content h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 4.8rem); font-weight: 600; margin-bottom: 1.2rem; }
.hero-accent { font-style: italic; color: #f3d98b; }
.hero-sub { max-width: 560px; font-size: 1.1rem; color: rgba(255,255,255,0.88); margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.6rem; z-index: 3; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.7); background: transparent; cursor: pointer; padding: 0; }
.hero-dots button.active { background: var(--brass); border-color: var(--brass); }
.hero-scroll { position: absolute; bottom: 1.6rem; right: 2rem; z-index: 3; color: #fff; font-size: 1.6rem; text-decoration: none; animation: bob 2s infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- stats ---------- */
.stats { background: var(--navy); color: #fff; padding: 2.2rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat-num { display: block; font-family: var(--serif); font-size: 2.2rem; color: #f3d98b; }
.stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.7); }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; } }

/* ---------- placeholders ---------- */
.placeholder-note {
  border: 2px dashed var(--brass); border-radius: 12px; padding: 1.1rem 1.3rem;
  background: rgba(192,151,63,0.08); margin: 1.4rem 0; font-size: 0.95rem; color: var(--muted);
}
.placeholder-note strong { color: var(--brass-deep); }
.placeholder-note.on-dark { border-color: rgba(243,217,139,0.6); background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); }
.placeholder-note.on-dark strong { color: #f3d98b; }
.placeholder-inline { background: rgba(192,151,63,0.15); border-bottom: 2px dotted var(--brass); padding: 0 0.3em; font-size: 0.9em; color: var(--brass-deep); white-space: nowrap; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; margin-top: 2.4rem; }
.feature-card {
  background: var(--sand); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.8rem 1.5rem; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(20,50,74,0.12); }
.feature-icon { font-size: 2.2rem; margin-bottom: 0.8rem; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.95rem; color: var(--muted); }

/* ---------- gallery ---------- */
.gallery-filters { display: flex; gap: 0.6rem; justify-content: center; margin: 1.8rem 0; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--shell); color: var(--navy); border-radius: 999px; padding: 0.5rem 1.3rem; font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.chip:hover { border-color: var(--sea); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; background: var(--sand-deep); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .g-cap { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem 1rem 0.8rem; background: linear-gradient(transparent, rgba(12,32,48,0.75)); color: #fff; font-size: 0.85rem; opacity: 0; transition: opacity 0.25s; }
.gallery-item:hover .g-cap { opacity: 1; }
.gallery-item.hidden { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,32,48,0.94); display: none; align-items: center; justify-content: center; flex-direction: column; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox button { position: absolute; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; padding: 1rem; }
.lightbox-close { top: 0.5rem; right: 1rem; }
.lightbox-prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-cap { color: rgba(255,255,255,0.85); margin-top: 1rem; font-size: 0.95rem; }

/* ---------- sleeping ---------- */
.sleep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.sleep-card { background: var(--sand); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; }
.sleep-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.sleep-card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- amenities ---------- */
.amen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.8rem 2rem; margin-top: 2rem; }
.amen-item { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.amen-item .a-icon { color: var(--sea); font-size: 1.2rem; flex-shrink: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--sea) 130%); color: #fff; padding: 4.5rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: "\2248\2248\2248"; position: absolute; top: 0.6rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.14); font-size: 2.4rem; letter-spacing: 0.6em; }
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 1.8rem; }

/* ---------- island guide ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; margin-top: 2.4rem; }
.guide-card { background: var(--shell); border: 1px solid var(--line); border-radius: 14px; padding: 1.8rem 1.6rem; }
.guide-icon { font-size: 2rem; margin-bottom: 0.7rem; }
.guide-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.guide-card p { font-size: 0.95rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { margin-top: 2rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 1.2rem 0; font-family: var(--serif); font-size: 1.1rem; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q .faq-x { color: var(--brass); font-size: 1.4rem; transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-x { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--muted); }
.faq-a p { padding-bottom: 1.3rem; }

/* ---------- book ---------- */
.book { background: var(--navy-deep); color: #fff; }
.book h2.light { color: #fff; }
.book-sub { color: rgba(255,255,255,0.8); margin: 1rem 0 1.8rem; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 3.5rem 0 2rem; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand { color: #fff; font-size: 1.2rem; margin-bottom: 0.8rem; }
.footer-brand em { font-style: italic; color: var(--brass); }
.footer-head { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem; color: var(--brass); margin-bottom: 0.8rem; font-weight: 600; }
.footer-grid a { display: block; color: rgba(255,255,255,0.75); text-decoration: none; padding: 0.25rem 0; }
.footer-grid a:hover { color: #fff; }
.footer-note { line-height: 1.7; }
.footer-fine { text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.45); border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.4rem; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- sticky bar ---------- */
.sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: rgba(12,32,48,0.97); backdrop-filter: blur(8px); transform: translateY(110%); transition: transform 0.3s ease; border-top: 1px solid rgba(192,151,63,0.4); }
.sticky-bar.show { transform: translateY(0); }
.sticky-inner { max-width: 1120px; margin: 0 auto; padding: 0.7rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sticky-text { color: #fff; font-family: var(--serif); font-size: 1.05rem; }
@media (max-width: 560px) { .sticky-text { font-size: 0.85rem; } }
