/* Общие стили */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Roboto:wght@300;400;700&display=swap');

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

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: #FF6B35;
    color: white;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #E85A2A;
}

/* Шапка сайта */
header {
    position: fixed;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 0;
    z-index: 1000;
}

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

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #FF6B35;
    transition: width 0.3s;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Главный баннер */
/* .hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/altay-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
} */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding-left: 50px;
    color: white;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Немного увеличил затемнение */
    z-index: 0;
}

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

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: -1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    max-width: 800px;
    padding: 20px;
    border-radius: 10px;
    color: white;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.0rem;
    margin-bottom: 2rem;
}

.wave-divider-overlay {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 150px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="%23f5f5f5" fill-opacity="1" d="M0,160 L120,240 L240,140 L360,260 L480,180 L600,280 L720,160 L840,220 L960,120 L1080,230 L1200,150 L1320,210 L1440,160 L1440,320 L0,320 Z"></path></svg>');
  background-size: cover;
  background-position: center;
  z-index: 2;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    max-width: 800px;
    padding: 20px;
    border-radius: 10px;
    color: white;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.0rem;
    margin-bottom: 2rem;
}

/* Секция Откройте */
.discover {
    padding: 100px 0;
    background-color: #222;
    color: white;
}

.discover-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 0 20px;
    align-items: center;
}

.discover-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.discover-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Волнистый разделитель */
.wave-divider {
    height: 150px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="%23222222" fill-opacity="1" d="M0,160 L120,240 L240,140 L360,260 L480,180 L600,280 L720,160 L840,220 L960,120 L1080,230 L1200,150 L1320,210 L1440,160 L1440,0 L0,0 Z"></path></svg>');
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
}

/* Секция Красота */
.beauty {
    padding: 50px 0 100px;
    text-align: left;
    background-color: #f5f5f5;
}

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

.beauty h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.tour-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tour-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tour-card h3 {
    padding: 20px 20px 0;
    font-size: 1.5rem;
}

.tour-card p {
    padding: 0 20px 20px;
    font-size: 0.9rem;
}

/* Секция профессиональные туры */
.professional-tours {
    padding: 100px 0;
    background-color: white;
}

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

.professional-tours h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.professional-tours p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 20px;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

.wave-divider2 {
    height: 150px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="%23222222" fill-opacity="1" d="M0,160 L120,80 L240,180 L360,60 L480,140 L600,40 L720,160 L840,100 L960,200 L1080,90 L1200,170 L1320,110 L1440,160 L1440,320 L0,320 Z"></path></svg>');
    background-color: #f9f9f9;
    background-size: cover;
    background-position: center;
}

/* Секция отзывы */
.testimonials {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.testimonial-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial .author {
    font-weight: 700;
    color: #FF6B35;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-btn, .next-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #555;
}

.dots {
    display: flex;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
}

.dot.active {
    background-color: #FF6B35;
}

/* Секция карты */
.map-section {
    padding: 0px 0;
}

.map-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0px;
    position: relative;
}

.map-placeholder {
    height: 400px;
    background-color: #eee;
    border-radius: 8px;
    background-image: url('images/map-placeholder.jpg');
    background-size: cover;
    background-position: center;
}

.location-info {
    position: absolute;
    bottom: 20px;
    left: 40px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 8px;
}

