:root {
  --primary: #EF3038;
  --primary-hover: #D82229;
  --accent: #FF1493;
  --highlight: #F34723;
  --text-dark: #2B2B2B;
  --text-light: #F8F8F8;
  --bg-light: #FFF9F9;
  --bg-white: #FFFFFF;
  --gray-light: #F0F0F0;
  --gray-medium: #CCCCCC;
  --font-main: 'Inter', sans-serif;
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 15px 30px rgba(239, 48, 56, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(239, 48, 56, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 48, 56, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-light);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.header.scrolled {
  padding: 5px 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
}

/* Sections */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7));
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  animation: fadeIn 1s ease-out;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: white;
  font-size: 2rem;
  opacity: 0.8;
}

/* Step Map */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  height: 82%;
  width: 2px;
  background: var(--gray-medium);
  z-index: -1;
}

.step {
  display: flex;
  gap: 20px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease;
}

.step.visible {
  opacity: 1;
  transform: translateX(0);
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.step-content {
  background: var(--bg-white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  flex-grow: 1;
}

.mini-prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.mini-price-card {
  background: var(--bg-white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-top: 4px solid var(--primary);
}

.compact-booking {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 15px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-medium);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(239, 48, 56, 0.1);
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 500;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.carousel-control:hover {
  background: white;
  color: var(--primary);
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-indicators {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

/* Accordion */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--bg-white);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.accordion-header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: var(--transition);
}

.accordion-header:hover {
  color: var(--primary);
}

.accordion-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
}

.accordion-item.active .accordion-content {
  padding: 0 20px 20px;
}

/* Circular About */
.circular-about {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 50px 0;
}

.center-photo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  border: 10px solid var(--bg-white);
}

.bubble {
  position: absolute;
  background: var(--bg-white);
  padding: 15px 25px;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease;
  z-index: 1;
}

.circular-about.visible .bubble {
  opacity: 1;
  transform: scale(1);
}

/* Positions for bubbles will be set via JS/CSS inline or classes */

/* Schedule Table */
.schedule-container {
  overflow-x: auto;
  background: var(--bg-white);
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.schedule-table th, .schedule-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}

.schedule-table th {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.schedule-table tr:hover {
  background-color: var(--bg-light);
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.level-all { background: #e0f2fe; color: #0284c7; }
.level-beg { background: #dcfce7; color: #16a34a; }
.level-int { background: #fef08a; color: #ca8a04; }

/* Price Cards */
.prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.price-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.price-card.popular {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.price-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.price-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.price-features {
  margin-bottom: 30px;
  flex-grow: 1;
}

.price-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Calculator */
.calculator {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.slider-container {
  margin-bottom: 30px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.calc-result {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-top: 20px;
}

/* Infographic */
.infographic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.info-item {
  background: var(--bg-white);
  padding: 25px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

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

.info-icon {
  font-size: 2.5rem;
}

.progress-bar {
  height: 8px;
  background: var(--gray-light);
  border-radius: 4px;
  margin-top: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  width: 0;
  transition: width 1.5s ease-out;
}

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

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Direction Cards */
.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.direction-card {
  background: linear-gradient(145deg, var(--bg-white), var(--bg-light));
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--gray-light);
}

.direction-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.direction-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.modal-content {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal.active .modal-content {
  transform: scale(1);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
}

/* Footer */
.footer {
  background: #1A1A1A;
  color: white;
  padding: 60px 20px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--primary);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: #888;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-white);
  padding: 20px;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
  z-index: 1500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Utilities */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.divider {
  width: 100%;
  height: 1px;
  background: var(--gray-medium);
  margin: 60px 0;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }
  
  .nav.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .header-actions {
    display: none;
  }
  
  .circular-about {
    height: auto;
    flex-direction: column;
    padding: 20px 0;
  }
  
  .center-photo {
    margin-bottom: 30px;
  }
  
  .bubble {
    position: static;
    margin-bottom: 10px;
    opacity: 1;
    transform: none;
    text-align: center;
  }
  
  .price-card.popular {
    transform: none;
  }
  
  .price-card.popular:hover {
    transform: translateY(-10px);
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
}
/* Contacts grid responsive */

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

@media (max-width: 900px) {
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
