/* 
   Colibița Island Retreat - Core Design System & Stylesheet
   Design Direction: Ethereal Alpine Sanctuary (Premium Wellness & Slow Tourism)
   Primary: Deep Forest Green (#1b3022) | Surface: Cream (#fcf9f3) | Accents: Soft Gold (#d7c49e)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Color System */
  --color-surface: #fcf9f3;
  --color-surface-rgb: 252, 249, 243;
  --color-primary: #1b3022;
  --color-primary-rgb: 27, 48, 34;
  --color-accent-gold: #d7c49e;
  --color-accent-gold-dark: #b59e74;
  --color-neutral-dark: #2a332c;
  --color-neutral-light: #f3ebe0;
  --color-neutral-light-rgb: 243, 235, 224;
  --color-white: #ffffff;
  
  /* Typography Scale */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Borders & Shadows */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --border-premium: 1px solid rgba(27, 48, 34, 0.08);
  --border-gold: 1px solid #d7c49e;
  
  /* Shadow System */
  --shadow-premium: 0 10px 40px rgba(27, 48, 34, 0.04);
  --shadow-hover: 0 20px 50px rgba(27, 48, 34, 0.08);
  --shadow-glass: 0 8px 32px 0 rgba(27, 48, 34, 0.03);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;
  
  /* Height Settings */
  --header-height: 90px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-surface);
  color: var(--color-neutral-dark);
  font-family: var(--font-sans);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-surface);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-gold-dark);
}

/* Typography Elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-primary);
  font-weight: 400;
  line-height: 1.25;
}

p {
  margin-bottom: var(--space-sm);
  color: var(--color-neutral-dark);
  font-size: 1.05rem;
}

a, a:visited {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* Premium Gold Frame Button */
.btn-premium,
.btn-premium:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: transparent;
  border: 1px solid var(--color-accent-gold);
  border-radius: 0;
  position: relative;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  z-index: -1;
  transform: translateY(100%);
  transition: var(--transition-smooth);
}
.btn-premium:hover,
.btn-premium:hover:visited {
  color: var(--color-surface);
  border-color: var(--color-primary);
}
.btn-premium:hover::before {
  transform: translateY(0);
}

.btn-solid,
.btn-solid:visited {
  background-color: var(--color-primary);
  color: var(--color-surface);
  border: 1px solid var(--color-primary);
}
.btn-solid::before {
  background-color: var(--color-accent-gold);
}
.btn-solid:hover,
.btn-solid:hover:visited {
  color: var(--color-primary);
  border-color: var(--color-accent-gold);
}

/* Glassmorphism Navigation Bar */
.header-glass {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(var(--color-surface-rgb), 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-premium);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md); /* Reduced from --space-lg to move elements closer to margins */
  transition: var(--transition-smooth);
}
.header-glass.scrolled {
  height: 75px;
  box-shadow: var(--shadow-glass);
  background: rgba(var(--color-surface-rgb), 0.95);
}

.logo-container img {
  height: 76px; /* Increased from 55px */
  width: auto;
  transition: var(--transition-smooth);
}
.header-glass.scrolled .logo-container img {
  height: 54px; /* Increased from 42px */
}

.nav-links {
  display: flex;
  gap: 1.5rem; /* Adjusted from --space-md (2rem) for better spacing on laptop screens */
  list-style: none;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  position: relative;
  padding: 0.5rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent-gold-dark);
  transition: var(--transition-smooth);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--color-accent-gold-dark);
  font-weight: 600;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-primary);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* --- Hero Banner Layout --- */
.hero-banner {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-surface);
  text-align: center;
  overflow: hidden;
  background-color: var(--color-primary);
}
.hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.65);
  transform: scale(1.03);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 var(--space-md);
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}
.hero-tagline-small {
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  display: block;
}
.hero-title {
  font-size: 3.8rem;
  color: var(--color-surface);
  margin-bottom: 0.15rem;
  line-height: 1.15;
}
.hero-desc {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto var(--space-md);
  color: rgba(252, 249, 243, 0.9);
  font-weight: 300;
}
.hero-logo {
  max-width: 180px;
  margin: 0 auto var(--space-md);
  filter: brightness(0) invert(1);
}
.hero-content .btn-premium:not(.btn-solid),
.hero-content .btn-premium:not(.btn-solid):visited {
  color: var(--color-surface);
  border-color: var(--color-accent-gold);
}
.hero-content .btn-premium:not(.btn-solid):hover,
.hero-content .btn-premium:not(.btn-solid):hover:visited {
  color: var(--color-surface);
  border-color: var(--color-surface);
}

