:root {
    --primary-color: #1A2B3C;
    --secondary-color: #FFD700;
    --text-color-light: #f0f0f0;
    --text-color-dark: #333;
    --bg-dark: #0f1a26;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: #f4f4f4;
}

.site-header {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    /*padding: 1rem 0;*/
    padding: 5px 0 0 0;
    box-shadow: 0 2px 5px 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 1.5rem;
}

.logo {
    /*font-size: 2.2rem;*/
    font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #ffd000;
}

.main-nav .nav-list {
    list-style: none;
    display: flex;
}

.main-nav .nav-list li {
    margin-left: 2.5rem;
}

.main-nav .nav-list a {
    color: var(--text-color-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

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

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-color-light);
    margin: 5px auto;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Footer Styles */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-color-light);
    padding: 3rem 0 1.5rem;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
    margin-bottom: 1.5rem;
}

.footer-col h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-col p {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.footer-col a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--secondary-color);
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 0.7rem;
}

.footer-nav ul li a {
    display: block;
    padding: 0.2rem 0;
}

.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--text-color-light);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .main-nav .nav-list li {
        margin-left: 1.8rem;
    }
}

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

    .logo {
        font-size: 1.8rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        width: 100%;
        display: none;
        flex-direction: column;
        background-color: var(--primary-color);
        position: absolute;
        top: 100%; /* Position below the header */
        left: 0;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    }

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

    .main-nav .nav-list {
        flex-direction: column;
        width: 100%;
        padding: 0 1.5rem;
    }

    .main-nav .nav-list li {
        margin: 0.5rem 0;
        text-align: center;
    }

    .main-nav .nav-list a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.2rem;
    }

    .main-nav .nav-list a::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 480px) {
    .header-container,
    .footer-container,
    .footer-bottom {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.6rem;
    }

    .footer-logo {
        font-size: 1.8rem;
    }
}
