/* General */
body { margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 70px;
    background-color: #0A2463; /* Dark blue solid background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    color: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Desktop-specific container for nav and actions */
.header-desktop-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    flex-grow: 1;
}

.header-top { /* This will be the mobile top bar */
    display: none;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #FFD700; /* Gold color for logo */
    text-transform: uppercase;
    flex-shrink: 0;
    padding: 10px 0;
}

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

.main-nav a {
    color: #fff;
    font-weight: bold;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    text-decoration: none; /* No underline */
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary, .btn-mobile-primary {
    background-color: #FFD700; /* Gold background */
    color: #0A2463; /* Dark blue text */
    border: 2px solid #FFD700;
}

.btn-primary:hover, .btn-mobile-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.btn-secondary, .btn-mobile-secondary {
    background-color: #1A3A70; /* Slightly lighter dark blue */
    color: #FFD700; /* Gold text */
    border: 2px solid #1A3A70;
}

.btn-secondary:hover, .btn-mobile-secondary:hover {
    background-color: #0A2463;
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Hamburger menu */
.hamburger-menu {
    display: none;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFD700;
    margin-bottom: 6px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

/* Mobile-specific elements initially hidden */
.hamburger-menu,
.main-nav.mobile-nav,
.header-buttons.mobile-buttons {
    display: none;
}

/* Footer */
.site-footer {
    background-color: #1A3A70; /* Darker blue for footer */
    color: #C0C0C0; /* Light grey text */
    padding: 40px 0 20px;
    font-size: 14px;
    margin-top: 50px;
}

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

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

.footer-col h3 {
    color: #FFD700; /* Gold for headings */
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-col p,
.footer-col ul {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

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

.footer-col a {
    color: #C0C0C0;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #FFD700;
}

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

.footer-bottom p {
    margin: 0;
    color: #A0A0A0;
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .header-top {
        display: none;
    }
    .header-desktop-content {
        display: flex;
    }
    .main-nav.mobile-nav,
    .header-buttons.mobile-buttons {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .site-header {
        min-height: auto;
        padding: 0;
    }
    .header-desktop-content {
        display: none;
    }
    .header-top {
        display: flex;
        width: 100%;
        padding: 10px 20px;
        box-sizing: border-box;
        justify-content: space-between;
        align-items: center;
        background-color: #0A2463;
    }
    .logo {
        flex: 1;
        text-align: center;
        padding: 0;
    }
    .header-top-right-spacer {
        width: 30px;
        height: 20px;
        flex-shrink: 0;
    }
    .hamburger-menu {
        display: block;
        z-index: 1001;
    }

    .header-buttons.mobile-buttons {
        display: flex;
        width: 100%;
        padding: 10px 20px;
        box-sizing: border-box;
        justify-content: center;
        gap: 15px;
        background-color: #0A2463;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .main-nav.mobile-nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0A2463;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.3s ease;
    }

    .main-nav.mobile-nav.active {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }
    .main-nav.mobile-nav ul {
        flex-direction: column;
        padding: 15px 20px;
    }
    .main-nav.mobile-nav li {
        margin-bottom: 10px;
    }
    .main-nav.mobile-nav a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .main-nav.mobile-nav li:last-child a {
        border-bottom: none;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-col {
        min-width: auto;
        width: 100%;
    }
    .footer-col ul {
        display: inline-block;
        text-align: left;
    }
}