/* Base Styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 110px; /* Adjust this based on actual header height for content to not be hidden */
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #003366; /* Primary color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-height: 60px; /* Ensure content adaptation */
    box-sizing: border-box;
}

.header-top-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo-wrapper {
    display: flex;
    align-items: center;
}

.logo {
    font-family: 'Georgia', serif; /* Creative font choice */
    font-size: 2.2em;
    font-weight: bold;
    color: #FFCC00; /* Auxiliary color */
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 5px 0;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #FFF;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.main-nav li a {
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease, transform 0.2s ease;
}

.main-nav li a:hover,
.main-nav li a.active {
    color: #FFCC00;
    transform: translateY(-2px);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: none;
    white-space: nowrap; /* Prevent text wrapping */
}

.btn-primary {
    background-color: #FFCC00; /* Bright, vivid */
    color: #003366;
    border: 2px solid #FFCC00;
}

.btn-primary:hover {
    background-color: #e6b800;
    color: #FFF;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background-color: #0056b3; /* Another prominent color */
    color: #FFF;
    border: 2px solid #0056b3;
}

.btn-secondary:hover {
    background-color: #004085;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
}

.btn-submit {
    background-color: #28a745; /* Green for submit/success */
    color: #FFF;
    border: 2px solid #28a745;
}

.btn-submit:hover {
    background-color: #218838;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
}

/* Mobile-specific elements (hidden on desktop by default) */
.header-top-mobile,
.header-mobile-buttons,
.mobile-nav {
    display: none;
}

/* Hamburger Menu */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    z-index: 1003; /* Highest for clickability */
    position: relative; /* For z-index to work against siblings */
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: #FFCC00;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Footer Styles */
.site-footer {
    background-color: #003366;
    color: #FFF;
    padding: 40px 20px 20px;
    font-size: 0.9em;
    line-height: 1.8;
}

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

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

.footer-column h3 {
    color: #FFCC00;
    font-size: 1.2em;
    margin-bottom: 15px;
    border-bottom: 2px solid #FFCC00;
    padding-bottom: 5px;
}

.footer-column p,
.footer-column a {
    color: #CCC;
    text-decoration: none;
}

.footer-column a:hover {
    color: #FFCC00;
}

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

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

.footer-nav li a {
    display: block;
}

.contact-form input[type="email"],
.contact-form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #004085;
    background-color: #002244;
    color: #FFF;
    border-radius: 5px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #AAA;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #004085;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    body {
        padding-top: 110px; /* Adjust for mobile header height (top + buttons) */
    }

    .header-top-desktop,
    .desktop-nav,
    .header-desktop-buttons {
        display: none; /* Hide desktop elements */
    }

    .site-header {
        min-height: unset; /* Allow height to adapt to its children */
    }

    .header-top-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        position: relative;
        z-index: 1001; /* Above mobile buttons, below mobile nav when open */
        min-height: 50px;
    }

    .mobile-logo {
        flex-grow: 1;
        text-align: center;
        font-size: 1.8em;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        padding: 0;
    }

    .mobile-spacer {
        width: 30px; /* Balance hamburger width for centering */
        visibility: hidden;
    }

    .hamburger-menu {
        display: flex; /* Show hamburger */
        position: relative;
        z-index: 1003; /* Highest z-index for clickability */
    }

    .header-mobile-buttons {
        display: flex; /* Show mobile buttons */
        justify-content: center;
        gap: 10px;
        padding: 10px 20px;
        background-color: #003366; /* Match header background */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 1000; /* Below mobile nav */
        width: 100%;
        box-sizing: border-box;
    }

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

    .mobile-nav {
        display: block; /* Managed by JS, hidden by default via transform */
        position: fixed;
        top: 0; /* Will be dynamically adjusted by JS */
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #003366;
        box-sizing: border-box;
        overflow-y: auto;
        z-index: 1002; /* Above mobile buttons, below hamburger */
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .mobile-nav.active {
        transform: translateX(0);
    }

    .mobile-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
    }

    .mobile-nav li a {
        font-size: 1.2em;
        padding: 15px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .mobile-nav li:last-child a {
        border-bottom: none;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
    }

    .footer-column {
        min-width: unset;
        width: 100%;
        text-align: center;
    }

    .footer-column h3 {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 10px;
    }

    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .footer-nav li {
        margin-bottom: 0;
    }

    .contact-form input[type="email"],
    .contact-form textarea {
        width: calc(100% - 40px);
        margin: 0 auto 10px;
        display: block;
    }
}
