/* Villa Rose Corfu — Standalone Page Styles */

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

/* ─── Design Tokens (from main site) ────────────────────────── */
:root {
  /* Colors */
  --navy-pure: #051b2c;
  --navy-deep: #000F1F;
  --blue-primary: #0066CC;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --gray-100: #F7F7F7;
  --gray-200: #E5E5E5;
  --gray-400: #999999;
  --gray-600: #666666;
  --gray-800: #333333;
  --black: #000000;
  --sand-light: #F9F5F0;
  --sand-dark: #EAE6E1;

  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-sans: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-logo: 'Bodoni Moda', serif;

  /* Letter Spacing */
  --ls-tight: -0.01em;
  --ls-normal: 0.02em;
  --ls-wide: 0.04em;
  --ls-wider: 0.08em;
  --ls-widest: 0.15em;
  --ls-luxury: 0.2em;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.333rem;
  --space-xl: 1.777rem;
  --space-2xl: 2.369rem;
  --space-3xl: 3.157rem;
  --space-4xl: 4.209rem;
  --space-5xl: 5.61rem;

  /* Type Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.333rem;
  --text-2xl: 1.777rem;
  --text-3xl: 2.369rem;
  --text-4xl: 3.157rem;
  --text-5xl: 4.209rem;

  /* Transitions */
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Base ──────────────────────────────────────────────────── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ─── Brand Bar ─────────────────────────────────────────────── */
.brand-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-xl);
  transition: background var(--transition-base), border-color var(--transition-base);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.brand-bar.is-scrolled {
  background: var(--white);
  border-bottom-color: var(--gray-200);
}

.brand-logo img {
  height: 52px;
  width: auto;
  transition: filter var(--transition-base);
}

/* Invert logo on transparent (over dark hero) */
.brand-bar:not(.is-scrolled) .brand-logo img {
  filter: brightness(0) invert(1);
}

.brand-cta {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--navy-pure);
  color: var(--navy-pure);
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), opacity var(--transition-base);
  opacity: 0;
  pointer-events: none;
}

.brand-bar.is-scrolled .brand-cta {
  opacity: 1;
  pointer-events: auto;
}

.brand-cta:hover {
  background: var(--navy-pure);
  color: var(--white);
  border-color: var(--navy-pure);
}

/* ─── Photo Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-img {
  position: absolute;
  inset: 0;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 27, 44, 0.45) 0%, transparent 50%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  bottom: var(--space-3xl);
  left: var(--space-2xl);
  z-index: 2;
  color: var(--white);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: var(--ls-wide);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero-location {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  opacity: 0.75;
}

/* ─── Booking Bar (hero overlay) ────────────────────────────── */
.booking-bar-hero {
  position: absolute;
  bottom: var(--space-3xl);
  right: var(--space-2xl);
  z-index: 3;
}

.booking-form {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
}

.booking-field {
  flex: 0 0 auto;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
  cursor: pointer;
  position: relative;
  transition: background var(--transition-base);
}

.booking-field:hover {
  background: var(--gray-100);
}

.booking-field-label {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--gray-400);
  line-height: 1;
}

.booking-field-value {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-800);
  line-height: 1.2;
  white-space: nowrap;
}

.booking-divider {
  width: 1px;
  background: var(--gray-200);
  align-self: stretch;
  margin: 0.375rem 0;
}

.booking-field--guests {
  flex: 0 0 auto;
}

.booking-guest-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-800);
  line-height: 1.2;
  white-space: nowrap;
}

.booking-guest-trigger svg {
  color: var(--gray-400);
  transition: transform var(--transition-base);
}

.booking-guest-trigger.active svg {
  transform: rotate(180deg);
}

.booking-guest-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  display: none;
  z-index: 10;
}

.booking-guest-dropdown.active {
  display: block;
}

.booking-guest-option {
  padding: 0.5rem 0.875rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--gray-800);
  cursor: pointer;
  transition: background 0.15s ease;
}

.booking-guest-option:hover {
  background: var(--gray-100);
  color: var(--blue-primary);
}

