/* ================================
   РЕВОЛЮЦИОННЫЙ ДИЗАЙН
   База отдыха "Красная горка"
   ================================ */

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Основная палитра - природные оттенки */
  --primary-green: #425f0f;
  --secondary-green: #5a7f1a;
  --accent-orange: #f27d21;
  --warm-beige: #f2efdf;
  --olive-green: #939c56;
  --forest-dark: #2c3e0d;
  --sage-light: #e8f4d6;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
  --gradient-warm: linear-gradient(135deg, var(--accent-orange) 0%, #ff9147 100%);
  --gradient-hero: linear-gradient(135deg, rgba(66, 95, 15, 0.9) 0%, rgba(90, 127, 26, 0.8) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  
  /* Тени и эффекты */
  --shadow-soft: 0 8px 32px rgba(66, 95, 15, 0.1);
  --shadow-medium: 0 12px 40px rgba(66, 95, 15, 0.15);
  --shadow-strong: 0 20px 60px rgba(66, 95, 15, 0.2);
  --shadow-glow: 0 0 40px rgba(242, 125, 33, 0.3);
  
  /* Типографика */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  /* Анимации */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* Размеры */
  --border-radius: 16px;
  --border-radius-small: 8px;
  --border-radius-large: 24px;
  --container-max: 1200px;
  --section-padding: 120px;
}

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

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--forest-dark);
  background: var(--warm-beige);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* === УТИЛИТЫ === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s var(--ease-smooth);
}

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

.primary-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.primary-btn:active {
  transform: translateY(0);
}

/* === PRELOADER === */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  color: white;
}

.logo-animation {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  animation: logoFloat 2s ease-in-out infinite;
}

.logo-animation img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.loading-text {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 32px;
  opacity: 0.9;
}

.progress-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.progress-fill {
  height: 100%;
  background: var(--accent-orange);
  border-radius: 2px;
  animation: progressLoad 2s ease-in-out;
}

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

@keyframes progressLoad {
  0% { width: 0; }
  100% { width: 100%; }
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  backdrop-filter: blur(20px);
  background: rgba(242, 239, 223, 0.95);
  transition: all 0.3s var(--ease-smooth);
  border-bottom: 1px solid rgba(66, 95, 15, 0.1);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(242, 239, 223, 0.98);
  box-shadow: var(--shadow-soft);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--primary-green);
}

.nav-brand .logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--forest-dark);
  font-weight: 500;
  position: relative;
  transition: all 0.3s var(--ease-smooth);
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--primary-green);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-warm);
  transition: width 0.3s var(--ease-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.booking-btn {
  font-size: 14px;
  padding: 12px 24px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
}

.toggle-line {
  width: 24px;
  height: 2px;
  background: var(--primary-green);
  margin: 3px 0;
  transition: all 0.3s var(--ease-smooth);
}

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

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  z-index: 1;
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.parallax-layer {
  position: absolute;
  width: 120%;
  height: 120%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.layer-1 {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23f27d21" opacity="0.3"><animate attributeName="r" values="2;4;2" dur="3s" repeatCount="indefinite"/></circle></svg>');
  animation: float1 20s ease-in-out infinite;
}

.layer-2 {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="30" cy="70" r="1.5" fill="%23939c56" opacity="0.4"><animate attributeName="r" values="1.5;3;1.5" dur="4s" repeatCount="indefinite"/></circle></svg>');
  animation: float2 25s ease-in-out infinite reverse;
}

.layer-3 {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="30" r="1" fill="%23425f0f" opacity="0.2"><animate attributeName="r" values="1;2.5;1" dur="5s" repeatCount="indefinite"/></circle></svg>');
  animation: float3 30s ease-in-out infinite;
}

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

@keyframes float2 {
  0%, 100% { transform: translateX(5%) translateY(5%); }
  50% { transform: translateX(-5%) translateY(-5%); }
}

@keyframes float3 {
  0%, 100% { transform: translateX(-5%) translateY(5%); }
  50% { transform: translateX(5%) translateY(-5%); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero-text {
  color: white;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 16px;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.highlight {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-orange);
  display: block;
}

.stat-label {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}

.cta-primary {
  background: var(--gradient-warm);
  padding: 18px 36px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius);
  color: white;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-smooth);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}

.cta-primary:active .btn-ripple {
  width: 300px;
  height: 300px;
}

.cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 16px 32px;
  border-radius: var(--border-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s var(--ease-smooth);
  font-weight: 500;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  height: 400px;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: white;
  font-weight: 500;
  transition: all 0.3s var(--ease-smooth);
  cursor: pointer;
}

.floating-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

.floating-card[data-float="1"] {
  top: 80px;
  right: 80px;
  animation: cardFloat1 6s ease-in-out infinite;
}

.floating-card[data-float="2"] {
  top: 200px;
  right: 120px;
  animation: cardFloat2 8s ease-in-out infinite;
}

.floating-card[data-float="3"] {
  top: 320px;
  right: 60px;
  animation: cardFloat3 7s ease-in-out infinite;
}

@keyframes cardFloat1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes cardFloat2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-2deg); }
}

