/* static/css/style.css - ВЕРСИЯ С REMIX ICONS */

/* 1. Глобальные переменные и стили */
:root {
    --bs-body-bg: #fff;
    --body-font-family: 'TTFors', sans-serif;

    --border-radius-base: 0.75rem;
    --box-shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
    --primary-color: #007bff;
        --heading-font-family: 'TTHoves',  sans-serif;
}

body {
    background-color: var(--bs-body-bg);
    font-family: var(--bs-body-font-family);
}


.article {
        display: flex
;
    align-items: center;
    justify-content: space-between;
}

h2 {
    margin-bottom: 0 !important;
}
body,
p, li, a, span,
input, textarea,
.navbar, .card-body, .footer-description{
    font-family:var(--body-font-family);
}

nav {

}
.px-2 {
    padding-left: 0rem !important;
}

.summer {
    background-image: url(/static/img/summer.svg);
    width: 32px;
    height: 32px;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
}

.winter {
    background-image: url(/static/img/winter.svg);
    width: 32px;
    height: 32px;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
}

.spring {
    background-image: url(/static/img/spring.svg);
    width: 32px;
    height: 32px;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
}

.autumn {
    background-image: url(/static/img/autumn.svg);
    width: 32px;
    height: 32px;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
}


.logo {
    position: relative;
    width: 150px;
    height: 32px;
    /* background-image: url(/static/img/fasl_logo.svg); - УДАЛИ ЭТУ СТРОКУ */
    /* background-position: center; - УДАЛИ */
    /* background-repeat: no-repeat; - УДАЛИ */
    display: flex;
}

/* Добавь стили для .fasl */
.fasl {
    background-image: url(/static/img/fasl_logo.svg);
    width: 150px;
    height: 32px;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Все span элементы должны иметь opacity transition */
.logo span {
    position: absolute;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Начальные позиции */
.winter { transform: translateX(0px); }
.spring { transform: translateX(40px); }
.summer { transform: translateX(80px); }
.autumn { transform: translateX(120px); }

/* Анимация по data-атрибуту */
.logo[data-season="0"] .winter { transform: translateX(0px); }
.logo[data-season="0"] .spring { transform: translateX(40px); }
.logo[data-season="0"] .summer { transform: translateX(80px); }
.logo[data-season="0"] .autumn { transform: translateX(120px); }

.logo[data-season="1"] .winter { transform: translateX(120px); }
.logo[data-season="1"] .spring { transform: translateX(0px); }
.logo[data-season="1"] .summer { transform: translateX(40px); }
.logo[data-season="1"] .autumn { transform: translateX(80px); }

.logo[data-season="2"] .winter { transform: translateX(80px); }
.logo[data-season="2"] .spring { transform: translateX(120px); }
.logo[data-season="2"] .summer { transform: translateX(0px); }
.logo[data-season="2"] .autumn { transform: translateX(40px); }

.logo[data-season="3"] .winter { transform: translateX(40px); }
.logo[data-season="3"] .spring { transform: translateX(80px); }
.logo[data-season="3"] .summer { transform: translateX(120px); }
.logo[data-season="3"] .autumn { transform: translateX(0px); }



/* Состояние FASL (4) */
.logo[data-season="4"] .winter,
.logo[data-season="4"] .spring,
.logo[data-season="4"] .summer,
.logo[data-season="4"] .autumn {
    opacity: 0;
}
.logo[data-season="4"] .fasl {
    opacity: 1;
}




a {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6{
    font-family: var(--heading-font-family);

    letter-spacing:-0.01em;
}
/* 2. Навигация и переключатель языков */
.navbar {
    box-shadow: var(--box-shadow-light);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.lang-switcher .nav-link {
    padding: 0.25rem 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s, background-color 0.2s;
    border-radius: 0.3rem;
    font-size: 0.9rem;
}
.lang-switcher .nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}
.lang-switcher .nav-link.active {
    color: #fff;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.2);
}

/* 3. Главная страница: Секция категории */
.category-section {
    position: relative;
    margin-bottom: 0rem !important;
        margin-top: 2rem; 
}

.category-section h2 {
    font-weight: 300;
    font-size: 2.5rem;



}
.category-section h2 a {
    color: inherit;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}
.category-section h2 a:hover {
    color: var(--primary-color);
}
.category-section h2 a i {
    font-size: 1.5rem;
    opacity: 0.8;
}

/* 4. Дизайн карточки */
.card-story {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    border: none;
    border-radius: var(--border-radius-base);
    box-shadow: var(--box-shadow-light);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.card-story:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
}

.card-story .card-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-top-left-radius: var(--border-radius-base);
    border-top-right-radius: var(--border-radius-base);
}

.card-story img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-story:hover img {
    transform: scale(1.05);
}

.card-story .card-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-story .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #212529;
    line-height: 1.3;
}

.card-story .card-location {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.card-story .card-location i {
    margin-right: 0.25rem;
    font-size: 0.8rem;
}

/* 5. ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ SLICK CAROUSEL С REMIX ICONS */
/* 5. ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ SLICK CAROUSEL */
.story-carousel {
    position: relative;
}

.story-carousel .slick-list {
    padding: 10px 0;
}

.story-carousel .slick-track {
    display: flex;
    align-items: stretch;
}

.story-carousel .slick-slide {
    height: auto;
}

.story-carousel .slick-slide > div {
    height: 100%;
    padding: 0 10px;
}

/* ИСПРАВЛЕННЫЕ стрелки навигации */
.story-carousel .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
}

.story-carousel .slick-arrow:hover {
    background: var(--primary-color, #007bff);
    border-color: var(--primary-color, #007bff);
    box-shadow: 0 6px 25px rgba(0, 123, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.story-carousel .slick-arrow:focus {
    outline: none;
}

/* ИСПРАВЛЕНО: Стили для иконок внутри стрелок */
.story-carousel .slick-arrow i {
    font-size: 20px;
    color: #6c757d;
    transition: color 0.3s ease;
}

.story-carousel .slick-arrow:hover i {
    color: #fff;
}

.story-carousel .slick-prev {
    left: -25px;
}

.story-carousel .slick-next {
    right: -25px;
}

/* Отключенные стрелки */
.story-carousel .slick-arrow.slick-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.story-carousel .slick-arrow.slick-disabled:hover {
    transform: translateY(-50%);
    background: #fff;
    border-color: #e9ecef;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.story-carousel .slick-arrow.slick-disabled:hover i {
    color: #6c757d;
}

/* Адаптивность для стрелок */
@media (max-width: 992px) {
    .story-carousel .slick-prev {
        left: -20px;
    }
    .story-carousel .slick-next {
        right: -20px;
    }
    
    .story-carousel .slick-arrow {
        width: 45px;
        height: 45px;
    }
    
    .story-carousel .slick-arrow i {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .story-carousel .slick-prev {
        left: -15px;
    }
    .story-carousel .slick-next {
        right: -15px;
    }
    
    .story-carousel .slick-arrow {
        width: 40px;
        height: 40px;
    }
    
    .story-carousel .slick-arrow i {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .story-carousel .slick-arrow {
        display: none !important;
    }
}

/* 6. Хлебные крошки */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
color: var(--primary-color);
    font-weight: 500;
}

.breadcrumb-item i {
    font-size: 0.9rem;
}

/* 7. Страница "Детали" */
.detail-card {
    background-color: #fff;
    border-radius: var(--border-radius-base);
    box-shadow: var(--box-shadow-light);
    border: 1px solid #e9ecef;
}

.detail-main-img {
    width: 100%;
    border-radius: var(--border-radius-base);
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow-light);
}

.detail-card h4 {
    color: #495057;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.detail-card h4 i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.detail-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.detail-card ul li:last-child {
    border-bottom: none;
}

.detail-card ul li i {
    width: 20px;
    text-align: center;
}

.detail-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.detail-card a:hover {
    color: #0056b3;
    text-decoration: underline;
}

#yandex-map {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-base);
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.1rem;
    border: 2px dashed #dee2e6;
}

.gallery-grid img {
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow-light);
    transition: transform 0.2s ease;
}
.gallery-grid img:hover {
    transform: scale(1.03);
}

/* 8. Заголовки страниц */
h1 i, h2 i, h3 i, h4 i {
    opacity: 0.8;
}

/* 9. Алерты */
.alert {
    border: none;
    border-radius: var(--border-radius-base);
    box-shadow: var(--box-shadow-light);
}

.alert i {
    font-size: 1.1rem;
}

/* 10. Адаптивность */
@media (max-width: 992px) {
    .story-carousel .slick-prev {
        left: -20px;
    }
    .story-carousel .slick-next {
        right: -20px;
    }
    
    .story-carousel .slick-arrow {
        width: 45px;
        height: 45px;
    }
    
    .story-carousel .slick-arrow:before {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .category-section h2 {
        font-size: 2rem;
    }
    
    .category-section h2 a i {
        font-size: 1.0rem;
    }
    
    .detail-card {
        padding: 1.5rem;
    }
    #yandex-map {
        height: 300px;
    }
    
    .story-carousel .slick-prev {
        left: -15px;
    }
    .story-carousel .slick-next {
        right: -15px;
    }
    
    .story-carousel .slick-arrow {
        width: 40px;
        height: 40px;
    }
    
    .story-carousel .slick-arrow:before {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .story-carousel .slick-arrow {
        display: none !important;
    }
    
    /* Стили для точек на мобильных */
    .story-carousel .slick-dots {
        text-align: center;
        margin-top: 0px;
        padding: 0;
        list-style: none;
    }
    
    .story-carousel .slick-dots li {
        display: inline-block;
        margin: 0 5px;
    }
    
    .story-carousel .slick-dots li button {
        width: 12px;
        height: 1px;
        border-radius: 50%;
        background: #ccc;
        border: none;
        font-size: 0;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .story-carousel .slick-dots li.slick-active button {
        background: var(--primary-color);
    }
    
    .story-carousel .slick-dots li button:hover {
        background: var(--primary-color);
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .lang-switcher .nav-link {
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
    }
}

/* ДОБАВЬТЕ ЭТИ СТИЛИ В ВАШ style.css */

/* ПОЛНЫЕ ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ ЯНДЕКС.КАРТ */

/* Основные стили для контейнера карты */
#yandex-map {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-base);
    background-color: #e9ecef;
    border: 2px solid #dee2e6;
    overflow: hidden;
    position: relative;
}

/* Улучшенная анимация загрузки */
.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6c757d;
    font-size: 1.1rem;
    background: linear-gradient(45deg, #f8f9fa 25%, transparent 25%), 
                linear-gradient(-45deg, #f8f9fa 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f8f9fa 75%), 
                linear-gradient(-45deg, transparent 75%, #f8f9fa 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    animation: slide 2s linear infinite;
}

@keyframes slide {
    0% { background-position: 0 0, 0 10px, 10px -10px, -10px 0px; }
    100% { background-position: 20px 20px, 20px 30px, 30px 10px, 10px 20px; }
}

.map-loading i {
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Переопределяем стили Яндекс.Карт для лучшего вида */
#yandex-map .ymaps-2-1-79-map {
    border-radius: var(--border-radius-base);
}

/* УБИРАЕМ ЛИШНИЕ ЭЛЕМЕНТЫ ЯНДЕКС.КАРТ */

/* Скрываем кнопку "Как добраться" */
#yandex-map .ymaps-2-1-79-gotoymaps,
#yandex-map [class*="gotoymaps"],
#yandex-map .ymaps-2-1-79-route-button,
#yandex-map [class*="route-button"],
#yandex-map [class*="ymaps-2"][class*="route"] {
    display: none !important;
    visibility: hidden !important;
}

/* Скрываем кнопку "Создать свою карту" */
#yandex-map .ymaps-2-1-79-gototech,
#yandex-map [class*="gototech"],
#yandex-map a[href*="tech.yandex"],
#yandex-map .ymaps-2-1-79-copyright__link,
#yandex-map [class*="copyright__link"] {
    display: none !important;
    visibility: hidden !important;
}

/* Скрываем блок с промо-кнопками */
#yandex-map .ymaps-2-1-79-map-copyrights-promo {
    display: none !important;
    visibility: hidden !important;
}

/* Скрываем панель слоев */
#yandex-map .ymaps-2-1-79-layers__item,
#yandex-map [class*="layers__item"] {
    display: none !important;
}

/* Скрываем все лишние контролы в левом нижнем углу */
#yandex-map .ymaps-2-1-79-controls__bottom_left,
#yandex-map [class*="controls__bottom_left"] {
    display: none !important;
}

/* Скрываем рекламные элементы и ссылки */
#yandex-map .ymaps-2-1-79-promo,
#yandex-map [class*="promo"],
#yandex-map .ymaps-2-1-79-ads,
#yandex-map [class*="ads"] {
    display: none !important;
}

/* Оставляем только нужные контролы */
#yandex-map .ymaps-2-1-79-controls__top_right,
#yandex-map [class*="controls__top_right"] {
    display: block !important;
}