.booking-guest-option.selected {
  background: var(--gray-100);
  color: var(--blue-primary);
  font-weight: 500;
}

.booking-submit {
  flex: 0 0 auto;
  padding: 0 1rem;
  background: var(--navy-pure);
  color: var(--white);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition-base);
  white-space: nowrap;
}

.booking-submit:hover {
  background: var(--navy-deep);
}

/* ─── Date Picker Modal ────────────────────────────────────── */
.dp-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.dp-overlay.active {
  display: flex;
}

.dp-modal {
  background: var(--white);
  border-radius: 8px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dp-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  text-align: center;
}

.dp-header h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--gray-800);
  margin: 0;
}

.dp-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--gray-600);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition-base);
}

.dp-close:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}

.dp-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.dp-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.dp-month {
  min-height: 320px;
}

.dp-month-head {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  min-height: 36px;
}

.dp-month-title {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--gray-800);
  margin: 0;
  text-align: center;
  flex: 1;
}

.dp-nav {
  position: absolute;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-600);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition-base);
}

.dp-nav:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}

.dp-prev { left: 0; }
.dp-next { right: 0; }

.dp-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin-bottom: 0.5rem;
}

.dp-weekdays span {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  padding: 0.5rem;
  text-transform: uppercase;
}

.dp-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

.dp-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  cursor: pointer;
  color: var(--gray-800);
  background: var(--white);
  border: 1px solid transparent;
  transition: background 0.15s ease;
}

.dp-day:hover:not(.dp-empty):not(.dp-past):not(.dp-check-in):not(.dp-check-out) {
  background: var(--gray-100);
  border-radius: 4px;
}

.dp-day.dp-empty { cursor: default; }
.dp-day.dp-past { color: var(--gray-200); cursor: not-allowed; }
.dp-day.dp-today { font-weight: 600; color: var(--blue-primary); }
.dp-day.dp-check-in,
.dp-day.dp-check-out { background: var(--gray-800); color: var(--white); border-radius: 4px; font-weight: 600; }
.dp-day.dp-in-range { background: var(--gray-100); color: var(--gray-800); }

.dp-footer {
  border-top: 1px solid var(--gray-200);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dp-selected {
  display: flex;
  gap: 2rem;
}

.dp-sel-date {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dp-sel-date label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
}

.dp-sel-date span {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--gray-800);
}

.dp-actions {
  display: flex;
  gap: 1rem;
}

.dp-clear {
  padding: 0.625rem 1.25rem;
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--transition-base);
}

.dp-clear:hover {
  border-color: var(--gray-400);
}

.dp-apply {
  padding: 0.625rem 1.5rem;
  background: var(--gray-800);
  color: var(--white);
  border: none;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition-base);
}

.dp-apply:hover {
  background: var(--black);
}

.dp-apply:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ─── Section Shared ────────────────────────────────────────── */
.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--ls-luxury);
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: var(--space-sm);
}

.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  letter-spacing: var(--ls-wide);
  color: var(--navy-pure);
  margin-bottom: var(--space-lg);
}

.section-intro {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gray-600);
  max-width: 640px;
}

/* ─── Overview ──────────────────────────────────────────────── */
.overview {
  padding: var(--space-5xl) 0;
  text-align: center;
}

.specs {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.specs li {
  position: relative;
}

.specs li + li::before {
  content: '\00B7';
  position: absolute;
  left: calc(var(--space-2xl) / -2 - 2px);
  color: var(--gray-400);
}

.overview-text {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.highlight-item {
  text-align: center;
}

.highlight-label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--navy-pure);
  margin-bottom: var(--space-xs);
}

.highlight-detail {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-wide);
  color: var(--gray-400);
}

/* Pool touch hint */
.pool-touch-hint {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ─── WebGL Pool Section ────────────────────────────────────── */
.pool-experience {
  position: relative;
  height: 80vh;
  min-height: 400px;
  overflow: hidden;
  background: var(--navy-deep);
}

.pool-experience--hero {
  height: 100vh;
  min-height: 600px;
}

#pool-canvas-wrap {
  position: absolute;
  inset: 0;
}