@keyframes cardFloat3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(1deg); }
}

/* === TABLET RESPONSIVE === */
@media (max-width: 1024px) and (min-width: 769px) {
  .floating-card[data-float="1"] {
    top: 70px;
    right: 60px;
  }
  
  .floating-card[data-float="2"] {
    top: 170px;
    right: 90px;
  }
  
  .floating-card[data-float="3"] {
    top: 270px;
    right: 40px;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-line {
  width: 2px;
  height: 30px;
  background: var(--gradient-warm);
  border-radius: 1px;
}

.scroll-text {
  color: white;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

/* === SECTIONS GENERAL === */
section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 24px;
  line-height: 1.2;
}

.section-description {
  font-size: 20px;
  color: var(--olive-green);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === ABOUT SECTION === */
.about {
  background: var(--warm-beige);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="%23425f0f" opacity="0.03"/><circle cx="90" cy="90" r="1.5" fill="%23f27d21" opacity="0.03"/></svg>');
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.text-block {
  margin-bottom: 40px;
}

.text-block h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 16px;
}

.text-block p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--forest-dark);
}

.achievements {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius);
  transition: all 0.3s var(--ease-smooth);
}

.achievement-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-soft);
}

.achievement-icon {
  font-size: 32px;
}

.achievement-text strong {
  display: block;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 4px;
}

.achievement-text span {
  color: var(--olive-green);
  font-size: 14px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.8);
  padding: 32px 24px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: all 0.4s var(--ease-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all 0.4s var(--ease-smooth);
  z-index: -1;
}

.feature-card:hover::before {
  left: 0;
  opacity: 0.05;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-medium);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-light);
  border-radius: 50%;
  font-size: 24px;
}

.feature-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.feature-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--forest-dark);
  line-height: 1.6;
  font-size: 15px;
}

/* === ACCOMMODATIONS SECTION === */
.accommodations {
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--warm-beige) 100%);
}

.accommodations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.accommodation-card {
  background: white;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--ease-smooth);
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  cursor: pointer;
  position: relative;
}

.accommodation-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-strong);
}

.card-image {
  height: 250px;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

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

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

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-warm);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.card-content {
  padding: 20px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  position: relative;
  flex: 1;
}

.card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 8px;
  line-height: 1.3;
  word-wrap: break-word;
  hyphens: auto;
  line-height: 1.3;
  overflow-wrap: break-word;
  hyphens: auto;
}

.card-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 16px;
}

.card-description {
  color: var(--forest-dark);
  line-height: 1.4;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  font-size: 14px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
  max-height: 48px;
  overflow: hidden;
  overflow: hidden;
}

.feature-tag {
  background: var(--sage-light);
  color: var(--primary-green);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.card-capacity {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--olive-green);
  font-size: 14px;
  font-weight: 500;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--sage-light);
}

.pricing-info {
  margin-top: 80px;
  clear: both;
  position: relative;
  z-index: 1;
}

.pricing-info {
  margin-top: 40px;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 32px;
  border-radius: var(--border-radius-large);
  width: 100%;
  max-width: 600px;
  text-align: left;
  box-shadow: var(--shadow-medium);
  margin: 0;
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--primary-green);
  margin-bottom: 24px;
}

.included-list {
  list-style: none;
  text-align: left;
}

.included-list li {
  padding: 8px 0;
  color: var(--forest-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* === SERVICES SECTION === */
.services {
  background: var(--warm-beige);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 32px;
  text-align: center;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-warm);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-smooth);
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.large-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  text-align: left;
  padding: 40px;
}

