:root {
  /* Colors */
  --bg-primary: #f8f9fa; /* Pearl White */
  --bg-secondary: #eef1f5; /* Soft Titanium Gray */
  --surface: rgba(255, 255, 255, 0.7); /* Translucent surface for spatial UI */
  --surface-solid: #ffffff;
  --text-primary: #1a1a1a; /* Matte Graphite */
  --text-secondary: #5e6b7c; /* Luxury Warm Silver text equivalent */
  --accent-blue: #3a86ff; /* Muted Electric Blue */
  --accent-orange: #ff6b35; /* Premium Orange */
  
  /* Spatial UI / Modular Design variables */
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 100px;
  
  /* Shadows & Depth */
  --shadow-spatial-1: 0 8px 32px rgba(0, 0, 0, 0.04);
  --shadow-spatial-2: 0 16px 48px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 24px rgba(58, 134, 255, 0.15);
  
  /* Blur for floating elements */
  --blur-md: blur(20px);
  --blur-lg: blur(40px);
  
  /* Spacing */
  --space-unit: 8px;
  --section-space: 120px;
}

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

/* Spatial Typography */
.display-spatial {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* Base Layouts - Modular */
.section-modular {
  padding: var(--section-space) 0;
  position: relative;
}

/* Floating Containers */
.floating-container {
  background: var(--surface);
  backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-spatial-1);
  padding: 3rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-spatial-2);
}

/* Navigation - App Like */
.navbar-spatial {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background: var(--surface);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0.5rem 1.5rem;
  z-index: 1000;
  box-shadow: var(--shadow-spatial-1);
}

.navbar-spatial .nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
}

.navbar-spatial .nav-link:hover, .navbar-spatial .nav-link.active {
  background: var(--surface-solid);
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Premium Buttons */
.btn-premium {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: var(--radius-pill);
  padding: 1rem 2.5rem;
  font-weight: 500;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent-blue), var(--accent-orange));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.btn-premium span {
  position: relative;
  z-index: 2;
}

.btn-premium:hover {
  transform: scale(1.02);
  color: #fff;
}

.btn-premium:hover::before {
  opacity: 1;
}

.btn-outline-premium {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-pill);
  padding: 1rem 2.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-premium:hover {
  background: var(--surface-solid);
  border-color: transparent;
  box-shadow: var(--shadow-spatial-1);
}

/* Hero Section */
.hero-spatial {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 6rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, var(--surface-solid) 0%, var(--bg-secondary) 100%);
}

.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-spatial-2);
  width: 100%;
  aspect-ratio: 16/9;
  transform-origin: center bottom;
}

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

/* Floating Booking Widget */
.booking-widget-floating {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  background: var(--surface);
  backdrop-filter: var(--blur-lg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-spatial-2);
  border: 1px solid rgba(255, 255, 255, 0.6);
  z-index: 10;
}

.booking-input-group {
  display: flex;
  flex-direction: column;
}

.booking-input-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.booking-input-group input, .booking-input-group select {
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 0.5rem;
}

.booking-input-group input:focus, .booking-input-group select:focus {
  outline: none;
  border-bottom-color: var(--accent-blue);
}

/* Cards Layered */
.card-spatial {
  background: var(--surface-solid);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: none;
  box-shadow: var(--shadow-spatial-1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.card-spatial:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-spatial-2);
}

.card-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 4/3;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card-spatial:hover .card-media img {
  transform: scale(1.05);
}

/* Footer Spatial */
.footer-spatial {
  background: var(--surface-solid);
  padding: 6rem 0 2rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-top: 4rem;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.02);
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-nav a:hover {
  color: var(--text-primary);
}

/* Utils */
.text-gradient {
  background: linear-gradient(45deg, var(--accent-blue), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.icon-lg {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* Swiper overrides */
.swiper-pagination-bullet {
  background: var(--text-primary);
}
.swiper-pagination-bullet-active {
  background: var(--accent-blue);
}

/* Responsive */
@media (max-width: 991px) {
  .navbar-spatial {
    width: 95%;
    padding: 0.5rem 1rem;
  }
  .display-spatial {
    font-size: 3rem;
  }
  .booking-widget-floating {
    width: 95%;
    position: relative;
    bottom: 0;
    margin-top: -30px;
  }
}


/* Lenis required CSS */
html.lenis, html.lenis body { height: auto; width: 100vw; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }
