/* ===== CSS VARIABLES ===== */
:root {
  /* Colors - Nature-inspired palette */
  --primary-blue: #2E86AB;
  --light-blue: #A23B72;
  --dark-blue: #1B4965;
  --night-blue: #0F2027;
  --forest-green: #2D5016;
  --accent-green: #61A5C2;
  --sand-beige: #F18F01;
  --light-sand: #C73E1D;
  --white: #FFFFFF;
  --dark-text: #2C3E50;
  --light-text: #ECF0F1;
  
  /* Typography */
  --font-heading: 'Merriweather', serif;
  --font-body: 'Inter', sans-serif;
  --font-size-h1: 3.5rem;
  --font-size-h2: 2.5rem;
  --font-size-h3: 1.8rem;
  --font-size-body: 1rem;
  --font-size-small: 0.875rem;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  
  /* Layout */
  --container-max-width: 1200px;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 1.6;
  color: #F8F9FA;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ===== ANIMATED BACKGROUND ===== */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  opacity: 1;
  transition: opacity 0.3s ease;
}


/* Global blur overlay for seamless effect */
.video-blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  z-index: -2;
  pointer-events: none;
}

/* Hide video on very slow connections or if it fails to load */
.video-background.hidden {
  opacity: 0;
}

.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(135deg, #87CEEB 0%, #4682B4 50%, #191970 100%);
  transition: background 0.1s ease-out;
  opacity: 0.3;
}

/* Fallback when video is not available */
.no-video .animated-bg {
  opacity: 1;
}

.no-video .video-blur-overlay {
  backdrop-filter: none;
}

/* Loading state */
.video-loading .animated-bg {
  opacity: 0.8;
}

/* Video ready state */
.video-ready .animated-bg {
  opacity: 0.3;
}

.sun-moon {
  position: fixed;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  z-index: 0; 
  transition: all 0.1s ease-out;
  background: radial-gradient(circle at 30% 30%, #FFEB3B 0%, #FFD700 30%, #FFA726 60%, rgba(255, 167, 38, 0.3) 90%, transparent 100%);
  box-shadow: 0 0 80px rgba(255, 235, 59, 0.3), 0 0 120px rgba(255, 215, 0, 0.15);
  top: 50%;
  left: 15%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  filter: blur(3px); 
}


/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ===== COMMON SECTION TITLE ===== */
.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  color: #F8F9FA;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  letter-spacing: -0.5px;
  position: relative;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
  border-radius: 2px;
}

/* START: Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  padding: var(--spacing-sm) 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--box-shadow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.logo-image {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: var(--transition);
}

.logo-image:hover {
  transform: scale(1.05);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  transition: var(--transition);
}

.logo:hover .logo-text {
  color: var(--dark-blue);
}

.logo-image:hover {
  transform: scale(1.05);
}

.nav {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
}

.nav a {
  text-decoration: none;
  color: #2C3E50;
  font-weight: 500;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--primary-blue);
}

.cta-button {
  background: var(--sand-beige);
  color: var(--white);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.cta-button:hover {
  background: var(--light-sand);
  transform: translateY(-2px);
}

.header-phone {
  display: flex;
  align-items: center;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  text-decoration: none;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.95rem;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid transparent;
}

.phone-link:hover {
  background: rgba(46, 134, 171, 0.1);
  border-color: var(--primary-blue);
  transform: translateY(-1px);
}

.phone-link svg {
  flex-shrink: 0;
  color: var(--primary-blue);
}

.phone-link span {
  white-space: nowrap;
}
/* END: Header Styles */

/* START: Hero Section Styles */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding-top: 80px;
  background: rgba(0, 0, 0, 0.7); 
}

.hero .container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.hero .hero-content h1 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h1);
  font-weight: 600;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 800px;
  margin: 0 auto var(--spacing-md) auto !important;
  text-align: center !important;
  display: block;
  width: 100%;
}

.hero .hero-content p {
  font-size: 1.3rem;
  color: var(--light-text);
  max-width: 700px;
  margin: 0 auto var(--spacing-lg) auto !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-align: center !important;
  display: block;
  width: 100%;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--sand-beige);
  color: var(--white);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  border: 2px solid var(--sand-beige);
}

.btn-primary:hover {
  background: transparent;
  color: var(--sand-beige);
  transform: translateY(-3px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--dark-text);
  transform: translateY(-3px);
}
/* END: Hero Section Styles */

/* START: Putorana Description Section */
.putorana-description {
  padding: var(--spacing-xl) 0;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.putorana-description::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/><circle cx="50" cy="10" r="0.5" fill="%23000" opacity="0.03"/><circle cx="20" cy="80" r="0.5" fill="%23000" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.putorana-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.putorana-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  color: #F8F9FA;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  letter-spacing: -0.5px;
  position: relative;
}

.putorana-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
  border-radius: 2px;
}

.putorana-subtitle {
  font-size: 1.2rem;
  color: #E9ECEF;
  line-height: 1.7;
  font-weight: 400;
  font-style: italic;
  margin-top: var(--spacing-lg);
}

.putorana-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.feature-card {
/*  background: rgba(255, 255, 255, 0.8);*/
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: var(--spacing-lg);
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 134, 171, 0.05) 0%, rgba(97, 165, 194, 0.05) 100%);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
  transition: transform 0.6s ease;
}

