/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #fff;
    background-color: #333;
    padding-top: 80px; /* Space for fixed header on desktop */
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #1A202C;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column; /* Default to column, adjusted for desktop below */
}

.header-main-desktop-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    min-height: 50px; /* Base height for the content */
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
    display: block;
    text-decoration: none;
}

.main-nav {
    flex: 1;
    display: flex; /* Desktop: visible, horizontal */
    justify-content: center;
    margin: 0 20px;
}

.main-nav ul {
    display: flex;
}

.main-nav li a {
    color: #fff;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
    white-space: nowrap;
}

.main-nav li a:hover {
    color: #FFD700;
    background-color: rgba(255, 255, 255, 0.1);
}

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

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background-color: #FFD700;
    color: #1A202C;
    border: none;
}

.btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.btn:hover {
    transform: translateY(-2px);
}

.hamburger-menu {
    display: none; /* Hidden on desktop */
}

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

.mobile-menu-overlay {
    display: none; /* Hidden on desktop */
}

/* Footer Styles */
.site-footer {
    background-color: #1A202C;
    color: #fff;
    padding: 40px 20px;
    font-size: 14px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-column {
    flex: 1;
    min-width: 200px;
    margin: 15px;
}

.footer-column h3 {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 18px;
}

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

.footer-nav li a {
    color: #ccc;
    padding: 5px 0;
    display: block;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    margin-bottom: 8px;
}

.footer-copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #aaa;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        padding-top: 130px; /* Header top row (70px) + Mobile buttons area (60px) */
    }

    .site-header {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
    }

    .header-main-desktop-row {
        padding: 10px 20px;
        min-height: 50px;
        position: relative; /* For logo centering */
        justify-content: space-between;
    }

    .logo {
        font-size: 24px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 50%;
        transform: translate(-50%, -50%); /* Centering both ways */
    }

    .main-nav {
        display: none; /* Hidden by default on mobile */
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 300px;
        height: 100%;
        background-color: #1A202C;
        flex-direction: column;
        padding-top: 70px; /* Space for top header row */
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        transform: translateX(-100%); /* Slide out to the left */
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
    }

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

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-actions {
        display: none; /* Hide desktop buttons */
    }

    .hamburger-menu {
        display: flex; /* Show hamburger menu */
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        z-index: 1001;
        order: -1; /* Place to the left */
    }

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

    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .mobile-buttons-area {
        display: flex; /* Show mobile buttons area */
        justify-content: center;
        gap: 10px;
        padding: 10px 20px;
        background-color: #1A202C;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 990; /* Below hamburger menu */
        width: 100%;
    }

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

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        margin: 15px 0;
        min-width: unset;
        width: 100%;
    }

    .footer-column h3 {
        text-align: center;
    }

    .footer-nav ul li a {
        text-align: center;
    }

    .footer-contact p {
        text-align: center;
    }
}

/* Utility for preventing scroll */
body.no-scroll {
    overflow: hidden;
}