/* ============================================
   RIFUGIO OLTREMARE — Design System
   Mediterranean Vacation Rental
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors — Mediterranean palette */
  --color-primary: #0c4a6e;
  --color-primary-light: #0284c7;
  --color-primary-lighter: #38bdf8;
  --color-primary-dark: #082f49;
  --color-secondary: #c68b3f;
  --color-secondary-light: #d4a574;
  --color-secondary-dark: #a06b2a;
  --color-accent: #0d9488;
  --color-accent-light: #2dd4bf;

  --color-bg: #faf8f5;
  --color-bg-alt: #f0ebe3;
  --color-bg-dark: #1e293b;

  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-text-lighter: #94a3b8;
  --color-white: #ffffff;
  --color-overlay: rgba(8, 47, 73, 0.55);
  --color-overlay-light: rgba(8, 47, 73, 0.3);

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

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

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-slower: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 900px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-primary-dark);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-desc {
  max-width: 600px;
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform var(--transition-base);
}

.btn:hover::after {
  transform: translateX(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(198, 139, 63, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(198, 139, 63, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
}

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

.btn-dark:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
  padding: 0 var(--space-md);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  height: 70px;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 1px;
  transition: color var(--transition-base);
}

.navbar.scrolled .nav-logo {
  color: var(--color-primary-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--transition-base);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.navbar.scrolled .nav-links a {
  color: var(--color-text-light);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--color-primary-dark);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: var(--space-sm);
  padding-left: var(--space-sm);
  border-left: 1px solid rgba(255,255,255,0.3);
}

.navbar.scrolled .lang-switcher {
  border-left-color: rgba(0,0,0,0.15);
}

.lang-switcher a {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-fast);
  text-transform: uppercase;
}

.lang-switcher a:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.15);
}

.lang-switcher a.active-lang {
  color: var(--color-white);
  background: rgba(255,255,255,0.2);
}

.navbar.scrolled .lang-switcher a {
  color: var(--color-text-light);
}

.navbar.scrolled .lang-switcher a:hover {
  color: var(--color-primary);
  background: rgba(12, 74, 110, 0.08);
}

.navbar.scrolled .lang-switcher a.active-lang {
  color: var(--color-primary);
  background: rgba(12, 74, 110, 0.1);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-hamburger span {
  width: 26px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.navbar.scrolled .nav-hamburger span {
  background: var(--color-primary-dark);
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
  overflow: hidden;
}

.hero.loaded .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 47, 73, 0.3) 0%,
    rgba(8, 47, 73, 0.5) 50%,
    rgba(8, 47, 73, 0.7) 100%
  );
}

.hero-overlay-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 47, 73, 0.4) 0%,
    rgba(8, 47, 73, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  padding: 0 var(--space-md);
  width: 100%;
  text-align: center;
}

.hero-content .section-subtitle {
  color: var(--color-secondary-light);
  margin-bottom: var(--space-sm);
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  animation: fadeInUp 1s ease 0.5s both;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  opacity: 0.9;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1s ease 0.7s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.9s both;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-scroll svg {
  width: 30px;
  height: 30px;
  stroke: rgba(255,255,255,0.7);
  stroke-width: 2;
  fill: none;
}

/* Mini hero for subpages */
.hero-mini {
  height: 45vh;
  min-height: 350px;
  overflow: hidden;
}

/* ============================================
   ABOUT / INTRO SECTION
   ============================================ */
.about {
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(8, 47, 73, 0.1));
  pointer-events: none;
}

.about-text p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
  font-size: 1.05rem;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.feature-card {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid rgba(0,0,0,0.04);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(12, 74, 110, 0.08), rgba(13, 148, 136, 0.08));
  border-radius: var(--radius-full);
  font-size: 1.5rem;
}

.feature-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   ROOMS SECTION
   ============================================ */
.rooms {
  background: var(--color-white);
}

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

.room-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  background: var(--color-white);
}

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

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

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

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

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

.room-card-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.room-card-body p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.room-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-sm);
  flex-wrap: wrap;
}

.room-tag {
  font-size: 0.78rem;
  padding: 0.3rem 0.8rem;
  background: rgba(12, 74, 110, 0.06);
  color: var(--color-primary);
  border-radius: 20px;
  font-weight: 500;
}

/* ============================================
   OUTDOOR SECTION
   ============================================ */
.outdoor {
  background: var(--color-bg);
}

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

.outdoor-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  cursor: pointer;
}

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

.outdoor-card:hover img {
  transform: scale(1.08);
}

.outdoor-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(8, 47, 73, 0.75) 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
  transition: background var(--transition-base);
}

.outdoor-card:hover .outdoor-card-overlay {
  background: linear-gradient(transparent 30%, rgba(8, 47, 73, 0.85) 100%);
}

.outdoor-card-overlay h4 {
  color: var(--color-white);
  font-size: 1.4rem;
}

