:root {
    --primary-color: #1A2B4C;
    --secondary-color: #FF8C00;
    --text-color-light: #f0f0f0;
    --text-color-dark: #333;
    --header-height-desktop: 80px;
    --header-height-mobile-top: 60px;
    --mobile-button-area-height: 70px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    padding-top: var(--header-height-desktop); /* Desktop default for fixed header */
    transition: padding-top 0.3s ease;
}

body.no-scroll {
    overflow: hidden;
}

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-height: var(--header-height-desktop);
    display: flex;
    flex-direction: column; /* Allows mobile buttons to stack below on small screens */
}

.header-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    min-height: var(--header-height-desktop);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    order: 1;
    flex-shrink: 0;
}

/* Main Navigation (Desktop) */
.main-nav {
    flex-grow: 1;
    display: flex; /* Desktop: visible */
    justify-content: center;
    order: 2;
}

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

.main-nav ul li a {
    color: var(--text-color-light);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--secondary-color);
}

/* Desktop Navigation Buttons */
.desktop-nav-buttons {
    display: flex;
    gap: 15px;
    order: 3;
    flex-shrink: 0;
}

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

.btn-primary {
    background: linear-gradient(45deg, var(--secondary-color), #FFB040);
    color: var(--primary-color);
    border: none;
}

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

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

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
}

/* Mobile Navigation Buttons (Hidden on Desktop) */
.mobile-nav-buttons {
    display: none; /* Hidden by default on desktop */
}

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

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 40px 20px;
    text-align: center;
}

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

.footer-col {
    flex: 1;
    min-width: 250px;
    margin: 20px;
}

.footer-col h3, .footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-col p {
    font-size: 15px;
    margin-bottom: 10px;
}

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

.footer-nav ul li a {
    color: var(--text-color-light);
    text-decoration: none;
    padding: 5px 0;
    display: block;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--secondary-color);
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    body {
        padding-top: calc(var(--header-height-mobile-top) + var(--mobile-button-area-height));
    }

    .site-header {
        min-height: var(--header-height-mobile-top);
    }

    .header-main-content {
        min-height: var(--header-height-mobile-top);
        padding: 0 15px;
        justify-content: flex-start; /* Hamburger left, logo center */
    }

    .logo {
        font-size: 24px;
        flex-grow: 1;
        text-align: center;
        order: 2;
    }

    /* Hamburger Menu (Mobile) */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        order: 1;
        position: relative; /* For X animation */
        flex-shrink: 0;
    }

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

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

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

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

    /* Main Navigation (Mobile) */
    .main-nav {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px; /* Sidebar width */
        height: 100%;
        background-color: var(--primary-color);
        padding-top: var(--header-height-mobile-top);
        transform: translateX(-100%); /* Slide out of view */
        transition: transform 0.3s ease-out;
        z-index: 1002;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
        align-items: flex-start;
        padding-left: 20px;
    }

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

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

    .main-nav ul li a {
        font-size: 18px;
        padding: 10px 0;
        display: block;
    }

    /* Desktop Nav Buttons (Hidden on Mobile) */
    .desktop-nav-buttons {
        display: none;
    }

    /* Mobile Nav Buttons (Visible on Mobile) */
    .mobile-nav-buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 10px 15px;
        background-color: var(--primary-color);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        min-height: var(--mobile-button-area-height);
        z-index: 999; /* Below hamburger menu, above content */
    }

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

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 1001;
        cursor: pointer;
    }

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

    /* Footer */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-col {
        margin: 15px 0;
        min-width: unset;
    }

    .footer-nav ul {
        padding-left: 0;
    }
}
