/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Color palette – bright & warm Florida sunshine */
  --color-bg:          #FDFAF5;
  --color-bg-alt:      #F7F2EB;
  --color-surface:     #FFFFFF;
  --color-surface-alt: #F0EAE0;
  --color-accent:      #C8852E;
  --color-accent-dim:  #A56E24;
  --color-accent-glow: rgba(200, 133, 46, 0.18);
  --color-accent-light: rgba(200, 133, 46, 0.08);
  --color-text:        #3D3328;
  --color-text-muted:  #7A6E60;
  --color-text-subtle: #A89E92;
  --color-heading:     #2A1F14;
  --color-border:      rgba(0, 0, 0, 0.08);
  --color-glass:       rgba(253, 250, 245, 0.80);
  --color-success:     #4caf50;
  --color-white:       #ffffff;

  /* Elevation */
  --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md:  0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg:  0 16px 60px rgba(0, 0, 0, 0.10);
  --shadow-glow: 0 4px 24px var(--color-accent-glow);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  /* Layout */
  --max-width: 1280px;

  /* Motion */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
a:hover { color: var(--color-accent-dim); }

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-heading);
}

/* ============================================================
   UTILITY
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-2xl) 0 var(--space-3xl);
  scroll-margin-top: 80px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 640px;
}

.text-center { text-align: center; }
.mx-auto    { margin-left: auto; margin-right: auto; }

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  border: none;
  margin: var(--space-3xl) 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  background: linear-gradient(180deg, rgba(17, 24, 28, 0.82), rgba(17, 24, 28, 0.2));
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
  background: var(--color-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.nav-logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
  color: var(--color-white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.nav-cta {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 8px 20px;
  border-radius: var(--radius-full);
}

.nav-links a.nav-cta::after {
  display: none;
}

.nav-links a.nav-cta:hover {
  background: var(--color-heading);
  color: var(--color-white);
}

.nav.scrolled .nav-links a.nav-cta {
  color: var(--color-white);
}

.nav.scrolled .nav-links a.nav-cta:hover {
  color: var(--color-white);
}

.nav-toggle {
  display: none;
  background: none;
  color: var(--color-white);
  font-size: 2.2rem;
  line-height: 1;
  padding: var(--space-xs);
}

.nav.scrolled .nav-logo,
.nav.scrolled .nav-links a,
.nav.scrolled .nav-toggle {
  color: var(--color-heading);
}

.nav.scrolled .nav-links a:hover {
  color: var(--color-heading);
}

/* Mobile full-screen menu overlay must stay white regardless of scroll state */
.nav.scrolled .nav-links.open a,
.nav.scrolled .nav-links.open a:hover {
  color: var(--color-white);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-3xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s var(--ease-out) infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 28, 0.58) 0%,
    rgba(17, 24, 28, 0.06) 32%,
    rgba(253, 250, 245, 0.65) 65%,
    rgba(253, 250, 245, 0.96) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(17, 24, 28, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  box-shadow: 0 4px 16px rgba(17, 24, 28, 0.16);
  animation: fadeSlideUp 0.8s var(--ease-out) 0.2s both;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--color-heading);
  animation: fadeSlideUp 0.8s var(--ease-out) 0.4s both;
}

.hero-title em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-description {
  max-width: 620px;
  padding: var(--space-md) var(--space-lg);
  border-left: 3px solid var(--color-accent);
  background: rgba(17, 24, 28, 0.78);
  color: var(--color-white);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  box-shadow: 0 8px 24px rgba(17, 24, 28, 0.16);
  margin-bottom: var(--space-xl);
  animation: fadeSlideUp 0.8s var(--ease-out) 0.6s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-md);
  animation: fadeSlideUp 0.8s var(--ease-out) 0.8s both;
}

.hero-stat {
  text-align: center;
  padding: var(--space-sm) var(--space-lg);
  background: rgba(17, 24, 28, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(17, 24, 28, 0.16);
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  animation: fadeSlideUp 0.8s var(--ease-out) 0.9s both;
}

.hero-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(17, 24, 28, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-white);
  padding: 6px var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(17, 24, 28, 0.16);
}

.hero-feature-icon {
  font-size: 1rem;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  animation: fadeSlideUp 0.8s var(--ease-out) 1s both;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dim));
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--color-accent-glow), var(--shadow-md);
  color: var(--color-white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-heading);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(17, 24, 28, 0.16);
}

.btn-secondary:hover {
  background: var(--color-white);
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(17, 24, 28, 0.22);
}

/* ============================================================
   QUICK HIGHLIGHTS (icon row)
   ============================================================ */
.highlights {
  padding: var(--space-2xl) 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.highlight-card {
  display: block;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(200, 133, 46, 0.25);
  color: inherit;
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.highlight-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--space-xs);
}

.highlight-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

#gallery-home,
#gallery-bedrooms,
#gallery-play {
  scroll-margin-top: 90px;
}

