/* Обнулялка */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
  font-size: 16px; /* 1rem = 16px */
}
/* Подключение шрифта Montserrat */
@font-face {
  font-family: 'Montserrat';
  src: url('../public/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat_Alternates';
  src: url('../public/fonts/Montserrat_Alternates/MontserratAlternates-Bold.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat_AlternatesIt';
  src: url('../public/fonts/Montserrat_Alternates/MontserratAlternates-MediumItalic.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}


body {
    background: #fff;
    color: #333;
    line-height: 1.6;
}

:root {
  --primary-blue: #007bff;
  --primary-blue-bg: rgba(0, 123, 255, 0.10);
}

/* Latest articles (demo block before WhatsApp reviews) */
.latest-articles-section {
  padding: 60px 20px;
  background: #f7f9fc;
}

.latest-articles__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.latest-articles__title {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.2;
  color: #1a1a1a;
}

.latest-articles__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.latest-articles__filter {
  border: 2px solid #E3E0DE;
  background: #fff;
  color: #1a1a1a;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.latest-articles__filter.is-active {
  border-color: var(--primary-blue);
  background: rgba(0, 123, 255, 0.10);
}

.latest-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.latest-articles__card {
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 16px;
  border: 2px solid #E3E0DE;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.latest-articles__card-title {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
}

.latest-articles__card-link {
  text-decoration: none;
  color: #1a1a1a;
}

.latest-articles__card-link:hover {
  text-decoration: underline;
}

.latest-articles__card-excerpt {
  margin: 0;
  color: rgba(26, 26, 26, 0.78);
  font-size: 0.95rem;
  line-height: 1.45;
}

.latest-articles__card-more {
  margin-top: auto;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
}

.latest-articles__card-more:hover {
  text-decoration: underline;
}

.latest-articles__empty {
  margin: 0;
  color: rgba(26, 26, 26, 0.7);
}

@media (max-width: 900px) {
  .latest-articles__grid {
    grid-template-columns: 1fr;
  }
}

/* Site guide (quick links under hero) */
.site-guide {
  padding: 18px 20px 32px;
  background: #f7f9fc;
}

.site-guide__panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.86) 100%);
  border: none;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  padding: 18px;
}

.site-guide__panel::before,
.site-guide__panel::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.site-guide__panel::before {
  top: -150px;
  right: -140px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 123, 255, 0.50) 0%, rgba(0, 123, 255, 0) 60%);
}

.site-guide__panel::after {
  bottom: -160px;
  left: -150px;
  background: radial-gradient(circle at 60% 40%, rgba(0, 184, 148, 0.45) 0%, rgba(0, 184, 148, 0) 60%);
}

.site-guide__title {
  margin: 0 0 12px 0;
  font-family: 'Montserrat_Alternates', 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--primary-blue), #00b894);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  z-index: 1;
}

.site-guide__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}

.site-guide__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 999px;
  border: 2px solid rgba(0, 123, 255, 0.28);
  background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(0, 123, 255, 0.85) 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 12px 26px rgba(0, 123, 255, 0.18);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.site-guide__link::before {
  font-size: 1.05em;
  line-height: 1;
}

.site-guide__link[href$="/reviews"]::before { content: "💬"; }
.site-guide__link[href$="/prices"]::before { content: "💸"; }
.site-guide__link[href$="/useful-info"]::before { content: "📚"; }

.site-guide__link:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 123, 255, 0.30);
  background: var(--primary-blue-bg);
  box-shadow: 0 16px 34px rgba(0, 123, 255, 0.22);
}

.site-guide__link:hover {
  color: #ffffff;
}

.site-guide__link:focus-visible {
  outline: 3px solid rgba(0, 123, 255, 0.25);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .site-guide__links {
    grid-template-columns: 1fr;
  }

  .site-guide__link {
    justify-content: flex-start;
    padding-inline: 14px;
  }
}

/* Карточки курортов */
.resort-cards-section {
    padding: 20px 0;
    background: #111;
}

.resort-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.resort-card {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.resort-card:hover {
    transform: translateY(-8px) scale(1.02);
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.resort-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.2) 0%, 
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%);
    transition: all 0.4s ease;
}

.resort-card:hover::before {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.1) 0%, 
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.3) 100%);
}