/* Стилизуем контролы масштабирования */
#yandex-map .ymaps-2-1-79-zoom,
#yandex-map [class*="zoom"] {
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Кнопки навигации */
.btn-outline-primary:hover {
    background-color: var(--primary-color, #007bff);
    border-color: var(--primary-color, #007bff);
}

/* Улучшаем вид копирайта */
#yandex-map .ymaps-2-1-79-copyright {
    opacity: 0.4 !important;
    font-size: 10px !important;
    pointer-events: none !important;
}

#yandex-map .ymaps-2-1-79-copyright__text {
    font-size: 9px !important;
}

/* Делаем карту более современной */
#yandex-map .ymaps-2-1-79-map-bg {
    background: #f8f9fa !important;
}

/* Убираем возможность выделения текста в карте */
#yandex-map * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

/* Улучшаем вид меток на карте */
#yandex-map .ymaps-2-1-79-placemark-overlay {
    cursor: pointer;
}

/* Стили для balloon (всплывающее окно) */
#yandex-map .ymaps-2-1-79-balloon {
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

#yandex-map .ymaps-2-1-79-balloon__content {
    padding: 15px !important;
    font-family: var(--bs-body-font-family) !important;
}

/* Адаптивность для карты */
@media (max-width: 768px) {
    #yandex-map {
        height: 300px;
    }
    
    /* На мобильных еще больше скрываем */
    #yandex-map .ymaps-2-1-79-controls,
    #yandex-map [class*="controls"] {
        opacity: 0.7 !important;
    }
    
    /* Уменьшаем контролы на мобильных */
    #yandex-map .ymaps-2-1-79-zoom {
        transform: scale(0.9) !important;
    }
}

@media (max-width: 576px) {
    #yandex-map {
        height: 250px;
        border-radius: 8px;
    }
    
    /* Еще меньше контролы на маленьких экранах */
    #yandex-map .ymaps-2-1-79-zoom {
        transform: scale(0.8) !important;
    }
    
    /* Скрываем полноэкранную кнопку на мобильных */
    #yandex-map [class*="float-button-icon_icon_expand"] {
        display: none !important;
    }
}

