﻿/* Применяем Manrope ко всему документу */
body {
    font-family: "Manrope", sans-serif;
}

/* ═══ 1. HEADER: navbar + видео-карусель ═══ */

/* Navbar: логотип по центру, полупрозрачный поверх видео */
.navbar-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: #fff;
    backdrop-filter: blur(4px);
}

    .navbar-hero .navbar-brand {
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }

        .navbar-hero .navbar-brand img {
            height: 40px;
            width: auto;
            display: block;
        }

/* Видео-карусель во всю ширину и высоту */
.video-carousel {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

    .video-carousel .carousel-inner,
    .video-carousel .carousel-item {
        height: 100%;
    }

    .video-carousel video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        transform: translate(-50%, -50%);
        object-fit: cover;
    }

/* Затемнение */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100% );
    z-index: 1;
}

/* Текст поверх видео */
.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 90%;
    pointer-events: none;
}

    .video-content h1 {
        font-size: clamp(1.8rem, 5vw, 3.5rem);
        font-weight: 800;
        margin-bottom: 1rem;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    }

    .video-content p {
        font-size: clamp(1rem, 2.5vw, 1.4rem);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

/* Индикаторы карусели */
.video-carousel .carousel-indicators {
    z-index: 4;
    margin-bottom: 160px;
}

    .video-carousel .carousel-indicators button {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.7);
        background: transparent;
        opacity: 1;
        margin: 0 6px;
    }

    .video-carousel .carousel-indicators .active {
        background: #fff;
    }

/* Кнопка-стрелка "пролистать дальше" */
.scroll-down {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    text-decoration: none;
}

    .scroll-down:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateX(-50%) translateY(4px);
    }

    .scroll-down svg {
        width: 24px;
        height: 24px;
        fill: #fff;
        animation: bounce 2s infinite;
    }

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}






/* Главная вертикальная картинка */
.hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}


/* Центрирование картинки в блоке */
.hero-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}



/* Адаптивность под разные размеры (опционально, Bootstrap сам делает адаптив, но можно усилить) */
@media (min-width: 768px) {
    .hero-container img {
        max-height: 900px; /* на десктопе ограничиваем высоту, ширина 100% */
        max-width: 600px;
    }
}

@media (max-width: 767px) {
    .hero-container img {
        max-height: 600px; /* на мобильных чуть меньше */
    }
}

/* Footer: три колонки, адаптивно, разный размер шрифта */
.footer-row {
    background-color: #1a1a2e;
    color: #000;
}

/* Колонка 1 — крупный шрифт (заголовки и ссылки) */
.footer-col-1 h5 {
    color: #000;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col-1 a {
    color: #bbb;
    text-decoration: none;
    font-size: 1.05rem;
}

    .footer-col-1 a:hover {
        color: #000;
    }

/* Колонка 2 — средний шрифт */
.footer-col-2 h5 {
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col-2 a {
    color: #000;
    text-decoration: none;
    font-size: 0.95rem;
}

    .footer-col-2 a:hover {
        color: #000;
    }

/* Колонка 3 — мелкий шрифт */
.footer-col-3 h5 {
    color: #000;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col-3 p {
    color: #000;
    font-size: 0.8rem;
    line-height: 1.7;
}

.footer-col-3 a {
    color: #000;
    text-decoration: none;
    font-size: 0.8rem;
}

    .footer-col-3 a:hover {
        color: #000;
    }
