/* Base Styles */
:root {
    --primary-color: #0A1931;
    --secondary-color: #E6B325;
    --text-light: #f8f8f8;
    --text-dark: #333;
    --button-accent: #FFD700; /* Gold */
    --button-gradient-start: #FFD700;
    --button-gradient-end: #FFA500;
    --button-shadow: rgba(255, 215, 0, 0.5);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    padding-top: 120px; /* Adjust based on header height, roughly 2x mobile header height */
}

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

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none; /* Remove underline for button links */
    color: var(--text-dark); /* Default button text color */
    box-shadow: 0 4px 15px var(--button-shadow);
}

.btn-primary {
    background: linear-gradient(45deg, var(--button-gradient-start), var(--button-gradient-end));
    color: var(--primary-color);
    border: none;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--button-shadow);
}

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

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

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-height: 60px; /* Base min-height */
}

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

.logo {
    font-size: 2.2em;
    font-weight: 900;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-grow: 1; /* Allows logo to take available space */
    text-align: center; /* Centered on mobile */
}

.logo:hover {
    color: var(--button-accent);
}

.hamburger-menu {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001; /* Higher than buttons */
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

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

.empty-space {
    width: 45px; /* Roughly match hamburger width for centering balance */
}

.header-buttons {
    display: none; /* Hidden on desktop */
    justify-content: center;
    gap: 15px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999; /* Lower than main-nav when open, and hamburger */
}

.main-nav {
    flex-grow: 2;
    display: flex;
    justify-content: flex-end;
}

.main-nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

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

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

.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::after {
    width: 100%;
}

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

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

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

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

.footer-col p,
.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

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

.copyright {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Styles */
@media (min-width: 769px) {
    .site-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 40px;
        min-height: 80px;
    }

    .header-top {
        padding: 0;
        min-height: auto;
        flex-grow: 0; /* Reset flex-grow for desktop */
    }

    .header-top .logo {
        text-align: left;
        flex-grow: 0;
        margin-right: 30px;
    }

    .hamburger-menu,
    .header-buttons,
    .empty-space {
        display: none; /* Hide on desktop */
    }

    .main-nav {
        position: static;
        background: none;
        width: auto;
        height: auto;
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        flex-grow: 1;
        justify-content: center; /* Center main nav on desktop */
    }

    .main-nav ul {
        flex-direction: row;
        gap: 30px;
    }

    .site-header .header-buttons {
        display: flex;
        gap: 15px;
        padding: 0;
        background: none;
        border-top: none;
        z-index: auto;
    }

    /* Desktop specific buttons */
    .site-header .header-buttons a {
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 120px; /* Adjust for combined header height on mobile */
    }

    .site-header {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
    }

    .header-top {
        justify-content: space-between;
        padding: 10px 15px;
        min-height: 60px;
    }

    .header-top .logo {
        font-size: 1.8em;
        flex-grow: 1;
        text-align: center; /* Logo centered on mobile */
    }

    .hamburger-menu {
        display: block;
        order: -1; /* Place hamburger first */
        margin-right: auto; /* Push it to the left */
    }

    .empty-space {
        display: block;
        width: 45px; /* To balance logo centering */
        flex-shrink: 0;
    }

    .header-buttons {
        display: flex; /* Always visible on mobile */
        justify-content: center;
        gap: 10px;
        padding: 10px 15px;
        z-index: 999; /* Lower than hamburger menu (1001) and main-nav (1000) */
    }

    .header-buttons .btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        opacity: 0;
        visibility: hidden;
        z-index: 1000; /* Above header-buttons, below hamburger */
    }

    .main-nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding-top: 60px; /* Space for hamburger/close button if needed */
    }

    .main-nav a {
        font-size: 1.5em;
        padding: 10px 0;
        display: block;
    }

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

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

    .footer-col {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }

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