/* ============================================================================ */
/* HERO СЕКЦИЯ */
/* ============================================================================ */

.hero-carousel {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(0 0 0 / 9%) 0%, rgb(0 0 0 / 90%) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    margin-top: 2rem;
}

.btn-hero {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    color: var(--primary-color, #007bff);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: var(--primary-color, #007bff);
    text-decoration: none;
}

.btn-hero i {
    transition: transform 0.3s ease;
}

.btn-hero:hover i {
    transform: translateX(5px);
}

/* Навигация Hero слайдера */
.hero-navigation {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
}

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

.hero-dot.active {
    background: white;
    transform: scale(1.2);
}

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

/* Стрелки для Hero слайдера */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow.prev {
    left: 30px;
}

.hero-arrow.next {
    right: 30px;
}

.hero-arrow i {
    font-size: 1.5rem;
}

/* AOS анимации для Hero */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-slide {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-hero {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .hero-arrow {
        width: 50px;
        height: 50px;
    }
    
    .hero-arrow.prev {
        left: 15px;
    }
    
    .hero-arrow.next {
        right: 15px;
    }
    
    .hero-background {
        background-attachment: scroll;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn-hero {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-content {
            text-align: center;
    padding: 4rem 0;
    }
}

/* ============================================================================ */
/* ФУТЕР */
/* ============================================================================ */

/* ============================================================================ */
/* ФУТЕР (СВЕТЛАЯ ВЕРСИЯ) */
/* ============================================================================ */

.site-footer {
    /* ИЗМЕНЕНО: Фон со светлого на тёмный */
    background: #f8f9fa; 
    /* ИЗМЕНЕНО: Основной цвет текста */
    color: #6c757d; 
    margin-top: 3rem;
    border-top: 1px solid #dee2e6; /* Добавляем рамку сверху для отделения */
}

.footer-main {
    padding: 3rem 0 2rem;
}

.footer-widget {
    margin-bottom: 2rem;
}

/* Заголовки футера */
.footer-title {
    /* ИЗМЕНЕНО: Цвет заголовка */
    color: #212529; 
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-widget-title {
    /* ИЗМЕНЕНО: Цвет заголовка виджета */
    color: #212529; 
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color, #007bff);
}

/* Логотип в футере */
.footer-logo-img {
    max-height: 50px;
    width: auto;
}

/* Описание */
.footer-description {
    /* ИЗМЕНЕНО: Цвет текста описания */
    color: #6c757d; 
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Социальные сети */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    /* ИЗМЕНЕНО: Фон иконки */
    background: #e9ecef;
    /* ИЗМЕНЕНО: Цвет иконки */
    color: #495057; 
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color, #007bff);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.social-link i {
    font-size: 1.2rem;
}

/* Ссылки футера */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    /* ИЗМЕНЕНО: Цвет ссылки */
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--primary-color, #007bff);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Контактная информация */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    /* ИЗМЕНЕНО: Цвет текста контактов */
    color: #6c757d;
}

.footer-contact-item i {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    color: var(--primary-color, #007bff);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer-contact-item a {
    /* ИЗМЕНЕНО: Цвет ссылки в контактах */
    color: #495057;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--primary-color, #007bff);
}

/* Переключатель языков в футере */
.footer-lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.footer-lang-link {
    /* ИЗМЕНЕНО: Цвет языковой ссылки */
    color: #495057;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-lang-link:hover {
    color: var(--primary-color, #007bff);
    /* ИЗМЕНЕНО: Фон при наведении */
    background: rgba(0, 0, 0, 0.05);
}

.footer-lang-link.active {
    color: var(--primary-color, #007bff);
    background: rgba(0, 123, 255, 0.1);
    font-weight: 600;
}

/* Нижняя часть футера */
.footer-bottom {
    /* ИЗМЕНЕНО: Убираем фон, используем рамку */
    background: transparent;
    padding: 1.5rem 0;
    border-top: 1px solid #dee2e6;
}

.footer-copyright,
.footer-credits {
    margin: 0;
    /* ИЗМЕНЕНО: Цвет текста копирайта */
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.footer-credits {
    justify-content: end;
}

.footer-credits .text-danger {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Адаптивность (остается без изменений, но приведена для полноты) */
@media (max-width: 768px) {
    .footer-main {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-widget {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-credits {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-bottom .row > div {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-widget-title {
        font-size: 1rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link i {
        font-size: 1.1rem;
    }
}


/* ============================================================================ */
/* ШАПКА САЙТА */
/* ============================================================================ */

.site-header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1030;
}

/* Верхняя полоса */
.header-top {
    background: #f8f9fa;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.header-contact {
    color: #6c757d;
    font-size: 0.9rem;
}

.header-contact a {
    color: var(--primary-color, #007bff);
    text-decoration: none;
    font-weight: 500;
}

.header-contact a:hover {
    color: #0056b3;
}

.header-social {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.header-social-link {
    color: #6c757d;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.header-social-link:hover {
    color: var(--primary-color, #007bff);
}

/* Основная навигация */
.navbar {
    padding: 1rem 0;

}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.navbar-logo {
    max-height: 40px;
    width: auto;
}

/* Навигационные ссылки */
.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

/* ИЗМЕНЕНО: Эффект наведения для светлой темы */
.navbar-nav .nav-link:hover {
    background: rgba(0, 0, 0, 0.05); /* Легкий серый фон вместо белого */
    color: var(--bs-navbar-brand-color); /* Используем цвет по умолчанию для текста */
}

.navbar-nav .nav-link i {
    font-size: 0.9rem;
}

/* --- NAV OVERFLOW & SPECIAL LINKS --- */
.navbar-collapse {
    overflow: visible;
}

#primary-nav {
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow: visible;
}

#primary-nav > .nav-item {
    white-space: nowrap;
    flex-shrink: 0;
}

#primary-nav > .nav-item.d-none {
    display: none !important;
}

#primary-nav > .nav-item.nav-more .dropdown-menu {
    min-width: 16rem;
}

.navbar-nav .nav-more > .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    min-width: 2.75rem;
}

.navbar-nav .nav-more .dropdown-item i {
    margin-right: 0.5rem;
}

.nav-fixed-elements {
    flex-shrink: 0;
}

.navbar-nav .nav-link-logo {
    display: flex;
    align-items: center;
    padding: 0;
}

.navbar-nav .nav-link-logo .tashkent {
    height: 48px;
}

/* Выпадающее меню */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 280px;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: var(--primary-color, #007bff);
    color: #fff;
}

.dropdown-item.active {
    background: var(--primary-color, #007bff);
    color: #fff;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-header {
    padding: 0.75rem 1.5rem 0.5rem;
    font-weight: 600;
    color: var(--primary-color, #007bff);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.dropdown-divider {
    margin: 0.5rem 0;
}

/* Переключатель языков */
.current-lang {
    font-weight: 600;
}

/* Кнопка админки */
.btn-outline-light {
    border-width: 2px;
    font-weight: 500;
}

.btn-outline-light:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

/* Мобильная навигация */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.05);
        margin-top: 1rem;
        border-radius: 8px;
        padding: 1rem;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }
    
    .dropdown-menu {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .btn-outline-light {
        margin-top: 1rem;
        width: 100%;
    }
}

/* Адаптивность для планшетов */
@media (max-width: 768px) {
    .header-top {
        display: none !important;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-logo {
        max-height: 35px;
    }
}

/* Мобильные устройства */
@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-logo {
        max-height: 30px;
    }
    
    .dropdown-menu {
        min-width: 100%;
    }
}

/* Анимации */
/* Анимации */
.navbar-nav .nav-link {
    position: relative;
    overflow: hidden;
}

/* ИЗМЕНЕНО: Цвет подчеркивания для светлой темы */
.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color, #007bff); /* Используем основной цвет вместо белого */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before {
    width: 80%;
}
/* Dropdown анимация */
.dropdown-menu {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown.show .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
}

/* Модальное окно поиска */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.input-group .form-control {
    border-right: none;
}

.input-group .btn {
    border-left: none;
}

/* ДОБАВИТЬ В КОНЕЦ ФАЙЛА static/css/style.css */

/* 1. Плавный скролл для всей страницы (встроенная функция браузера) */
html {
    scroll-behavior: smooth;
}

/* 2. Стили для анимации появления */

/* Изначальное состояние элемента: он невидим и немного сдвинут вниз */
.anim-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Конечное состояние: элемент видим и на своем месте. 
   Этот класс добавляется через JavaScript, когда элемент появляется на экране. */
.anim-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================================ */
/* NETFLIX-СТИЛЬ КАРТОЧКИ С НАЛОЖЕННЫМ ТЕКСТОМ И ЭФФЕКТОМ БЛИКА */
/* ============================================================================ */

.card-story-netflix {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.card-story-netflix:hover {
    text-decoration: none;
    color: inherit;
    transform: scale(1.02);
}

.card-netflix-container {
    position: relative;
    width: 100%;
    height: 460px; /* Фиксированная высота */
    border-radius: 12px;
    overflow: hidden;

    transition: all 0.3s ease;
}

.card-story-netflix:hover .card-netflix-container {
    
}

/* Фоновое изображение */
.card-netflix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.card-story-netflix:hover .card-netflix-bg {
    transform: scale(1.05);
}

/* Градиентный оверлей для читаемости текста */
.card-netflix-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

/* Блик эффект */
.card-netflix-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 40%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 60%,
        transparent 70%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: all 0.6s ease;
    z-index: 2;
    pointer-events: none;
}

.card-story-netflix:hover .card-netflix-shine {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Контент поверх изображения */
.card-netflix-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 3;
    color: white;
}

.card-netflix-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-netflix-location {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.card-netflix-location i {
    margin-right: 6px;
    font-size: 0.8rem;
}

/* Hover эффект - дополнительное затемнение */
.card-netflix-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.card-story-netflix:hover .card-netflix-hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .card-netflix-container {
        height: 240px;
    }
    
    .card-netflix-content {
        padding: 16px;
    }
    
    .card-netflix-title {
        font-size: 1.1rem;
    }
    
    .card-netflix-location {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .card-netflix-container {
        height: 320px;
    }
    
    .card-netflix-content {
        padding: 12px;
    }
    
    .card-netflix-title {
        font-size: 1rem;
        -webkit-line-clamp: 1;
    }
    
    .card-netflix-location {
        font-size: 0.8rem;
    }
}

/* Дополнительные эффекты для премиум вида */
@media (hover: hover) {
    .card-story-netflix:hover .card-netflix-content {
        transform: translateY(-5px);
        transition: transform 0.3s ease;
    }
}

/* Альтернативный вариант с более выраженным бликом */
.card-netflix-shine-alt {
    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 ease;
    z-index: 2;
    pointer-events: none;
}

.card-story-netflix:hover .card-netflix-shine-alt {
    left: 100%;
}

/* Версия с анимированным градиентом */
.card-netflix-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 200%;
    animation: shine-move 3s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-story-netflix:hover .card-netflix-animated-bg {
    opacity: 1;
}

@keyframes shine-move {
    0% { background-position: -200% -200%; }
    50% { background-position: 200% 200%; }
    100% { background-position: -200% -200%; }
}


.card-netflix-meta{
    font-size: .85rem;
    margin: 0;
    opacity: .9;
    display: flex;
    align-items: center;
}
.card-netflix-meta i{
    margin-right: 6px;
    font-size: .8rem;
    opacity: .8;
}


/* ============== TT Hoves Pro Trial Expanded (TTF) ============== */

/* 100 – Hairline */
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20Hairline.ttf') format('truetype');
    font-weight:100;
    font-style:normal;
    font-display:swap;
}
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20Hairline%20Italic.ttf') format('truetype');
    font-weight:100;
    font-style:italic;
    font-display:swap;
}

/* 100 – Thin (если нужен отдельный) */
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20Thin.ttf') format('truetype');
    font-weight:100;
    font-style:normal;
    font-display:swap;
}
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20Thin%20Italic.ttf') format('truetype');
    font-weight:100;
    font-style:italic;
    font-display:swap;
}

/* 200 – ExtraLight */
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20ExtraLight.ttf') format('truetype');
    font-weight:200;
    font-style:normal;
    font-display:swap;
}
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20ExtraLight%20Italic.ttf') format('truetype');
    font-weight:200;
    font-style:italic;
    font-display:swap;
}

/* 300 – Light */
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20Light.ttf') format('truetype');
    font-weight:300;
    font-style:normal;
    font-display:swap;
}
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20Light%20Italic.ttf') format('truetype');
    font-weight:300;
    font-style:italic;
    font-display:swap;
}

/* 400 – Regular */
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20Regular.ttf') format('truetype');
    font-weight:400;
    font-style:normal;
    font-display:swap;
}
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20Italic.ttf') format('truetype');
    font-weight:400;
    font-style:italic;
    font-display:swap;
}

/* 500 – Medium */
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20Medium.ttf') format('truetype');
    font-weight:500;
    font-style:normal;
    font-display:swap;
}
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20Medium%20Italic.ttf') format('truetype');
    font-weight:500;
    font-style:italic;
    font-display:swap;
}

