/* Global Styles */
:root {
    --primary-color: #0A192F;
    --accent-color: #FFD700;
    --text-color-light: #F0F2F5;
    --text-color-dark: #333;
    --button-primary-bg: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    --button-secondary-bg: #007bff;
    --button-tertiary-bg: #28a745;
    --button-text-color: #0A192F;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding-top: 80px; /* Default padding for fixed header on desktop */
    background-color: #f4f7f6;
    color: var(--text-color-dark);
}

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 80px;
    background-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.site-header .header-top-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.site-header .logo {
    color: var(--accent-color);
    font-size: 2.2em;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    order: 1;
    transition: color 0.3s ease;
}

.site-header .logo:hover {
    color: #FFF;
}

/* Desktop Navigation */
.main-nav {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}

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

.main-nav a {
    color: var(--text-color-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

/* Desktop Buttons */
.desktop-nav-buttons {
    display: flex;
    gap: 10px;
    order: 2;
}

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

/* Buttons Styling */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1em;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: var(--button-primary-bg);
    color: var(--button-text-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: var(--button-secondary-bg);
    color: var(--text-color-light);
}

.btn-secondary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-tertiary {
    background-color: var(--button-tertiary-bg);
    color: var(--text-color-light);
}

.btn-tertiary:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

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

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

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

.site-footer .footer-logo {
    color: var(--accent-color);
    font-size: 1.8em;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 15px;
    display: inline-block;
}

.site-footer h3 {
    color: var(--accent-color);
    font-size: 1.2em;
    margin-bottom: 20px;
    position: relative;
}

.site-footer h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin-top: 10px;
}

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

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--accent-color);
}

.site-footer .contact-info p {
    margin-bottom: 10px;
}

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

/* Mobile Styles */
@media (max-width: 768px) {
    body {
        padding-top: 120px; /* Header (60px) + Mobile Buttons (60px) */
    }

    .site-header {
        min-height: 60px; /* Smaller header on mobile */
        padding: 0 15px;
    }

    .site-header .header-top-bar {
        padding: 5px 0;
        justify-content: space-between;
    }

    .site-header .logo {
        font-size: 1.8em;
        flex-grow: 1;
        text-align: center;
        order: 2;
    }

    .hamburger-menu {
        display: block;
        order: 1;
    }

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

    .desktop-nav-buttons {
        display: none; /* Hide desktop buttons on mobile */
    }

    .mobile-nav-buttons {
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 10px 15px;
        background-color: var(--primary-color);
        position: fixed;
        top: 60px; /* Below header */
        left: 0;
        width: 100%;
        z-index: 999;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .mobile-nav-buttons .btn {
        padding: 8px 15px;
        font-size: 0.9em;
        flex: 1;
    }

    .main-nav {
        display: none; /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 80%; /* Menu width */
        max-width: 300px;
        height: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding-top: 130px; /* Space for header and mobile buttons */
        transform: translateX(-100%); /* Off-screen */
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
    }

    .main-nav.active {
        display: flex; /* Crucial: show menu */
        transform: translateX(0); /* Slide in */
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-nav a {
        padding: 15px 20px;
        display: block;
        width: 100%;
        text-align: left;
    }

    .mobile-menu-overlay {
        display: none; /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 998; /* Below menu, above content */
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .mobile-menu-overlay.active {
        display: block; /* Crucial: show overlay */
        opacity: 1;
    }

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

    .site-footer .footer-logo {
        margin-bottom: 10px;
    }

    .site-footer h3::after {
        margin: 10px auto 0;
    }

    .site-footer ul {
        margin-bottom: 20px;
    }
}