/* ═══════════════════════════════════════════════════════════
   Sand & Sky 30A — Shared Design System
   Shared between public marketing site and guest portal
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1a2744;
  --navy-mid:  #2a3f6e;
  --navy-light:#3a5a9e;
  --sky:       #4AABDB;
  --sky-pale:  #f0f8fc;
  --sky-mid:   #d0eef9;
  --gold:      #c9a96e;
  --gold-light:#d4ba85;
  --gold-pale: #faf6ef;
  --cream:     #ffffff;
  --white:     #ffffff;
  --sand:      #faf8f5;
  --text:      #1a2744;
  --muted:     #6b7a96;
  --border:    rgba(26,39,68,0.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── STICKY NAV ─────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(26,39,68,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
}

.nav-logo img {
  height: 40px;
  opacity: 0;
  transition: opacity 0.35s ease;
  filter: none;
}
.site-nav.scrolled .nav-logo img {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}
.nav-links a:hover { color: white; }
.site-nav.scrolled .nav-links a { color: var(--navy-mid); }
.site-nav.scrolled .nav-links a:hover { color: var(--sky); }

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--gold);
  color: white;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(201,169,110,0.3);
}
.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--gold-light);
  box-shadow: 0 6px 20px rgba(201,169,110,0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: background 0.25s ease;
}
.site-nav.scrolled .nav-toggle span { background: var(--navy); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 2rem 1rem;
  gap: 0.25rem;
}
.nav-mobile a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy-mid);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border: none; color: var(--gold); font-weight: 700; }
.nav-mobile.open { display: flex; }

/* ─── NAV MORE DROPDOWN ───────────────────────────────────── */
.nav-more {
  position: relative;
}
.nav-more-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.25s ease;
}
.nav-more-btn:hover { color: white; }
.site-nav.scrolled .nav-more-btn { color: var(--navy-mid); }
.site-nav.scrolled .nav-more-btn:hover { color: var(--sky); }

.nav-more-arrow {
  font-size: 0.6rem;
  transition: transform 0.25s ease;
}
.nav-more.open .nav-more-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(26,39,68,0.15);
  border: 1px solid rgba(26,39,68,0.06);
  padding: 0.5rem 0;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
}
.nav-more.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-mid) !important;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown a:hover {
  background: var(--sky-pale);
  color: var(--sky) !important;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile.open { display: flex; }
}

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem 7rem;
  position: relative;
  overflow: hidden;
  background: url('../images/gallery/photo-01.jpg') center/cover no-repeat;
}

/* Dark overlay for readability */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,18,35,0.55) 0%, rgba(10,18,35,0.7) 60%, rgba(10,18,35,0.85) 100%);
  pointer-events: none;
}

/* No second pseudo-element needed */
.hero::after { display: none; }

.hero-glow-right { display: none; }

.hero-logo {
  position: relative; z-index: 1;
  width: min(420px, 80vw);
  height: auto;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.2s forwards;
}

.hero-eyebrow {
  position: relative; z-index: 1;
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sky);
  margin-bottom: 0.9rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.45s forwards;
  transition: color 0.25s ease;
}
a.hero-eyebrow:hover {
  color: rgba(255,255,255,0.9);
}

.hero-tagline {
  position: relative; z-index: 1;
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: rgba(255,255,255,0.65);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.65s forwards;
}

.hero-desc {
  position: relative; z-index: 1;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.75s forwards;
}

.hero-nav {
  position: relative; z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 90px;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
}
.hero-scroll-hint svg {
  animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.hero-btn {
  padding: 0.7rem 1.6rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.25s ease;
}
.hero-btn.primary {
  background: var(--sky);
  color: var(--navy);
  box-shadow: 0 4px 24px rgba(74,171,219,0.4);
}
.hero-btn.primary:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(74,171,219,0.5); }
.hero-btn.secondary {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
}
.hero-btn.secondary:hover { background: rgba(255,255,255,0.16); transform: translateY(-3px); }
.hero-btn.gold {
  background: var(--gold);
  color: white;
  box-shadow: 0 4px 24px rgba(201,169,110,0.35);
}
.hero-btn.gold:hover { transform: translateY(-3px); background: var(--gold-light); box-shadow: 0 10px 35px rgba(201,169,110,0.45); }

.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
}

/* ─── MAIN ──────────────────────────────────────────────── */
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

.section {
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.section.visible { opacity: 1; transform: translateY(0); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.6rem;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1.5px;
  background: var(--sky);
  border-radius: 2px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1.75rem;
}
.section-title em { font-style: italic; color: var(--navy-light); }

/* ─── FOOTER ────────────────────────────────────────────── */
footer {
  background: linear-gradient(160deg, #0d1a35 0%, #1a2744 100%);
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(74,171,219,0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.footer-logo {
  position: relative; z-index: 1;
  width: 160px;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
footer p {
  position: relative; z-index: 1;
  font-size: 0.82rem;
}
footer strong { color: var(--sky); }

.footer-nav {
  position: relative; z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-nav a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.25s ease;
}
.footer-nav a:hover { color: var(--sky); }
.footer-nav a:last-child { color: var(--gold-light); }
.footer-nav a:last-child:hover { color: var(--gold); }

.footer-address {
  margin-top: 0.5rem;
  font-size: 0.78rem !important;
}
.footer-contact {
  margin-top: 0.75rem;
  font-size: 0.78rem !important;
}
.footer-contact a {
  color: var(--sky);
  text-decoration: none;
}
.footer-contact a:hover { text-decoration: underline; }

/* ─── SCROLL TO TOP ──────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  border: 2px solid rgba(74,171,219,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(26,39,68,0.25);
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--sky);
  border-color: var(--sky);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74,171,219,0.3);
}

/* ─── ANIMATIONS ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── TIP BOX (shared) ─────────────────────────────────── */
.tip-box {
  background: linear-gradient(135deg, var(--sky-pale), var(--sky-mid));
  border: 1.5px solid rgba(74,171,219,0.2);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.tip-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.05rem; }
.tip-box p { font-size: 0.88rem; line-height: 1.65; color: var(--navy-mid); }
.tip-box p strong { color: var(--navy); }

/* ─── SKY DIVIDER ──────────────────────────────────────── */
.sky-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin-bottom: 2.5rem;
}

/* ─── CURSOR FIX — ensure pointer on all interactive elements ── */
a,
button,
[role="button"],
[tabindex="0"],
summary,
.nav-more-btn,
.nav-cta,
.hero-btn,
.booking-btn,
.subpage-cta-btn,
.gallery-item,
.highlight-card,
.nearby-pill,
.filter-btn,
.scroll-top,
.nav-toggle,
details > summary {
  cursor: pointer !important;
}