.service-image {
  width: 80px;
  height: 80px;
  background: var(--sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  transition: all 0.3s var(--ease-smooth);
}

.large-card .service-image {
  margin: 0;
  width: 100px;
  height: 100px;
  font-size: 40px;
}

.service-image img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.large-card .service-image img {
  width: 50px;
  height: 50px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.service-card:hover .service-image {
  transform: scale(1.1) rotate(5deg);
}

.service-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 16px;
}

.large-card .service-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.service-content p {
  color: var(--forest-dark);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-features {
  list-style: none;
  text-align: left;
}

.service-features li {
  padding: 6px 0;
  color: var(--olive-green);
  position: relative;
  padding-left: 20px;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

/* === GALLERY SECTION === */
.gallery {
  background: var(--sage-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  transition: opacity 0.3s var(--ease-smooth);
}

.gallery-item:hover .gallery-overlay {
  opacity: 0.8;
}

/* === CONTACT SECTION === */
.contact {
  background: var(--warm-beige);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-card {
  background: white;
  padding: 32px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-warm);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease-smooth);
}

.contact-card:hover::before {
  transform: scaleY(1);
}

.contact-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-soft);
}

.contact-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 12px;
}

.contact-link {
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: color 0.3s var(--ease-smooth);
}

.contact-link:hover {
  color: var(--primary-green);
}

.contact-card p {
  color: var(--olive-green);
  margin-top: 8px;
  font-size: 14px;
}

/* === BOOKING FORM === */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--primary-green);
  margin-bottom: 32px;
  text-align: center;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  color: var(--forest-dark);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 16px;
  border: 2px solid var(--sage-light);
  border-radius: var(--border-radius-small);
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s var(--ease-smooth);
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(242, 125, 33, 0.1);
}

.submit-btn {
  margin-top: 16px;
  padding: 18px;
  font-size: 16px;
}

/* === FOOTER === */
.footer {
  background: var(--forest-dark);
  color: white;
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: white;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent-orange);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s var(--ease-smooth);
}

.footer-column a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials {
  display: flex;
  gap: 24px;
}

.social-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s var(--ease-smooth);
}

.social-link:hover {
  color: var(--accent-orange);
}

/* === MODALS === */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: var(--border-radius-large);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.4s var(--ease-bounce);
}

@keyframes modalSlideIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--olive-green);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-smooth);
  z-index: 1;
}

.modal-close:hover {
  background: var(--sage-light);
  color: var(--primary-green);
}

.modal-body {
  padding: 40px;
}

/* Booking Modal Styles */
.booking-modal-content h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--primary-green);
  margin-bottom: 16px;
  text-align: center;
}

.booking-modal-content p {
  text-align: center;
  color: var(--olive-green);
  margin-bottom: 32px;
  font-size: 16px;
}

.booking-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-option {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 2px solid var(--sage-light);
  border-radius: var(--border-radius);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease-smooth);
  cursor: pointer;
}

.booking-option:hover {
  border-color: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.booking-option.whatsapp:hover {
  background: rgba(37, 211, 102, 0.05);
}

.booking-option.phone:hover {
  background: rgba(66, 95, 15, 0.05);
}

.booking-option.form:hover {
  background: rgba(242, 125, 33, 0.05);
}

.option-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.option-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 4px;
}

.option-content p {
  color: var(--olive-green);
  font-size: 14px;
  margin: 0;
  text-align: left;
}

/* Gallery Modal */
.gallery-modal .modal-content {
  max-width: 90vw;
  max-height: 90vh;
  background: transparent;
  padding: 0;
}

.gallery-modal-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--border-radius);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.gallery-prev,
.gallery-next {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s var(--ease-smooth);
}

.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .accommodations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-visual {
    height: 300px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .large-card {
    grid-column: span 1;
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .accommodations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--warm-beige);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: left 0.4s var(--ease-smooth);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-toggle {
    display: flex;
    z-index: 1000;
  }
  
  .nav-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .nav-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .accommodations-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .card-content {
    padding: 20px;
    min-height: auto;
  }
  
  .card-title {
    font-size: 20px;
  }
  
  .feature-tag {
    font-size: 10px;
    padding: 3px 6px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 60px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .nav-container {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .floating-card {
    padding: 12px;
    font-size: 12px;
    min-width: 120px;
  }
  
  .floating-card[data-float="1"] {
    top: 60px;
    right: 20px;
  }
  
  .floating-card[data-float="2"] {
    top: 140px;
    right: 40px;
  }
  
  .floating-card[data-float="3"] {
    top: 220px;
    right: 15px;
  }
  
  .modal-body {
    padding: 24px;
  }
  
  .contact-form {
    padding: 24px;
  }
}

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

.no-scroll {
  overflow: hidden;
}

/* === PERFORMANCE OPTIMIZATIONS === */
.accommodation-card,
.service-card,
.feature-card,
.gallery-item {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === PRINT STYLES === */
@media print {
  .navbar,
  .scroll-indicator,
  .floating-card,
  .modal,
  .preloader {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    page-break-after: always;
  }
  
  section {
    padding: 40px 0;
    page-break-inside: avoid;
  }
}