/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* ===== ШАПКА С ЗАГОЛОВКОМ И ИЗОБРАЖЕНИЕМ ===== */
.header-top {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    padding: 40px 0 0 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.site-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    color: white;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 40px 0;
    padding: 0 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.site-title a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.site-title a:hover {
    color: #f39c12;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

.header-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

/* ===== НАВИГАЦИОННОЕ МЕНЮ ===== */
.main-nav {
    background: #2c3e50;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo a {
    color: #f39c12;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #e74c3c;
}

.nav-menu {
    display: flex;
    gap: 10px;
}

.nav-link {
    color: #ecf0f1;
    padding: 15px 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-link:hover {
    background: #34495e;
    color: #f39c12;
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.main-content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    min-height: 60vh;
}

/* ===== ПОДВАЛ ===== */
.main-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

/* ===== АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ ===== */
@media (max-width: 768px) {
    .site-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
        margin-bottom: 30px;
    }

    .header-top {
        padding: 20px 0 0 0;
    }

    .nav-container {
        flex-direction: column;
        padding: 15px 20px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
        gap: 5px;
    }

    .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .header-image {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.4rem;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
    }

    .nav-link {
        text-align: center;
        padding: 12px;
    }
}