@import url("reset.css");

.clear
{
	clear: both;
}

/* Сброс стилей и базовые настройки */
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
 
body {
        font-family: Arial, Tahoma, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    margin: 0;
    /* padding: 0px 0; */
}


/* Логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Arial', sans-serif;
    text-decoration: none;
    color: inherit;
}

.logo__icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8e53 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo__tower {
    width: 6px;
    height: 16px;
    background: white;
    position: relative;
    border-radius: 1px 1px 0 0;
}

.logo__tower::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -2px;
    width: 10px;
    height: 4px;
    background: white;
    border-radius: 2px 2px 0 0;
}

.logo__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px 3px 0 0;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo__title {
    font-size: 1.2em;
    font-weight: 700;
    color: #ff6b35;
}

.logo__subtitle {
    font-size: 0.7em;
    font-weight: 300;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Иконки в контактах */
.contacts .contact-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.contacts .contact-link svg {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.contacts .contact-link:hover svg {
    opacity: 1;
}

/* Адаптивность логотипа */
@media (max-width: 768px) {
    .logo__icon {
        width: 32px;
        height: 32px;
    }
    
    .logo__title {
        font-size: 1em;
    }
    
    .logo__subtitle {
        font-size: 0.6em;
    }
}




/* Основные стили баннера */
.banner {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Заголовок */
.welcome {
    width: 100%;
    text-align: center;
}

.welcome h1 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

/* Контакты - адаптивная сетка */
.contacts {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    justify-content: center;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 7px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    min-height: 32px;
    word-break: break-word;
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.contact-link:hover {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.contact-link:hover::before {
    left: 100%;
}

/* Цвета для конкретных контактов */
.contact-link[href*="t.me"]:hover {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

.contact-link[href*="whatsapp"]:hover {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.contact-link[href^="tel:"]:hover {
    background: linear-gradient(135deg, #27ae60 0%, #219a52 100%);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.contact-link[href^="mailto:"]:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

/* 📱 Адаптивность для очень маленьких экранов */

/* Планшеты и маленькие ноутбуки */
@media (min-width: 481px) and (max-width: 768px) {
    .banner {
        padding: 12px 20px;
        gap: 12px;
        background: linear-gradient(135deg, #2c3e50 0%, #2980b9 100%);
    }
    
    .welcome h1 {
        font-size: 1.6rem;
    }
    
    .contacts {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .contact-link {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}

/* Большие мобильные (481px - 768px) */
@media (min-width: 481px) {
    .contacts {
        grid-template-columns: repeat(4, 1fr);
        max-width: 500px;
    }
    
    .contact-link {
        font-size: 0.85rem;
        padding: 8px 10px;
    }
}

/* Маленькие мобильные (360px - 480px) */
@media (max-width: 480px) {
    .banner {
        padding: 8px 10px;
        gap: 8px;
        background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    }
    
    .welcome h1 {
        font-size: 1.2rem;
    }
    
    .contacts {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .contact-link {
        padding: 5px 6px;
        font-size: 0.75rem;
        min-height: 28px;
    }
}

/* Очень маленькие мобильные (до 360px) */
@media (max-width: 360px) {
    .banner {
        padding: 5px 8px;
        background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    }
    
    .welcome h1 {
        font-size: 1.1rem;
    }
    
    .contacts {
        grid-template-columns: 1fr;
        gap: 5px;
        max-width: 200px;
    }
    
    .contact-link {
        padding: 4px 8px;
        font-size: 0.8rem;
        border-radius: 15px;
    }
}

/* Ландшафтная ориентация мобильных */
@media (max-height: 500px) and (orientation: landscape) {
    .banner {
        flex-direction: row;
        justify-content: space-between;
        padding: 5px 15px;
        min-height: 50px;
        background: linear-gradient(135deg, #2c3e50 0%, #2980b9 100%);
    }
    
    .welcome {
        width: auto;
        flex: 1;
    }
    
    .contacts {
        width: auto;
        flex: 2;
        grid-template-columns: repeat(4, 1fr);
        max-width: none;
    }
    
    .welcome h1 {
        font-size: 1.1rem;
        text-align: left;
    }
}

/* Десктоп (769px+) */
@media (min-width: 769px) {
    .banner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 5%;
        min-height: 70px;
        background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    }
    
    .welcome {
        width: auto;
        flex: 1;
    }
    
    .welcome h1 {
        font-size: 1.8rem;
        text-align: left;
        background: linear-gradient(45deg, #ffffff, #ecf0f1);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: none;
    }
    
    .contacts {
        width: auto;
        flex: 1;
        grid-template-columns: repeat(4, 1fr);
        max-width: 500px;
        gap: 13px;
    }
    
    .contact-link {
        padding: 6px 13px;
        font-size: 0.9rem;
    }
}

/* Большие десктопы */
@media (min-width: 1024px) {
    .banner {
        background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    }
    
    .welcome h1 {
        font-size: 2.2rem;
        background: linear-gradient(45deg, #ffffff, #ecf0f1);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .contact-link {
        padding: 6px 12px;
        font-size: 1rem;
    }
}

/* Альтернативная цветовая схема (можно переключать) */
.banner.alternative {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.banner.alternative .welcome h1 {
    background: linear-gradient(45deg, #ffffff, #fef9e7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner.alternative .contact-link:hover {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.4);
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    .banner {
        background: linear-gradient(135deg, #1a2530 0%, #2c3e50 100%);
    }
    
    .contact-link {
        background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
        color: #ecf0f1;
        border: 1px solid rgba(255,255,255,0.1);
    }
    
    .contact-link:hover {
        background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
        color: white;
    }
}

/* Анимация появления */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner {
    animation: fadeInDown 0.6s ease-out;
}
 /* Альтернативный вариант с более компактным дизайном */
 .disclaimer-card {
    padding:  5px 0;
}
.disclaimer-card.compact {
    padding: 25px;
}

.disclaimer-card.compact .disclaimer-header {
    margin-bottom: 15px;
}

.disclaimer-card.compact .disclaimer-icon {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
}



.title {
    line-height: 112px; 
    color: rgb(69, 69, 69); 
    font-size: 85px;
    text-align: center;
}

/* Clearfix for the button list */
.clear {
    clear: both;
}

/* Container for the filter buttons */
.select_tour_group_ul {
    list-style: none;
    padding: 0;
    margin: 20px auto 40px auto;
    text-align: center;
    max-width: 1200px;
}

.select_tour_group_ul li {
    display: inline-block;
    float: none;
    margin: 5px 10px;
}

.select_tour_group_button {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select_tour_group_button:hover,
.select_tour_group_button.active {
    background: #b32485;
    color: white;
    border-color: #b32485;
}

.select_tour_group_button_div {
    font-size: 16px;
    font-weight: 500;
}

/* УЛУЧШЕННЫЕ СТИЛИ ДЛЯ КАРТОЧЕК - РЕШЕНИЕ ПРОБЛЕМЫ С ФОНОМ */

/* Фон всей страницы */


/* Контейнер для карточек */
.tour-cards-container {
    
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
}

/* Улучшенные стили карточек */
.tour-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.15),
        0 3px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

/* Фиолетовая полоса при наведении */
.tour-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b32485, #8a2be2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

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

/* Эффекты при наведении */
.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 8px 25px rgba(179, 36, 133, 0.15);
    border-color: rgba(179, 36, 133, 0.3);
}


/* Состояния видимости */
.tour-card.visible {
    opacity: 1;
    transform: scale(1);
}

.tour-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Ссылка в карточке */
.tour-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Контейнер для изображения */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tour-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

/* Контент карточки */
.card-content {
    padding: 24px;
    background: #fff;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.card-content h3 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.card-content p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Мета-информация */
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.card-duration {
    color: #718096;
    font-weight: 500;
}

.card-price {
    color: #b32485;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Дополнительные улучшения для мобильных устройств */
@media (max-width: 768px) {
    .tour-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        margin: 20px auto;
    }
    
    .card-image-wrapper {
        height: 180px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .title {
        font-size: 60px;
        line-height: 80px;
    }
}


.footer {
    background: linear-gradient(135deg, #1a1d23 0%, #2d3436 100%);
    padding: 30px 0 20px;
    position: relative;
    overflow: hidden;
}

 



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

.footer__brand {
    text-align: left;
}

.footer__title {
    color: #fcfbfb;
    font-size: 1.4em;
    font-weight: 700;
    margin: 0 0 5px 0;
    letter-spacing: -0.5px;
}

.footer__tagline {
    color: #a0a0a0;
    font-size: 0.85em;
    margin: 0;
    font-weight: 300;
}

.contact-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-link:hover {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.contact-link svg {
    transition: transform 0.3s ease;
}

.contact-link:hover svg {
    transform: scale(1.1);
}

.footer__copyright {
    text-align: right;
}

.footer__copyright p {
    color: #888;
    font-size: 0.8em;
    margin: 0;
    font-weight: 300;
}

/* Адаптивность */
@media (max-width: 968px) {
    .footer__container {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer__brand {
        text-align: center;
    }
    
    .contact-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .footer__copyright {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 25px 0 15px;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-link {
        width: 200px;
        justify-content: center;
    }
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