.hero-cta-group {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
}
#hero-cta-program,
#hero-cta-about,
#hero-cta-video {
  width: 220px;
}
@media (max-width: 720px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Section Layouts --- */
.section {
  padding: var(--space-xl) var(--space-lg);
  position: relative;
}
.section-alt {
  background-color: var(--color-neutral-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.section-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-gold-dark);
  margin-bottom: var(--space-sm);
  display: block;
}
.section-title {
  font-size: 2.6rem;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}
.section-header p {
  font-size: 1.1rem;
  color: var(--color-neutral-dark);
  opacity: 0.85;
}

/* --- Two Column Feature Split --- */
.split-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-xl);
}
.split-feature:nth-child(even) {
  grid-template-columns: 0.9fr 1.1fr;
}
.split-feature:nth-child(even) .feature-image-wrapper {
  order: 2;
}
.split-feature:last-child {
  margin-bottom: 0;
}

.feature-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}
.feature-image-wrapper img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.feature-image-wrapper #story-img {
  height: auto;
}
.feature-image-wrapper:hover img {
  transform: scale(1.04);
}

.feature-text-wrapper {
  padding: var(--space-md) 0;
}
.feature-title {
  font-size: 2.2rem;
  margin-bottom: var(--space-sm);
}
.feature-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--color-accent-gold);
  color: var(--color-accent-gold-dark);
  margin-bottom: var(--space-sm);
}

.luxury-list {
  list-style: none;
  margin: var(--space-sm) 0 var(--space-md);
}
.luxury-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}
.luxury-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--color-accent-gold-dark);
  font-size: 0.85rem;
}

/* --- Premium Grid Pillars (Cards) --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.pillar-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--border-premium);
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.pillar-img-box {
  position: relative;
  overflow: hidden;
  height: 280px;
}
.pillar-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.pillar-card:hover .pillar-img-box img {
  transform: scale(1.05);
}
.pillar-info {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.pillar-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.pillar-card-desc {
  font-size: 0.98rem;
  opacity: 0.8;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}
.pillar-link {
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.pillar-link:hover {
  color: var(--color-primary);
}

/* --- Air Quality Showcase (Ozone widget) --- */
.air-quality-banner {
  background-color: var(--color-primary);
  color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-top: var(--space-lg);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}
.air-quality-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(215,196,158,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.air-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-lg);
  align-items: center;
}
.air-metric {
  text-align: center;
  border-right: 1px solid rgba(252, 249, 243, 0.15);
  padding-right: var(--space-lg);
}
.metric-circle {
  width: 170px;
  height: 170px;
  border: 2px dashed var(--color-accent-gold);
  border-radius: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  background: rgba(252, 249, 243, 0.03);
}
.metric-val {
  font-size: 2.5rem;
  font-family: var(--font-serif);
  color: var(--color-accent-gold);
  font-weight: 600;
  line-height: 1;
}
.metric-unit {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  opacity: 0.8;
  margin-top: 2px;
}
.metric-label {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-surface);
}
.air-text h3 {
  color: var(--color-accent-gold);
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}
.air-text p {
  color: rgba(252, 249, 243, 0.85);
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
}

.resort-comparisons {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}
.comparison-pill {
  font-size: 0.8rem;
  background: rgba(252, 249, 243, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  border: 1px solid rgba(252, 249, 243, 0.15);
  letter-spacing: 0.05em;
}

/* --- Rooms Slider / Room Details (Cazare) --- */
.room-details-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: var(--border-premium);
  margin-bottom: var(--space-xl);
}
.room-details-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}
.room-gallery-slider {
  position: relative;
  height: 580px;
  overflow: hidden;
}
.room-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
}
.room-slide.active {
  opacity: 1;
}
.slider-nav {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  display: flex;
  gap: var(--space-xs);
  z-index: 5;
}
.slider-arrow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(252, 249, 243, 0.9);
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  box-shadow: 0 4px 10px rgba(27,48,34,0.1);
}
.slider-arrow:hover {
  background: var(--color-primary);
  color: var(--color-surface);
}

.room-content-pane {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.room-type-badge {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-gold-dark);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  display: block;
}
.room-pane-title {
  font-size: 2.4rem;
  margin-bottom: var(--space-sm);
}
.room-pane-desc {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: var(--space-md);
}