.feature-card:hover .feature-icon::before {
  transform: rotate(45deg) translateX(100%);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: #F8F9FA;
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.feature-description {
  color: #CED4DA;
  line-height: 1.6;
  font-size: 1rem;
}



/* Mobile responsiveness for Putorana section */
@media (max-width: 768px) {
  .putorana-title {
    font-size: 2.2rem;
  }
  
  .putorana-features {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .putorana-title {
    font-size: 1.8rem;
  }
  
  .feature-card {
    padding: var(--spacing-md);
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  
  .feature-icon svg {
    width: 32px;
    height: 32px;
  }
}
/* END: Putorana Description Section */

/* START: Phrase Divider Styles */
.phrase-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: var(--spacing-md) 0;
  padding: var(--spacing-sm) 0;
}

.divider-line {
  width: 40px;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 1px;
  position: relative;
  transition: all 0.3s ease;
}

.divider-dot {
  width: 8px;
  height: 8px;
  background: var(--sand-beige);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px rgba(241, 143, 1, 0.3);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(241, 143, 1, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(241, 143, 1, 0.5);
  }
}

/* Hover effect for the entire divider */
.phrase-divider:hover .divider-line {
  width: 50px;
  background: var(--dark-blue);
}

.phrase-divider:hover .divider-dot {
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(241, 143, 1, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .phrase-divider {
    gap: 8px;
  }
  
  .divider-line {
    width: 30px;
  }
  
  .phrase-divider:hover .divider-line {
    width: 35px;
  }
}

@media (max-width: 480px) {
  .phrase-divider {
    gap: 6px;
    margin: var(--spacing-sm) 0;
  }
  
  .divider-line {
    width: 25px;
    height: 1.5px;
  }
  
  .divider-dot {
    width: 6px;
    height: 6px;
  }
  
  .phrase-divider:hover .divider-line {
    width: 30px;
  }
}
/* END: Phrase Divider Styles */

/* START: Putorana Footer Section Styles */
.putorana-footer {
  padding: var(--spacing-lg) 0;
  text-align: center;
  position: relative;
}

.putorana-footer .footer-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: block !important;
  grid-template-columns: none !important;
  text-align: center;
}

.putorana-footer .footer-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /*gap: var(--spacing-sm);*/
  width: 100%;
  text-align: center;
}

.putorana-footer .footer-text h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
  text-align: center;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.putorana-footer .footer-text p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.5;
  text-align: center;
  font-style: italic;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow-wrap: break-word;
  word-break: keep-all;
}

/* Responsive adjustments for putorana-footer */
@media (max-width: 1024px) {
  .putorana-footer .footer-content {
    max-width: 900px;
    display: block !important;
    grid-template-columns: none !important;
  }
}

@media (max-width: 768px) {
  .putorana-footer {
    padding: var(--spacing-md) 0;
  }
  
  .putorana-footer .footer-content {
    max-width: 100%;
    display: block !important;
    grid-template-columns: none !important;
  }
  
  .putorana-footer .footer-text h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    white-space: normal;
    word-break: normal;
  }
  
  .putorana-footer .footer-text p {
    font-size: 1rem;
    white-space: normal;
    word-break: normal;
  }
}

@media (max-width: 480px) {
  .putorana-footer .footer-content {
    padding: 0 var(--spacing-sm);
    max-width: 100%;
    display: block !important;
    grid-template-columns: none !important;
  }
  
  .putorana-footer .footer-text h3 {
    font-size: 1.3rem;
    line-height: 1.4;
    white-space: normal;
    word-break: normal;
  }
  
  .putorana-footer .footer-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: normal;
    word-break: normal;
  }
}
/* END: Putorana Footer Section Styles */

/* START: Tours Section Styles */
.tours {
  padding: var(--spacing-xl) 0;
  background: rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 1;
}

.tours .section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  color: #F8F9FA;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  letter-spacing: -0.5px;
  position: relative;
  text-align: center;
}

.tours .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
  border-radius: 2px;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.tour-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tour-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 134, 171, 0.05) 0%, rgba(97, 165, 194, 0.05) 100%);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tour-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.tour-card:hover::before {
  opacity: 1;
}

.tour-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.tour-card:hover .tour-image {
  transform: scale(1.05);
}

.tour-content {
  padding: var(--spacing-md);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #2C3E50;
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  font-weight: 600;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-description {
  color: #495057;
  margin-bottom: var(--spacing-md);
  line-height: 1.5;
  font-size: 0.95rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.5em;
}

.tour-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm) 0;
  border-top: 1px solid rgba(46, 134, 171, 0.1);
  border-bottom: 1px solid rgba(46, 134, 171, 0.1);
  flex-shrink: 0;
}

.tour-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.tour-duration {
  color: #6C757D;
  font-size: var(--font-size-small);
  font-weight: 500;
  text-align: right;
}

.tour-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: auto;
}

.tour-button-details,
.tour-button-book {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  min-height: 42px;
  text-align: center;
  line-height: 1.2;
}

.tour-button-details {
  background: var(--primary-blue);
  color: var(--white);
}

.tour-button-details:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
}

.tour-button-book {
  background: var(--sand-beige);
  color: var(--white);
}

.tour-button-book:hover {
  background: var(--light-sand);
  transform: translateY(-2px);
}

/* Mobile responsiveness for tours */
@media (max-width: 1200px) {
  .tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tours .section-title {
    font-size: 2.2rem;
  }
  
  .tours-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .tour-title {
    font-size: 1.2rem;
    min-height: auto;
  }
  
  .tour-description {
    font-size: 0.9rem;
    min-height: auto;
    -webkit-line-clamp: 2;
  }
  
  .tour-price {
    font-size: 1.2rem;
  }
  
  .tour-button-details,
  .tour-button-book {
    min-height: 40px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .tours .section-title {
    font-size: 1.8rem;
  }
  
  .tour-content {
    padding: var(--spacing-sm);
  }
}
/* END: Tours Section Styles */

/* START: CTA Section Styles */
.cta-section {
  padding: var(--spacing-xl) 0;
  background: rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 1;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-md);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}
/* END: CTA Section Styles */

