/* Global Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Header Styles */
.site-header {
    background-color: #1A2E44;
    color: #fff;
    padding: 1rem 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;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FFD700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav {
    position: relative;
}

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

.nav-list li a {
    color: #fff;
    text-decoration: none;
    padding: 0.7rem 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: block;
    border-radius: 4px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-list li a:hover,
.nav-list li a.active {
    background-color: #FFD700;
    color: #1A2E44;
}

.hamburger-menu {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #FFD700;
    margin: 5px 0;
    transition: 0.4s;
}

/* Footer Styles */
.site-footer {
    background-color: #1A2E44;
    color: #fff;
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.footer-column h3 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.footer-column p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-column p a {
    color: #FFD700;
    text-decoration: none;
}

.footer-column p a:hover {
    text-decoration: underline;
}

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

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

.footer-nav li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.footer-nav li a:hover {
    color: #FFD700;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FFD700;
    color: #1A2E44;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    display: none; /* Hidden by default, shown with JS */
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
        width: 95%;
    }

    .logo {
        font-size: 1.5rem;
        margin-right: auto; /* Push hamburger to right */
    }

    .main-nav {
        width: 100%;
        order: 2; /* Place nav below logo/hamburger */
    }

    .hamburger-menu {
        display: block; /* Show hamburger on mobile */
        margin-left: auto;
    }

    .nav-list {
        display: none; /* Hide nav list by default */
        flex-direction: column;
        width: 100%;
        background-color: #1A2E44;
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        z-index: 999;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    }

    .nav-list.active {
        display: flex; /* Show nav list when active */
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-list li a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-list li:last-child a {
        border-bottom: none;
    }

    .footer-container {
        grid-template-columns: 1fr; /* Single column layout for footer */
        text-align: center;
    }

    .footer-column {
        margin-bottom: 1.5rem;
    }

    .footer-column:last-child {
        margin-bottom: 0;
    }

    .footer-column p, .footer-nav li a {
        text-align: center;
    }
}