/* ============================================================
   ABOUT / DESCRIPTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
}

.about-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s var(--ease-out), transform 6s linear;
  transform: scale(1);
}

.about-slideshow img.active {
  opacity: 1;
  transform: scale(1.06);
  z-index: 1;
}

.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.about-slideshow:hover .slideshow-arrow {
  opacity: 1;
}

.slideshow-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}

.slideshow-prev {
  left: var(--space-sm);
}

.slideshow-next {
  right: var(--space-sm);
}

.slideshow-dots {
  position: absolute;
  bottom: var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.slideshow-dot.active {
  background: #fff;
  transform: scale(1.3);
}

.slideshow-more {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full, 999px);
  backdrop-filter: blur(2px);
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.slideshow-more:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-1px);
}

.about-text p {
  margin-bottom: var(--space-lg);
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
.gallery-groups {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

.gallery-group {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.gallery-group-wide {
  padding-top: 0;
  border-top: 0;
}

.gallery-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.gallery-group-heading .section-label {
  margin-bottom: var(--space-xs);
}

.gallery-group-heading h3 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.gallery-count {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gallery-grid {
  display: grid;
  gap: var(--space-md);
}

.gallery-grid-shared {
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 200px 200px;
}

.gallery-grid-shared .gallery-item:first-child {
  grid-row: 1 / 3;
}

.gallery-grid-rooms {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-grid-featured {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(260px, 34vw);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  min-height: 220px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.45) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-label {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  z-index: 2;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-out);
}

.gallery-item:hover .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   AMENITIES
   ============================================================ */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.amenity-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.amenity-card:hover {
  border-color: rgba(200, 133, 46, 0.25);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.amenity-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-light);
  border-radius: var(--radius-sm);
}

.amenity-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-heading);
  margin-bottom: 2px;
}

.amenity-detail {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ============================================================
   RESORT COMMUNITY AMENITIES
   ============================================================ */
.resort-amenities {
  padding: var(--space-xl);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.resort-amenities-title {
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
}

.resort-amenities-subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
}

.resort-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
}

.resort-amenity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-heading);
}

.resort-amenity-icon {
  font-size: 1.1rem;
}

.resort-amenities-photos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  background: var(--color-surface);
  padding: var(--space-md);
  border-radius: var(--radius-md);
}