/* 600 – DemiBold */
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20DemiBold.ttf') format('truetype');
    font-weight:600;
    font-style:normal;
    font-display:swap;
}
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20DemiBold%20Italic.ttf') format('truetype');
    font-weight:600;
    font-style:italic;
    font-display:swap;
}

/* 700 – Bold */
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20Bold.ttf') format('truetype');
    font-weight:700;
    font-style:normal;
    font-display:swap;
}
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20Bold%20Italic.ttf') format('truetype');
    font-weight:700;
    font-style:italic;
    font-display:swap;
}

/* 800 – ExtraBold */
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20ExtraBold.ttf') format('truetype');
    font-weight:800;
    font-style:normal;
    font-display:swap;
}
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20ExtraBold%20Italic.ttf') format('truetype');
    font-weight:800;
    font-style:italic;
    font-display:swap;
}

/* 900 – Black */
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20Black.ttf') format('truetype');
    font-weight:900;
    font-style:normal;
    font-display:swap;
}
@font-face{
    font-family:'TTHoves';
    src:url('/static/fonts/TTHoves/TT%20Hoves%20Pro%20Trial%20Expanded%20Black%20Italic.ttf') format('truetype');
    font-weight:900;
    font-style:italic;
    font-display:swap;
}


/* =========================================================
   TT Fors Trial  (имена с подчёркиваниями из папки)
   ========================================================= */

