:root {
    --primary-color: #001F3F; /* Dark Blue */
    --secondary-color: #FFD700; /* Gold */
    --text-light: #f0f0f0;
    --text-dark: #333;
    --bg-dark: #1a1a1a;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f8f8f8;
}

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

/* Header Styles */
.site-header {
    background-color: var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo:hover {
    color: #fff;
}

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

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    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,
.main-nav a.active {
    color: var(--secondary-color);
}

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

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

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    margin-bottom: 5px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

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


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

.site-footer h3 {
    color: var(--secondary-color);
    font-size: 1.3em;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

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

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

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    position: relative; /* For scroll-to-top button */
}

.copyright {
    margin: 0;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.5em;
    line-height: 45px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: none; /* Hidden by default */
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    background-color: #e0c200; /* Slightly darker gold */
    transform: translateY(-2px);
}


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

    .logo {
        flex-grow: 1; /* Allow logo to take available space */
    }

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

    .main-nav {
        flex-basis: 100%; /* Take full width */
        order: 3; /* Position below logo and hamburger */
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease-in-out, padding 0.3s ease-in-out;
        background-color: rgba(0, 31, 63, 0.95); /* Semi-transparent dark blue */
        position: absolute;
        top: 60px; /* Below header */
        left: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 0 20px; /* Padding for menu items */
    }

    .main-nav.active {
        height: auto; /* Expand menu */
        padding: 20px 20px;
    }

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

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

    .main-nav li:last-child {
        margin-bottom: 0;
    }

    .main-nav a {
        display: block; /* Full width clickable area */
        font-size: 1.2em;
        padding: 10px 0;
    }

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

    .footer-grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        text-align: center;
    }

    .footer-grid h3 {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-nav ul {
        padding-bottom: 15px; /* Add some space below nav list */
    }
}

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