/* Base styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #ffffff;
    background-color: #1a1a1a;
}

/* Site Header (Fixed Navigation) */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    background-color: transparent; /* Background is set by header-top and main-nav */
    min-height: 60px; /* Ensure content adaptation */
}

.header-top {
    background-color: #000000; /* Auxiliary color for top bar */
    padding: 10px 0;
}

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

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #FFD700; /* Primary color */
    text-decoration: none;
    text-transform: uppercase;
}

.desktop-nav-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFD700; /* Primary color */
    color: #000000; /* Auxiliary color */
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.btn:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.main-nav {
    background-color: #222222; /* Dark grey, contrasting with #000000 */
    padding: 10px 0;
    display: flex; /* Desktop default */
}

.main-nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row; /* Desktop default */
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 15px;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 5px;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: #FFD700; /* Primary color */
    color: #000000; /* Auxiliary color */
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1002;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #FFD700; /* Primary color */
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

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

/* Mobile Menu Overlay (Hidden on Desktop) */
.mobile-menu-overlay {
    display: none;
}

/* Site Footer */
.site-footer {
    background-color: #000000; /* Auxiliary color */
    color: #ffffff;
    padding: 40px 20px 20px;
    font-size: 14px;
    line-height: 1.6;
}

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

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

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

.site-footer p {
    color: #cccccc;
}

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

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

.site-footer .footer-nav a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer .footer-nav a:hover {
    color: #FFD700; /* Primary color */
}

.site-footer .footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333333;
    color: #999999;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .site-header {
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }

    .header-container {
        width: 100%;
        max-width: none; /* Crucial for mobile full width */
        padding: 0 15px;
    }

    .header-top .header-container {
        justify-content: space-between; /* Space between hamburger, logo, empty space */
    }

    .hamburger-menu {
        display: flex; /* Show hamburger on mobile */
        order: 0; /* Place hamburger first */
        margin-right: 15px; /* Spacing */
    }

    .logo {
        order: 1; /* Place logo second */
        flex: 1; /* Allow logo to take available space for centering */
        text-align: center;
        margin-right: 45px; /* Offset for hamburger width to truly center logo */
    }

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

    .main-nav {
        display: none; /* Hide main nav by default on mobile */
        flex-direction: column; /* Vertical menu */
        position: fixed;
        top: 0;
        left: 0;
        width: 70%;
        height: 100%;
        background-color: #222222;
        padding-top: 60px;
        transform: translateX(-100%); /* Slide out from left */
        transition: transform 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .main-nav.active {
        display: flex; /* Show menu when active */
        transform: translateX(0); /* Slide into view */
    }

    .main-nav .nav-container {
        width: 100%;
        max-width: none; /* Crucial for mobile full width */
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }

    .nav-link {
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        border-radius: 0;
    }

    .mobile-buttons-area {
        display: block; /* Show mobile buttons area */
        background-color: #000000;
        padding: 10px 0;
        width: 100%;
        position: fixed;
        z-index: 999; /* Below main nav, above content */
    }
    
    .mobile-buttons-area .header-container {
        width: 100%;
        max-width: none;
        padding: 0 15px;
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .mobile-menu-overlay {
        display: none; /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        z-index: 1000;
    }

    .mobile-menu-overlay.active {
        display: block; /* Show overlay when active */
    }

    /* Hamburger menu animation to 'X' */
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    /* Footer responsive */
    .site-footer .footer-container {
        flex-direction: column;
        gap: 20px;
    }

    .site-footer .footer-column {
        min-width: unset;
        width: 100%;
    }

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

    .site-footer .footer-bottom {
        margin-top: 20px;
        padding-top: 15px;
    }
}

/* Prevent body scroll when menu is open */
body.no-scroll {
    overflow: hidden;
}