.room-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  border-top: 1px solid rgba(27, 48, 34, 0.08);
  border-bottom: 1px solid rgba(27, 48, 34, 0.08);
  padding: var(--space-sm) 0;
  margin-bottom: var(--space-md);
}
.stat-box {
  text-align: center;
}
.stat-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.stat-val {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-top: 2px;
}

.room-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}
.room-feature-item {
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.room-feature-item::before {
  content: '✓';
  color: var(--color-accent-gold-dark);
  font-weight: bold;
}

/* --- 360 Virtual Tour Mock / Dynamic Panning --- */
.tour-viewport {
  position: relative;
  width: 100%;
  height: 650px;
  background-color: #0d120e;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: var(--border-premium);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.tour-canvas-container {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: default;
}
.tour-panorama-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}
.tour-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 50%, rgba(13,18,14,0.6) 100%);
  pointer-events: none;
  z-index: 2;
}
.tour-instructions {
  position: absolute;
  top: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(27, 48, 34, 0.85);
  backdrop-filter: blur(8px);
  color: var(--color-surface);
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  pointer-events: none;
}
.tour-hotspot {
  position: absolute;
  z-index: 4;
  cursor: pointer;
  transform: translate(-50%, -50%);
}
.hotspot-pulse {
  width: 26px;
  height: 26px;
  background-color: var(--color-accent-gold);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(215,196,158,0.7);
}
.hotspot-pulse::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--color-accent-gold);
  opacity: 0.6;
  animation: hotspotRipple 2s infinite ease-out;
}
.hotspot-pulse::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  z-index: 1;
}
.hotspot-label {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(27, 48, 34, 0.9);
  color: var(--color-surface);
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 1px solid rgba(215,196,158,0.3);
}
.tour-hotspot:hover .hotspot-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@keyframes hotspotRipple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

.tour-controls-panel {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: rgba(27, 48, 34, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 40px;
  padding: 0.5rem 1rem;
  display: flex;
  gap: var(--space-xs);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(252,249,243,0.1);
}
.tour-btn {
  background: transparent;
  color: var(--color-surface);
  border: none;
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.tour-btn.active, .tour-btn:hover {
  background: var(--color-accent-gold);
  color: var(--color-primary);
}

.tour-info-card {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background: rgba(252, 249, 243, 0.95);
  border: var(--border-premium);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  max-width: 320px;
  z-index: 5;
  box-shadow: 0 8px 25px rgba(27,48,34,0.15);
  transform: translateY(0);
  transition: var(--transition-smooth);
}
.tour-info-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}
.tour-info-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
  opacity: 0.85;
}

/* --- Multi-step Reservation Request (Contact) --- */
.booking-wizard-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: var(--border-premium);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.wizard-bar {
  display: flex;
  background: var(--color-neutral-light);
  border-bottom: var(--border-premium);
}
.wizard-step-tab {
  flex: 1;
  padding: var(--space-sm);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  opacity: 0.5;
  border-right: 1px solid rgba(27,48,34,0.06);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.wizard-step-tab:last-child {
  border-right: none;
}
.wizard-step-tab.active {
  opacity: 1;
  background: var(--color-white);
  border-bottom: 2px solid var(--color-accent-gold-dark);
}
.wizard-step-num {
  font-size: 0.7rem;
  color: var(--color-accent-gold-dark);
  margin-bottom: 2px;
}

.wizard-body {
  padding: var(--space-lg);
}
.wizard-step-content {
  display: none;
}
.wizard-step-content.active {
  display: block;
  animation: wizardFade 0.5s ease;
}

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

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group-full {
  grid-column: span 2;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(27, 48, 34, 0.15);
  background-color: var(--color-surface);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-neutral-dark);
  transition: var(--transition-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-accent-gold-dark);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(215, 196, 158, 0.15);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.wizard-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(27, 48, 34, 0.08);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
}

/* Room Picker Cards */
.room-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.room-picker-card {
  border: 1px solid rgba(27, 48, 34, 0.12);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
}
.room-picker-card:hover {
  border-color: var(--color-accent-gold-dark);
  background: var(--color-white);
}
.room-picker-card.selected {
  border-color: var(--color-primary);
  background: rgba(27, 48, 34, 0.03);
  box-shadow: 0 0 0 2px var(--color-primary);
}
.room-picker-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}
.room-picker-title {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 2px;
}
.room-picker-info {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* --- Global Booking Modal Backdrop --- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 48, 34, 0.6);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: var(--space-sm);
}
.modal-backdrop.active {
  display: flex;
  opacity: 1;
}
.modal-window {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: translateY(20px);
  transition: transform 0.4s ease;
}
.modal-backdrop.active .modal-window {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: var(--color-neutral-light);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 10;
  transition: var(--transition-fast);
}
.modal-close:hover {
  background: var(--color-primary);
  color: var(--color-surface);
}

