:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --text-color-light: #f8f8f8;
    --text-color-dark: #333;
    --button-primary-bg: #FFD700;
    --button-primary-text: #003366;
    --button-secondary-bg: #004d99;
    --button-secondary-text: #f8f8f8;
    --button-tertiary-bg: #0066cc;
    --button-tertiary-text: #f8f8f8;
    --header-desktop-height: 80px;
    --header-mobile-top-height: 60px;
    --mobile-button-area-height: 60px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    padding-top: var(--header-desktop-height); /* Default desktop padding */
}

body.no-scroll {
    overflow: hidden;
}

/* Site Header - Fixed & Suspended */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    min-height: var(--header-desktop-height);
    display: flex;
    flex-direction: column; /* Allows stacking top-row and mobile buttons on mobile, but for desktop, top-row handles layout */
    align-items: stretch;
}

.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    min-height: var(--header-desktop-height);
    flex-grow: 1; /* Allow it to take space for desktop layout */
}

.logo {
    color: var(--secondary-color);
    font-size: 2.2em;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    white-space: nowrap;
}

/* Main Navigation (Desktop) */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.main-nav ul li a {
    color: var(--text-color-light);
    text-decoration: none;
    font-size: 1.1em;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.main-nav ul li a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Desktop Navigation Buttons */
.desktop-nav-buttons {
    display: flex;
    gap: 15px;
}

/* General Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-primary {
    background-color: var(--button-primary-bg);
    color: var(--button-primary-text);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: #ffe64d; /* Slightly lighter yellow */
}

.btn-secondary {
    background-color: var(--button-secondary-bg);
    color: var(--button-secondary-text);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn-secondary:hover {
    background-color: #0066cc; /* Slightly lighter blue */
}

.btn-tertiary {
    background-color: var(--button-tertiary-bg);
    color: var(--button-tertiary-text);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn-tertiary:hover {
    background-color: #007bff; /* Slightly lighter blue */
}

/* Mobile Specific Elements (Hidden on Desktop) */
.hamburger-menu,
.mobile-button-area,
.header-top-spacer,
.mobile-menu-overlay {
    display: none;
}

/* Hamburger Menu Icon */
.hamburger-menu {
    width: 40px;
    height: 30px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 0;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Site Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 40px 20px;
    margin-top: 50px;
}

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

.footer-col {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.4em;
}

.footer-col p,
.footer-col ul {
    font-size: 0.95em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a,
.footer-col p a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover,
.footer-col p a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.85em;
    color: rgba(255,255,255,0.7);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        padding-top: calc(var(--header-mobile-top-height) + var(--mobile-button-area-height)); /* Mobile padding */
    }

    .site-header {
        flex-direction: column; /* Stack top-row and mobile-button-area */
        align-items: stretch;
        min-height: auto;
        padding: 0;
    }

    .header-top-row {
        min-height: var(--header-mobile-top-height);
        padding: 10px 20px;
        width: 100%;
        background-color: var(--primary-color);
        position: relative;
        z-index: 1001; /* Above mobile-button-area */
    }

    .hamburger-menu {
        display: flex;
        order: -1;
        z-index: 1002;
    }

    .logo {
        flex-grow: 1;
        text-align: center;
        font-size: 1.8em;
        margin-right: 0;
    }

    .header-top-spacer {
        display: block;
        width: 40px; /* Balance hamburger menu width */
    }

    .main-nav {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background-color: var(--primary-color);
        padding-top: var(--header-mobile-top-height);
        box-shadow: 4px 0 10px rgba(0,0,0,0.2);
        transform: translateX(-100%); /* Start off-screen */
        transition: transform 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .main-nav.active {
        display: flex; /* Show menu when active */
        transform: translateX(0); /* Slide in */
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .main-nav ul li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

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

    .main-nav ul li a {
        padding: 15px 20px;
        display: block;
        width: 100%;
        border-radius: 0;
        font-size: 1.15em;
    }

    .desktop-nav-buttons {
        display: none;
    }

    .mobile-button-area {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px 20px;
        width: 100%;
        min-height: var(--mobile-button-area-height);
        background-color: var(--primary-color);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 990; /* Below hamburger/menu */
        gap: 10px;
    }
    .mobile-button-area .btn {
        flex: 1;
        font-size: 0.9em;
        padding: 8px 15px;
    }

    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999; /* Below menu, above content */
        transition: opacity 0.3s ease;
        opacity: 0;
    }

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }

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

    .footer-col {
        max-width: 100%;
    }

    .footer-col ul {
        padding: 0;
    }
}