/* ====== STYLES.CSS ====== */

/* ===== Общие стили ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at center, #0b0b0b 40%, #1a1a1a 100%);
    color: #ffd700;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: center; /* Все по центру */
}

/* ===== Контейнеры ===== */
.container, .hero-content {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрирование */
    justify-content: center;
    text-align: center;
}

/* ===== Навигация ===== */
.navbar {
    background: #1a1a1a;
    padding: 10px 0;
    position: relative;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}

.logo {
    font-weight: bold;
    font-size: 1.4rem;
    color: #ffd700;
    text-decoration: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-menu li a {
    text-decoration: none;
    color: #ffd700;
    padding: 8px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    background: #ff6600;
    color: #fff;
}

.btn-primary {
    background: linear-gradient(45deg, #ffcc00, #ff6600);
    color: #000;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #ffcc00, 0 0 30px #ff6600;
}

/* ===== Бургер-меню ===== */
.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #ffd700;
}

/* ===== Hero секция ===== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px #ffd700, 0 0 20px #ff6600;
}

.hero-content p {
    margin-bottom: 15px;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
    border-radius: 15px;
    box-shadow: 0 0 20px #ffcc00;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* ===== Секции ===== */
section {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ffd700;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #ffcc00;
}

p {
    margin-bottom: 15px;
    text-align: center;
}

.module {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 15px #ff6600;
    margin: 20px 0;
    text-align: center;
}

ul {
    list-style: disc;
    margin-left: 0;
    padding-left: 0;
    text-align: center;
}

ul li {
    margin-bottom: 10px;
}

/* ===== FAQ ===== */
#faq .question {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 0 10px #ff6600;
    text-align: center;
}

/* ===== Footer ===== */
footer {
    background: #0b0b0b;
    color: #ffd700;
    text-align: center;
    padding: 20px 10px;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.footer-links li a {
    text-decoration: none;
    color: #ffd700;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: #ff6600;
}

/* ===== Мобильная адаптация ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        background: #1a1a1a;
        position: absolute;
        top: 60px;
        right: 10px;
        padding: 15px;
        border-radius: 10px;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .btn-primary {
        width: 100%;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content p {
        font-size: 0.9rem;
    }
}