/* --- Map Showcase Mocks (Contact) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-lg);
}
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.contact-card-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: var(--border-premium);
  box-shadow: var(--shadow-premium);
}
.contact-card-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent-gold-dark);
}
.contact-card-item p {
  margin: 0;
  font-size: 1rem;
}
.map-iframe-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: var(--border-premium);
  height: 520px;
  position: relative;
}
.map-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Footer --- */
.footer-premium {
  background-color: var(--color-primary);
  color: var(--color-surface);
  padding: var(--space-xl) var(--space-lg) var(--space-md);
  border-top: var(--border-gold);
}
.footer-premium p {
  color: rgba(252, 249, 243, 0.8) !important;
  font-size: 0.95rem;
}
.footer-premium strong {
  color: var(--color-surface) !important;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto var(--space-lg);
}
.footer-col h4 {
  color: var(--color-accent-gold) !important;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  font-weight: 500;
  font-family: var(--font-serif);
}
.footer-col p {
  color: rgba(252, 249, 243, 0.75) !important;
  font-size: 0.95rem;
  line-height: 1.6;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: var(--space-xs);
}
.footer-links a,
.footer-links a:visited,
.footer-premium a,
.footer-premium a:visited {
  color: rgba(252, 249, 243, 0.75) !important;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}
.footer-links a:hover,
.footer-premium a:hover {
  color: var(--color-accent-gold) !important;
  padding-left: 4px;
}
.footer-logo {
  width: 150px;
  height: auto;
  display: block;
  margin-bottom: var(--space-sm);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(252, 249, 243, 0.08);
  padding-top: var(--space-md);
  font-size: 0.85rem;
  color: rgba(252, 249, 243, 0.55);
}
.footer-bottom p {
  color: rgba(252, 249, 243, 0.55) !important;
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* --- Detail Sub-Pages --- */
.subpage-hero {
  height: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-surface);
  background-color: var(--color-primary);
}
.subpage-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
}
.subpage-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 var(--space-md);
}
.subpage-title {
  font-size: 3.2rem;
  color: var(--color-surface);
  margin-bottom: var(--space-sm);
}

