/* General Reset & Base Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    padding-top: 110px; /* Default for mobile, adjusted by JS if needed */
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #1A2E47; /* Primary color */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-height: 60px; /* Minimum height, content adapts */
    color: #fff;
    display: flex; /* Use flex for desktop layout */
    flex-direction: column; /* Stack elements for mobile first, then adjust */
}

/* Header Top for Mobile */
.header-top {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    justify-content: space-between;
    min-height: 50px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #FFD700; /* Accent color for logo */
    text-transform: uppercase;
    text-align: center;
    flex-grow: 1;
    padding: 0 10px;
}

/* Hamburger Menu */
.hamburger-menu {
    display: flex; /* Show on mobile */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}
.hamburger-menu:focus {
    outline: none;
}
.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: #FFD700; /* Accent color */
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
}
.hamburger-menu.open .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger-menu.open .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.open .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Header Placeholder for Mobile Alignment */
.header-placeholder {
    width: 30px;
    visibility: hidden;
}

/* Mobile Buttons Area */
.header-buttons-mobile {
    display: flex; /* Always visible on mobile */
    justify-content: center;
    gap: 10px;
    padding: 10px 15px;
    background-color: #1A2E47;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

/* Main Navigation (Hidden by default on mobile) */
.main-nav {
    display: none; /* Hidden on mobile by default */
    flex-direction: column;
    width: 100%;
    background-color: #1A2E47;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 998;
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}
.main-nav.active {
    display: flex;
}

.nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
}
.nav-list a {
    color: #fff;
    font-size: 18px;
    padding: 8px 15px;
    display: block;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease;
}
.nav-list a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

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

/* Buttons General Style */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    font-size: 14px;
}

.btn-primary {
    background-image: linear-gradient(to right, #FFD700, #FFA500); /* Gold to Orange gradient */
    color: #1A2E47;
    border: none;
}
.btn-primary:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3), 0 0 15px #FFD700;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #3B5998; /* A contrasting blue */
    color: #fff;
    border: none;
}
.btn-secondary:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3), 0 0 15px #3B5998;
    transform: translateY(-2px);
}

/* Footer Styles */
.site-footer {
    background-color: #1A2E47;
    color: #fff;
    padding: 40px 20px;
    font-size: 14px;
    line-height: 1.6;
}

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

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

.footer-column h3 {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 5px;
}
.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #FFD700;
}

.footer-column p,
.footer-nav ul li a {
    color: #ccc;
    margin-bottom: 8px;
}

.footer-nav ul li a:hover {
    color: #FFD700;
    text-decoration: underline;
}

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

/* Desktop Media Query */
@media (min-width: 769px) {
    body {
        padding-top: 70px; /* Adjust for desktop header height */
    }
    .site-header {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 0 20px;
        min-height: 70px;
    }

    .header-top {
        padding: 0;
        min-height: auto;
        justify-content: flex-start;
        flex-grow: 0;
        flex-shrink: 0;
    }

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

    .hamburger-menu,
    .header-placeholder,
    .header-buttons-mobile {
        display: none;
    }

    .main-nav {
        display: flex;
        flex-direction: row;
        position: static;
        top: auto;
        left: auto;
        transform: none;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        flex-grow: 1;
        justify-content: center;
        align-items: center;
        gap: 40px; /* Gap between menu and buttons */
    }

    .nav-list {
        display: flex;
        flex-direction: row;
        padding-bottom: 0;
        gap: 20px;
        margin: 0;
    }
    .nav-list a {
        font-size: 16px;
        padding: 5px 10px;
        width: auto;
    }

    .nav-buttons-desktop {
        display: flex;
        gap: 10px;
        flex-shrink: 0; /* Prevent buttons from shrinking */
        align-items: center;
    }

    .footer-column {
        flex: 1;
        max-width: 30%;
    }
    .footer-content {
        justify-content: space-between;
    }
}