/**
 * Heliconia Park Hotels & Resorts
 * Main stylesheet for one-page portfolio website
 */

/* ===== Design System Variables ===== */
:root {
  /* Colors - Premium palette */
  --color-navy: #122638;
  --color-ink: #191c1d;
  --color-ivory: #f7f5f0;
  --color-gold: #b99b60;
  --color-green: #315d4c;
  --color-stone: #6f6d68;
  --color-white: #fff;
  --color-error: #c24a4a;
  --color-success: #3fa855;

  /* Typography */
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale (8px base) */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Typography scale */
  --text-xs: 0.625rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;

  /* Line height */
  --line-height-tight: 1.03;
  --line-height-normal: 1.55;
  --line-height-loose: 1.8;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.16);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Breakpoints */
  --bp-mobile: 480px;
  --bp-tablet: 768px;
  --bp-desktop: 1024px;
  --bp-wide: 1280px;

  /* Z-indexes */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
}

/* ===== Global Reset ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--color-ivory);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--line-height-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Accessibility ===== */
.skip-link {
  position: fixed;
  left: var(--space-md);
  top: -10rem;
  z-index: var(--z-modal);
  background: var(--color-white);
  color: var(--color-ink);
  padding: var(--space-sm) var(--space-md);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  top: var(--space-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: var(--line-height-tight);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2rem, 7vw, 6.6rem);
}

h2 {
  font-size: clamp(1.75rem, 5vw, 4.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--color-navy);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

a:hover,
a:focus {
  color: var(--color-gold);
  text-decoration: none;
}

a:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

/* ===== Layout Components ===== */
.header-container,
.section-container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

@media (min-width: var(--bp-wide)) {
  .header-container,
  .section-container {
    padding-left: var(--space-4xl);
    padding-right: var(--space-4xl);
  }
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: var(--color-ink);
  color: var(--color-white);
  height: 86px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform var(--transition-base), background-color var(--transition-base), color var(--transition-base);
  transform: translateY(0);
  overflow: visible;
}

.site-header.hidden {
  transform: translateY(-100%);
}

.site-header.scrolled {
  background: var(--color-ink);
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md);
}

.site-header .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-lg);
  overflow: visible;
}

.brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  outline: none;
}

.brand img {
  width: auto;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.brand:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ===== Navigation ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 40px;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: all var(--transition-base);
}

.primary-nav {
  display: flex;
  gap: var(--space-xl);
  margin-left: auto;
  margin-right: var(--space-xl);
  overflow: visible;
  align-items: center;
}

.primary-nav a {
  color: inherit;
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--transition-fast);
}

.primary-nav a:hover::after,
.primary-nav a:focus::after {
  width: 100%;
}

.primary-nav a:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

.book-button {
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
  border: 1px solid currentColor;
  padding: var(--space-sm) var(--space-lg);
  border-radius: 2px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.book-button:hover,
.book-button:focus {
  background: currentColor;
  color: var(--color-ivory);
}

.book-button:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* ===== Mobile Navigation ===== */
@media (max-width: 879px) {
  .menu-toggle {
    display: flex;
  }

  .primary-nav {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    gap: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-md);
  }

  .primary-nav.open {
    max-height: 500px;
  }

  .primary-nav a {
    display: block;
    padding: var(--space-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .primary-nav a::after {
    display: none;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  color: var(--color-white);
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* ===== Hero Carousel ===== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow) ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 10;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.hero-image,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(18, 38, 56, 0.92) 0%,
    rgba(18, 38, 56, 0.57) 48%,
    rgba(18, 38, 56, 0.26) 100%
  );
  animation: heroAnimation 16s ease-in-out infinite alternate;
}

@keyframes heroAnimation {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.12) translateX(-1.4%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-overlay {
    animation: none;
  }
  
  .hero-slide {
    transition: none;
  }
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--space-lg) 180px;
}

@media (min-width: var(--bp-wide)) {
  .hero-content {
    padding: 120px var(--space-4xl) 180px;
  }
}

