/* General Body Styles */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #E0E0E0; /* Light grey for general text */
    background-color: #1A1A2E; /* Dark background */
}

/* Site Header Styles */
.site-header {
    background-color: #0A192F; /* Primary dark color */
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #FFD700; /* Secondary gold color */
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #FFF;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: #E0E0E0;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

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

.main-nav a:hover,
.main-nav a.active {
    color: #FFD700;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001; /* Ensure it's above the nav */
}

.hamburger-menu .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #FFD700;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

/* Site Footer Styles */
.site-footer {
    background-color: #0A192F;
    color: #E0E0E0;
    padding: 3rem 2rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3,
.footer-column h4 {
    color: #FFD700;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-column a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
}

.footer-bottom p {
    margin: 0;
    color: #A0A0A0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .site-header {
        padding: 1rem;
    }

    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .logo {
        font-size: 1.8rem;
    }

    .hamburger-menu {
        display: block;
    }

    .main-nav {
        flex-basis: 100%;
        order: 3; /* Push nav below logo and hamburger */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out;
        background-color: #1A1A2E;
        margin-top: 1rem;
        border-radius: 5px;
    }

    .main-nav.active {
        max-height: 500px; /* Arbitrary large value to show all content */
    }

    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }

    .main-nav li {
        text-align: center;
        padding: 0.75rem 0;
    }

    .main-nav a {
        display: block;
        padding: 0.75rem 1rem;
    }

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

    .main-nav a:hover::after,
    .main-nav a.active::after {
        width: 80%; /* Adjust for mobile */
    }

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

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

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

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

    .footer-column {
        min-width: unset;
        width: 100%;
        margin-bottom: 1.5rem;
    }

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

    .footer-nav ul {
        text-align: center;
    }

    .footer-brand p {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0.8rem;
    }
    .logo {
        font-size: 1.5rem;
    }
    .site-footer {
        padding: 2rem 1rem;
    }
    .footer-column h3, .footer-column h4 {
        font-size: 1.1rem;
    }
    .footer-column p {
        font-size: 0.85rem;
    }
    .footer-bottom p {
        font-size: 0.75rem;
    }
}