.resort-amenities-photos .gallery-item {
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

@media (max-width: 1024px) {
  .resort-amenities-photos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .resort-amenities-photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   REVIEWS / TESTIMONIALS
   ============================================================ */
.reviews-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.reviews-score {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.reviews-meta {
  display: flex;
  flex-direction: column;
}

.reviews-stars {
  color: var(--color-accent);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.reviews-count {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.review-card {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: rgba(200, 133, 46, 0.12);
}

.review-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  font-style: italic;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-white);
}

.review-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-heading);
}

.review-date {
  font-size: 0.78rem;
  color: var(--color-text-subtle);
}

/* ============================================================
   LOCATION
   ============================================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.location-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
  .location-map {
    aspect-ratio: 4/5;
  }
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85);
  transition: filter 0.4s var(--ease-out);
}

.location-map:hover iframe {
  filter: saturate(1);
}

#locationMap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}

.map-pin-home {
  font-size: 1.6rem;
}

.location-details h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
}

.location-details p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.nearby-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-md);
}

.nearby-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s var(--ease-out);
}

.nearby-item:hover {
  box-shadow: var(--shadow-sm);
}

.nearby-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nearby-name {
  flex: 1;
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.25;
}

.nearby-distance {
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 600;
  white-space: nowrap;
}

.nearby-note {
  margin-top: var(--space-md);
  margin-bottom: 0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  opacity: 0.8;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-heading);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: var(--space-md) 0 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.trust-badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-heading);
  background: var(--color-accent-light);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ============================================================
   CONTACT / BOOKING FORM
   ============================================================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-perk {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact-perk-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-light);
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-perk-text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.contact-perk-text strong {
  display: block;
  color: var(--color-heading);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.form-optional {
  text-transform: none;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--color-text-muted);
  opacity: 0.8;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%237A6E60' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-submit {
  width: 100%;
  margin-top: var(--space-md);
}

.h-captcha {
  margin-top: var(--space-sm);
  display: flex;
  justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-heading);
}

.footer-logo span {
  color: var(--color-accent);
}

.footer-links {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-text-subtle);
  width: 100%;
  text-align: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

/* ============================================================
   SCROLL ANIMATIONS (IntersectionObserver)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1)  { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2)  { transition-delay: 0.10s; }
.reveal-stagger.visible > *:nth-child(3)  { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4)  { transition-delay: 0.20s; }
.reveal-stagger.visible > *:nth-child(5)  { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6)  { transition-delay: 0.30s; }
.reveal-stagger.visible > *:nth-child(7)  { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(8)  { transition-delay: 0.40s; }
.reveal-stagger.visible > *:nth-child(9)  { transition-delay: 0.45s; }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 0.50s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid,
  .location-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .gallery-grid-rooms {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    flex: none;
    background: rgba(23, 32, 39, 0.62);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    z-index: 1002;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.25s var(--ease-out), visibility 0.25s var(--ease-out);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.4rem;
    color: var(--color-white);
  }

  .nav-links a:hover {
    color: var(--color-white);
  }

  .nav-toggle {
    display: block;
    z-index: 1001;
    background: rgba(17, 24, 28, 0.45);
    border-radius: var(--radius-sm);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav.scrolled .nav-toggle {
    color: var(--color-heading);
    background: transparent;
  }
}

@media (max-width: 768px) {
  .slideshow-arrow {
    opacity: 1;
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.3);
  }

  .gallery-group-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }

  .gallery-count {
    white-space: normal;
  }

  .hero {
    padding-bottom: var(--space-md);
  }

  .hero-badge {
    padding: 4px var(--space-sm);
    font-size: 0.7rem;
    margin-bottom: var(--space-sm);
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: var(--space-sm);
  }

  .hero-description {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.92rem;
    margin-bottom: var(--space-md);
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-xs);
  }

  .hero-stat {
    padding: 6px var(--space-sm);
  }

  .hero-stat-value {
    font-size: 1.3rem;
  }

  .hero-stat-label {
    font-size: 0.65rem;
  }

  .hero-badges {
    gap: var(--space-xs);
    margin-top: var(--space-sm);
  }

  .hero-feature-badge {
    padding: 4px var(--space-sm);
    font-size: 0.75rem;
  }

  .hero-feature-icon {
    font-size: 0.85rem;
  }

  .hero-cta {
    flex-direction: column;
    margin-top: var(--space-sm);
    gap: var(--space-xs);
  }

  .hero-cta .btn {
    padding: 12px 24px;
  }

  .gallery-grid-shared,
  .gallery-grid-rooms,
  .gallery-grid-featured {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-grid-shared .gallery-item:first-child {
    grid-row: auto;
  }

  .gallery-grid-featured {
    grid-auto-rows: 260px;
  }

  .gallery-item {
    min-height: 220px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Keep check-in/check-out side by side on mobile for quick date picking */
  .form-row-dates {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .highlight-card {
    padding: var(--space-md) var(--space-sm);
  }

  .highlight-icon {
    font-size: 1.4rem;
    margin-bottom: var(--space-xs);
  }

  .highlight-title {
    font-size: 0.95rem;
    margin-bottom: 2px;
  }

  .highlight-desc {
    font-size: 0.75rem;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .amenity-card {
    padding: var(--space-sm) var(--space-md);
    gap: var(--space-sm);
  }

  .amenity-icon {
    font-size: 1.2rem;
    width: 34px;
    height: 34px;
  }

  .amenity-name {
    font-size: 0.88rem;
  }

  .amenity-detail {
    font-size: 0.76rem;
  }

  .resort-amenities {
    padding: var(--space-md);
  }

  .resort-amenities-title {
    font-size: 1.1rem;
  }

  .resort-amenities-subtitle {
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
  }

  .resort-amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .resort-amenity {
    padding: 6px var(--space-sm);
    font-size: 0.78rem;
    gap: var(--space-xs);
  }

  .resort-amenity-icon {
    font-size: 0.95rem;
  }

  .resort-amenities-photos {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-md);
  }

  .section {
    padding: var(--space-xl) 0;
    scroll-margin-top: 64px;
  }

  .divider {
    margin: var(--space-lg) 0;
  }

  /* Book Now: compact "why book direct" cards + form, minimal scrolling */
  #contact .section-subtitle {
    margin-bottom: var(--space-md) !important;
  }

  .trust-strip {
    gap: var(--space-xs);
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
  }

  .trust-badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.6rem;
  }

  .contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  /* Show the booking form immediately on mobile; perks/why-book-direct info
     follows below so visitors aren't forced to scroll past it first. */
  .contact-form {
    order: -1;
  }

  .contact-form {
    padding: var(--space-md);
  }

  /* Turn the perks list into a compact 2x2 card grid instead of a tall stacked list */
  .contact-perks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .contact-perk {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: var(--space-sm);
  }

  .contact-perk-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .contact-perk-text {
    font-size: 0.78rem;
  }

  .contact-perk-text strong {
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .nearby-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   MOBILE NAV CLOSE BUTTON
   ============================================================ */
.nav-close {
  display: none;
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: none;
  color: var(--color-white);
  font-size: 2rem;
  line-height: 1;
  z-index: 1002;
}

.nav-links.open .nav-close {
  display: block;
}

.nav-close:hover {
  color: var(--color-accent);
}

/* ============================================================
   SUCCESS MESSAGE
   ============================================================ */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
}

.form-success.show {
  display: block;
}

.form-success-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.form-success h4 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.form-success p {
  color: var(--color-text-muted);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  cursor: pointer;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 2001;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
  z-index: 500;
  cursor: pointer;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