/* 400 – Regular */
@font-face{
    font-family:'TTFors';
    src:url('/static/fonts/TTFors/TT_Fors_Trial_Regular.ttf') format('truetype');
    font-weight:400;
    font-style:normal;
    font-display:swap;
}
@font-face{
    font-family:'TTFors';
    src:url('/static/fonts/TTFors/TT_Fors_Trial_Italic.ttf') format('truetype');
    font-weight:400;
    font-style:italic;
    font-display:swap;
}

/* 500 – Medium */
@font-face{
    font-family:'TTFors';
    src:url('/static/fonts/TTFors/TT_Fors_Trial_Medium.ttf') format('truetype');
    font-weight:500;
    font-style:normal;
    font-display:swap;
}
@font-face{
    font-family:'TTFors';
    src:url('/static/fonts/TTFors/TT_Fors_Trial_Medium_Italic.ttf') format('truetype');
    font-weight:500;
    font-style:italic;
    font-display:swap;
}

/* 700 – Bold */
@font-face{
    font-family:'TTFors';
    src:url('/static/fonts/TTFors/TT_Fors_Trial_Bold.ttf') format('truetype');
    font-weight:700;
    font-style:normal;
    font-display:swap;
}
@font-face{
    font-family:'TTFors';
    src:url('/static/fonts/TTFors/TT_Fors_Trial_Bold_Italic.ttf') format('truetype');
    font-weight:700;
    font-style:italic;
    font-display:swap;
}