.hero-copy {
  margin-bottom: var(--space-4xl);
  max-width: 70%;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 600px;
  margin-bottom: var(--space-2xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

@media (max-width: var(--bp-tablet)) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions > * {
    width: 100%;
  }
}

/* ===== Hero Carousel Indicators ===== */
.hero-indicators {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.5);
}

.indicator.active {
  background: var(--color-white);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

/* ===== Buttons ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-xl);
  border: none;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all var(--transition-base);
  outline: none;
}

.button:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.button-primary {
  background: var(--color-gold);
  color: var(--color-navy);
}

.button-primary:hover {
  background: #d4b574;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.button-secondary:hover {
  background: var(--color-white);
  color: var(--color-navy);
  transform: translateY(-2px);
}

.button-large {
  padding: var(--space-lg) var(--space-3xl);
  font-size: var(--text-lg);
}

/* ===== Booking Section ===== */
.booking-section {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-ink);
  padding: var(--space-2xl);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  display: none;
}

/* ===== Floating Booking Widget ===== */
.booking-widget-floating {
  position: fixed;
  bottom: 20px;
  left: 50%;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
  transform: translateX(-50%);
  transition: transform var(--transition-slow) ease-in-out;
  padding: 0;
  border-radius: 16px;
  max-height: 90vh;
  overflow: visible;
  width: 90vw;
  max-width: calc(100% - 40px);
}

.booking-widget-floating.collapsed {
  transform: translateX(-50%) translateY(calc(100% - 50px));
}

/* Booking Widget Open Animation */
.booking-widget-floating.animate-open {
  animation: bookingWidgetBounce 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bookingWidgetBounce {
  0% {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

@media (min-width: var(--bp-tablet)) {
  .booking-widget-floating {
    width: 50vw;
  }
  
  .home-page .booking-widget-floating {
    width: 60vw;
  }
  
  .booking-widget-floating.collapsed {
    transform: translateX(-50%) translateY(calc(100% - 50px));
  }
}

@media (min-width: 1280px) {
  .booking-widget-floating {
    width: 50vw;
  }
  
  .home-page .booking-widget-floating {
    width: 60vw;
  }
}

.booking-widget-header {
  display: none;
}

.booking-widget-close {
  display: none;
}

.booking-widget-collapse {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-ink);
  padding: 4px 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  border-radius: 4px;
  z-index: 10;
}

.booking-widget-collapse:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-navy);
}

.booking-widget-collapse:active {
  transform: scale(0.95);
}

#SBSyncroContainer {
  padding: var(--space-lg);
}

/* Style SimpleBooking widget inside floating container */
#sb-container {
  padding: var(--space-lg);
  min-height: 300px;
}

/* Ensure SimpleBooking widget displays properly */
.booking-widget-content {
  padding: var(--space-lg);
  position: relative;
  overflow-y: auto;
  max-height: 85vh;
  display: flex;
  justify-content: center;
}

/* ===== Booking Form Styles ===== */
.booking-form {
  margin: 0;
}

.booking-form-bar {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-end;
  flex-wrap: nowrap;
  justify-content: center;
}

@media (max-width: var(--bp-tablet)) {
  .booking-form-bar {
    flex-direction: column;
    gap: var(--space-md);
    flex-wrap: wrap;
  }
}

.booking-form-field {
  flex: 0 1 auto;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

@media (min-width: 1280px) {
  .booking-form-field {
    flex: 0 1 auto;
  }
}

@media (max-width: var(--bp-tablet)) {
  .booking-form-field {
    width: 100%;
    min-width: auto;
  }
}

/* Screen reader only labels */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Visible field labels */
.booking-field-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-stone);
  margin: 0;
}

/* Base input field styling */
.booking-field-input {
  width: 100%;
  padding: 0 10px;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-ink);
  outline: none;
  cursor: pointer;
  height: 38px;
  line-height: 38px;
}

.booking-field-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
}

/* Date input styling */
.booking-date-input-bar,
.booking-selector-bar {
  display: flex;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-stone);
  border-radius: 4px;
  padding: 0 var(--space-sm);
  width: 100%;
  transition: all var(--transition-base);
  height: 38px;
}