.resort-card-title {
    position: relative;
    z-index: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    text-align: center;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.resort-card:hover .resort-card-title {
    transform: translateY(-5px) scale(1.05);
    text-shadow: 4px 4px 16px rgba(0, 0, 0, 0.9);
}

.resort-card.sharm {
    background-image: url('/public/sharminex.jpeg');
}

.resort-card.hurghada {
    background-image: url('/public/Hurghada-from-top1.png');
}

.resort-card.phuket {
    background-image: url('/public/phiphi.jpg');
}

@media (max-width: 768px) {
    .resort-cards-section {
        padding: 15px;
    }
    
    .resort-cards {
        grid-template-columns: 1fr;
        margin: 0;
        border-radius: 12px;
        gap: 8px;
        max-width: none;
    }
    
    .resort-card {
        height: 140px;
        border-radius: 8px;
    }
    
    .resort-card-title {
        font-size: 1.4rem;
        font-weight: 700;
    }
    
    .resort-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
}
nav a {
    font-family: 'Montserrat', sans-serif;
}
/* .site-header {
    background: white;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-header .logo {
    font-weight: 700;
    font-size: 1.2em;
    color: #333;
} */

.main-nav a {
    margin-left: 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.logo img {
    width: 80px;
}
.main-nav a:hover {
    color: #E8C7B0;
}

footer {
    background: #222;
    color: #aaa;
    text-align: center;
    padding: 20px;
}

/* Блок с градиентом и фоном */
.gradient-bg {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
}

.gradient-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px;
}

.gradient-bg::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 20px;
}

.overlay-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 1em;
    max-width: 90%;
}

.overlay-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.9rem;
    margin-bottom: 0.5em;
}
.overlay-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.0rem;
    margin-bottom: 0.5em;
    
}

/* 📱 Мобильная адаптация */
@media (max-width: 768px) {
    .gradient-bg {
        height: 70vh;
        padding: 0;
        border-radius: 0;
    }

    .gradient-bg img,
    .gradient-bg::after {
        border-radius: 0;
    }

    .overlay-text h2 {
        font-size: 2em;
    }
}