/* Секция изучайте */
.explore {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/altay-footer-bg.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.explore-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.explore h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Подвал */
footer {
    background-color: #222;
    color: white;
    padding: 70px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    padding: 0 20px;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.social-links {
    display: flex;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: #FF6B35;
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 1024px) {
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .discover-container {
        grid-template-columns: 1fr;
    }

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

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    /* Центрирование контента на мобильной версии */
    .beauty {
        text-align: center;
    }

    .beauty h2 {
        text-align: center;
        font-size: 2rem;
    }

    .beauty p {
        text-align: center;
        max-width: 600px;
        margin: 0 auto 1.5rem;
    }

    .hero {
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
    }

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

    .professional-tours h2,
    .professional-tours p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    nav ul {
        display: none; /* В реальном проекте здесь будет мобильное меню */
    }

    .hero h1 {
        font-size: 2rem;
    }

    /* Дополнительное центрирование для малых экранов */
    .beauty {
        text-align: center;
        padding: 30px 0 50px;
    }

    .beauty h2 {
        text-align: center;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .beauty p {
        text-align: center;
        max-width: 100%;
        margin: 0 auto 1.5rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero {
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
        justify-content: center;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
        padding: 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
        text-align: center;
    }

    .hero p {
        font-size: 0.9rem;
        text-align: center;
        margin: 0 auto 2rem;
    }

    .professional-tours h2 {
        font-size: 2rem;
        text-align: center;
    }

    .professional-tours p {
        text-align: center;
        font-size: 0.95rem;
    }

    .testimonials {
        text-align: center;
    }

    .explore {
        text-align: center;
    }

    .explore h2 {
        font-size: 2rem;
    }
}

/* Стили контейнера карты */
#yandex-map {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 0px;
}

/* Стили для баллуна */
.balloon {
    padding: 5px;
    font-family: 'Roboto', sans-serif;
}

.balloon h4 {
    margin: 0 0 8px;
    font-family: 'Montserrat', sans-serif;
    color: #222;
}

.balloon p {
    margin: 0 0 5px;
    color: #666;
}

/* Стилизация внутренней части баллуна от Яндекс */
.ymaps-2-1-79-balloon__content {
    padding: 15px !important;
}

.ymaps-2-1-79-balloon__tail {
    background: white !important;
}

/* Заголовок в баллуне */
.ymaps-2-1-79-balloon__content-head {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    font-size: 16px;
}

/* Тело баллуна */
.ymaps-2-1-79-balloon__content-body {
    color: #555;
}

/* Подвал баллуна */
.ymaps-2-1-79-balloon__content-footer {
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

/* Ссылка в баллуне */
.map-link {
    display: inline-block;
    color: #FF6B35;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

.map-link:hover {
    color: #E85A2A;
    text-decoration: underline;
}

/* Корректировка для мобильных устройств */
@media (max-width: 768px) {
    #yandex-map {
        height: 300px;
    }
}

/* Кастомный стиль для элементов управления */
.ymaps-2-1-79-controls__control {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.ymaps-2-1-79-controls__control:hover {
    opacity: 1;
}

/* Стили для карточек туров */
.tour-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.tour-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tour-card:hover .tour-card-overlay {
  opacity: 1;
}

.tour-details-btn {
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.tour-card:hover .tour-details-btn {
  transform: translateY(0);
}

/* Стили для модальных окон */
.tour-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  overflow-y: auto;
  padding: 20px 0;
}

.modal-content {
  position: relative;
  background-color: white;
  margin: 5% auto;
  width: 80%;
  max-width: 1000px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.4s;
}

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

.close-modal {
  position: absolute;
  top: 0px;
  right: 20px;
  font-size: 0px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10;
}

.close-modal:hover {
  color: #FF6B35;
}

.modal-header {
  padding: 20px 30px;
  background-color: #222;
  color: white;
  border-radius: 8px 8px 0 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 2rem;
}

.modal-body {
  padding: 0;
  display: flex;
  flex-direction: row;
}

.modal-image {
  flex: 1;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 0 8px;
}

.modal-details {
  flex: 1;
  padding: 30px;
}

.modal-details h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #333;
}

.tour-feature {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
}

.tour-feature i {
  font-size: 24px;
  margin-right: 15px;
  color: #FF6B35;
  margin-top: 5px;
}

.feature-details h4 {
  margin: 0 0 5px;
  font-size: 1.1rem;
  color: #444;
}

.feature-details p {
  margin: 0;
  color: #666;
}

.modal-details .btn {
  margin-top: 20px;
}

/* Адаптивные стили для модальных окон */
@media (max-width: 992px) {
  .modal-body {
    flex-direction: column;
  }

  .modal-image {
    height: 300px;
  }

  .modal-image img {
    border-radius: 0;
  }

  .modal-details {
    text-align: center;
  }

  .modal-details h3 {
    text-align: center;
  }

  .modal-details p {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .modal-image {
    height: 200px;
  }

  .tour-feature i {
    font-size: 20px;
  }

  .feature-details h4 {
    font-size: 1rem;
  }

  .modal-details {
    text-align: center;
  }

  .modal-details h3 {
    text-align: center;
  }

  .modal-details p {
    text-align: center;
  }

  .tour-feature {
    text-align: center;
    justify-content: center;
  }
}

.phone-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  position: relative;
}

.phone-link:hover {
  color: #FF6B35;
}

/* Добавляем красивое подчеркивание при наведении */
.phone-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #FF6B35;
  transition: width 0.3s ease;
}

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

/* Добавляем иконку телефона */
.phone-link::before {
  content: "\f095"; /* Иконка телефона из Font Awesome */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 5px;
  color: #FF6B35;
}

/* Стили для футера */
.footer-col .phone-link {
  display: block;
  margin-bottom: 5px;
  color: #ddd;
}

.footer-col .phone-link:hover {
  color: white;
}

/* Стили для телефонов в информации о локации */
.location-info .phone-link {
  font-weight: 700;
}

/* Стили для карусели в модальных окнах */
.modal-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.modal-carousel .carousel-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.modal-carousel .carousel-slide:first-child {
  display: block;
}

.modal-carousel .carousel-slide.active {
  display: block;
}

.modal-carousel .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}

.carousel-prev,
.carousel-next {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: #FF6B35;
  transform: scale(1.2);
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Слайдер в модальном окне */
.modal-image-slider {
  flex: 1;
  position: relative;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 0 0 8px;
  background-color: #f0f0f0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  max-width: 100%;
  flex-shrink: 0;
  background-color: #f0f0f0;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
  z-index: 10;
}

.prev-slide, .next-slide {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
  pointer-events: all;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.prev-slide:hover, .next-slide:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.slider-dots .dot.active {
  background: #FF6B35;
}

.slider-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Адаптивные стили для слайдера */
@media (max-width: 992px) {
  .slider-wrapper {
    border-radius: 0;
  }

  .slider-container {
    min-height: 400px;
  }

  .modal-image-slider {
    flex: 1;
  }

  .prev-slide, .next-slide {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    min-height: 400px !important;
  }
}

@media (max-width: 768px) {
  .slider-container {
    min-height: 370px;
  }

  .modal-content {
    width: 90%;
    margin: 5% auto;
  }

  .modal-header {
    padding: 15px 20px;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-details {
    padding: 20px;
    text-align: center;
  }

  .prev-slide, .next-slide {
    width: 45px;
    height: 45px;
    font-size: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
  }

  .prev-slide:hover, .next-slide:hover {
    background: rgba(0, 0, 0, 0.8);
  }

  .slider-dots {
    bottom: 15px;
    gap: 8px;
  }

  .slider-dots .dot {
    width: 12px;
    height: 12px;
  }

  .slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.9);
  }

  .slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    min-height: 370px !important;
    max-width: none !important;
  }

  .slider-wrapper {
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
    min-height: 370px;
  }
}

@media (max-width: 576px) {
  .slider-container {
    min-height: 350px;
  }

  .modal-content {
    width: 95%;
    margin: 5% auto;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-header {
    padding: 10px 15px;
  }

  .modal-header h2 {
    font-size: 1.3rem;
  }

  .modal-details {
    padding: 15px;
    text-align: center;
  }

  .modal-details h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
  }

  .modal-details p {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
  }

  .prev-slide, .next-slide {
    width: 40px;
    height: 40px;
    font-size: 18px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
  }

  .prev-slide:hover, .next-slide:hover {
    background: rgba(0, 0, 0, 0.9);
  }

  .slider-nav {
    padding: 0 5px;
  }

  .slider-dots {
    bottom: 10px;
    gap: 6px;
  }

  .slider-dots .dot {
    width: 10px;
    height: 10px;
  }

  .tour-feature {
    margin-bottom: 15px;
  }

  .tour-feature i {
    font-size: 18px;
    margin-right: 10px;
  }

  .feature-details h4 {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .feature-details p {
    font-size: 0.85rem;
  }

  .slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 0 !important;
    max-width: none !important;
    min-height: 350px !important;
  }

  .slider-wrapper {
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
  }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 360px) {
  .slider-container {
    min-height: 280px;
  }

  .modal-content {
    width: 100%;
    margin: 0;
  }

  .tour-modal {
    padding: 10px 0;
  }

  .prev-slide, .next-slide {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .modal-header {
    padding: 10px 15px;
  }

  .modal-header h2 {
    font-size: 1rem;
  }

  .modal-details {
    text-align: center;
  }

  .modal-details h3 {
    text-align: center;
  }

  .modal-details p {
    text-align: center;
  }

  .slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 0 !important;
    min-height: 280px !important;
    max-width: none !important;
  }

  .slider-wrapper {
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
    min-height: 280px;
  }
}

@media (max-width: 480px) {
  .slider-container {
    min-height: 320px;
  }

  .modal-content {
    width: 98%;
    margin: 2% auto;
  }

  .modal-header {
    padding: 8px 12px;
  }

  .modal-header h2 {
    font-size: 1.1rem;
  }

  .modal-details {
    padding: 12px;
    text-align: center;
  }

  .modal-details h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    text-align: center;
  }

  .prev-slide, .next-slide {
    width: 35px;
    height: 35px;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.7);
  }

  .slider-dots .dot {
    width: 8px;
    height: 8px;
  }

  .close-modal {
    font-size: 24px;
    padding: 5px;
  }

  .slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 0 !important;
    min-height: 320px !important;
    max-width: none !important;
  }

  .slider-wrapper {
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
    min-height: 320px;
  }
}