.booking-date-input-bar:focus-within,
.booking-selector-bar:focus-within {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(185, 155, 96, 0.1);
}

.booking-icon-bar {
  width: 16px;
  height: 16px;
  color: var(--color-stone);
  margin-right: 6px;
  flex-shrink: 0;
  pointer-events: none;
}

/* Submit Button Bar */
.booking-submit-btn-bar {
  padding: 0 16px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-green) 100%);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  min-width: auto;
  height: 38px;
  line-height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-submit-btn-bar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(18, 38, 56, 0.25);
}

.booking-submit-btn-bar:active {
  transform: translateY(0);
}

@media (max-width: var(--bp-tablet)) {
  .booking-submit-btn-bar {
    width: 100%;
    min-width: auto;
  }
}

/* Ensure widget content is scrollable */
@media (max-width: var(--bp-tablet)) {
  .booking-widget-floating {
    max-height: 80vh;
  }
}

.booking-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 0;
  margin-bottom: var(--space-xl);
}

/* ===== Property Selector ===== */
.property-selector-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.property-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.property-select {
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--color-stone);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-ink);
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-base);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  background-size: 20px;
  padding-right: 40px;
}

.property-select:hover {
  border-color: var(--color-gold);
}

.property-select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(185, 155, 96, 0.1);
}

.property-select option {
  padding: var(--space-md);
  color: var(--color-ink);
  background: var(--color-white);
}

@media (max-width: var(--bp-tablet)) {
  .property-selector-wrapper {
    margin-bottom: var(--space-lg);
  }
}

.booking-form {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

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

.form-group label {
  font-weight: 600;
  font-size: var(--text-sm);
}

.form-group label span[aria-label="required"] {
  color: var(--color-error);
}

.form-group input,
.form-group select {
  padding: var(--space-md);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  font-family: inherit;
  font-size: var(--text-base);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: -1px;
  border-color: var(--color-gold);
}

.form-message {
  padding: var(--space-md) var(--space-lg);
  border-radius: 4px;
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border-left: 4px solid var(--color-success);
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
  border-left: 4px solid var(--color-error);
}

.form-message ul {
  margin: var(--space-sm) 0 0;
  padding-left: var(--space-lg);
}

.form-message li {
  margin-bottom: var(--space-xs);
}

.button-submit {
  background: var(--color-navy);
  color: var(--color-white);
  margin-top: var(--space-md);
}

.button-submit:hover {
  background: #1a3552;
  transform: translateY(-2px);
}

/* ===== SimpleBooking Widget ===== */
#SBSyncroContainer {
  width: 100%;
  min-height: 300px;
  margin: var(--space-lg) 0;
  overflow: auto;
}

#SBSyncroContainer iframe,
#SBSyncroContainer > * {
  width: 100% !important;
}

/* ===== Sections ===== */
.section {
  padding: var(--space-3xl) var(--space-lg);
}

@media (min-width: var(--bp-wide)) {
  .section {
    padding: var(--space-4xl) var(--space-4xl);
  }
}

/* ===== Intro Section ===== */
.intro-section {
  text-align: center;
  background: var(--color-white);
}

.intro-section h2 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.intro-section > p:last-child {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--text-lg);
  color: var(--color-stone);
}

.intro-journey {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  list-style: none;
  margin: var(--space-2xl) auto 0;
  padding: 0;
  max-width: 720px;
}

.intro-journey li {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--color-gold);
  border-radius: 999px;
  color: var(--color-navy);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== Destinations Section ===== */
.destinations-section {
  background: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header > p:last-of-type {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-stone);
  font-size: var(--text-lg);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (min-width: var(--bp-wide)) {
  .properties-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.property-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(20px);
}

.property-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.property-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.property-image {
  margin: 0;
  overflow: hidden;
  height: 300px;
  position: relative;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: filter var(--transition-base);
}

.property-logo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: background-color var(--transition-base);
  pointer-events: none;
}

.property-logo {
  width: 120px;
  height: 120px;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity var(--transition-base), transform var(--transition-base);
  filter: brightness(0) invert(1);
}

