/* General Body & Reset */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

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

/* Variables */
:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --text-color: #333;
    --light-text-color: #f4f4f4;
    --background-light: #f9f9f9;
}

/* Site Header */
.site-header {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

.site-header .logo {
    font-family: 'Georgia', serif; /* A more distinct font for brand */
    font-size: 2.2em;
    font-weight: bold;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.site-header .logo:hover {
    color: #fff;
}

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

.main-nav a {
    color: var(--light-text-color);
    font-weight: 600;
    padding: 5px 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: var(--secondary-color);
    transition: width 0.3s ease;
}

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

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

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001; /* Above nav on mobile */
}

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

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

/* Hamburger active state */
.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Site Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 40px 0 20px;
    font-size: 0.9em;
}

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

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

.footer-column h3 {
    color: var(--secondary-color);
    font-size: 1.3em;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 5px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-column p {
    margin-bottom: 10px;
}

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

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

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .main-nav ul {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }

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

    .main-nav {
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        transform: translateY(-150%); /* Hide off-screen */
        transition: transform 0.4s ease-in-out;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
    }

    .main-nav.active {
        transform: translateY(0); /* Show on-screen */
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    .main-nav ul li {
        margin: 10px 0;
    }

    .main-nav a {
        font-size: 1.1em;
        padding: 10px 0;
        display: block;
    }
    
    .main-nav a::after {
        display: none; /* Remove underline effect on mobile */
    }
    
    .main-nav a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

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

    .footer-column {
        min-width: unset;
        width: 100%;
    }

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

@media (max-width: 480px) {
    .site-header .logo {
        font-size: 1.8em;
    }
}