#pool-canvas-wrap canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pool-scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 27, 44, 0.35);
  pointer-events: none;
}

.pool-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--white);
  padding: var(--space-2xl);
  pointer-events: none;
}

.pool-overlay--hero {
  gap: 0;
}

.pool-overlay-kicker {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--ls-luxury);
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: var(--space-lg);
}

.pool-overlay-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: var(--space-2xl);
}

.pool-overlay-text {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  line-height: 1.8;
  max-width: 480px;
  opacity: 0.85;
  margin-bottom: var(--space-2xl);
}

.pool-cta {
  pointer-events: auto;
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  padding: var(--space-md) var(--space-2xl);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  transition: background var(--transition-base), border-color var(--transition-base);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.08);
}

.pool-cta:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
}

/* Fallback image — hidden by default, shown when .pool-fallback is on section */
.pool-fallback-img {
  display: none;
}

.pool-experience.pool-fallback .pool-fallback-img {
  display: block;
  position: absolute;
  inset: 0;
}

.pool-experience.pool-fallback .pool-fallback-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Gallery ───────────────────────────────────────────────── */
.gallery {
  padding: var(--space-5xl) 0;
  text-align: center;
}

.gallery--flush {
  padding: 0;
}

.gallery--flush .gallery-grid {
  margin-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: var(--space-2xl);
}

.gallery-grid picture {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Decorated cell — image + coral ornament stacked */
.gallery-cell-decorated {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.gallery-cell-decorated picture {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-cell-decorated picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-accent {
  flex: 1;
  overflow: hidden;
}

.gallery-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Make first and last images span 2 cols for visual interest */
.gallery-grid picture:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.gallery-grid picture:last-child {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

/* ─── Reviews Carousel ──────────────────────────────────────── */
.reviews {
  padding: var(--space-5xl) 0;
  background: var(--sand-light);
  text-align: center;
}

.reviews-carousel {
  margin-top: var(--space-2xl);
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
}

.review-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: 1.7;
  color: var(--gray-800);
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.review-author {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  font-style: normal;
  letter-spacing: var(--ls-wide);
  color: var(--navy-pure);
}

.review-platform {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--gray-400);
  letter-spacing: var(--ls-wide);
}

.platform-icon {
  flex-shrink: 0;
}

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

.reviews-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--navy-pure);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-base);
}

.reviews-btn:hover {
  border-color: var(--navy-pure);
}

.reviews-counter {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-wider);
  color: var(--gray-400);
}

/* ─── Info ──────────────────────────────────────────────────── */
.info {
  padding: var(--space-5xl) 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: var(--space-4xl);
  align-items: start;
}

.info-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--navy-pure);
  margin-bottom: var(--space-xl);
}

.distance-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.distance-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-xl);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--gray-200);
}

.distance-row dt {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-800);
}

.distance-row dd {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--gray-600);
}

.amenity-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.amenity-list li {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--gray-600);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--gray-200);
}

.info-pricing {
  text-align: center;
  padding: var(--space-2xl);
  border: 1px solid var(--gray-200);
}

.price-label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: var(--space-xs);
}

.price-amount {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  color: var(--navy-pure);
}

.price-unit {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--gray-400);
}

.info-cta {
  display: block;
  margin-top: var(--space-xl);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  padding: var(--space-md) var(--space-xl);
  background: var(--navy-pure);
  color: var(--white);
  transition: opacity var(--transition-base);
}

.info-cta:hover {
  opacity: 0.85;
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.footer-awards {
  background-color: var(--sand-light);
  padding: var(--space-3xl) 0;
}

.footer-awards-label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: var(--space-xl);
}

.footer-awards-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.footer-award {
  display: block;
  height: 120px;
}

.footer-award img {
  height: 100%;
  width: auto;
  border-radius: 6px;
}

.footer-main {
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  text-align: left;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--gray-200);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--gray-400);
}

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