.outdoor-card-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* ============================================
   LOCATION / MAP
   ============================================ */
.location {
  background: var(--color-white);
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-top: var(--space-xl);
}

.location-info {
  padding-right: var(--space-lg);
}

.location-info p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
}

.location-detail {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.location-detail:last-child {
  border-bottom: none;
}

.location-detail-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 74, 110, 0.06);
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.location-detail span {
  font-size: 0.95rem;
  color: var(--color-text);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Full-width map on contacts page */
.map-full {
  margin-top: var(--space-xl);
}

.map-full .map-wrapper {
  border-radius: var(--radius-lg);
  height: 450px;
}

/* ============================================
   GALLERY
   ============================================ */

/* Gallery Image Loading Placeholder */
.gallery-item img {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.gallery-item img[src] {
  animation: none;
  background: none;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.gallery-category {
  margin-bottom: var(--space-3xl);
}

.category-title {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: 1rem;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-dark));
  border-radius: 2px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all var(--transition-base);
}

.gallery-item.hidden {
  display: none;
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 47, 73, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(8, 47, 73, 0.3);
}

.gallery-item-overlay svg {
  width: 36px;
  height: 36px;
  stroke: white;
  stroke-width: 2;
  fill: none;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay svg {
  opacity: 1;
  transform: scale(1);
}

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

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

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-fast);
}

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

.lightbox-close svg {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-nav svg {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ============================================
   GUEST SELECTOR (Visible inline)
   ============================================ */
.guest-selector-visible {
  width: 100%;
  background: var(--color-bg);
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
}

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

.guest-row:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-md);
}

.guest-type-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.guest-type-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
}

.guest-counter {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.guest-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--color-text);
  padding: 0;
}

.guest-btn:hover:not(:disabled) {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.guest-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.guest-count {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
}

.children-ages {
  margin-top: var(--space-md);
  display: none;
}

.children-ages.has-children {
  display: block;
}

.child-age-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  animation: fadeInUp 0.3s ease;
}

.child-age-row:not(:last-child) {
  margin-bottom: var(--space-sm);
}

.child-age-label {
  font-size: 0.85rem;
  color: var(--color-text);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.child-age-select {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.child-age-select {
  padding: 0.5rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  min-width: 100px;
  transition: all var(--transition-fast);
}

.child-age-select:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact {
  background: var(--color-bg);
}

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

.contact-form {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

.form-group select {
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-lighter);
}

.form-status {
  margin-top: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Contact Info Sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-card {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

.contact-info-card:hover {
  transform: translateY(-3px);
}

.contact-info-card .card-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  font-size: 1.3rem;
}

.contact-info-card h4 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.contact-info-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.contact-info-card a {
  color: var(--color-primary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.contact-info-card a:hover {
  color: var(--color-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-2xl) 0 var(--space-lg);
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 350px;
}

.footer h5 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer-links a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-secondary-light);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
}

.footer-contact-item span:first-child {
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-langs {
  display: flex;
  gap: var(--space-sm);
}

.footer-bottom-langs a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition-fast);
}

.footer-bottom-langs a:hover {
  color: var(--color-secondary-light);
}

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

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger animation delay for children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .outdoor-grid .outdoor-card:last-child {
    grid-column: span 2;
  }

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

  .location-info {
    padding-right: 0;
  }

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

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

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

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--color-primary-dark);
    flex-direction: column;
    padding: calc(var(--nav-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
    transition: right var(--transition-base);
    box-shadow: var(--shadow-xl);
    z-index: 999;
  }

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

  .nav-links {
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;
  }

  .nav-links a {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85) !important;
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.15);
  }

  .lang-switcher a {
    color: rgba(255,255,255,0.6) !important;
  }

  .lang-switcher a.active-lang {
    color: var(--color-white) !important;
    background: rgba(255,255,255,0.15) !important;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
  }

  .mobile-overlay.active {
    display: block;
  }

  .hero {
    min-height: 500px;
    padding-bottom: 3rem;
  }

  .hero-mini {
    min-height: 280px;
    height: 35vh;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .about-image img {
    height: 300px;
  }

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

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

  .room-card-image {
    height: 250px;
  }

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

  .outdoor-grid .outdoor-card:last-child {
    grid-column: span 1;
  }

  .outdoor-card {
    height: 280px;
  }

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

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

  .contact-form {
    padding: var(--space-md);
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev { left: 0.75rem; }
  .lightbox-next { right: 0.75rem; }
}

/* Small mobile */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-filters {
    gap: 0.3rem;
  }

  .filter-btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.78rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   LEGAL NOTES PAGE
   ============================================ */
.legal-notes {
  background: var(--color-white);
  padding: var(--space-3xl) 0;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-md);
  color: var(--color-primary-dark);
}

.legal-content h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.legal-content h4 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.legal-content p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.legal-list {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-list li {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
  padding-left: var(--space-sm);
}

.legal-list li::marker {
  color: var(--color-secondary);
}
