:root {
    --primary-color: #0A246A; /* Dark Blue */
    --secondary-color: #FFD700; /* Gold */
    --text-color-light: #FFFFFF;
    --text-color-dark: #333333;
    --button-primary-bg: #FFD700;
    --button-primary-text: #0A246A;
    --button-secondary-bg: #E74C3C; /* A vibrant red for secondary action */
    --button-secondary-text: #FFFFFF;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --header-height-desktop: 80px; /* Approximate height */
    --header-height-mobile-top: 60px;
    --header-height-mobile-buttons: 60px;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    padding-top: var(--header-height-desktop); /* Default padding for desktop fixed header */
}

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

a:hover {
    text-decoration: underline;
}

/* Header styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px var(--shadow-medium);
    z-index: 1000;
    min-height: 60px; /* Ensure content adaptation */
    color: var(--text-color-light);
    display: flex; /* Default to desktop layout */
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px; /* Desktop padding */
    box-sizing: border-box; /* Include padding in width */
}

.header-main-row {
    display: flex;
    align-items: center;
    flex-grow: 1; /* Allow it to take space for centering nav */
    justify-content: flex-start; /* Default desktop alignment */
    padding: 10px 0; /* Vertical padding */
}

.logo {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    font-family: 'Arial Black', sans-serif; /* Example font */
    text-shadow: 2px 2px 4px var(--shadow-medium);
    display: block;
    flex-shrink: 0; /* Prevent logo from shrinking */
    margin-right: 40px; /* Space between logo and nav on desktop */
}

/* Desktop Navigation */
.main-nav {
    flex-grow: 1; /* Allow nav to take available space */
    text-align: center; /* Center the nav links */
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Center nav items */
    gap: 25px;
}

.main-nav a {
    color: var(--text-color-light);
    font-weight: 600;
    padding: 8px 0;
    transition: color 0.3s ease;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 8px var(--shadow-light);
    margin-left: 10px;
    border: none;
    white-space: nowrap; /* Prevent button text from wrapping */
}

.btn-primary {
    background-color: var(--button-primary-bg);
    color: var(--button-primary-text);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6); /* Gold glow effect */
}

.btn-primary:hover {
    background-color: #FFEA80; /* Lighter gold */
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--button-secondary-bg);
    color: var(--button-secondary-text);
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.6); /* Red glow effect */
}

.btn-secondary:hover {
    background-color: #F08080; /* Lighter red */
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.8);
    transform: translateY(-2px);
}

/* Hamburger menu (hidden on desktop) */
.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; /* Higher than nav and buttons */
    flex-shrink: 0; /* Prevent shrinking */
}

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

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

.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);
}

/* Desktop-specific elements */
.header-desktop-buttons {
    display: flex; /* Show desktop buttons */
    align-items: center;
    flex-shrink: 0; /* Prevent shrinking */
}

/* Mobile-specific button area */
.header-mobile-buttons {
    display: none; /* Hidden by default on desktop */
    justify-content: center;
    padding: 10px 20px;
    background-color: var(--primary-color);
    gap: 15px;
    box-shadow: 0 2px 5px var(--shadow-light); /* Subtle shadow */
    z-index: 999; /* Below main nav, above page content */
    flex-wrap: wrap; /* Allow buttons to wrap */
}

/* Footer styles */
.site-footer {
    background-color: #1A1A2E; /* Darker background for footer */
    color: #CCCCCC;
    padding: 40px 20px;
    font-size: 0.9em;
    border-top: 5px solid var(--secondary-color); /* Gold accent */
}

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

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: var(--secondary-color);
    font-size: 1.2em;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 5px;
}

.footer-logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    margin-bottom: 15px;
    display: inline-block;
}

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

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

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

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

.footer-contact p {
    margin-bottom: 8px;
}

.footer-contact a {
    color: #CCCCCC;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

.copyright {
    margin: 0;
    color: #AAAAAA;
}

/* Responsive styles */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column; /* Stack elements vertically */
        padding: 0; /* Remove horizontal padding, will be handled by children */
        min-height: calc(var(--header-height-mobile-top) + var(--header-height-mobile-buttons));
    }

    .header-main-row {
        justify-content: space-between; /* Hamburger left, logo center, blank right */
        padding: 10px 15px; /* Mobile padding */
        width: 100%; /* Take full width */
        box-sizing: border-box;
        position: relative; /* For z-index context */
        min-height: var(--header-height-mobile-top);
    }

    .hamburger-menu {
        display: block; /* Show hamburger */
        order: -1; /* Place it first (left) */
        margin-right: 15px; /* Space between hamburger and logo */
    }

    .logo {
        flex-grow: 1; /* Allow logo to grow and center */
        text-align: center; /* Center the logo text */
        /* margin-right: 30px; This is handled by ::after pseudo-element */
    }
    
    .header-desktop-buttons {
        display: none; /* Hide desktop buttons */
    }

    .header-mobile-buttons {
        display: flex; /* Show mobile buttons */
        width: 100%; /* Take full width */
        box-sizing: border-box;
        min-height: var(--header-height-mobile-buttons);
        padding: 8px 15px; /* Adjust padding for mobile buttons */
    }

    .main-nav {
        display: none; /* Hide nav by default on mobile */
        position: absolute;
        top: calc(var(--header-height-mobile-top)); /* Position below header-main-row */
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        box-shadow: 0 5px 10px var(--shadow-light);
        z-index: 1000; /* Same as header, but higher than mobile buttons */
        padding: 10px 0;
        max-height: 0; /* Hidden by default */
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .main-nav.active {
        max-height: 300px; /* Adjust as needed to fit content */
        transition: max-height 0.5s ease-in;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0; /* Remove gap for vertical list */
    }

    .main-nav li {
        width: 100%;
        text-align: center;
    }

    .main-nav a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
        min-width: unset;
        width: 100%;
    }

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

    /* Adjust padding for body to account for fixed header, including mobile buttons */
    body {
        padding-top: calc(var(--header-height-mobile-top) + var(--header-height-mobile-buttons));
    }

    /* To balance the logo centering on mobile, add a dummy element to header-main-row */
    /* This is a common trick for flexbox centering when one side has an element */
    .header-main-row::after {
        content: '';
        display: block;
        width: 30px; /* Match hamburger width */
        height: 24px; /* Match hamburger height */
        margin-left: 15px; /* Match hamburger margin */
        flex-shrink: 0;
    }
}