:root {
    --primary-color: #0A192F;
    --accent-color: #FFD700;
    --text-color-light: #fff;
    --text-color-dark: #0A192F;
    --header-height-desktop: 80px;
    --header-top-row-height-mobile: 60px;
    --mobile-button-area-height: 60px;
    --total-header-height-mobile: calc(var(--header-top-row-height-mobile) + var(--mobile-button-area-height));
}

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: var(--header-height-desktop);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

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

.site-header .logo {
    color: var(--accent-color);
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    padding: 10px 0;
}

.site-header .main-nav ul {
    display: flex;
    list-style: none;
}

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

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

.site-header .main-nav a:hover,
.site-header .main-nav a.active {
    color: var(--accent-color);
}

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 2px solid transparent;
    text-align: center;
    line-height: 1;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-color-dark);
}

.btn-primary:hover {
    background-color: #e6c200;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background-color: #28a745; /* A vibrant green */
    color: var(--text-color-light);
}

.btn-secondary:hover {
    background-color: #218838;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.btn-tertiary {
    background-color: #007bff; /* A bright blue */
    color: var(--text-color-light);
}

.btn-tertiary:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

/* Hamburger menu for mobile */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    width: 30px;
    height: 22px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger-menu .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color-light);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger-menu .bar:nth-child(1) { top: 0; }
.hamburger-menu .bar:nth-child(2) { top: 9px; }
.hamburger-menu .bar:nth-child(3) { top: 18px; }

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

.mobile-button-area {
    display: none; /* Hidden by default on desktop */
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 990; /* Lower than main nav and overlay */
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999; /* Between header and mobile nav */
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Footer styles */
.site-footer {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 40px 20px 20px;
    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(--accent-color);
}

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

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

.site-footer .footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: inline-block;
}

.site-footer h3 {
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 15px;
}

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

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding-top: var(--total-header-height-mobile);
    }

    .site-header .header-inner {
        flex-direction: row; /* Keep logo and hamburger in a row */
        justify-content: space-between;
        min-height: var(--header-top-row-height-mobile);
        padding: 0 15px;
    }

    .site-header .logo {
        flex-grow: 1; /* Allow logo to take space */
        text-align: center;
        margin-left: -30px; /* Offset hamburger to truly center logo */
        font-size: 24px;
    }

    .hamburger-menu {
        display: block;
    }

    .site-header .main-nav {
        position: fixed;
        top: var(--total-header-height-mobile);
        left: 0;
        width: 80%;
        height: calc(100% - var(--total-header-height-mobile));
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
        transform: translateX(-100%);
        transition: transform 0.3s ease-out;
        z-index: 1001; /* Above overlay */
        overflow-y: auto;
    }

    .site-header .main-nav.active {
        transform: translateX(0);
    }

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

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

    .site-header .main-nav li:last-child {
        border-bottom: none;
    }

    .site-header .main-nav a {
        padding: 15px 10px;
        font-size: 16px;
    }

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

    .mobile-button-area {
        display: flex;
        position: sticky; /* Sticky or fixed, fixed causes issues with padding-top */
        top: var(--header-top-row-height-mobile); /* Position it right below the header top row */
        width: 100%;
        z-index: 990; /* Ensure it's above content but below menu */
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 10px 15px;
    }
    
    .mobile-button-area .btn {
        flex-grow: 1;
        flex-basis: calc(33% - 16px); /* Roughly 3 buttons per row */
        font-size: 14px;
        padding: 8px 10px;
    }

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

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

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

@media (max-width: 480px) {
    .site-header .logo {
        font-size: 20px;
    }
    .mobile-button-area .btn {
        flex-basis: calc(50% - 16px); /* 2 buttons per row on smaller mobiles */
    }
}