/* Основные стили Hero-блока */
.hero {
    background-color: transparent; /* Прозрачный фон */
    padding: 20px 0;
    position: fixed; /* Фиксированное позиционирование */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000; /* Чтобы хедер был поверх других элементов */
    transition: background-color 0.3s ease; /* Плавное изменение фона */
}

/* Добавляем фон при скролле (опционально) */
.hero.scrolled {
    background-color: rgba(10, 26, 47, 0.9); /* Полупрозрачный тёмный фон */
    backdrop-filter: blur(5px); /* Эффект размытия */
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

:root {
    --logo-height: 80px; /* Увеличил стандартный размер */
}

/* Стили логотипа */
.logo-img {
    height: var(--logo-height);
    width: auto;
    transition: all 0.3s ease;
} /* Здесь была пропущена закрывающая скобка */

/* Стили навигационного меню */
.nav-menu ul {
    display: flex;
    gap: 40px; /* Увеличил расстояние между пунктами */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: none;
    font-size: 18px;
    padding: 12px 20px; /* Увеличил padding */
    border-radius: 25px; /* Больше закругление */
    transition: all 0.3s ease;
}

/* Эффект при наведении */
.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    :root {
        --logo-height: 40px;
    }

    .nav-menu ul {
        gap: 20px; /* Меньший gap на мобильных */
    }

    .nav-menu a {
        padding: 8px 12px;
        font-size: 16px;
    }
}

/* Фоновая картинка на весь экран */
.fullscreen-bg {
    position: relative;
    height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)),
        url('../img/background.jpg') no-repeat center center/cover;
    margin-bottom: -1px; /* Убираем полосу между секциями */
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;


}
/* Стили хедера остаются прежними */
.hero {
    background-color: transparent !important;
    backdrop-filter: none !important; /* Убираем размытие */
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: none;
}

/* Контент поверх фона */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 100;
    width: 100%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.cta-button {
    background: #00F5FF;
    color: #0A1A2F;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,245,255,0.3);
}

/* Затемнение фона для лучшей читаемости */
.fullscreen-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    z-index: 1;
}

/* Переносим z-index для контента выше затемнения */
.hero-content, .hero {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
        padding: 0 20px;
    }

    .fullscreen-bg {
        background-position: 60% center;
    }
}

@media
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .fullscreen-bg {
        background-image: url('../img/background@2x.jpg');
    }
}
/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Компенсация высоты хедера */
}

/* Стили секций */
.content-section {
    min-height: 100vh;
    padding: 120px 20px 60px; /* Отступ сверху больше для хедера */
    background-color: #000000;
    color: white;
}

/* Фиксированный хедер */
.hero {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s;
}

.hero.scrolled {
    background-color: transparent !important;
    backdrop-filter: none !important;
}

.fullscreen-bg::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px; /* высота размытия */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000000 100%);
    z-index: 2;
    pointer-events: none;
}