/* ===== FAQ TABS STYLES ===== */
.faq-tabs {
    margin-bottom: var(--spacing-xl);
}

.faq-tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--spacing-md);
}

.faq-tab-button {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #E9ECEF;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    min-height: 44px;
}

.faq-tab-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.faq-tab-button.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(46, 134, 171, 0.3);
}

.faq-tab-button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.faq-tab-content {
    display: none;
}

.faq-tab-content.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.faq-items {
    display: grid;
    gap: var(--spacing-md);
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.faq-question {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.faq-question:hover::before {
    left: 100%;
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
}

.faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--spacing-sm);
}

.faq-toggle::after {
    content: '+';
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(180deg);
}

.faq-item.active .faq-toggle::after {
    content: '−';
}

.faq-answer {
    padding: 0 var(--spacing-lg);
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
}

.faq-item.active .faq-answer {
    padding: var(--spacing-lg);
    max-height: 500px;
}

.faq-answer p {
    color: var(--dark-text);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* Mobile responsiveness for FAQ tabs */
@media (max-width: 768px) {
    .faq-tab-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .faq-tab-button {
        justify-content: center;
        text-align: center;
        font-size: 0.85rem;
        padding: var(--spacing-sm);
    }
    
    .faq-question {
        font-size: 1rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .faq-answer {
        padding: 0 var(--spacing-md);
    }
    
    .faq-item.active .faq-answer {
        padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .faq-tab-button {
        font-size: 0.8rem;
        padding: var(--spacing-xs) var(--spacing-sm);
        min-height: 40px;
    }
    
    .faq-tab-button svg {
        width: 16px;
        height: 16px;
    }
}

/* Animation for tab content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Counter Badge */
.faq-counter {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: var(--spacing-xs);
    font-weight: 600;
}

.faq-tab-button.active .faq-counter {
    background: rgba(255, 255, 255, 0.3);
}

/* Search FAQ */
.faq-search {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.faq-search-input {
    width: 100%;
    max-width: 400px;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.2);
}

/* No results message */
.faq-no-results {
    text-align: center;
    padding: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.faq-no-results svg {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-md);
    opacity: 0.5;
}

/* FAQ Search Highlight */
.faq-highlight {
    background: var(--sand-beige);
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}
/* END: FAQ TABS STYLES */

/* ===== MODAL STYLES ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease;
}

.modal-content {
  background: var(--white);
  margin: var(--spacing-md);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 500px;
  max-height: 85vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-sm);
/*  padding-bottom: var(--spacing-md);*/
  border-bottom: 1px solid #eee;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  color: var(--dark-text);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  background: #f5f5f5;
  color: var(--dark-text);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-label {
  font-weight: 600;
  color: var(--dark-text);
  font-size: var(--font-size-small);
}

.form-input,
.form-select,
.form-textarea {
  padding: var(--spacing-sm);
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Checkbox Styles for Privacy Consent */
.form-checkbox-group {
  margin-bottom: var(--spacing-sm);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xs);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--dark-text);
}

.form-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  background: white;
  position: relative;
  transition: all 0.3s ease;
  margin-top: 2px;
}

.form-checkbox:checked + .checkbox-custom {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
}

.form-checkbox:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-checkbox:focus + .checkbox-custom {
  box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.2);
}

.checkbox-text {
  flex: 1;
}

.privacy-link {
  color: var(--primary-blue);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.privacy-link:hover {
  color: var(--dark-blue);
}

/* Mobile styles for checkbox */
@media (max-width: 768px) {
  .form-checkbox-label {
    font-size: 0.85rem;
    gap: var(--spacing-xs);
  }
  
  .checkbox-custom {
    width: 18px;
    height: 18px;
  }
  
  .form-checkbox:checked + .checkbox-custom::after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
  }
}

.form-submit {
  background: var(--primary-blue);
  color: var(--white);
  padding: var(--spacing-md) var(--spacing-lg);
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--font-size-body);
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
}

.form-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.form-loading {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  color: var(--primary-blue);
  font-weight: 600;
}