/* ——— Мобильная/планшетная версия: 320 px – 768 px ——— */
@media (min-width: 320px) and (max-width: 768px) {

    .footer-title{
        color:#212529;
        font-size:1.5rem;
        font-weight:700;
        margin-bottom:1rem;
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .footer-widget-title{
        color:#212529;
        font-size:1.1rem;
        font-weight:600;
        margin-bottom:1.5rem;
        display:flex;
        align-items:center;
        position:relative;
        padding-bottom:0.5rem;
        justify-content:center;
    }

    .footer-widget-title::after{
        content:'';
        position:absolute;
        bottom:0;
        left:0;
        width:0;          /* ← если нужно скрыть линию; иначе задайте конкретную ширину */
        height:2px;
        background:var(--primary-color,#007bff);
    }
}


.detail-info-item {
    display: flex;
        gap: 16px;
}

.detail-info-list {
        display: flex;
        gap: 16px;
        flex-direction: column;
}

.btn-outline-primary {

    height: 48px;
    display: flex
;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: 2px solid;
    border-radius: 12px;
}

.detail-card a:hover {
    color: #ffffff;
    text-decoration: underline;
}

hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: var(--bs-border-width) solid;
    opacity: .10 !important;
}

.mobile_categories {
padding-left: 0px;
}

.mobile_categories li {
    
 list-style-type: none;
}

.breadcrumb-item+.breadcrumb-item::before {
        content: var(--bs-breadcrumb-divider, "•");
        opacity: 0.25;
}

.navbar {
     
}

.bg-light {
     
}


    .category-section h2 {
        font-size: 1.5rem;
        font-weight: 500;
    }


    .header-top { background: #f8f9fa; padding: 0.5rem 0; border-bottom: 1px solid #dee2e6; }
.header-contact a { color: var(--primary-color, #007bff); text-decoration: none; font-weight: 500; }
.header-social { display: flex; gap: 0.75rem; justify-content: flex-end; }
.navbar-nav .dropdown-menu { min-width: 200px; border: 1px solid #dee2e6; box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); }
.navbar-nav .dropdown-item { padding: 0.5rem 1rem; transition: all 0.2s ease; }
.navbar-nav .dropdown-item:hover, .navbar-nav .dropdown-item:focus { background-color: #f8f9fa; color: #0d6efd; }
.dropdown-menu { list-style: none; padding-left: 0; }
.navbar-nav .nav-link { transition: all 0.2s ease; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus { color: #0d6efd !important; }

.wcag-header-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.wcag-control-group { display: flex; align-items: center; gap: 0.25rem; }
.wcag-control-label { font-size: 0.8rem; color: #6c757d; margin-right: 0.25rem; }
.wcag-btn { padding: 0.2rem 0.6rem; font-size: 0.8rem; border: 1px solid #ced4da; background-color: #f8f9fa; border-radius: 4px; cursor: pointer; transition: all 0.2s ease; line-height: 1.5; color: #495057; }
.wcag-btn:hover { background-color: #e2e6ea; border-color: #adb5bd; }
.wcag-btn.active { background-color: var(--primary-color, #007bff); color: white; border-color: var(--primary-color, #007bff); box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25); }
.wcag-btn i { vertical-align: middle; }

.wcag-panel { width: 300px; font-family: sans-serif; padding: 0; margin-top: 0.5rem; border: 1px solid #dee2e6; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1); }
.wcag-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; border-bottom: 1px solid #e9ecef; font-weight: 600; color: #212529; }
.wcag-panel-body { padding: 15px; }
.wcag-setting { margin-bottom: 15px; }
.wcag-setting:last-child { margin-bottom: 0; }
.wcag-label { font-size: 0.9rem; color: #495057; margin-bottom: 8px; }
.wcag-controls { display: flex; gap: 5px; }
.wcag-controls button { flex: 1; padding: 8px 10px; font-size: 0.9rem; border: 1px solid #ced4da; background-color: #f8f9fa; border-radius: 5px; cursor: pointer; transition: all 0.2s ease; }
.wcag-controls button:hover { background-color: #e2e6ea; border-color: #adb5bd; }
.wcag-controls button.active { background-color: var(--primary-color, #007bff); color: white; border-color: var(--primary-color, #007bff); font-weight: bold; }
.wcag-panel-footer { padding: 15px; border-top: 1px solid #e9ecef; }
.wcag-reset-all { width: 100%; padding: 10px; border: 1px solid #dc3545; background: none; color: #dc3545; border-radius: 5px; cursor: pointer; font-weight: 500; transition: all 0.2s ease;}
.wcag-reset-all:hover { background: #dc3545; color: white; }

html.wcag-font-size-1 { font-size: 18px !important; }
html.wcag-font-size-2 { font-size: 20px !important; }
html.wcag-font-size-3 { font-size: 22px !important; }
html.wcag-grayscale { -webkit-filter: grayscale(100%); filter: grayscale(100%); }
html.wcag-hide-images img, html.wcag-hide-images .card-netflix-bg, html.wcag-hide-images .hero-background { display: none !important; }
html.wcag-hide-images .card-netflix-container { background: #eee; height: auto; min-height: 150px; }
html.wcag-hide-images .card-netflix-content { position: static; color: #212529; text-shadow: none; }

@media (max-width: 991.98px) {
    .navbar-collapse { max-height: calc(100vh - 75px); overflow-y: auto; }
    .navbar-toggler { border: none; padding: 0.25rem 0.5rem; }
    .navbar-toggler:focus { box-shadow: none; }
    .navbar-toggler .ri-menu-line { font-size: 1.8rem; color: #333; }
    .mobile-menu-wrapper { width: 100%; list-style: none; padding-left: 0; }
    .mobile-menu-wrapper .nav-item { list-style: none; }
    .mobile-submenu { list-style: none; padding-left: 0; }
    .mobile-menu-wrapper .dropdown-menu { border: none; box-shadow: none; width: 100%; background-color: transparent; padding-left: 1.5rem; display: none; }
    .mobile-menu-wrapper .dropdown.show .dropdown-menu { display: block; }
    .mobile-menu-wrapper .dropdown-item { padding-left: 1rem; }
    .category-header { font-weight: 600; color: #212529; margin-bottom: 0.25rem; margin-top: 0.5rem; padding: 0.5rem 1rem; background-color: #f8f9fa; border-left: 3px solid #0d6efd; }
    .category-item { padding-left: 2rem !important; font-size: 0.9rem; color: rgba(0,0,0,.65); padding: 0.25rem 1rem; transition: all 0.2s ease; }
    .category-item:hover, .category-item:focus { color: #0d6efd !important; background-color: #f8f9fa; text-decoration: none; }
    .wcag-panel-mobile { padding: 1rem; }
}

.youth-feedback-link { color: #0d6efd !important; font-weight: 600; }

        a.logo-wrapper {
            text-decoration: none;
            outline: none;
        }

        .logo-wrapper {
            display: inline-block;
            position: relative;
            text-decoration: none;
            padding-right: 24px;
        }
        
        .logo-inner {
            display: block;
            animation: logoFlip 8s ease-in-out infinite;
            transform-style: preserve-3d;
        }

        /* Анимация волн */
        #wave1 {
            animation: wave1 3s ease-in-out infinite;
            transform-origin: center;
        }

        #wave2 {
            animation: wave2 4s ease-in-out infinite;
            transform-origin: center;
        }

        #wave3 {
            animation: wave3 3.5s ease-in-out infinite;
            transform-origin: center;
        }

        #wave4 {
            animation: wave4 2.5s ease-in-out infinite;
            transform-origin: center;
        }

        /* Анимация блика */
        #shine-gradient {
            animation: shine 8s ease-in-out infinite;
        }

        @keyframes logoFlip {
            0%, 60%, 100% {
                transform: rotateY(0deg);
            }
            70%, 90% {
                transform: rotateY(180deg);
            }
        }

        @keyframes shine {
            0%, 70%, 100% {
                transform: translateX(-50px) translateY(-50px);
                opacity: 0;
            }
            90% {
                transform: translateX(50px) translateY(50px);
                opacity: 0.7;
            }
        }

        @keyframes wave1 {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-1px);
            }
        }

        @keyframes wave2 {
            0%, 100% {
                transform: translateX(0);
            }
            50% {
                transform: translateX(1px);
            }
        }

        @keyframes wave3 {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(0.5px);
            }
        }

        @keyframes wave4 {
            0%, 100% {
                transform: translateX(0);
            }
            50% {
                transform: translateX(-0.5px);
            }
        }

.tashkent {
    width: auto;
    height: 48px;
    padding-left: 24px;
}

.tashkent img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Контейнер для блика */
a:has(.tashkent) {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* Блик */
a:has(.tashkent)::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 100%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    transform: rotate(25deg);
    animation: tashkentShine 6s ease-in-out infinite;
}

@keyframes tashkentShine {
    0%, 80%, 100% {
        left: -100%;
    }
    90% {
        left: 200%;
    }
}

/* Если браузер не поддерживает :has() */
.tashkent-link {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.tashkent-link::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 100%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    transform: rotate(25deg);
    animation: tashkentShine 6s ease-in-out infinite;
}
