:root {
    --primary-color: #0A2C4A; /* Dark Blue */
    --secondary-color: #FFD700; /* Gold */
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --header-height-desktop: 80px;
    --header-height-mobile-top: 60px;
    --mobile-buttons-height: 60px;
    --mobile-header-total-height: calc(var(--header-height-mobile-top) + var(--mobile-buttons-height));
}

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

a {
    text-decoration: none;
    color: var(--text-color-light);
}

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

/* Site Header - Fixed on top */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-height: var(--header-height-desktop); /* Ensure content fits */
    box-sizing: border-box; /* Include padding/border in element's total width and height */
}

/* Header Desktop Layout (Global/Default) */
.header-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    min-height: var(--header-height-desktop);
}

.header-mobile,
.mobile-buttons-area,
.main-nav.mobile-nav,
.mobile-menu-overlay {
    display: none; /* Hidden by default on desktop */
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none;
    white-space: nowrap; /* Prevent logo text from wrapping */
}

.main-nav.desktop-nav {
    flex: 1; /* Take available space */
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.main-nav.desktop-nav a {
    color: var(--text-color-light);
    font-weight: bold;
    font-size: 16px;
    padding: 5px 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

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

.desktop-nav-buttons {
    display: flex;
    gap: 15px;
}

/* Button Styles */
.btn {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    filter: brightness(0.9); /* Simple hover effect */
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 2px 5px rgba(255, 215, 0, 0.2);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

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

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

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: inline-block;
}

.site-footer h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

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

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

.footer-nav a {
    color: var(--text-color-light);
    font-size: 14px;
    transition: color 0.3s ease;
}

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


/* Mobile Styles */
@media (max-width: 768px) {
    body {
        padding-top: var(--mobile-header-total-height); /* Ensure content is not obscured by fixed header + buttons */
    }

    .site-header {
        flex-direction: column; /* Stack elements vertically */
        padding: 0; /* Remove horizontal padding */
        min-height: unset; /* Let content define height */
    }

    .header-desktop {
        display: none; /* Hide desktop specific header on mobile */
    }

    .header-mobile {
        display: block; /* Show mobile specific header */
        width: 100%;
        background-color: var(--primary-color); /* Ensure background for mobile header */
    }

    .mobile-top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        min-height: var(--header-height-mobile-top);
        box-sizing: border-box;
    }

    .hamburger-menu {
        display: block; /* Show hamburger menu */
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        position: relative;
        z-index: 1001; /* Above mobile-menu-overlay */
        width: 40px;
        height: 40px;
        display: flex; /* For centering icon */
        align-items: center;
        justify-content: center;
    }

    .hamburger-icon {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-color-light);
        position: relative;
        transition: background-color 0.3s ease;
    }

    .hamburger-icon::before,
    .hamburger-icon::after {
        content: '';
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-color-light);
        position: absolute;
        transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
    }

    .hamburger-icon::before {
        top: -8px;
    }

    .hamburger-icon::after {
        top: 8px;
    }

    .hamburger-menu.active .hamburger-icon {
        background-color: transparent; /* Hide middle bar */
    }

    .hamburger-menu.active .hamburger-icon::before {
        transform: rotate(45deg);
        top: 0;
    }

    .hamburger-menu.active .hamburger-icon::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .logo.mobile-logo-center {
        flex: 1; /* Take available space */
        text-align: center; /* Center the logo */        font-size: 24px;
        padding: 0; /* Remove padding from mobile logo */
    }

    .mobile-top-spacer {
        width: 40px; /* Balance the hamburger menu width */
        min-width: 40px;
    }

    .mobile-buttons-area {
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 10px 15px;
        background-color: var(--primary-color);
        box-sizing: border-box;
        min-height: var(--mobile-buttons-height);
        z-index: 999; /* Below hamburger menu, above content */
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .mobile-buttons-area .btn {
        flex: 1; /* Distribute buttons evenly */
        max-width: 150px;
        font-size: 14px;
        padding: 8px 15px;
    }

    /* Mobile Navigation Menu */
    .main-nav.mobile-nav {
        display: none; /* Hidden by default */
        position: fixed;
        top: 0; /* Full height from top */
        left: 0;
        width: 280px; /* Width of the side menu */
        height: 100vh; /* Full viewport height */
        background-color: var(--primary-color);
        flex-direction: column;
        padding-top: var(--mobile-header-total-height); /* Push content below fixed mobile header */
        box-sizing: border-box;
        transform: translateX(-100%); /* Start off-screen */
        transition: transform 0.3s ease;
        z-index: 1000; /* Below hamburger, above overlay */
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
        overflow-y: auto; /* Enable scrolling for long menus */
    }

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

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

    .main-nav.mobile-nav li {
        margin-bottom: 10px;
    }

    .main-nav.mobile-nav a {
        display: block;
        padding: 12px 20px;
        color: var(--text-color-light);
        font-size: 18px;
        font-weight: normal;
        transition: background-color 0.3s ease;
    }

    .main-nav.mobile-nav a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        display: none; /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 998; /* Below mobile menu */
        transition: opacity 0.3s ease;
        opacity: 0;
    }

    .mobile-menu-overlay.active {
        display: block; /* Show when active */
        opacity: 1;
    }

    /* Prevent body scroll when menu is open */
    body.no-scroll {
        overflow: hidden;
    }

    .site-footer .footer-container {
        flex-direction: column;
        gap: 20px;
    }

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

    .footer-col h3 {
        margin-top: 20px;
    }
}