/* ============================================
   ERODIOS APARTMENTS - DESIGN SYSTEM
   Mediterranean Theme with OKLCH Colors
   ============================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
/* SANTORINI BREEZE PALETTE - Inspired by Greek Islands */
:root {
  /* Core - White (65%) */
  --color-white: #FFFFFF;
  --color-off-white: #FAFAFA;
  --color-cream: #F5F5F0;

  /* Accent - Cobalt Blue (15%) - The iconic Greek island blue */
  --color-primary: #2F5E9E;
  --color-primary-light: #4A7AB8;
  --color-primary-dark: #1E3D6B;

  /* Grounding - Sea Mist (15%) */
  --color-sand: #E0E6EF;
  --color-sand-dark: #D0D8E8;
  --color-sand-darker: #B8C5D8;

  /* Metal/Trim - Aged Brass (5%) */
  --color-brass: #C7C2B5;
  --color-brass-light: #D8D4C8;

  /* Terracotta Accent for warmth */
  --color-accent: #B5542F;
  --color-accent-light: #D47858;

  /* Text Colors */
  --color-text: #2C3E50;
  --color-text-light: #5A6C7D;
  --color-text-lighter: #7A8C9D;

  /* On white backgrounds */
  --color-text-on-white: #1A252F;
  --color-text-muted-on-white: #4A5560;

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

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 8px oklch(0% 0 0 / 0.08);
  --shadow-md: 0 8px 24px oklch(0% 0 0 / 0.12);
  --shadow-lg: 0 16px 48px oklch(0% 0 0 / 0.16);

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-sand);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Prevent automatic image rotation from EXIF data */
  image-orientation: from-image;
  object-fit: cover;
}

/* Explicitly disable rotation for card images */
.card-image img,
.lightbox-image {
  image-orientation: none;
  transform: none !important;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

.header .container {
  padding: 0 var(--space-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
  transition: transform var(--transition-base);
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.header.scrolled .logo-img {
  transform: scale(1.15);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.nav-menu a:hover {
  color: white;
}

.header.scrolled .nav-menu a {
  color: var(--color-text-light);
}

.header.scrolled .nav-menu a:hover {
  color: var(--color-primary);
}

.nav-cta {
  padding: var(--space-xs) var(--space-md);
  background: var(--color-accent);
  color: white !important;
  border-radius: var(--radius-lg);
  transition: background var(--transition-base);
}

.nav-cta:hover {
  background: #A04828 !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: white;
  transition: all var(--transition-base);
}

.header.scrolled .nav-toggle span {
  background: var(--color-text);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== CONTACT BUTTON (FIXED) ===== */

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: var(--space-sm);
  color: var(--color-primary-dark);
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== CONTACT BUTTON (FIXED) ===== */
.contact-btn-fixed {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 56px;
  height: 56px;
  background: #B5542F;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.contact-btn-fixed:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 60px oklch(0% 0 0 / 0.2);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  pointer-events: none;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-md);
  animation: fadeUp 1s ease;
}

/* Hero Navigation Dots */
.hero-dots {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
  z-index: 2;
}

.hero-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-base);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.hero-dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, #5BC0EB 0%, #87CEEB 50%, #4A90D9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 4px 20px rgba(91, 192, 235, 0.4)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  letter-spacing: -1px;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    filter: drop-shadow(0 4px 20px rgba(91, 192, 235, 0.4)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  }
  100% {
    filter: drop-shadow(0 4px 30px rgba(91, 192, 235, 0.7)) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
  }
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  opacity: 0.95;
}

.hero-text {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  background: #B5542F;
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: white;
  font-size: 0.875rem;
  opacity: 0.8;
  animation: bounce 2s infinite;
  z-index: 3;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: var(--space-2xl) 0;
  background: white;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

/* About Section Enhancements */

/* Intro Grid */
.about-intro-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding: var(--space-xl);
  background: linear-gradient(135deg, var(--color-sand), white);
  border-radius: var(--radius-md);
}

.intro-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.intro-icon i {
  font-size: 2.5rem;
  color: var(--color-accent);
}

.intro-content p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

.highlight-text {
  color: var(--color-primary);
  font-size: 1.125rem;
  font-weight: 600;
}

/* About Sections Container */
.about-sections {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

/* Individual About Section - 2 Column Grid */
.about-section {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-cream);
  border-radius: var(--radius-md);
  align-items: start;
}

/* Left Column - Title & Icon */
.section-title-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
}

.section-title-col i {
  font-size: 2rem;
  color: var(--color-accent);
}

.section-title-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.3;
}

/* Right Column - Content */
.section-content-col {
  padding-left: var(--space-md);
}

.section-content-col p {
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
}

/* 2026 Section Special Styling */
.about-2026 {
  background: linear-gradient(135deg, rgba(181, 84, 47, 0.08), rgba(255, 255, 255, 0.95));
  border: 2px solid var(--color-accent);
}

.badge-2026 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--color-accent);
  color: white;
  padding: 4px var(--space-sm);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.75rem;
}