.property-card:hover .property-image img {
  filter: brightness(0.4);
}

.property-card:hover .property-logo-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.property-card:hover .property-logo {
  opacity: 1;
  transform: translateX(0);
}

.property-content {
  flex-grow: 1;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.property-content h3 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.25rem, 2vw, 2rem);
}

.location {
  color: var(--color-stone);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0;
}

.property-content .description {
  flex-grow: 1;
  color: var(--color-stone);
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
}

.property-link {
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  transition: color var(--transition-fast);
}

.property-link:hover,
.property-link:focus {
  color: var(--color-gold);
}

.asset-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-stone);
  font-style: italic;
  margin-top: var(--space-2xl);
}

/* ===== Wellness Section ===== */
.wellness-section {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0;
  margin-top: var(--space-4xl);
}

.wellness-section .section-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
  padding: var(--space-3xl) var(--space-lg);
}

@media (max-width: var(--bp-tablet)) {
  .wellness-section .section-container {
    gap: var(--space-2xl);
  }
}

@media (min-width: var(--bp-wide)) {
  .wellness-section .section-container {
    padding: var(--space-4xl) var(--space-4xl);
  }
}

.wellness-header {
  opacity: 0;
  transform: translateY(20px);
  max-width: 600px;
}

.wellness-header.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all var(--transition-slow) 200ms ease;
}

.wellness-header h2 {
  color: var(--color-white);
}

.wellness-header > p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-lg);
}

.wellness-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
  margin: var(--space-2xl) 0;
}

@media (min-width: var(--bp-wide)) {
  .wellness-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wellness-card {
  opacity: 0;
  transform: translateY(20px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.wellness-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all var(--transition-slow) 200ms ease;
}

.wellness-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(185, 155, 96, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.wellness-card-image {
  margin: 0;
  overflow: hidden;
  height: 240px;
}

.wellness-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-base);
}

.wellness-card:hover .wellness-card-image img {
  transform: scale(1.05);
}

.wellness-card-content {
  padding: var(--space-xl);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.wellness-card-content h3 {
  margin: 0;
  color: var(--color-gold);
  font-size: var(--text-xl);
  font-weight: 600;
}

.wellness-card-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-base);
  line-height: var(--line-height-normal);
}

.wellness-cta {
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  justify-content: center;
}

.wellness-cta.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all var(--transition-slow) 400ms ease;
}

/* ===== Ecosystem Section ===== */
.ecosystem-section {
  background: var(--color-white);
  text-align: center;
}

.ecosystem-section .section-container {
  max-width: 1200px;
}

.ecosystem-section h2 {
  margin-bottom: var(--space-3xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ecosystem-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
}

@media (min-width: var(--bp-wide)) {
  .ecosystem-pillars {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar {
  padding: var(--space-2xl) var(--space-lg);
  border-radius: 8px;
  background: rgba(49, 93, 76, 0.04);
  transition: all var(--transition-base);
  text-align: center;
}

.pillar:hover {
  background: rgba(49, 93, 76, 0.08);
  transform: translateY(-4px);
}

.pillar-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.pillar h3 {
  margin-top: 0;
  margin-bottom: var(--space-md);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.pillar p {
  color: var(--color-stone);
  font-size: var(--text-base);
  margin: 0;
}

/* ===== Final CTA Section ===== */
.final-cta-section {
  background: var(--color-navy);
  color: var(--color-white);
  text-align: center;
}

.final-cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-2xl);
}

.final-cta-section .eyebrow {
  color: var(--color-gold);
}

.final-cta-section .section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-ink);
  color: var(--color-white);
  padding: var(--space-3xl) var(--space-lg);
  margin-top: auto;
}

.footer-container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2xl);
}

@media (min-width: var(--bp-wide)) {
  .footer-container {
    padding-left: var(--space-4xl);
    padding-right: var(--space-4xl);
  }
}

.footer-brand img {
  max-height: 45px;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

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

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-gold);
}

.footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-2xl);
  text-align: center;
}

.footer-legal p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all var(--transition-slow) ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.visible,
  .property-card,
  .property-card.visible,
  .wellness-header,
  .wellness-header.visible,
  .wellness-card,
  .wellness-card.visible,
  .wellness-cta,
  .wellness-cta.visible,
  .hero-overlay,
  .pillar,
  .button,
  .button:hover {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ===== Responsive Design ===== */
@media (max-width: var(--bp-tablet)) {
  body {
    font-size: var(--text-base);
  }

  .hero {
    padding: 100px var(--space-lg) 120px;
  }

  .section {
    padding: var(--space-2xl) var(--space-lg);
  }

  .booking-section {
    padding: var(--space-xl);
  }

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

/* ===== Print Styles ===== */
@media print {
  .site-header,
  .booking-section,
  .menu-toggle,
  .skip-link {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  a {
    text-decoration: underline;
  }

/* Language Switcher */
/* Language Switcher - Animations */
@keyframes language-modal-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes language-modal-scale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Language Switcher Dropdown - Header Menu */
.language-switcher-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1020;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: transparent;
  border: none;
  padding: 8px 4px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms ease;
  white-space: nowrap;
  outline: none;
  height: auto;
  line-height: 1;
  width: auto;
  box-shadow: none;
  border-radius: 4px;
}

.language-toggle:hover {
  color: rgba(255, 255, 255, 0.95);
  background-color: rgba(185, 155, 96, 0.1);
}

.language-toggle:active {
  transform: scale(0.98);
}

.language-toggle:focus {
  outline: 1px solid rgba(185, 155, 96, 0.3);
  color: rgba(255, 255, 255, 0.95);
}

.language-current {
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.language-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
}

.language-chevron {
  transition: transform 200ms ease;
  opacity: 0.6;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  pointer-events: none;
}

.language-toggle[aria-expanded="true"] .language-chevron {
  transform: rotate(180deg);
  opacity: 0.8;
}

/* Language Dropdown Menu */
.language-menu {
  position: fixed;
  top: 90px;
  left: auto;
  right: auto;
  z-index: 10001;
  animation: language-dropdown-fade-in 150ms ease forwards;
  background-color: rgba(18, 38, 56, 0.95);
  border: 1px solid rgba(185, 155, 96, 0.2);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  width: 280px;
  backdrop-filter: blur(8px);
}

.language-menu[hidden] {
  display: none !important;
}

.language-menu-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 0;
  max-height: 400px;
  overflow-y: auto;
  width: 100%;
}

.language-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background-color: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  transition: all 150ms ease;
  position: relative;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 12px;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: nowrap;
  justify-content: flex-start;
  min-height: 40px;
}

.language-menu-item:hover {
  background-color: rgba(185, 155, 96, 0.1);
  color: rgba(255, 255, 255, 0.95);
}

.language-menu-item:focus {
  outline: none;
  background-color: rgba(185, 155, 96, 0.15);
  color: rgba(255, 255, 255, 0.95);
}

.language-menu-item.active {
  background-color: rgba(185, 155, 96, 0.2);
  color: rgba(185, 155, 96, 0.9);
}

.language-item-flag {
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 14px;
}

.language-item-text {
  display: flex;
  flex-direction: row;
  gap: 0px;
  flex: 1;
  align-items: center;
}

.language-item-name {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
  color: inherit;
}

.language-item-eng {
  display: none;
}

.language-item-check {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: rgba(185, 155, 96, 0.8);
}

@keyframes language-dropdown-fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .language-toggle {
    padding: 6px 4px;
    font-size: 12px;
    gap: 4px;
  }

  .language-current {
    font-size: 13px;
  }

  .language-label {
    display: none;
  }

  .language-chevron {
    width: 12px;
    height: 12px;
  }

  .language-menu {
    width: 260px;
    top: 90px;
    left: auto;
    right: auto;
  }

  .language-menu-item {
    padding: 8px 12px;
    font-size: 11px;
  }

  .language-item-flag {
    font-size: 13px;
    min-width: 13px;
  }

  .language-item-name {
    font-size: 11px;
  }

  .language-item-eng {
    font-size: 8px;
  }
}

