/*
Theme Name: fishchill-child
Version: 6.9
*/

/* 1. Общие настройки и обнуление */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #fff;
    overflow-x: hidden;
}

* { box-sizing: border-box; }

/* 2. Главный экран: ФОН НА ВСЮ ШИРИНУ */
.hero-split-screen {
    display: block !important; 
    position: relative !important;
    width: 100% !important;
    height: 450px !important;
    overflow: hidden;
}

.right-lake-side {
    position: absolute !important;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100% !important;
    background: #011633 url('images/lake-bg.jpg') center top / cover no-repeat !important;
    z-index: 1;
}

.lake-overlay {
    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,0) 35%, 
        rgba(0,0,0,0.4) 60%, 
        rgba(0,0,0,0.7) 100%
    ) !important;
    z-index: 2;
    pointer-events: none;
}

.left-white-side {
    position: absolute !important;
    top: 0; left: 0;
    width: 35% !important;
    height: 100%;
    background: url('images/lake-bg-left.jpg') center center / cover no-repeat !important;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    padding-top: 20px;            
    box-shadow: none;
}

.left-white-side img {
    max-width: 380px !important; 
    height: auto;
    margin: 0 !important; 
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.4));
}

.logo-tagline {
    margin-top: 5px;
    font-size: 15px;
    color: #011633;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(255,255,255,0.6);
}

/* 3. Шапка: СИНЯЯ ПЛАШКА */
.top-nav-bar {
    position: absolute !important;
    top: 0;
    right: 0;
    width: 65% !important; 
    background: #011633 !important; 
    padding: 15px 0;
    height: 110px;   
    z-index: 20;
}

.header-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px; 
}

.menu-toggle {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
}

.header-action {
    flex-grow: 1;
    display: flex;
    justify-content: stretch;
    margin-left: 25px; 
    height: 100%;
}

.btn-book-now {
    background: #5b8c5a !important; 
    color: #fff !important;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px !important; 
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px; 
    border-radius: 12px !important; 
    transition: all 0.3s ease;
    height: 65px; 
    margin: auto 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}

.btn-book-now:hover {
    background: #4a7349 !important;
    transform: scale(1.01);
}

/* 4. Контент на фоне озера */
.hero-centered-content {
    position: absolute;
    top: 60%; 
    left: 67.5%; 
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    color: #fff !important;
    width: 60%;
}

.hero-centered-content h1 {
    font-size: 52px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.9) !important; 
    line-height: 1.1 !important;
    margin-bottom: 35px !important;
    text-transform: uppercase;
}

.main-green-btn {
    background: #5b8c5a !important;
    color: #fff !important;
    padding: 18px 50px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 16px;
}

/* 5. Секция туров */
.tours-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 32px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
}

.tours-grid {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.tour-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
}

.tour-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

/* 6. Секция дополнительных услуг (из дизайна) */
.extra-services-section {
    padding: 60px 0;
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
}

services-grid {
    display: grid !important;
    /* Распределяем место: 1.2 части тексту, по 1 части мерчу и рыбам */
    grid-template-columns: 1.2fr 1fr 1fr !important; 
    gap: 20px !important;
    width: 100% !important;
    align-items: flex-start !important;
}

.service-col {
    flex: 1 !important; /* Распределяем место поровну */
    min-width: 0 !important;
    display: block !important;
}

.service-title {
    font-size: 16px !important; /* Уменьшаем, как на макете */
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 2px solid #011633;
    display: block !important; /* Чтобы линия была на всю ширину колонки */
    padding-bottom: 5px;
    white-space: nowrap; /* Чтобы заголовок не прыгал на вторую строку */
}

