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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 120px; /* Default for mobile, adjusted for desktop */
    background-color: #f4f4f4;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #0A2342; /* Primary color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-height: 60px; /* Adaptive height */
    display: flex;
    flex-direction: column; /* Default to column for mobile */
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.header-top {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    position: relative; /* For absolute positioning of logo */
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #FFD700; /* Accent color */
    text-decoration: none;
    padding: 5px 0;
    /* Mobile specific centering */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001; /* Above general header content */
}

/* Hamburger Menu (Mobile Only) */
.hamburger-menu {
    display: block; /* Shown on mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001; /* Above logo and other elements in header-top */
    order: -1; /* Move to the left */
    margin-right: auto; /* Pushes content away */
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #FFD700; /* Accent color */
    margin: 5px 0;
    transition: 0.4s;
}

/* Main Navigation (Hidden by default for mobile, shown on desktop) */
.main-nav {
    display: none; /* Hidden on mobile by default */
    position: absolute;
    top: 100%; /* Position below the header-top */
    left: 0;
    width: 100%;
    background-color: #0A2342; /* Same as header background */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    z-index: 1002; /* On top of everything when active */
}

.main-nav.active {
    max-height: 500px; /* Arbitrary large value to show content */
    overflow-y: auto; /* Allow scrolling if menu is too long */
    display: block; /* Show when active */
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    align-items: center;
}

.main-nav li {
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 0;
    transition: color 0.3s ease;
    white-space: nowrap;
    display: block;
    font-size: 18px;
}

.main-nav a:hover,
.main-nav a.active {
    color: #FFD700; /* Accent color on hover/active */
}

/* Desktop Buttons (Hidden on mobile) */
.desktop-buttons {
    display: none;
}

/* Mobile Specific Button Area (Always visible on mobile) */
.header-buttons-mobile {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
    gap: 15px;
    z-index: 999; /* Below main-nav when active */
}

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

.btn-primary {
    background-color: #FFD700; /* Accent color */
    color: #0A2342; /* Primary color for text */
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
    background-color: #3498db; /* A different vibrant color */
    color: #fff;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
}

/* Media Queries for Desktop */
@media (min-width: 769px) {
    body {
        padding-top: 80px; /* Adjust for desktop header height */
    }

    .site-header {
        flex-direction: row; /* Desktop layout */
        justify-content: space-between;
        padding: 0 40px;
        min-height: 80px;
    }

    .header-top {
        padding: 0;
        flex-grow: 1;
        justify-content: flex-start;
        position: static; /* Reset position for desktop */
    }

    .hamburger-menu {
        display: none;
    }

    .logo {
        text-align: left;
        flex-grow: 0;
        margin-right: 30px;
        position: static; /* Reset position for desktop */
        transform: none;
        z-index: auto;
    }

    .main-nav {
        display: block; /* Show desktop nav */
        position: static;
        max-height: none;
        overflow: visible;
        box-shadow: none;
        flex-grow: 1; /* Take central space */
        z-index: auto;
    }

    .main-nav ul {
        flex-direction: row;
        justify-content: center; /* Center menu items */
        padding: 0;
    }

    .main-nav li {
        width: auto;
        padding: 0;
    }

    .main-nav a {
        font-size: 16px;
        padding: 5px 0;
    }

    .desktop-buttons {
        display: flex; /* Show desktop buttons */
        gap: 15px;
    }

    .header-buttons-mobile {
        display: none; /* Hide mobile buttons */
    }
}

/* Footer Styles */
.site-footer {
    background-color: #0A2342; /* Primary color */
    color: #fff;
    padding: 40px 20px 20px;
    font-size: 14px;
}

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

.footer-section {
    flex: 1 1 200px; /* Allow sections to grow but minimum width */
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #FFD700; /* Accent color */
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #FFD700; /* Accent color on hover */
}

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

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

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

.footer-bottom p {
    color: #aaa;
}