.footer-links a {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--gray-600);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  color: var(--gray-400);
  transition: color var(--transition-base);
}

.footer-social a:hover {
  color: var(--navy-pure);
}

.footer-col--brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.footer-part-of {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--gray-400);
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--gray-400);
  text-align: center;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .booking-bar-hero {
    right: var(--space-md);
    left: var(--space-md);
    bottom: var(--space-lg);
  }

  .booking-form {
    flex-direction: column;
    border-radius: 6px;
  }

  .booking-divider {
    width: auto;
    height: 1px;
    margin: 0 0.625rem;
  }

  .booking-field--guests {
    min-width: 0;
  }

  .booking-submit {
    padding: 0.75rem 1rem;
  }

  .booking-guest-dropdown {
    top: auto;
    bottom: calc(100% + 4px);
  }

  .hero-overlay {
    bottom: 8rem;
  }

  .dp-months {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dp-footer {
    flex-direction: column;
    gap: 1.5rem;
  }

  .dp-selected {
    width: 100%;
    justify-content: space-between;
  }

  .dp-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
  }

  .dp-clear,
  .dp-apply {
    width: 100%;
    padding: 0.875rem;
  }

  .specs {
    gap: var(--space-lg);
  }

  .specs li + li::before {
    left: calc(var(--space-lg) / -2 - 2px);
  }

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

  .pool-overlay-headline {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .pool-overlay-text {
    font-size: var(--text-base);
  }

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

  .gallery-grid picture:first-child,
  .gallery-grid picture:last-child {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  .review-text {
    font-size: var(--text-lg);
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .info-pricing {
    max-width: 300px;
    margin: 0 auto;
  }

  .map-property-nav {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    flex-wrap: wrap;
    gap: 2px;
  }

  .map-property-tab {
    font-size: 0.68rem;
    padding: 8px 12px;
    flex: 1;
    text-align: center;
  }

  .map-custom-controls {
    display: none;
  }

  .map-guide-btn {
    bottom: 1rem;
    left: 1rem;
    padding: 8px 14px 6px;
  }

  .map-guide-title {
    font-size: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
  }

  .footer-col--brand {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section-heading {
    font-size: var(--text-2xl);
  }

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

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

  .overview {
    padding: var(--space-3xl) 0;
  }
}

/* ─── About This Location ──────────────────────────────────── */
.about-location {
  padding: var(--space-5xl) 0;
  background: var(--sand-light);
}

.about-location-body {
  max-width: 720px;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--gray-600);
}

.about-location-intro {
  font-size: var(--text-lg);
  color: var(--gray-800);
  margin-bottom: var(--space-lg);
}

.about-location-body p + p {
  margin-top: var(--space-md);
}

.location-link {
  color: var(--navy-pure);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-200);
  transition: border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.location-link:hover {
  color: var(--blue-primary);
  border-color: var(--blue-primary);
}

/* ─── Map Section ───────────────────────────────────────────── */
.map-section {
  padding: 0;
  margin-bottom: 0;
  background: var(--white);
}

.map-container {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  height: 90svh;
  overflow: hidden;
}

.properties-map {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  border-radius: 0;
  overflow: hidden;
  border: none;
  position: relative;
}

/* Map Tab Nav */
.map-property-nav {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  z-index: 10;
  display: flex;
  gap: 2px;
  background: rgba(5, 27, 44, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 10px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-property-tab {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}

.map-property-tab:hover {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
}

.map-property-tab.active {
  color: var(--navy-pure);
  background: rgba(255, 255, 255, 0.92);
}

/* Property Marker — matches beaches-and-coves implementation */
.map-property-marker {
  will-change: transform;
  cursor: pointer;
}

.map-property-marker-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--navy-pure);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform-origin: center;
}

.map-property-marker.ping .map-property-marker-inner {
  animation: markerPulse 2s ease-out 3;
}

@keyframes markerPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); }
  50% { transform: scale(1.5); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5); }
}