.badge-2026 i {
  animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(15deg); }
}

/* Amenities List */
.about-amenities {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.about-amenities li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: white;
  border-radius: var(--radius-sm);
  color: var(--color-text-light);
}

.about-amenities li i {
  color: var(--color-primary);
  font-size: 1.125rem;
}

/* Closing */
.about-closing {
  text-align: center;
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
}

.about-closing p {
  color: white;
  font-size: 1.125rem;
  margin: 0;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-md);
  background: var(--color-sand);
  border-radius: var(--radius-md);
  transition: transform var(--transition-base);
}

.feature-item:hover {
  transform: translateY(-4px);
}

.feature-item i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.feature-item span {
  font-weight: 500;
  color: var(--color-text);
}

/* ===== ACCOMMODATIONS SECTION ===== */
.accommodations {
  padding: var(--space-2xl) 0;
  background: var(--color-sand);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.filter-btn {
  padding: var(--space-sm) var(--space-md);
  background: white;
  border: 2px solid var(--color-sand-dark);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.accommodations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

/* Ensure cards are visible */
.card {
  display: flex;
  flex-direction: column;
}

/* ===== ACCOMMODATION CARD ===== */
.card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
}

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

.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: #B5542F;
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

.card-badge.reserved {
  background: #28a745;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

.card-location {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.card-specs {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.card-spec {
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-spec i {
  color: var(--color-primary);
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.card-price .amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.card-price .period {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.card-price .note {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 600;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.feature-tag {
  padding: 4px var(--space-sm);
  background: var(--color-sand);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.feature-tag.highlight {
  background: oklch(75% 0.12 145);
  color: white;
}

.feature-tag.premium {
  background: oklch(75% 0.15 45);
  color: white;
}

.card-distance {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-sand-dark);
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.card-distance i {
  color: var(--color-accent);
}

.card-btn {
  width: 100%;
  padding: var(--space-sm);
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-base);
}

.card-btn:hover {
  background: var(--color-primary-dark);
}

/* ===== LOCATION SECTION ===== */
.location {
  padding: var(--space-2xl) 0;
  background: white;
}

.map-container {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-xl);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 400px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.location-card {
  padding: var(--space-md);
  background: var(--color-sand);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.location-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.location-card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.location-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-sm);
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 500;
}

.location-link:hover {
  text-decoration: underline;
}

.distance-info {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  padding: var(--space-xl);
  background: var(--color-sand);
  border-radius: var(--radius-lg);
}

.distance-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: white;
  border-radius: var(--radius-md);
  min-width: 200px;
}

.distance-item i {
  font-size: 1.5rem;
  color: var(--color-primary);
  width: 40px;
  text-align: center;
}

.distance-item strong {
  display: block;
  color: var(--color-text);
}

.distance-item p {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, #2F5E9E, #1E3D6B);
  color: white;
}

.contact .section-title {
  color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
}

.contact-info h3 {
  color: white;
  margin-bottom: var(--space-md);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.contact-item i {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(100% 0 0 / 0.15);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-item .label {
  display: block;
  font-size: 0.875rem;
  opacity: 0.8;
}

.contact-item .value,
.contact-item a {
  color: white;
  font-weight: 500;
}

.special-offer {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: oklch(100% 0 0 / 0.15);
  border-radius: var(--radius-md);
  margin-top: var(--space-lg);
}

.special-offer i {
  color: var(--color-accent);
  font-size: 1.25rem;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  color: var(--color-text);
}

.contact-form h3 {
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.form-group {
  margin-bottom: var(--space-md);
}

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

input,
select,
textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--color-sand-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

textarea {
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: var(--space-md);
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  transition: background var(--transition-base);
}

.submit-btn:hover {
  background: var(--color-primary-dark);
}

/* ===== FOOTER ===== */
.footer {
  padding: var(--space-2xl) 0 var(--space-lg);
  background: linear-gradient(135deg, #1E3D6B 0%, #2F5E9E 100%);
  color: white;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  z-index: 10001;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1rem;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.5);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
}

.lightbox-thumbs {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
  max-width: 80vw;
  overflow-x: auto;
  padding: var(--space-sm);
}

.lightbox-thumbs img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: 0.6;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.lightbox-thumbs img:hover,
.lightbox-thumbs img.active {
  opacity: 1;
  border-color: var(--color-accent);
}

.lightbox-thumbs::-webkit-scrollbar {
  height: 4px;
}

.lightbox-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl);
  border-bottom: 1px solid var(--color-sand-dark);
  background: linear-gradient(135deg, #1E3D6B, #2F5E9E);
  color: white;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: white;
}

.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-base);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.modal-body {
  padding: var(--space-xl);
  overflow-y: auto;
  max-height: calc(80vh - 180px);
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--color-sand-dark);
  border-radius: 4px;
}

.terms-content h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.terms-content h3:first-child {
  margin-top: 0;
}

.terms-content p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.terms-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.terms-content li {
  margin-bottom: var(--space-xs);
  line-height: 1.6;
}

.modal-footer {
  padding: var(--space-md);
  border-top: 1px solid var(--color-sand-dark);
  background: var(--color-sand);
  text-align: center;
}

.modal-btn {
  padding: var(--space-sm) var(--space-xl);
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-base);
}

.modal-btn:hover {
  background: var(--color-primary-dark);
}

/* Terms badge styling */
.footer-badges .badge:last-child {
  cursor: pointer;
  transition: all var(--transition-base);
}

.footer-badges .badge:last-child:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Card click indicator */
.card-image {
  position: relative;
  cursor: pointer;
}

.card-image::after {
  content: '\f03e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  color: white;
  font-size: 2rem;
  opacity: 0;
  transition: all var(--transition-base);
}

.card:hover .card-image::after {
  background: rgba(0, 0, 0, 0.3);
  opacity: 1;
}

.card-photo-count {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-photo-count i {
  font-size: 0.75rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

/* Footer sections equal width */
.footer-section:nth-child(1) {
  grid-column: span 1;
}

.footer-section:nth-child(2) {
  grid-column: span 1;
}

.footer-section:nth-child(3) {
  grid-column: span 1;
}

.footer-section:nth-child(4) {
  grid-column: span 1;
}

.footer-section h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
  color: white;
}

.footer-section p {
  font-size: 0.9375rem;
  opacity: 0.9;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
  opacity: 0.9;
}

.footer-contact i {
  width: 20px;
  color: var(--color-accent);
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: white;
  transition: background var(--transition-base);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-legal p {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: var(--space-xs);
}

.footer-badges {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
/* Tablet: 2 columns for location grid */
@media (min-width: 769px) and (max-width: 1024px) {
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-lg);
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    transition: right var(--transition-base);
    padding: var(--space-xl);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    color: var(--color-text) !important;
    font-size: 1.125rem;
  }

  .header.scrolled .nav-menu a {
    color: var(--color-text);
  }

  .nav-cta {
    padding: var(--space-sm) var(--space-lg);
  }

  .filters {
    gap: var(--space-xs);
  }

  .filter-btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.875rem;
  }

  /* Important: Force single column on mobile */
  .accommodations-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: var(--space-md) !important;
  }

  /* Ensure cards are visible */
  .card {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
  }

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

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

  .about-intro-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .intro-icon {
    justify-content: center;
  }

  .about-section {
    grid-template-columns: 1fr;
    padding: var(--space-md);
  }

  .section-title-col {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  .section-content-col {
    padding-left: 0;
  }

  .about-amenities {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .distance-info {
    flex-direction: column;
  }

  .distance-item {
    width: 100%;
  }

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

  /* Ensure cards display properly on mobile */
  .card {
    min-width: 0;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .contact-btn-fixed {
    bottom: var(--space-sm);
    right: var(--space-sm);
    width: 48px;
    height: 48px;
  }

  /* Mobile: 1 column footer */
  @media (max-width: 600px) {
    .footer-content {
      grid-template-columns: 1fr;
    }
  }
}

/* Mobile Menu Overlay */
@media (max-width: 768px) {
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}