.form-loading.show {
  display: flex;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #e0e0e0;
  border-top: 2px solid var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.form-message {
  padding: var(--spacing-sm);
  border-radius: var(--border-radius);
  margin-top: var(--spacing-sm);
  font-weight: 500;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.form-message.show {
  display: block;
}

/* Animations */
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideIn {
  from { 
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .modal-content {
    margin: var(--spacing-sm);
    padding: var(--spacing-lg);
    max-height: 90vh;
    overflow: hidden;
  }
  
  .modal-title {
    font-size: 1.5rem;
  }
}
@media (max-width: 768px) {
  :root {
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
  }
  
  .header-content {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .nav {
    gap: var(--spacing-sm);
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .tours-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .sun-moon {
    width: 80px;
    height: 80px;
    opacity: 0.5;
    filter: blur(2px); 
  }
  
  /* Adjust sun position for mobile */
  .sun-moon {
    left: 10% !important;
  }
  
  /* Reduce video quality on mobile for performance */
  .video-background {
    filter: blur(0.5px);
  }
  
  /* Reduce blur intensity on mobile */
  .video-blur-overlay {
    backdrop-filter: blur(6px);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1rem;
  }
  
  /* Further optimize video for very small screens */
  .video-background {
    filter: blur(1px);
  }
  
  /* Further reduce blur on very small screens */
  .video-blur-overlay {
    backdrop-filter: blur(4px);
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .video-background {
    display: none;
  }
  
  .video-blur-overlay {
    backdrop-filter: none;
  }
  
  .animated-bg {
    opacity: 1 !important;
  }
  
  .sun-moon {
    transition: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .animated-bg {
    opacity: 0.8;
  }
}
/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  :root {
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
  }
  
  .header-content {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .nav {
    gap: var(--spacing-sm);
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .tours-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  
  .sun-moon {
    width: 80px;
    height: 80px;
    opacity: 0.5;
    filter: blur(2px);
  }
  
  .sun-moon {
    left: 10% !important;
  }
  
  .video-background {
    filter: blur(0.5px);
  }
  
  .video-blur-overlay {
    backdrop-filter: blur(6px);
  }
  
  
  /* Modal responsive styles */
  .modal-content {
    margin: var(--spacing-sm);
    padding: var(--spacing-lg);
    max-height: 90vh;
    overflow: hidden;
  }
  
  .modal-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1rem;
  }
  
  /* Further optimize video for very small screens */
  .video-background {
    filter: blur(1px);
  }
  
  /* Further reduce blur on very small screens */
  .video-blur-overlay {
    backdrop-filter: blur(4px);
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .video-background {
    display: none;
  }
  
  .video-blur-overlay {
    backdrop-filter: none;
  }
  
  .animated-bg {
    opacity: 1 !important;
  }
  
  .sun-moon {
    transition: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .animated-bg {
    opacity: 0.8;
  }
}
/* Hero content styles with high specificity */
section.hero div.container div.hero-content p {
  font-size: 1.3rem;
  color: var(--light-text);
  max-width: 700px;
  margin: 0 auto var(--spacing-lg) auto !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-align: center !important;
  display: block;
  width: 100%;
}

section.hero div.container div.hero-content h1 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h1);
  font-weight: 600;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 800px;
  margin: 0 auto var(--spacing-md) auto !important;
  text-align: center !important;
  display: block;
  width: 100%;
}
/* ===== TOUR DETAILS PAGE STYLES ===== */
.tour-details {
  padding: var(--spacing-md) 0;
  background: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 1;
}

.tour-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  align-items: center;
}

.tour-images {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  justify-self: center;
  align-self: center;
}

.tour-main-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.tour-main-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tour-main-image:hover img {
  transform: scale(1.05);
}

.tour-quick-info {
  background: white;
  border-radius: 16px;
  padding: var(--spacing-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(46, 134, 171, 0.1);
}

.quick-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.info-item {
  padding: var(--spacing-sm);
  border-radius: var(--border-radius);
  background: rgba(46, 134, 171, 0.05);
  border-left: 3px solid var(--primary-blue);
}

.info-item.price-item {
  grid-column: 1 / -1; 
  background: linear-gradient(135deg, rgba(241, 143, 1, 0.1), rgba(241, 143, 1, 0.05));
  border-left: 3px solid var(--sand-beige);
  text-align: center;
}

.info-label {
  font-size: var(--font-size-small);
  color: #6C757D;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
}

.info-value {
  font-weight: 600;
  color: var(--dark-text);
  font-size: 1rem;
}

.info-value.price {
  font-size: 1.4rem;
  color: var(--primary-blue);
}

.booking-actions {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(46, 134, 171, 0.1);
}

.tour-sections {
  display: grid;
  gap: var(--spacing-md);
}

.tour-section {
  background: white;
  border-radius: 16px;
  padding: var(--spacing-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(46, 134, 171, 0.1);
}

.tour-section .section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: var(--spacing-lg);
  position: relative;
  text-align: left;
}

.tour-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
  border-radius: 2px;
}

/* Plan Section Styles */
.plan-list {
  display: grid;
  gap: var(--spacing-sm);
}

.plan-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  background: linear-gradient(135deg, rgba(46, 134, 171, 0.08) 0%, rgba(97, 165, 194, 0.05) 100%);
  border-radius: 12px;
  border-left: 4px solid var(--primary-blue);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.plan-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 134, 171, 0.1) 0%, rgba(97, 165, 194, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.plan-item:hover {
  background: rgba(46, 134, 171, 0.12);
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(46, 134, 171, 0.15);
  border-left-color: var(--sand-beige);
}

.plan-item:hover::before {
  opacity: 1;
}

.plan-number {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(46, 134, 171, 0.3);
  transition: all 0.3s ease;
}

.plan-item:hover .plan-number {
  background: linear-gradient(135deg, var(--sand-beige), var(--light-sand));
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(241, 143, 1, 0.4);
}

.plan-content {
  color: var(--dark-text);
  line-height: 1.7;
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.plan-content strong,
.plan-content b {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Add special styling for first and last items */
.plan-item:first-child {
  border-left-color: var(--forest-green);
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.08) 0%, rgba(45, 80, 22, 0.05) 100%);
}

.plan-item:first-child .plan-number {
  background: linear-gradient(135deg, var(--forest-green), #4a7c59);
}

.plan-item:first-child:hover {
  border-left-color: var(--forest-green);
}

.plan-item:last-child {
  border-left-color: var(--light-sand);
  background: linear-gradient(135deg, rgba(241, 143, 1, 0.08) 0%, rgba(241, 143, 1, 0.05) 100%);
}

.plan-item:last-child .plan-number {
  background: linear-gradient(135deg, var(--sand-beige), var(--light-sand));
}

.plan-item:last-child:hover {
  border-left-color: var(--light-sand);
}

/* Add icons for different types of activities */
.plan-item[data-activity="arrival"]::after,
.plan-item[data-activity="departure"]::after,
.plan-item[data-activity="activity"]::after {
  content: '';
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 24px;
  height: 24px;
  background-size: contain;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.plan-item:hover[data-activity]::after {
  opacity: 0.6;
}

/* Mobile responsiveness for plan */
@media (max-width: 768px) {
  .plan-item {
    padding: var(--spacing-sm) var(--spacing-md);
    gap: var(--spacing-sm);
  }
  
  .plan-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .plan-content {
    font-size: 1rem;
  }
}

/* Cost Details Styles */
.cost-details {
  display: grid;
  gap: var(--spacing-lg);
}

.cost-header {
  text-align: center;
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  color: white;
  border-radius: var(--border-radius);
}

.cost-header h3 {
  font-size: 1.4rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.contact-note {
  opacity: 0.9;
  font-style: italic;
}

.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.cost-column {
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.cost-column:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cost-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid;
}

.cost-subtitle.included {
  color: var(--forest-green);
  border-color: var(--forest-green);
}

.cost-subtitle.not-included {
  color: var(--light-sand);
  border-color: var(--light-sand);
}

.cost-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cost-list li {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: var(--spacing-lg);
  line-height: 1.5;
  color: var(--dark-text);
}

.cost-list li:last-child {
  border-bottom: none;
}

.cost-list.included li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--forest-green);
  font-weight: bold;
  font-size: 1.1rem;
}

.cost-list.not-included li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--light-sand);
  font-weight: bold;
  font-size: 1.1rem;
}

/* What to Bring Styles */
.bring-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.bring-category {
  background: white;
  border-radius: 12px;
  padding: var(--spacing-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}



.bring-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: all 0.3s ease;
}

.bring-category.required {
  border-color: rgba(220, 53, 69, 0.2);
}

.bring-category.required::before {
  background: linear-gradient(90deg, #dc3545, #c82333);
}

.bring-category.required:hover {
  border-color: rgba(220, 53, 69, 0.4);
  box-shadow: 0 8px 24px rgba(220, 53, 69, 0.15);
}



.bring-category.comfort {
  border-color: rgba(0, 123, 255, 0.2);
}

.bring-category.comfort::before {
  background: linear-gradient(90deg, #007bff, #0056b3);
}

.bring-category.comfort:hover {
  border-color: rgba(0, 123, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.15);
}



.category-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.category-icon svg {
  width: 20px;
  height: 20px;
}

.bring-category.required .category-icon {
  color: #dc3545;
}



.bring-category.comfort .category-icon {
  color: #007bff;
}



.category-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-text);
  margin: 0;
}

.category-items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.bring-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-xs) 0;
  transition: all 0.3s ease;
}

.bring-item:hover {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 6px;
/*  padding-left: var(--spacing-xs);*/
  padding-right: var(--spacing-xs);
}

.item-bullet {
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.bring-category.required .item-bullet {
  color: #dc3545;
}



.bring-category.comfort .item-bullet {
  color: #007bff;
}



.item-text {
  color: var(--dark-text);
  line-height: 1.5;
  font-weight: 500;
}

/* Mobile responsiveness for bring categories */
@media (max-width: 1200px) {
  .bring-categories {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .bring-categories {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .bring-category {
    padding: var(--spacing-md);
  }
  
  .category-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .bring-category {
    padding: var(--spacing-sm);
  }
}

/* Important Information Styles */
.important-info {
  display: grid;
  gap: var(--spacing-lg);
}

.info-block {
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  background: rgba(46, 134, 171, 0.05);
  border-left: 4px solid var(--primary-blue);
}

.info-block.warning {
  background: rgba(241, 143, 1, 0.1);
  border-left-color: var(--sand-beige);
}

.info-block h4 {
  color: var(--dark-text);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.info-block p {
  color: var(--dark-text);
  line-height: 1.6;
  margin: 0;
}

/* Booking CTA Styles */
.booking-cta {
  margin-top: var(--spacing-md);
  padding: var(--spacing-xl);
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  border-radius: 16px;
  text-align: center;
  color: white;
}

.cta-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  font-weight: 600;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: 1rem;
  min-width: 180px;
}

/* Related Tours Section */
.related-tours {
  padding: var(--spacing-xl) 0;
  background: rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 1;
}

.related-tours .section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  color: #F8F9FA;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  letter-spacing: -0.5px;
  position: relative;
  text-align: center;
}

.related-tours .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
  border-radius: 2px;
}

.related-tours .tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.related-tours .tour-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.related-tours .tour-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 134, 171, 0.05) 0%, rgba(97, 165, 194, 0.05) 100%);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.related-tours .tour-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.related-tours .tour-card:hover::before {
  opacity: 1;
}

.related-tours .tour-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.related-tours .tour-card:hover .tour-image {
  transform: scale(1.05);
}

.related-tours .tour-content {
  padding: var(--spacing-md);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.related-tours .tour-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #2C3E50;
  margin-bottom: var(--spacing-xs);
  line-height: 1.3;
  min-height: 2.6em;
}

.related-tours .tour-description {
  color: #495057;
  margin-bottom: var(--spacing-sm);
  line-height: 1.5;
  font-size: 0.9rem;
  flex-grow: 1;
  min-height: 3.6em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-tours .tour-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-xs) 0;
  border-top: 1px solid rgba(46, 134, 171, 0.1);
  border-bottom: 1px solid rgba(46, 134, 171, 0.1);
  flex-shrink: 0;
}

.related-tours .tour-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.related-tours .tour-duration {
  color: #6C757D;
  font-size: 0.8rem;
  font-weight: 500;
}

.related-tours .tour-buttons {
  display: flex;
  gap: var(--spacing-xs);
  margin-top: auto;
}

.related-tours .tour-button-details,
.related-tours .tour-button-book {
  flex: 1;
  padding: var(--spacing-xs) var(--spacing-sm);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  min-height: 36px;
}

.related-tours .tour-button-details {
  background: var(--primary-blue);
  color: var(--white);
}

.related-tours .tour-button-details:hover {
  background: var(--dark-blue);
  transform: translateY(-1px);
}

.related-tours .tour-button-book {
  background: var(--sand-beige);
  color: var(--white);
}

.related-tours .tour-button-book:hover {
  background: var(--light-sand);
  transform: translateY(-1px);
}

/* Mobile Responsiveness for Tour Details */
@media (max-width: 768px) {
  .tour-overview {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .quick-info-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .cost-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .bring-list {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .tour-section .section-title {
    font-size: 1.6rem;
  }
  
  .cta-content h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .tour-details {
    padding: var(--spacing-lg) 0;
  }
  
  .tour-section {
    padding: var(--spacing-md);
  }
  
  .booking-cta {
    padding: var(--spacing-lg);
  }
  
  .plan-item {
    flex-direction: column;
    text-align: center;
  }
  
  .plan-number {
    align-self: center;
  }
}
/* Contact Info Block Styles */
.contact-info-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
  flex-wrap: wrap;
}

.contact-note {
  opacity: 0.9;
  font-style: italic;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.btn-contact-telegram {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: #0088cc;
  color: white;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid #0088cc;
  white-space: nowrap;
}

.btn-contact-telegram:hover {
  background: #006699;
  border-color: #006699;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.btn-contact-telegram svg {
  flex-shrink: 0;
}

/* Mobile responsiveness for contact info */
@media (max-width: 768px) {
  .contact-info-block {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }
  
  .contact-note {
    min-width: auto;
  }
  
  .btn-contact-telegram {
    align-self: center;
  }
}
/* Tour Gallery Styles */
.tour-gallery {
  position: relative;
}

.gallery-thumbnails {
  display: flex;
  gap: var(--spacing-sm);
  overflow-x: auto;
  padding: var(--spacing-xs) 0;
  scroll-behavior: smooth;
  justify-content: center;
}

.gallery-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 2px;
}

.thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.thumbnail:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

.thumbnail.active {
  border-color: var(--sand-beige);
  box-shadow: 0 4px 12px rgba(241, 143, 1, 0.3);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumbnail:hover img {
  transform: scale(1.1);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--primary-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.gallery-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.gallery-prev {
  left: -20px;
}

.gallery-next {
  right: -20px;
}

/* Hide navigation arrows if not enough images */
.tour-gallery:not(.has-multiple-images) .gallery-nav {
  display: none;
}

/* Mobile responsiveness for gallery */
@media (max-width: 768px) {
  .tour-images {
    gap: var(--spacing-sm);
  }
  
  .tour-main-image img {
    height: 300px;
  }
  
  .thumbnail {
    width: 60px;
    height: 45px;
  }
  
  .gallery-nav {
    width: 32px;
    height: 32px;
  }
  
  .gallery-prev {
    left: -16px;
  }
  
  .gallery-next {
    right: -16px;
  }
}
/* Mobile responsiveness for related tours */
@media (max-width: 1200px) {
  .related-tours .tours-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .related-tours .tours-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }
  
  .related-tours .tour-image {
    height: 150px;
  }
  
  .related-tours .tour-content {
    padding: var(--spacing-sm);
  }
  
  .related-tours .tour-title {
    font-size: 1.1rem;
  }
  
  .related-tours .tour-description {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
    min-height: 2.4em;
  }
}

@media (max-width: 480px) {
  .related-tours .tours-grid {
    grid-template-columns: 1fr;
  }
  
  .related-tours .tour-buttons {
    flex-direction: column;
    gap: var(--spacing-xs);
  }
  
  .related-tours .tour-button-details,
  .related-tours .tour-button-book {
    min-height: 40px;
    font-size: 0.9rem;
  }
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    fill: white;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}
/* ===== ABOUT SECTION ===== */
.about-section {
    padding: var(--spacing-xl) 0;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/><circle cx="50" cy="10" r="0.5" fill="%23000" opacity="0.03"/><circle cx="20" cy="80" r="0.5" fill="%23000" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-section .section-title {
    white-space: nowrap;
}

.stats-grid {
    display: grid;
    gap: var(--spacing-lg);
}

.stat-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 50%;
}

.stat-icon.experience {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

.stat-icon.clients {
    background: linear-gradient(135deg, var(--accent-green) 0%, #1e5f3a 100%);
}

.stat-icon.safety {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%);
}

.stat-number {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.stat-content {
    flex: 1;
}

.stat-title {
    margin-bottom: var(--spacing-xs);
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.stat-description {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.5;
    font-size: 0.95rem;
}

.about-image {
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Mobile responsiveness for about section */
@media (max-width: 1200px) {
    .about-content {
        gap: var(--spacing-lg);
    }
    
    .stat-icon {
        width: 55px;
        height: 55px;
    }
    
    .stat-number {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .about-section .section-title {
        font-size: 2.2rem;
    }
    
    .stats-grid {
        gap: var(--spacing-md);
    }
    
    .stat-item {
        padding: var(--spacing-sm);
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        align-self: center;
    }
    
    .stat-number {
        font-size: 0.9rem;
    }
    
    .stat-title {
        font-size: 1.1rem;
    }
    
    .stat-description {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .about-image img {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .about-section .section-title {
        font-size: 1.8rem;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
    }
    
    .stat-icon {
        align-self: center;
        width: 45px;
        height: 45px;
    }
    
    .stat-content {
        text-align: center;
    }
    
    .stat-title {
        font-size: 1rem;
        text-align: center;
    }
    
    .stat-description {
        font-size: 0.85rem;
        text-align: center;
        line-height: 1.6;
    }
}
/* ===== LEGAL PAGES STYLES ===== */
.legal-page {
    min-height: 100vh;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--night-blue) 0%, var(--dark-blue) 50%, var(--primary-blue) 100%);
    position: relative;
    overflow: hidden;
}

.legal-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="legalPattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="80" cy="40" r="0.3" fill="%23ffffff" opacity="0.08"/><circle cx="40" cy="70" r="0.8" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23legalPattern)"/></svg>');
    pointer-events: none;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: var(--spacing-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: var(--spacing-sm);
    text-align: center;
    position: relative;
}

.legal-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
    border-radius: 2px;
}

.legal-updated {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-text {
    line-height: 1.7;
    color: var(--dark-text);
}

.legal-text h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-left: var(--spacing-md);
}

.legal-text h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--sand-beige), var(--accent-green));
    border-radius: 2px;
}

.legal-text h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.legal-text p {
    margin-bottom: var(--spacing-md);
    text-align: justify;
}

.legal-text ul {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.legal-text li {
    margin-bottom: var(--spacing-xs);
    position: relative;
}

.legal-text li::marker {
    color: var(--accent-green);
}

.legal-text a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.legal-text a:hover {
    color: var(--sand-beige);
    text-decoration: underline;
}

.contact-info {
    background: rgba(46, 134, 171, 0.05);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-blue);
    margin: var(--spacing-md) 0;
}

.contact-info p {
    margin-bottom: var(--spacing-xs);
}

.contact-info strong {
    color: var(--dark-blue);
}

.legal-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-actions .btn-primary,
.legal-actions .btn-secondary {
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.legal-actions .btn-primary {
    background: var(--sand-beige);
    color: white;
}

.legal-actions .btn-primary:hover {
    background: var(--light-sand);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(241, 143, 1, 0.3);
}

.legal-actions .btn-secondary {
    background: var(--primary-blue);
    color: white;
}

.legal-actions .btn-secondary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 134, 171, 0.3);
}

/* Mobile responsiveness for legal pages */
@media (max-width: 1200px) {
    .legal-content {
        margin: 0 var(--spacing-md);
        padding: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .legal-page {
        padding: var(--spacing-lg) 0;
    }
    
    .legal-content {
        margin: 0 var(--spacing-sm);
        padding: var(--spacing-md);
    }
    
    .legal-title {
        font-size: 2rem;
    }
    
    .legal-text h2 {
        font-size: 1.5rem;
    }
    
    .legal-text h3 {
        font-size: 1.2rem;
    }
    
    .legal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-actions .btn-primary,
    .legal-actions .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .legal-title {
        font-size: 1.8rem;
    }
    
    .legal-text {
        font-size: 0.95rem;
    }
    
    .legal-text h2 {
        font-size: 1.3rem;
        padding-left: var(--spacing-sm);
    }
    
    .legal-text h2::before {
        width: 3px;
    }
    
    .legal-text ul {
        padding-left: var(--spacing-md);
    }
}

/* Header Phone Mobile Styles */
@media (max-width: 768px) {
  .header-phone {
    order: -1; /* Показать телефон первым на мобильных */
  }
  
  .phone-link {
    font-size: 1rem;
    padding: var(--spacing-sm);
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .phone-link span {
    font-size: 0.9rem;
  }
}
/* Additional Mobile Styles for Contact Page Working Hours */
@media (max-width: 768px) {
  .stat-description br {
    display: block;
    margin-bottom: 0.25rem;
  }
  
  .stat-description strong {
    display: block;
    margin-top: 0.5rem;
    color: var(--primary-blue);
  }
  
  /* Force center alignment for working hours text */
  .tours .stat-item .stat-description {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .stat-description {
    line-height: 1.8 !important;
    text-align: center !important;
  }
  
  .stat-description br {
    margin-bottom: 0.5rem;
  }
  
  .tours .stat-item .stat-description {
    text-align: center !important;
  }
}
/* Contact Page Specific Mobile Styles */
@media (max-width: 768px) {
  /* Ensure office section displays properly on mobile */
  .tours .about-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .tours .stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .tours .stat-item {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
  }
  
  .tours .stat-content {
    text-align: center !important;
    width: 100%;
  }
  
  .tours .stat-title {
    text-align: center !important;
  }
  
  .tours .stat-description {
    text-align: center !important;
  }
  
  .tours .stat-icon {
    align-self: center !important;
  }
}

@media (max-width: 480px) {
  .tours .stat-item {
    padding: var(--spacing-lg) var(--spacing-sm);
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
  }
  
  .tours .stat-content {
    text-align: center !important;
  }
  
  .tours .stat-description {
    font-size: 0.9rem;
    line-height: 1.8;
    text-align: center !important;
  }
}
/* CRITICAL: Force center alignment for contact page working hours - HIGHEST PRIORITY */
@media (max-width: 768px) {
  section.tours .container .about-content .about-text .stats-grid .stat-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  section.tours .container .about-content .about-text .stats-grid .stat-item .stat-content {
    text-align: center !important;
    width: 100% !important;
  }
  
  section.tours .container .about-content .about-text .stats-grid .stat-item .stat-content .stat-title {
    text-align: center !important;
  }
  
  section.tours .container .about-content .about-text .stats-grid .stat-item .stat-content .stat-description {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
  }
  
  section.tours .container .about-content .about-text .stats-grid .stat-item .stat-icon {
    align-self: center !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  section.tours .stat-item {
    text-align: center !important;
    align-items: center !important;
  }
  
  section.tours .stat-content {
    text-align: center !important;
  }
  
  section.tours .stat-description {
    text-align: center !important;
  }
}
/* ULTIMATE FIX: Maximum specificity for contact page working hours centering */
@media screen and (max-width: 768px) {
  body section.tours div.container div.about-content div.about-text div.stats-grid div.stat-item div.stat-content h4.stat-title,
  body section.tours div.container div.about-content div.about-text div.stats-grid div.stat-item div.stat-content p.stat-description {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  body section.tours div.container div.about-content div.about-text div.stats-grid div.stat-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media screen and (max-width: 480px) {
  body section.tours div.container div.about-content div.about-text div.stats-grid div.stat-item div.stat-content p.stat-description {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
}
/* Mobile center class for working hours */
@media (max-width: 768px) {
  .mobile-center {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  .mobile-center {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
}
/* Mobile center item class */
@media (max-width: 768px) {
  .mobile-center-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
  }
  
  .mobile-center-item .stat-content {
    text-align: center !important;
    width: 100% !important;
  }
  
  .mobile-center-item .stat-icon {
    align-self: center !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  .mobile-center-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
  }
}
/* ===== FOOTER STYLES ===== */
.footer {
  position: relative;
  background: linear-gradient(135deg, var(--night-blue) 0%, var(--dark-blue) 100%);
  color: var(--light-text);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  margin-top: auto;
  overflow: hidden;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.footer-logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.footer-tagline {
  font-size: 1rem;
  color: var(--accent-green);
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-xs);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--sand-beige);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
  display: inline-block;
  position: relative;
}

.footer-links a:hover {
  color: var(--sand-beige);
  transform: translateX(5px);
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: var(--sand-beige);
  transition: width 0.3s ease;
}

.footer-links a:hover::before {
  width: 10px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-item:hover {
  color: var(--sand-beige);
}

.contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--sand-beige);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: var(--sand-beige);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(241, 143, 1, 0.3);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  position: relative;
  z-index: 2;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-md);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--sand-beige);
}

/* ===== FOOTER RESPONSIVE DESIGN ===== */

/* Планшеты (768px - 1024px): 2 колонки по 2 строки */
@media (max-width: 1024px) and (min-width: 769px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
  
  .footer-brand {
    max-width: none;
  }
}

/* Планшеты (до 768px): 2 колонки по 2 строки */
@media (max-width: 768px) and (min-width: 481px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
  
  .footer-brand {
    max-width: none;
  }
  
  .footer-section {
    text-align: left;
  }
  
  .footer-title::after {
    left: 0;
  }
  
  .footer-social {
    justify-content: flex-start;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

/* Мобильные устройства (до 480px): 1 колонка */
@media (max-width: 480px) {
  .footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-brand {
    max-width: none;
    text-align: center;
  }
  
  .footer-logo-container {
    justify-content: center;
  }
  
  .footer-title {
    text-align: center;
  }
  
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-links a::before {
    display: none;
  }
  
  .footer-links a:hover {
    transform: none;
  }
  
  .footer-contact {
    align-items: center;
  }
  
  .contact-item {
    justify-content: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }
  
  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ===== COOKIE CONSENT BANNER STYLES ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--night-blue) 0%, var(--dark-blue) 100%);
  color: var(--white);
  padding: var(--spacing-lg);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 3px solid var(--sand-beige);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--spacing-xs);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.cookie-text h4::before {
  content: '🍪';
  font-size: 1.5rem;
}

.cookie-text p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.cookie-text a {
  color: var(--sand-beige);
  text-decoration: underline;
  font-weight: 500;
  transition: var(--transition);
}

.cookie-text a:hover {
  color: var(--light-sand);
  text-decoration: none;
}

.cookie-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

.cookie-btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  min-width: 120px;
  position: relative;
  overflow: hidden;
}

.cookie-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.cookie-btn:hover::before {
  left: 100%;
}

.cookie-btn.accept {
  background: var(--sand-beige);
  color: var(--white);
  border: 2px solid var(--sand-beige);
}

.cookie-btn.accept:hover {
  background: var(--light-sand);
  border-color: var(--light-sand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(241, 143, 1, 0.3);
}

.cookie-btn.decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.decline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Cookie consent responsive design */
@media (max-width: 768px) {
  .cookie-consent {
    padding: var(--spacing-md);
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
  
  .cookie-text {
    min-width: auto;
    text-align: center;
  }
  
  .cookie-text h4 {
    justify-content: center;
    font-size: 1.2rem;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .cookie-btn {
    flex: 1;
    min-width: 140px;
  }
}

@media (max-width: 480px) {
  .cookie-consent {
    padding: var(--spacing-sm);
  }
  
  .cookie-text h4 {
    font-size: 1.1rem;
  }
  
  .cookie-text p {
    font-size: 0.9rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
    gap: var(--spacing-xs);
  }
  
  .cookie-btn {
    width: 100%;
    min-width: auto;
    padding: var(--spacing-sm);
  }
}

/* Animation for cookie banner appearance */
@keyframes cookieSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-consent.show {
  animation: cookieSlideUp 0.4s ease;
}

/* Cookie icon animation */
@keyframes cookieBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

.cookie-text h4::before {
  animation: cookieBounce 2s infinite;
}

/* Blur effect for background when cookie banner is shown */
.cookie-consent.show ~ * {
  filter: blur(1px);
  transition: filter 0.3s ease;
}

/* Remove blur when banner is hidden */
.cookie-consent:not(.show) ~ * {
  filter: none;
}

/* Special styling for cookie policy link */
.cookie-text a {
  position: relative;
  display: inline-block;
}

.cookie-text a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sand-beige);
  transition: width 0.3s ease;
}

.cookie-text a:hover::after {
  width: 100%;
}

/* Cookie consent for high contrast mode */
@media (prefers-contrast: high) {
  .cookie-consent {
    background: #000;
    border-top-color: #fff;
  }
  
  .cookie-btn.accept {
    background: #fff;
    color: #000;
    border-color: #fff;
  }
  
  .cookie-btn.decline {
    border-color: #fff;
    color: #fff;
  }
}

/* Cookie consent for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    transition: none;
  }
  
  .cookie-btn::before {
    display: none;
  }
  
  .cookie-text h4::before {
    animation: none;
  }
  
  .cookie-consent.show {
    animation: none;
  }
}