.map-property-marker-label {
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--white);
  background: rgba(5, 27, 44, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 4px 9px;
  border-radius: 5px;
  white-space: nowrap;
  pointer-events: none;
}

/* POI Markers — matches beaches-and-coves implementation */
.map-poi-marker {
  will-change: transform;
  cursor: pointer;
}

.map-poi-marker-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--blue-primary);
  border: 2px solid var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform-origin: center;
  transition: background 0.2s ease;
}

.map-poi-marker:hover .map-poi-marker-inner {
  background: var(--navy-pure);
}

/* Permanent tooltip label */
.map-poi-marker-label {
  position: absolute;
  top: 50%;
  left: calc(100% + 6px);
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  background: rgba(5, 27, 44, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.map-poi-marker.label-hidden .map-poi-marker-label {
  opacity: 0;
}

/* Popups — Mapbox overrides */
.mapboxgl-popup {
  font-family: 'Work Sans', sans-serif;
  z-index: 1000;
}

.mapboxgl-popup-content {
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 12px 40px rgba(0, 31, 63, 0.15);
  width: 280px;
  overflow: hidden;
  border: 1px solid rgba(0, 31, 63, 0.1);
}

.mapboxgl-popup-close-button {
  z-index: 10;
  background: rgba(255, 255, 255, 0.8) !important;
  border-radius: 50% !important;
  width: 24px;
  height: 24px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  top: 8px;
  right: 8px;
  padding: 0;
  color: var(--navy-pure);
  transition: all 0.2s ease;
  font-size: 18px;
}

.mapboxgl-popup-close-button:hover {
  background: rgba(255, 255, 255, 1) !important;
  color: var(--black);
}

.map-property-popup .mapboxgl-popup-content {
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.map-property-popup .mapboxgl-popup-close-button {
  z-index: 2;
  font-size: 1.2rem;
  color: var(--navy-pure);
  right: 6px;
  top: 4px;
}

.map-popup-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy-pure);
  margin: 0 0 8px;
}

.map-popup-cta {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy-pure);
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.map-popup-cta:hover {
  opacity: 0.85;
}

/* POI Popup */
.map-poi-popup {
  padding: 14px 16px;
}

.map-poi-desc {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--gray-600);
  margin: 0 0 12px;
}

/* Custom Map Controls */
.map-custom-controls {
  position: absolute;
  top: 80px;
  right: 16px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.map-ctrl-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(10, 30, 60, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.map-ctrl-btn {
  width: 46px;
  height: 46px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Work Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.map-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.map-ctrl-btn:active {
  background: rgba(255, 255, 255, 0.18);
}

.map-ctrl-zoom .map-ctrl-btn:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-ctrl-2d {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.map-ctrl-pitch-track {
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-ctrl-pitch-slider {
  writing-mode: vertical-lr;
  direction: rtl;
  -webkit-appearance: none;
  appearance: none;
  width: 3px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.map-ctrl-pitch-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

.map-ctrl-pitch-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  border: none;
  cursor: pointer;
}

.map-ctrl-view {
  gap: 0;
}

.map-ctrl-view .map-ctrl-2d {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-ctrl-compass {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(10, 30, 60, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease;
}

.map-ctrl-compass:hover {
  background: rgba(15, 40, 75, 0.65);
}

.map-ctrl-compass-dial {
  width: 44px;
  height: 44px;
  transition: transform 0.15s ease-out;
}

/* Corfu Travel Guide Button */
.map-guide-btn {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 16px 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.map-guide-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.map-guide-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-guide-title::after {
  content: '\2192';
  font-size: 0.9rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.map-guide-btn:hover .map-guide-title::after {
  transform: translateX(2px);
}

.map-guide-btn--disabled {
  pointer-events: none;
  opacity: 0.7;
  cursor: default;
}

.map-guide-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 5px 0 4px;
}

.map-guide-sub {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1;
}

/* Scroll Hint Overlay */
.map-scroll-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 20px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--gray-600);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
  white-space: nowrap;
}

/* ─── Reduced Motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
