:root {
    --primary-bg-color: #1A202C;
    --secondary-accent-color: #FFD700;
    --text-color-light: #fff;
    --text-color-dark: #333;
    --button-hover-color: #E6C200;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text-color-dark);
    line-height: 1.6;
    background-color: #f4f4f4;
    /* IMPORTANT: padding-top will be dynamically set by JavaScript to prevent content obscuring */
}

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

.btn.primary {
    background-color: var(--secondary-accent-color);
    color: var(--primary-bg-color);
}

.btn.primary:hover {
    background-color: var(--button-hover-color);
    transform: translateY(-2px);
}

.btn.secondary {
    background-color: transparent;
    color: var(--secondary-accent-color);
    border: 2px solid var(--secondary-accent-color);
}

.btn.secondary:hover {
    background-color: var(--secondary-accent-color);
    color: var(--primary-bg-color);
    transform: translateY(-2px);
}

/* Site Header - Desktop First */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--primary-bg-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    min-height: 70px; /* Minimum height for desktop header-main */
    display: flex;
    flex-direction: column; /* Default for mobile, will be overridden for desktop main */
}

.site-header .header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    flex-grow: 1;
}

.site-header .logo,
.site-footer .footer-logo {
    color: var(--secondary-accent-color);
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    display: block; /* Ensure logo is visible by default on desktop and mobile */
}

/* Desktop Navigation Menu */
.site-header .main-nav {
    flex: 1; /* Takes available space in the middle */
    display: flex; /* Desktop: visible and horizontal */
    justify-content: center;
    align-items: center;
}

.site-header .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Horizontal list items */
}

.site-header .main-nav li {
    margin: 0 10px;
}

.site-header .main-nav a {
    color: var(--text-color-light);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    white-space: nowrap;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 4px;
}

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

/* Desktop Navigation Buttons */
.site-header .desktop-nav-buttons {
    display: flex; /* Desktop: visible */
    align-items: center;
    gap: 10px;
}

/* Hamburger menu and mobile buttons area - hidden on desktop */
.site-header .hamburger-btn,
.site-header .mobile-buttons-area,
.site-header .mobile-menu-overlay {
    display: none;
}

/* Hamburger button styling (desktop hidden, mobile visible) */
.hamburger-btn {
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    position: relative;
    z-index: 1001; /* Ensure it's above the overlay */
}

.hamburger-icon {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color-light);
    transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-icon:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active .hamburger-icon:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-icon:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Site Footer */
.site-footer {
    background-color: var(--primary-bg-color);
    color: var(--text-color-light);
    padding: 40px 30px;
    font-size: 14px;
}

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

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

.site-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer .footer-column h3 {
    color: var(--secondary-accent-color);
    font-size: 16px;
    margin-bottom: 15px;
    white-space: nowrap;
}

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

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

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

.site-footer .brand-info .footer-logo {
    margin-bottom: 15px;
    display: inline-block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .site-header {
        min-height: auto;
        flex-direction: column;
    }

    .site-header .header-main {
        padding: 10px 15px;
        justify-content: space-between;
        gap: 10px;
    }

    .site-header .hamburger-btn {
        display: flex; /* Mobile: visible */
        order: 1;
    }

    .site-header .logo {
        order: 2;
        flex: 1;
        text-align: center;
        font-size: 24px;
        display: block; /* Ensure logo is visible on mobile */
    }

    /* Hide desktop nav and buttons on mobile */
    .site-header .main-nav,
    .site-header .desktop-nav-buttons {
        display: none;
    }

    /* Mobile buttons area - visible on mobile */
    .site-header .mobile-buttons-area {
        display: flex; /* Mobile: visible */
        justify-content: center;
        gap: 10px;
        padding: 10px 15px;
        background-color: var(--primary-bg-color);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    /* Mobile Navigation Menu (hidden by default) */
    .site-header .main-nav {
        display: none; /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 300px;
        height: 100%;
        background-color: var(--primary-bg-color);
        flex-direction: column;
        padding-top: 80px;
        transform: translateX(-100%); /* Slide out to the left */
        transition: transform 0.3s ease;
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0,0,0,0.5);
    }

    /* Mobile Navigation Menu Active State */
    .site-header .main-nav.active {
        display: flex; /* IMPORTANT: MUST be flex to show */
        transform: translateX(0); /* Slide in */
    }

    .site-header .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .site-header .main-nav li {
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

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

    /* Mobile Menu Overlay */
    .site-header .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.7);
        z-index: 999;
        transition: opacity 0.3s ease;
        opacity: 0;
    }

    .site-header .mobile-menu-overlay.active {
        display: block; /* IMPORTANT: Must be block to show */
        opacity: 1;
    }

    /* Footer adjustments for mobile */
    .site-footer .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .site-footer .footer-column:last-child {
        margin-bottom: 0;
    }

    .site-footer .footer-column ul {
        padding: 0;
    }

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

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