html {
    scroll-behavior: smooth;
}

/* ===================================
   Стильная прозрачная шапка
   =================================== */

/* Фоновый цвет шапки с размытием (Glassmorphism) */
.bg-dark-glass {
    background-color: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 0.3s ease;
}

/* Тонкая разделительная рамка снизу */
.border-white-10 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Цвет ссылок в меню */
.site-header .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: #ffffff !important;
}

/* Если в SVG логотипе темный текст, этот класс сделает его белым/светлым */
.logo-light {
    filter: brightness(0) invert(1);
}

/* ===================================
   Слайдер (Hero Carousel)
   =================================== */

.my-carousel {
    position: relative;
}

/* Фиксированная и адаптивная высота слайдов */
.hero-img {
    height: 520px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-img {
        height: 420px;
    }
}

/* Градиентное затемнение поверх картинок для читаемости текста */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            rgba(15, 23, 42, 0.85) 0%,
            rgba(15, 23, 42, 0.5) 60%,
            rgba(15, 23, 42, 0.15) 100%
    );
    z-index: 1;
}

/* Позиционирование контента поверх оверлея */
.my-carousel .carousel-caption {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    z-index: 2;
}

/* Кастомизация индикаторов (точек снизу) */
.my-carousel .carousel-indicators {
    z-index: 3;
    margin-bottom: 1.5rem;
}

.my-carousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}

.my-carousel .carousel-indicators .active {
    width: 32px;
    border-radius: 6px;
    background-color: #ffffff;
}

/* Кастомизация стрелок навигации */
.my-carousel .carousel-control-prev,
.my-carousel .carousel-control-next {
    z-index: 3;
    width: 5%;
}

.uppercase-badge {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}