:root {
    --primary-color: #0A2463; /* Dark Blue */
    --accent-color: #E3B505; /* Gold/Yellow */
    --text-color-light: #fff;
    --text-color-dark: #333;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.2);
}

* {
    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: 100px; /* Adjust based on max header height on mobile */
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* --- Header Styles --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px var(--shadow-light);
    z-index: 1000;
    color: var(--text-color-light);
    min-height: 60px; /* Base min-height for desktop header */
}

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

/* Logo Styles */
.logo {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
    padding: 10px 0;
    display: block;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
    position: relative;
    top: 2px;
}

.logo:hover {
    color: var(--text-color-light);
}

/* Navigation Menu (Desktop) */
.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.main-nav li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color-light);
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.main-nav li a:hover,
.main-nav li a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(227, 181, 5, 0.4);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.6s ease-out;
    transform: translate(-50%, -50%) scale(0);
    z-index: 0;
}
.btn-primary:hover::before {
    transform: translate(-50%, -50%) scale(1);
}
.btn-primary:hover {
    box-shadow: 0 6px 12px rgba(227, 181, 5, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 8px rgba(10, 36, 99, 0.4);
    position: relative;
    overflow: hidden;
}
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(227, 181, 5, 0.3), transparent);
    transition: all 0.6s ease-out;
}
.btn-secondary:hover::before {
    left: 100%;
}
.btn-secondary:hover {
    box-shadow: 0 6px 12px rgba(10, 36, 99, 0.6);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Ensure it's above other elements */
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 5px 0;
    transition: 0.4s;
    border-radius: 2px;
}
/* Hamburger animation classes for JS */
.hamburger-menu .bar.rotate-up {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-menu .bar.fade-out {
    opacity: 0;
}
.hamburger-menu .bar.rotate-down {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Desktop Layout --- */
.header-desktop-view {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    min-height: 60px; /* Ensure desktop header has min height */
}

.header-buttons {
    display: flex;
    gap: 10px;
}

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

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

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

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

.footer-brand .footer-logo {
    font-size: 2em;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
}

.footer-brand p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-nav h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: var(--accent-color);
}

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

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

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

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

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

/* --- Responsive Adjustments (Mobile) --- */
@media (max-width: 768px) {
    body {
        padding-top: 100px; /* Space for fixed mobile header (approx 50px top + 50px buttons) */
    }

    .site-header {
        min-height: auto; /* Let height adapt */
    }

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

    .header-mobile-view {
        display: block; /* Show mobile header */
    }

    .header-top-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        min-height: 50px;
    }

    .header-top-mobile .logo {
        flex: 1;
        text-align: center;
        padding: 0;
        font-size: 1.8em;
    }

    .header-top-mobile .spacer {
        width: 45px; /* Balance hamburger width */
    }

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

    .header-buttons-mobile {
        display: flex; /* Always visible buttons below top bar */
        justify-content: center;
        gap: 10px;
        padding: 10px 15px;
        background-color: #1A3C7C; /* Slightly different background */
        z-index: 999; /* Below main-nav-mobile */
        min-height: 50px;
    }

    .header-buttons-mobile .btn {
        flex: 1;
        max-width: 150px;
        font-size: 0.9em;
        padding: 8px 15px;
    }

    .main-nav-mobile {
        display: none; /* Hidden by default */
        position: absolute;
        top: 100px; /* Height of header-top-mobile (50px) + header-buttons-mobile (50px) */
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        z-index: 1001; /* Above buttons */
        box-shadow: 0 4px 8px var(--shadow-strong);
        max-height: calc(100vh - 100px); /* Total header height is approx 100px */
        overflow-y: auto;
        padding-bottom: 10px;
    }

    .main-nav-mobile.active {
        display: flex; /* Show when active */
    }

    .main-nav-mobile ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav-mobile li {
        width: 100%;
    }

    .main-nav-mobile li a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

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

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

    .footer-col {
        min-width: unset;
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-nav ul {
        padding-left: 0;
    }
}