.services-list-content p {
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Магазин Мерча */
.merch-items {
    display: flex !important;
    gap: 10px !important;
    justify-content: flex-start !important; /* Прижимаем к левому краю своей колонки */
}

.merch-item {
    text-align: center;
    flex: 1;
}

.merch-item img {
    width: 100%;
    max-width: 120px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.btn-merch {
    background: #5b8c5a;
    color: #fff;
    font-size: 12px;
    padding: 8px 15px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
}

/* Галерея улова */
.fish-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.fish-gallery img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

/* 7. ФУТЕР (КОМПАКТНЫЙ И РОК-Н-РОЛЛЬНЫЙ) */
.custom-footer {
    background-color: #011633 !important; /* Твой синий */
    color: #ffffff !important;
    padding: 20px 0 10px !important; /* УМЕНЬШИЛИ ВЫСОТУ ТУТ */
    margin-top: auto !important; 
    width: 100% !important;
}

.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 40px;
    flex-wrap: wrap;
    gap: 20px;
}

/* ДВЕ КОЛОНКИ ССЫЛОК */
.footer-col-nav {
    display: flex !important;
    gap: 40px !important; /* Расстояние между группами ссылок */
    flex: 2; /* Даем чуть больше места под навигацию */
}

.footer-links-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.footer-links-group a {
    color: #ffffff !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links-group a:hover {
    color: #5b8c5a !important;
}

.footer-col-social, .footer-col-info {
    flex: 1;
}

.footer-label {
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 14px;
    color: #5b8c5a; /* Зеленый акцент для заголовков */
}

.soc-icons {
    display: flex;
    gap: 15px;
}

.soc-icons i {
    color: #fff;
    font-size: 20px;
}

.footer-col-info p {
    margin: 5px 0;
    font-size: 13px;
    opacity: 0.9;
}

/* ЛОГОТИП В ФУТЕРЕ */
.footer-col-logo {
    text-align: right;
    flex: 1;
}

.footer-col-logo img {
    max-width: 60px; /* Уменьшили лого, чтобы поджать высоту */
    margin-bottom: 5px;
}

.footer-col-logo p {
    font-weight: 900;
    font-size: 16px;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 8. ИСПРАВЛЕНИЕ КОЛОНОК (ЧТОБЫ НЕ КРИВО) */

.layout-columns {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    align-items: stretch !important;
    background: #fff;
    margin-top: 0 !important; /* УБРАЛИ МИНУС, чтобы не было наезда */
}

/* Левая часть: Туры */
/* 1. Убираем отступ у всей левой колонки */
.left-column {
    flex: 0 0 33% !important;
    padding: 0 20px 40px !important; /* УСТАНОВИЛИ 0 ВМЕСТО 10px СВЕРХУ */
    border-right: 1px solid #eee;
    margin-top: 0 !important;
}

/* 2. Убираем отступ у самого заголовка */
.left-column h2, 
.left-column .section-title {
    margin-top: 5 !important;      /* Поднимает текст в самый верх колонки работает */ 
    padding-top: 0 !important;
    margin-bottom: 20px !important; /* Оставляем только отступ до картинок */
}

/* Правая часть: Услуги */
.right-column {
    flex: 0 0 67% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.services-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 20px !important;
    padding: 10px 20px 20px !important; /* Уменьшили верхний отступ */
    width: 100% !important;
}

/* Убираем пустоту над футером */
.custom-footer {
    margin-top: 0 !important; 
    padding: 15px 0 !important;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1024px) {
    .layout-columns { flex-direction: column !important; }
    .left-column, .right-column { flex: 0 0 100% !important; }
    .footer-wrap { flex-direction: column; align-items: center; text-align: center; }
    .soc-icons { justify-content: center; }
}

/* --- ГЛОБАЛЬНАЯ ФИКСАЦИЯ КАРТИНОК --- */
/* --- ШАГ 2: ВНУТРЕННИЙ ДИЗАЙН БЛОКОВ --- */

/* 1. Картинки в Клёвах — делаем их аккуратной сеткой 2х2 */
.fish-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 10px !important;
    width: 100% !important;
}

.fish-gallery img {
    width: 100% !important;
    height: 80px !important; /* Фиксируем высоту для ровности */
    object-fit: cover !important;
    border-radius: 8px !important;
}

/* 2. Мерч — выравниваем карточки */
.merch-items {
    display: flex !important;
    gap: 15px !important;
    justify-content: flex-start !important;
}

.merch-item {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 12px;
    flex: 1 !important;
    max-width: 120px;
}

.merch-item img {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 10px !important;
}

/* 3. Кнопки «В КОРЗИНУ» — делаем компактными как на макете */
.btn-merch {
    font-size: 10px !important;
    padding: 6px 10px !important;
    width: 100%;
    text-align: center;
}
/* --- АДАПТИВНОСТЬ ПОД ВСЕ УСТРОЙСТВА --- */

/* 1. Планшеты и небольшие ноутбуки (до 1024px) */
@media (max-width: 1024px) {
    .layout-columns {
        flex-direction: column !important; /* Колонки встают друг под друга */
    }

    .left-column, .right-column {
        flex: 0 0 100% !important; /* Каждая колонка на всю ширину */
        width: 100% !important;
        border-right: none !important;
    }

    .services-container {
        flex-wrap: wrap !important; /* Блоки услуг могут переноситься */
    }
}

/* 2. Мобильные телефоны (до 768px) */
@media (max-width: 768px) {
    .hero-split-screen {
        height: auto !important;
        min-height: 300px !important;
    }

    /* Уменьшаем картинки туров еще сильнее для мобилок */
    .tour-image {
        height: 200px !important; 
    }

    /* Блоки "Отдых", "Мерч", "Клёвы" на мобилках встают в один столбик */
    .services-container {
        flex-direction: column !important;
        padding: 20px !important;
    }

    .service-block, .merch-item {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Галерея рыб: на телефонах лучше 2 в ряд, а не 4 */
    .fish-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Футер на мобилках: всё центрируем */
    .footer-wrap {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
    }
}
/* --- АДАПТИВНОСТЬ КАРТИНКАМ ТУРОВ --- */

/* 1. Делаем контейнер картинки гибким */
.tour-image {
    width: 100% !important;
    height: 200px !important; /* Базовая высота для ПК */
    overflow: hidden !important;
    border-radius: 12px !important;
    margin-bottom: 15px !important;
}

/* 2. Сама картинка подстраивается под контейнер */ 
.tour-image img {
    width: 100% !important;
    height: 100% !important;
    
    /* ИЗМЕНЕНИЕ: меняем cover на contain, чтобы картинка влезла целиком и уменьшилась */
    object-fit: contain !important; 
    
    /* ДОБАВЛЕНИЕ: внутренний отступ еще сильнее уменьшит масштаб картинки */
    padding: 10px !important; 
    box-sizing: border-box !important;
    
    background-color: #fff !important; /* Белый фон, чтобы не было пустоты */
    display: block !important;
    transition: transform 0.3s ease;
}

/* Изменяем эффект наведения, чтобы он не конфликтовал с масштабом */
.tour-card:hover .tour-image img {
    transform: scale(0.85); /* Чуть увеличивается при наведении */
}

/* 3. Адаптация под мобильные (планшеты и телефоны) */
@media (max-width: 768px) {
    .tour-image {
        height: 160px !important; /* На телефонах делаем чуть крупнее для удобства */
    }
    
    .tour-card {
        max-width: 100% !important; /* На мобилках карточка на всю ширину */
        margin-bottom: 20px !important;
    }
}

/* ФИНАЛЬНЫЙ КОНТРОЛЬ КАРТИНОК */

.tours-grid {
    display: flex !important;
    flex-direction: row !important; /* Строго в ряд */
    flex-wrap: nowrap !important;   /* Запрещаем перенос на вторую строку */
    gap: 10px !important;           /* Уменьшаем зазор между карточками, чтобы влезли */
    justify-content: space-between !important;
    align-items: flex-start !important;
}

.tour-card {
    /* Рассчитываем ширину: (100% / 3) минус зазоры */
    flex: 0 0 calc(33.33% - 10px) !important; 
    min-width: 0 !important; /* Сбрасываем старое ограничение */
    max-width: none !important;
    margin-bottom: 10px !important;
}

.tours-grid .tour-image {
    width: 100% !important;
    height: 270px !important;      /* Делаем рамку чуть ниже, чтобы в ряду смотрелось аккуратно */
    overflow: hidden !important;
    border-radius: 10px !important;
    background-color: #f7f7f7 !important;
    border: 1px solid #eee !important;
    margin: 0 auto 5px auto !important;
}

.tours-grid .tour-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 5px !important;        /* Уменьшили отступ для компактности */
    transform: scale(1.55) !important;
    box-sizing: border-box !important;
}

/* Уменьшаем шрифт ссылки, чтобы она не ломала ряд */
.tour-card a {
    font-size: 12px !important;
    display: block;
    text-decoration: none;
}
/* --- МОБИЛЬНАЯ АДАПТАЦИЯ (ДОБАВИТЬ В КОНЕЦ ФАЙЛА) --- */

/* 1. Общая фиксация картинок */
img {
    max-width: 100%;
    height: auto;
}

/* 2. Планшеты и ноутбуки (до 1024px) */
@media (max-width: 1024px) {
    .hero-split-screen {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .left-white-side {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        padding: 20px !important;
    }

    .right-lake-side {
        position: relative !important;
        width: 100% !important;
        min-height: 400px !important;
    }

    .top-nav-bar {
        width: 100% !important;
    }

    .hero-centered-content {
        left: 50% !important;
        width: 90% !important;
    }

    .layout-columns {
        flex-direction: column !important;
    }

    .left-column, .right-column {
        flex: 0 0 100% !important;
        width: 100% !important;
        border-right: none !important;
    }
}

/* 3. Мобильные телефоны (до 768px) */
@media (max-width: 768px) {
    .hero-centered-content h1 {
        font-size: 28px !important;
        margin-bottom: 20px !important;
    }

    .btn-book-now {
        font-size: 18px !important;
        height: 50px !important;
    }

    .services-container {
        flex-direction: column !important;
    }

    .tours-grid {
        flex-direction: column !important;
        align-items: center !important;
    }

    .tour-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 350px !important;
    }

    .tours-grid .tour-image {
        height: 200px !important;
    }

    /* Сетка рыб 2х2 на мобильных */
    .fish-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
.hs-lb-close { 
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
    font-weight: bold;
    z-index: 20;
    line-height: 1;
    width: 50px;
    height: 50px;
    text-align: center;
}

#hs-lightbox .hs-lb-prev,
#hs-lightbox .hs-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    z-index: 20;
}

#hs-lightbox .hs-lb-prev {
    left: 20px;
}

#hs-lightbox .hs-lb-next {
    right: 20px;
}

.hs-lb-prev {
    left: 20px;
}

.hs-lb-next {
    right: 20px;
}