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

/* Base styles for header and footer */
.site-header, .site-footer {
    background-color: #000080; /* Secondary color */
    color: #FFD700; /* Primary color */
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-container, .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .logo {
    font-family: 'Georgia', serif; /* Creative font choice */
    font-size: 2.2rem;
    font-weight: bold;
    color: #FFD700; /* Primary color */
    text-decoration: none;
    padding: 0.5rem 0;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.site-header .main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

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

.site-header .nav-list li a {
    color: #FFD700; /* Primary color */
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevent wrapping */
}

.site-header .nav-list li a:hover,
.site-header .nav-list li a.active {
    color: #fff; /* White on hover for better contrast */
    text-shadow: 0 0 5px #FFD700;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: #FFD700; /* Primary color */
    transition: all 0.3s ease;
}

/* Footer Styles */
.site-footer {
    padding: 2rem 0;
    margin-top: 3rem;
    background-color: #000080; /* Secondary color */
    color: #FFD700; /* Primary color */
}

.site-footer .footer-container {
    align-items: flex-start;
    flex-direction: row; /* Desktop: row */
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2); /* Light primary color border */
}

.site-footer .footer-section {
    flex: 1;
    min-width: 200px; /* Ensure sections have a minimum width */
    color: #fff; /* White for general text in footer */
}

.site-footer .footer-logo {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: #FFD700; /* Primary color */
    text-decoration: none;
    margin-bottom: 1rem;
    display: inline-block;
}

.site-footer h3 {
    font-size: 1.2rem;
    color: #FFD700; /* Primary color */
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.5);
    padding-bottom: 0.5rem;
}

.site-footer p, .site-footer ul {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.site-footer .footer-nav li a,
.site-footer .footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer .footer-nav li a:hover,
.site-footer .footer-contact a:hover {
    color: #FFD700; /* Primary color on hover */
}

.site-footer .footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .site-header .nav-list {
        gap: 1rem;
    }
    .site-header .nav-list li a {
        font-size: 1rem;
    }
    .site-header .logo {
        font-size: 2rem;
    }
}

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

    .site-header .main-nav {
        display: none; /* Hide main nav on mobile */
        width: 100%;
        flex-direction: column;
        background-color: #000080; /* Secondary color */
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        padding: 1rem 0;
        transition: transform 0.3s ease-in-out;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
    }

    .site-header .main-nav.active {
        display: flex; /* Show when active */
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-header .nav-list {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .site-header .nav-list li {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    }

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

    .site-header .nav-list li a {
        padding: 0.8rem 0;
        display: block;
        font-size: 1.2rem;
        color: #FFD700;
    }

    .site-header .nav-list li a:hover,
    .site-header .nav-list li a.active {
        background-color: rgba(255, 215, 0, 0.1);
        color: #fff;
    }

    .hamburger-menu {
        display: flex; /* Show hamburger on 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);
    }

    .site-footer .footer-container {
        flex-direction: column; /* Stack sections vertically on mobile */
        gap: 1.5rem;
        text-align: center;
    }

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

    .site-footer h3 {
        text-align: center;
        border-bottom: none;
        padding-bottom: 0;
    }

    .site-footer .footer-nav,
    .site-footer .footer-about p,
    .site-footer .footer-contact p {
        text-align: center;
    }
}

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