:root {
    --primary-bg-color: #1A202C;
    --accent-color: #FFD700;
    --text-color-light: #F8F8F8;
    --text-color-dark: #333;
    --nav-hover-color: #E0C000;
    --footer-text-color: #B0B0B0;
    --border-color: #3A404C;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: #f4f4f4;
}

*, *::before, *::after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-header {
    background-color: var(--primary-bg-color);
    color: var(--text-color-light);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-header .logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

.site-header .logo:hover {
    color: var(--nav-hover-color);
}

.main-nav .nav-list {
    display: flex;
    gap: 25px;
}

.main-nav .nav-list li a {
    color: var(--text-color-light);
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav .nav-list li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav .nav-list li a:hover::after,
.main-nav .nav-list li a.active::after {
    width: 100%;
}

.main-nav .nav-list li a:hover,
.main-nav .nav-list li a.active {
    color: var(--accent-color);
}

.hamburger-menu {
    display: none;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.hamburger-menu span:last-child {
    margin-bottom: 0;
}

.site-footer {
    background-color: var(--primary-bg-color);
    color: var(--footer-text-color);
    padding: 40px 0;
    font-size: 14px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0 20px;
}

.footer-col {
    flex: 1;
    min-width: 280px;
    margin-bottom: 20px;
}

.footer-col h3 {
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.footer-nav ul li {
    margin-bottom: 8px;
}

.footer-nav ul li a {
    color: var(--footer-text-color);
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--accent-color);
}

.copyright-col {
    flex-basis: 100%;
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.copyright-col p {
    margin: 0;
}

@media (max-width: 992px) {
    .main-nav .nav-list {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-header .logo {
        margin-bottom: 15px;
        font-size: 24px;
        flex-basis: 100%;
        text-align: center;
    }

    .main-nav {
        width: 100%;
        position: relative;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .hamburger-menu {
        display: block;
        position: absolute;
        top: -45px;
        right: 20px;
    }

    .main-nav .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary-bg-color);
        position: absolute;
        top: 0;
        left: 0;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        border-top: 1px solid var(--border-color);
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        opacity: 0;
        visibility: hidden;
    }

    .main-nav.active .nav-list {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav .nav-list li {
        text-align: center;
        margin: 10px 0;
    }

    .main-nav .nav-list li a {
        font-size: 18px;
        padding: 10px 0;
        display: block;
    }

    .main-nav .nav-list li a::after {
        bottom: 0;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-col {
        text-align: center;
        margin-bottom: 30px;
        min-width: unset;
        width: 100%;
    }

    .footer-col:last-of-type {
        margin-bottom: 20px;
    }

    .copyright-col {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
}

@media (max-width: 480px) {
    .site-header .logo {
        font-size: 22px;
    }
    .header-container {
        padding: 0 15px;
    }
    .hamburger-menu {
        right: 15px;
    }
    .footer-container {
        padding: 0 15px;
    }
}