/* --- Reveal animations --- */
.reveal-fade {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-fade.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Mobile Responsiveness Adjustments --- */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {


  :root {
    --header-height: 70px;
  }
  .header-glass {
    padding: 0 var(--space-sm);
  }
  .header-glass.scrolled {
    height: 70px; /* Consistent height on mobile scroll */
  }
  .logo-container img {
    height: 56px; /* Increased from 48px to make it larger and more readable on mobile */
  }
  .header-glass.scrolled .logo-container img {
    height: 50px; /* Increased from 44px for scrolled state on mobile */
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(var(--color-surface-rgb), 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(27,48,34,0.05);
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-desc {
    font-size: 1.05rem;
  }
  
  .section {
    padding: var(--space-lg) var(--space-sm);
  }
  .section-title {
    font-size: 2.1rem;
  }
  
  .split-feature, .split-feature:nth-child(even) {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .split-feature:nth-child(even) .feature-image-wrapper {
    order: 0;
  }
  .feature-image-wrapper img {
    height: 320px;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .air-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .air-metric {
    border-right: none;
    border-bottom: 1px solid rgba(252, 249, 243, 0.15);
    padding-right: 0;
    padding-bottom: var(--space-md);
  }
  .resort-comparisons {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .room-details-grid {
    grid-template-columns: 1fr;
  }
  .room-gallery-slider {
    height: 350px;
  }
  .room-content-pane {
    padding: var(--space-md);
  }
  
  .tour-viewport {
    height: 450px;
  }
  .tour-info-card {
    display: none; /* Hide overlay info card on mobile to save space */
  }
  .tour-instructions {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
  
  .booking-wizard-card {
    border-radius: var(--radius-md);
  }
  .wizard-body {
    padding: var(--space-md);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .room-picker-grid {
    grid-template-columns: 1fr;
  }
  .room-picker-img {
    height: 180px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .map-iframe-wrapper {
    height: 350px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 360 Virtual Tour Premium Teaser Card Styles --- */
.tour-teaser-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  z-index: 5;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" fill="none"><circle cx="32" cy="32" r="28" stroke="%23d7c49e" stroke-width="1.5" stroke-dasharray="4 2"/><circle cx="32" cy="32" r="4" fill="%23d7c49e"/><text x="32" y="46" fill="%23d7c49e" font-size="8" font-family="system-ui, -apple-system, sans-serif" font-weight="600" letter-spacing="1.5" text-anchor="middle">EXPLORE</text></svg>') 32 32, pointer;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  border: 1px solid transparent;
}

.tour-teaser-link:hover {
  box-shadow: 0 10px 40px rgba(215, 196, 158, 0.15);
  border-color: rgba(215, 196, 158, 0.3);
}

.tour-teaser-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

.tour-teaser-link:hover .tour-teaser-image {
  transform: scale(1.035);
}

.tour-teaser-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(27, 48, 34, 0.05) 0%, rgba(13, 18, 14, 0.35) 100%);
  z-index: 2;
  transition: background 0.4s ease;
  pointer-events: none;
}

.tour-teaser-link:hover .tour-teaser-overlay {
  background: radial-gradient(circle, rgba(27, 48, 34, 0.1) 0%, rgba(13, 18, 14, 0.5) 100%);
}

/* Pulsing launch button styling */
.btn-gate-start {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 2.5rem;
  font-size: 0.9rem;
  background-color: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
  color: var(--color-primary);
  box-shadow: 0 0 0 0 rgba(215, 196, 158, 0.4);
  animation: gatePulse 2.5s infinite;
  transition: var(--transition-smooth);
}

.btn-gate-start::before {
  background-color: var(--color-primary);
}

.btn-gate-start:hover {
  color: var(--color-surface);
  border-color: var(--color-primary);
  box-shadow: 0 10px 25px rgba(27, 48, 34, 0.3);
  animation: none;
}

.gate-btn-icon {
  font-size: 1.1rem;
  transition: transform 0.4s ease;
}

.btn-gate-start:hover .gate-btn-icon {
  transform: scale(1.2) rotate(15deg);
}

@keyframes gatePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(215, 196, 158, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(215, 196, 158, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(215, 196, 158, 0);
  }
}

/* Responsive Overrides for Teaser Layout */
@media (max-width: 768px) {
  .btn-gate-start {
    padding: 0.8rem 1.8rem;
    font-size: 0.8rem;
  }
}

/* Centered Premium CTA Button Style */
.btn-tour-launch {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 2.8rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  box-shadow: 0 0 0 0 rgba(215, 196, 158, 0.4);
  animation: tourBtnPulse 2.5s infinite;
  transition: var(--transition-smooth);
}

.btn-tour-launch:hover {
  box-shadow: 0 10px 30px rgba(27, 48, 34, 0.25);
  animation: none;
}

.btn-tour-launch .gate-btn-icon {
  font-size: 1.15rem;
  transition: transform 0.4s ease;
}

.btn-tour-launch:hover .gate-btn-icon {
  transform: scale(1.2) rotate(15deg);
}

@keyframes tourBtnPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(215, 196, 158, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(215, 196, 158, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(215, 196, 158, 0);
  }
}

/* Make sure button size fits beautifully on small mobile screens */
@media (max-width: 480px) {
  .btn-tour-launch {
    padding: 0.95rem 2rem;
    font-size: 0.85rem;
    width: 90%;
    justify-content: center;
  }
}

/* --- Hero Video Background & Utility Visibility Classes --- */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  z-index: 1;
}

@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

/* Mobile Overrides for Streamlined Booking Modal */
@media (max-width: 768px) {
  .modal-backdrop {
    padding: var(--space-xs);
  }
  .modal-window {
    max-height: 95vh;
  }
  .modal-close {
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
    top: 8px;
    right: 8px;
    background: rgba(27, 48, 34, 0.08);
  }
  /* Tabs are centered on the top bar across full width; close button floats on top-right of Tab 2 */
  .wizard-step-tab {
    padding: var(--space-xs) var(--space-xs);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
  }
  .wizard-body {
    padding: var(--space-md);
  }
  .wizard-body h3 {
    font-size: 1.3rem !important;
    margin-bottom: 6px !important;
  }
  .wizard-body p {
    font-size: 0.82rem !important;
    margin-bottom: var(--space-sm) !important;
    line-height: 1.4;
  }
  .form-grid {
    margin-bottom: var(--space-sm);
  }
  .form-input, .form-select, .form-textarea {
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
  }
  .wizard-footer {
    padding-top: var(--space-sm);
    margin-top: var(--space-sm);
  }
}

/* Cookie Consent Banner Styling */
.cookie-banner-backdrop {
  position: fixed;
  bottom: -600px;
  right: var(--space-md);
  left: auto;
  width: calc(100% - 2 * var(--space-md));
  max-width: 420px;
  z-index: 1000;
  transition: bottom 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 0;
  pointer-events: none;
}

.cookie-banner-backdrop.active {
  bottom: var(--space-md);
}

.cookie-banner-card {
  width: 100%;
  background: rgba(27, 48, 34, 0.96);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(181, 158, 116, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  padding: var(--space-md);
  color: var(--color-surface);
  pointer-events: auto;
}

/* Specific text color overrides to bypass global body/typography rules */
.cookie-banner-card h4,
.cookie-banner-card h5,
.cookie-banner-card p,
.cookie-banner-card strong,
.cookie-banner-card label {
  color: var(--color-surface) !important;
}

.cookie-banner-card h4,
.cookie-banner-card h5,
.cookie-banner-card .cookie-toggle-desc strong {
  color: var(--color-accent-gold) !important;
}

.cookie-banner-card p {
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
}

/* Button overrides for dark theme cookie banner */
.cookie-banner-card .btn-premium {
  color: var(--color-surface) !important;
  border-color: var(--color-accent-gold) !important;
  background-color: transparent !important;
}

.cookie-banner-card .btn-premium::before {
  background-color: var(--color-accent-gold-dark) !important;
}

.cookie-banner-card .btn-premium:hover {
  color: var(--color-primary) !important;
  border-color: var(--color-accent-gold-dark) !important;
}

.cookie-banner-card .btn-solid {
  background-color: var(--color-accent-gold-dark) !important;
  color: var(--color-primary) !important;
  border-color: var(--color-accent-gold-dark) !important;
}

.cookie-banner-card .btn-solid::before {
  background-color: var(--color-surface) !important;
}

.cookie-banner-card .btn-solid:hover {
  color: var(--color-primary) !important;
  border-color: var(--color-surface) !important;
}

.cookie-banner-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-sm);
}

.cookie-banner-text {
  width: 100%;
}

.cookie-banner-text h4 {
  font-family: var(--font-heading);
  color: var(--color-accent-gold);
  font-size: 1.25rem;
  margin: 0 0 var(--space-xs) 0;
  letter-spacing: 0.03em;
}

.cookie-banner-text p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  opacity: 0.9;
}

.cookie-banner-text a {
  color: var(--color-accent-gold);
  text-decoration: underline;
}

.cookie-banner-text a:hover {
  color: var(--color-surface);
}

.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  width: 100%;
}

.cookie-banner-actions .btn-premium {
  width: 100%;
  padding: 0.75rem 1.5rem !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.05em;
}

.btn-text-gold {
  background: none;
  border: none;
  color: var(--color-accent-gold);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.5rem;
  transition: var(--transition-fast);
  text-align: center;
  width: 100%;
  margin-top: 2px;
}

.btn-text-gold:hover {
  color: var(--color-surface);
}

/* Switch Styles */
.cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
}

.cookie-toggle-desc {
  flex: 1;
  padding-right: var(--space-md);
}

.cookie-toggle-desc strong {
  font-size: 0.9rem;
  color: var(--color-accent-gold);
}

.cookie-toggle-desc p {
  line-height: 1.4;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* Elegant Switch CSS Toggle */
.switch-container {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch-container input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .4s;
  border-radius: 24px;
  border: 1px solid rgba(181, 158, 116, 0.2);
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--color-surface);
  transition: .4s;
  border-radius: 50%;
}

input:checked + .switch-slider {
  background-color: var(--color-accent-gold-dark);
}

input:checked + .switch-slider:before {
  transform: translateX(20px);
  background-color: var(--color-surface);
}

@media (max-width: 480px) {
  .cookie-banner-backdrop {
    right: var(--space-sm);
    left: var(--space-sm);
    width: auto;
    bottom: -600px;
  }
  
  .cookie-banner-backdrop.active {
    bottom: var(--space-sm);
  }
  
  .cookie-banner-card {
    padding: var(--space-sm);
  }
}


