:root {
    --main-color: #0A1931;
    --accent-color: #FFD700;
    --text-color: #E0E0E0;
    --dark-text-color: #333;
    --button-gradient-start: #FFD700;
    --button-gradient-end: #FFA500;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f4f4f4;
}

/* Global Link Reset */
a {
    text-decoration: none;
    color: inherit;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none; /* Ensure no underline */
}

.btn-primary {
    background: linear-gradient(45deg, var(--button-gradient-start), var(--button-gradient-end));
    color: var(--main-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
    background-color: var(--main-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--main-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-height: 60px; /* Base min-height for content adaptation */
    color: var(--text-color);
}

.site-header .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 40px; /* Ensures content adaptation */
}

.site-header .logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: block;
}

.site-header .main-nav {
    flex-grow: 1;
    text-align: center;
}

.site-header .main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.site-header .main-nav a {
    display: block;
    padding: 10px 0;
    color: var(--text-color);
    font-weight: bold;
    transition: color 0.3s ease;
    position: relative;
}

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

.site-header .main-nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease, left 0.3s ease;
}

.site-header .main-nav a:hover::after,
.site-header .main-nav a.active::after {
    width: 100%;
    left: 0;
}

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

.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001; /* Ensure it's above everything */
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hamburger-menu.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.header-buttons-mobile {
    display: none; /* Hidden by default on desktop */
}

/* Site Footer */
.site-footer {
    background-color: var(--main-color);
    color: var(--text-color);
    padding: 40px 20px 20px;
    font-size: 14px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.site-footer .footer-container {
    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: 200px;
    margin-bottom: 20px;
}

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

.site-footer .footer-col p,
.site-footer .footer-col ul {
    margin-bottom: 10px;
    list-style: none;
    padding: 0;
}

.site-footer .footer-col a {
    display: block;
    padding: 5px 0;
    color: var(--text-color);
    transition: color 0.3s ease;
}

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

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

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

    .site-header .header-top {
        width: 100%;
        justify-content: space-between;
        padding: 10px 15px;
        min-height: 60px;
        position: relative;
        z-index: 1001;
    }

    .site-header .logo {
        flex: 1;
        text-align: center;
        margin-left: -40px; /* Offset for hamburger icon */
        font-size: 24px;
    }

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

    .hamburger-menu {
        display: block;
    }

    .site-header .header-buttons-mobile {
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 10px 15px;
        background-color: var(--main-color);
        width: 100%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 999;
        min-height: 50px;
    }

    .site-header .main-nav {
        /* Mobile nav overlay */
        display: flex; /* Show when active */
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--main-color);
        overflow-y: auto;
        z-index: 1000; /* Below hamburger, above mobile buttons */
        transform: translateX(-100%);
        transition: transform 0.3s ease-out;
        padding-top: calc(60px + 50px + 20px); /* Space for header-top (60px) + mobile-buttons (50px) + padding */
        align-items: center;
    }

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

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

    .site-header .main-nav li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

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

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

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