.explore-btn {
    display: inline-block;
    margin-top: 2.5em;
    padding: 12px 30px;
    background-color: var(--primary-blue);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    border-radius: 12px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.explore-btn:hover {
    background-color: #f9ad18;
    transform: scale(1.05);
}
.below-hero {
    text-align: center;
    padding: 3em 1em;
    background-color: var(--primary-blue-bg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.below-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 2em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
}
.below-hero h1 {
    font-family: 'Montserrat_Alternates';
    font-size: 2.7rem;
    color: #000000;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
}

.city-select-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

select#city-select {
    font-family: 'Montserrat', sans-serif;
    margin-top: 10px;
    font-size: 1rem;
    color: #878787;
    background-color: var(--primary-blue-bg); /* светлый бежевый */
    border: none;
    padding: 14px 20px;
    border-radius: 15px;
    width: 300px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='70,90 40,60 100,60' fill='%23175392'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
    box-shadow: 
    0 2px 5px rgba(0, 0, 0, 0.05),   /* лёгкий "подъём" */
    0 4px 12px rgba(23, 83, 146, 0.5); /* мягкая основная тень с синим оттенком */;

    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

select#city-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-blue);
}


.visually-hidden {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


.benefits {
    padding: 80px 10%;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

.benefits h2 {
    font-size: 1.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.benefit-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border: 2px solid #E3E0DE;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    font-size: 1rem;
    background-color: #fff;
    justify-content: center;
    
}

.benefit-box .icon {
    font-size: 1.4rem;
}


.popular-tours {
    font-family: 'Montserrat', sans-serif;
    padding: 40px 20px;
    text-align: center;
    margin-top: 50px;
}

.popular-tours h2 {
    font-size: 2em;
    margin-bottom: 10px;
}.popular-tours-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 15px;
  padding: 0 10px;
}



.arrow-btn {
  background: #e0e0e0;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
}





.why-choose-us {
  padding: 60px 20px;
  background: #f7f9fc;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 700;
  color: #1a1a1a;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.reason-box {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.94),
      rgba(0, 123, 255, 0.16)
  );
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-box:hover {
 background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92),
     rgba(0, 123, 255, 0.26)
  );
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.icon-circle {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-color: #eaf2ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle img {
  width: 32px;
  height: 32px;
}

.reason-text h3 {
  font-family: 'Montserrat_Alternates';

  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.reason-text p {
   font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}



.booking-form-section {
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.booking-form-section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #333;
}

.booking-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-form label {
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: #444;
}

.booking-form input,
.booking-form select {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.booking-form input:focus,
.booking-form select:focus {
  border-color: #e8c7b0;
  outline: none;
}

.submit-btn {
  background-color: #e8c7b0;
  color: #333;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #e0bba3;
}

@media (max-width: 600px) {
  .booking-form-section h2 {
    font-size: 1.8rem;
  }

  .booking-form input,
  .booking-form select {
    font-size: 0.95rem;
  }

  .submit-btn {
    font-size: 1rem;
  }
}
.site-footer {
  background-color: #fff;
  padding: 40px 20px;
  border-top: 1px solid #ddd;
  font-family: 'Montserrat', sans-serif;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo {
  font-size: 1.0rem;
  font-weight: 300;
  color: #827369;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.social-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #827369;
}

.social-group img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-group img:hover {
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-social {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-group {
    font-size: 1rem;
  }
}

/* ---------- Hero Section ---------- */

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px; /* уменьшили верхний отступ */
  background: #fdfdfd;
  font-family: 'Arial', sans-serif;
  gap: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  flex-wrap: nowrap; /* 🧠 НЕ ДАЁМ ПЕРЕХОДИТЬ НА НОВУЮ СТРОКУ */
}
.hero-content h2 { 
  font-size: 36px;
  font-family: 'Montserrat_Alternates';
}
.link {
  color: var(--primary-blue);
  font-family: 'Montserrat_AlternatesIt';
}
.hero-images {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  flex-shrink: 1; /* 🧠 ДАЁМ СЖИМАТЬСЯ */
  transition: opacity 0.5s ease-in-out;
}

.left-big, .right-column {
  flex-shrink: 1;
  min-width: 200px; /* ⛔ не меньше */
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  display: flex;
}

.left-big img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.right-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  flex: 1 1 250px;
}

.right-column img {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hero-content p {
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  color: #000000;
  font-weight: 400;
  margin-top: 40px;
}

.highlight {
  color: var( --primary-blue);
}
/* ---------- Адаптив ---------- */

@media (max-width: 1176px) {
  .hero-content {
    flex: 1 1 50%;
  }

  .hero-images {
    flex: 1 1 50%;
  }

  .left-big img,
  .right-column img {
    max-width: 100%;
    height: auto;
  }
}


@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column;
    padding: 20px 40px; /* уменьшили верхний отступ */
    align-items: center;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-content h2 {
    font-size: 30px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-images {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 30px;
  }

  .left-big,
  .right-column {
    flex-direction: row;
    gap: 20px;
    flex: unset;
    display: contents; /* отключает вложенные блоки, чтобы не мешали row-выравниванию */
  }

  .hero-images img {
    width: 180px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
}
@media (max-width: 768px) {

  .hero-section {
    margin-top: 0;

  }
  .hero-images {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    pointer-events: none;
  }
  
  .hero-images img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    filter: blur(3px) brightness(0.9);
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    transition: opacity 1s linear;
  }
  
  /* Назначаем анимации конкретным изображениям */
  .left-big img {
    animation-name: fade1;
  }
  
  .right-column img:nth-of-type(1) {
    animation-name: fade2;
  }
  
  .right-column img:nth-of-type(2) {
    animation-name: fade3;
  }
  
  /* Анимации с перекрытием */
  @keyframes fade1 {
    0% { opacity: 1; }
    30% { opacity: 1; }
    40% { opacity: 0; }
    100% { opacity: 0; }
  }
  
  @keyframes fade2 {
    0% { opacity: 0; }
    25% { opacity: 0; }
    35% { opacity: 1; }
    65% { opacity: 1; }
    75% { opacity: 0; }
    100% { opacity: 0; }
  }
  
  @keyframes fade3 {
    0% { opacity: 0; }
    60% { opacity: 0; }
    70% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 30px 20px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  }
  
  .hero-content h2,
  .hero-content p {
    text-shadow: 0 1px 1px var(--primary-blue);
  }
  
  .hero-content h2 {
    font-size: 24px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 12px; /* Добавим отступ снизу */
    padding-bottom: 8px; /* Немного внутреннего отступа */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Линия для визуального разделения */
  }
  
  .hero-content p {
    font-size: 16px;
    color: #f0f0f0;
    font-weight: 400;
    margin-top: 42px; /* Отступ сверху */
  }
  
  .explore-btn {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
    margin-top: 40px;
  }
}  

.city-select-container .explore-btn {
   display: inline-block;
    margin-top: 2.5em;
    padding: 12px 30px;
    background-color: var(--primary-blue);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    border-radius: 12px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.primaryline {
  background-color: var(--primary-blue);
  width: 100%;
  height: 80px;
}



.benefits {
  padding: 60px 20px;
  background: #f9fbfe;
  text-align: center;
}

.benefits-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #1a1a1a;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-box {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), #fff);
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.icon-circle {
  background-color: #e4ebf3;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-circle img {
  width: 34px;
  height: 34px;
}

.benefit-box .text {
  font-size: 1rem;
  color: #333;
  line-height: 1.4;
   font-family: 'Montserrat', sans-serif;

}

.benefit-box strong {
  font-size: 1.1rem;
  color: #175392;
  font-family: 'Montserrat_Alternates', sans-serif;
}
/* ===================== ANIMATIONS ===================== */

.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Базовые стили для анимации появления */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Специфические анимации для разных блоков */

/* Hero секция */
.hero-section.scroll-animate {
  transform: translateY(50px) scale(0.95);
  transition: all 1s ease-out;
}

.hero-section.scroll-animate.visible {
  transform: translateY(0) scale(1);
}

/* Below hero секция */
.below-hero.scroll-animate {
  transform: translateY(40px);
  transition: all 0.9s ease-out 0.1s;
}

.below-hero.scroll-animate.visible {
  transform: translateY(0);
}

/* Popular tours секции */
.popular-tours.scroll-animate {
  transform: translateY(50px);
  transition: all 1s ease-out;
}

.popular-tours.scroll-animate.visible {
  transform: translateY(0);
}

/* Why choose us секция */
.why-choose-us.scroll-animate {
  transform: translateY(40px);
  transition: all 0.9s ease-out 0.2s;
}

.why-choose-us.scroll-animate.visible {
  transform: translateY(0);
}

/* Benefits секция */
.benefits.scroll-animate {
  transform: translateY(45px);
  transition: all 1s ease-out 0.15s;
}

.benefits.scroll-animate.visible {
  transform: translateY(0);
}

/* Анимация для отдельных элементов внутри секций */
.scroll-animate.visible .reason-box {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.scroll-animate.visible .reason-box:nth-child(1) {
  animation-delay: 0.1s;
}

.scroll-animate.visible .reason-box:nth-child(2) {
  animation-delay: 0.2s;
}

.scroll-animate.visible .reason-box:nth-child(3) {
  animation-delay: 0.3s;
}

.scroll-animate.visible .benefit-box {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.scroll-animate.visible .benefit-box:nth-child(1) {
  animation-delay: 0.1s;
}

.scroll-animate.visible .benefit-box:nth-child(2) {
  animation-delay: 0.2s;
}

.scroll-animate.visible .benefit-box:nth-child(3) {
  animation-delay: 0.3s;
}

/* Анимация для карточек туров - НЕ применяется к carousel-track */
.scroll-animate.visible .carousel-container {
  animation: slideInFromRight 0.8s ease-out forwards;
  opacity: 0;
  transform: translateX(50px);
}

/* Карусель track НЕ анимируется, чтобы не мешать JavaScript */
.scroll-animate.visible .carousel-track {
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

.scroll-animate.visible .carousel-nav {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

.scroll-animate.visible .carousel-dots {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
  animation-delay: 0.5s;
}

/* Анимация для заголовков секций */
.scroll-animate.visible h2 {
  animation: fadeInDown 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(-20px);
}

.scroll-animate.visible .section-title {
  animation: fadeInDown 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(-20px);
}

/* Анимация для текста */
.scroll-animate.visible p {
  animation: fadeInUp 0.7s ease-out forwards;
  opacity: 0;
  transform: translateY(15px);
  animation-delay: 0.2s;
}

/* Анимация для кнопок */
.scroll-animate.visible .explore-btn {
  animation: bounceIn 0.8s ease-out forwards;
  opacity: 0;
  transform: scale(0.8);
  animation-delay: 0.3s;
}

.scroll-animate.visible .city-select-container {
  animation: fadeInUp 0.7s ease-out forwards;
  opacity: 0;
  transform: translateY(25px);
  animation-delay: 0.4s;
}

/* Основные keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Анимация для иконок */
.scroll-animate.visible .icon-circle {
  animation: rotateIn 0.8s ease-out forwards;
  opacity: 0;
  transform: rotate(-180deg) scale(0.5);
}

.scroll-animate.visible .reason-box:nth-child(1) .icon-circle {
  animation-delay: 0.2s;
}

.scroll-animate.visible .reason-box:nth-child(2) .icon-circle {
  animation-delay: 0.3s;
}

.scroll-animate.visible .reason-box:nth-child(3) .icon-circle {
  animation-delay: 0.4s;
}

.scroll-animate.visible .benefit-box:nth-child(1) .icon-circle {
  animation-delay: 0.2s;
}

.scroll-animate.visible .benefit-box:nth-child(2) .icon-circle {
  animation-delay: 0.3s;
}

.scroll-animate.visible .benefit-box:nth-child(3) .icon-circle {
  animation-delay: 0.4s;
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
  }
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

/* Анимация для футера */
.site-footer.scroll-animate {
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.site-footer.scroll-animate.visible {
  transform: translateY(0);
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
  .scroll-animate {
    transform: translateY(20px);
  }
  
  .hero-section.scroll-animate {
    transform: translateY(30px) scale(0.98);
  }
  
  .popular-tours.scroll-animate {
    transform: translateY(30px);
  }
}

/* Редуцированные анимации для пользователей с отключенными анимациями */
@media (prefers-reduced-motion: reduce) {
  .scroll-animate {
    transition: opacity 0.3s ease;
    transform: none;
  }
  
  .scroll-animate.visible {
    transform: none;
  }
  
  .scroll-animate.visible * {
    animation: none !important;
  }
}

/* FAQ Section Styles for Landing */
.faq-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  margin-top: 40px;
}

.faq-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Адаптация FAQ компонента под стиль лендинга */
.faq-section .faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-section .faq-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-section .faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.faq-section .faq-item:hover {
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.15);
  transform: translateY(-2px);
}

.faq-section .faq-item.active {
  border-color: #4facfe;
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.2);
}

.faq-section .faq-question {
  background: none;
  border: none;
  width: 100%;
  padding: 24px;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-section .faq-question:hover {
  color: #4facfe;
}

.faq-section .faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    will-change: height;
}

.faq-section .faq-answer-content {
    padding: 24px;
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
}

.faq-section .faq-arrow,
.faq-section .faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: #4facfe;
}

.faq-section .faq-item.active .faq-arrow,
.faq-section .faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Адаптивность для FAQ на лендинге */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }
  
  .faq-section .faq-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .faq-section .faq-question {
    padding: 20px;
    font-size: 1rem;
  }
  
  .faq-section .faq-answer-content {
    padding: 20px;
    font-size: 0.95rem;
  }
}

/* 📱 ДОПОЛНИТЕЛЬНЫЕ МОБИЛЬНЫЕ ОПТИМИЗАЦИИ */
@media (max-width: 480px) {
    /* ОСНОВНЫЕ ЗАГОЛОВКИ */
    .overlay-text h2 {
        font-size: 1.6rem !important; /* Меньше главный заголовок */
    }
    
    .overlay-text p {
        font-size: 0.85rem !important; /* Меньше текст под заголовком */
    }
    
    .below-hero h1 {
        font-size: 1.8rem !important; /* Меньше заголовок секции */
    }
    
    .below-text {
        font-size: 0.95rem !important; /* Меньше описательный текст */
    }
    
    /* КАРТОЧКИ КУРОРТОВ */
    .resort-card-title {
        font-size: 1.1rem !important; /* Меньше заголовки карточек */
    }
    
    /* СЕКЦИЯ ПРЕИМУЩЕСТВ */
    .benefits h2 {
        font-size: 1.4rem !important; /* Меньше заголовок преимуществ */
    }
    
    .benefit-box {
        font-size: 0.85rem !important; /* Меньше текст в преимуществах */
        padding: 12px 15px !important; /* Меньше отступы */
    }
    
    /* ВЫБОР ГОРОДА */
    select#city-select {
        font-size: 0.85rem !important; /* Меньше шрифт в селекте */
        padding: 12px 18px !important; /* Меньше отступы */
        width: 250px !important; /* Уже селект */
    }
    
    /* КНОПКИ */
    .explore-btn {
        font-size: 0.85rem !important; /* Меньше кнопки */
        padding: 10px 25px !important; /* Меньше отступы */
    }
    
    /* FAQ */
    .faq-section .faq-question {
        font-size: 0.9rem !important; /* Меньше вопросы FAQ */
        padding: 15px !important; /* Меньше отступы */
    }
    
    .faq-section .faq-answer-content {
        font-size: 0.8rem !important; /* Меньше ответы FAQ */
        padding: 15px !important; /* Меньше отступы */
    }
    
    /* ОБЩИЕ ЭЛЕМЕНТЫ */
    body {
        font-size: 14px !important; /* Меньше базовый шрифт */
    }
    
    /* НАВИГАЦИЯ */
    .main-nav a {
        font-size: 0.85rem !important; /* Меньше навигация */
    }
}