/* Basic Reset & Body Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    padding-top: 70px; /* Adjust based on header height */
}
body.no-scroll {
    overflow: hidden; /* Prevent scrolling when mobile menu is open */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    background-color: #0A2342; /* Primary color */
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: fixed; /* Make header fixed */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo {
    font-size: 28px;
    font-weight: bold;
    color: #FFD700; /* Secondary color for logo */
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-header .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.site-header .main-nav li {
    margin-left: 25px;
}

.site-header .main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active {
    color: #FFD700; /* Secondary color on hover/active */
}

/* Hamburger Menu for Mobile */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001; /* Ensure it's above other content */
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #FFD700; /* Secondary color */
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Footer Styles */
.site-footer {
    background-color: #0A2342; /* Primary color */
    color: #eee;
    padding: 40px 0 20px;
    font-size: 14px;
}

.site-footer h3 {
    color: #FFD700; /* Secondary color for headings */
    font-size: 18px;
    margin-bottom: 20px;
}

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

.site-footer .footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.site-footer .footer-col {
    flex: 1;
    min-width: 250px; /* Ensure columns don't get too narrow */
    margin-right: 20px;
    margin-bottom: 20px;
}

.site-footer .footer-col:last-child {
    margin-right: 0;
}

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

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

.site-footer .footer-nav a {
    color: #eee;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer .footer-nav a:hover {
    color: #FFD700; /* Secondary color on hover */
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .site-header .main-nav li {
        margin-left: 15px;
    }
}

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

    .site-header .logo {
        flex-grow: 1;
    }

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

    .site-header .main-nav {
        display: none; /* Hide nav by default */
        width: 100%;
        background-color: #0A2342; /* Ensure background matches header */
        position: fixed; /* Nav should also be fixed relative to viewport */
        top: 65px; /* Height of header (padding 15*2 + content height) */
        left: 0;
        right: 0;
        height: calc(100vh - 65px); /* Take full height below header */
        overflow-y: auto; /* Enable scrolling if menu is long */
        padding-top: 0; /* Remove padding-top here as it's full height */
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        z-index: 999; /* Below hamburger, above content */
    }

    .site-header .main-nav.active {
        display: block; /* Show nav when active */
    }

    .site-header .main-nav ul {
        flex-direction: column;
        text-align: center;
    }

    .site-header .main-nav li {
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .site-header .main-nav li:last-child {
        border-bottom: none;
    }

    .site-header .main-nav a {
        display: block;
        padding: 10px 0;
    }

    /* Hamburger menu animation */
    .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 responsiveness */
    .site-footer .footer-columns {
        flex-direction: column;
        align-items: center;
    }

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

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

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