/* Base Styles */
:root {
    --primary-color: #1A2B3C;
    --accent-color: #FFD700;
    --text-color: #E0E0E0;
    --dark-bg: #121212;
    --light-gray: #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: var(--dark-bg);
    padding-top: 80px; /* Adjust based on header height */
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    min-height: 60px;
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.logo {
    font-size: 2em;
    font-weight: bold;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 5px 0;
}

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

.main-nav a {
    color: var(--text-color);
    font-weight: bold;
    padding: 10px 0;
    display: block;
    position: relative;
    text-decoration: none;
}

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

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

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

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

.btn-primary {
    background: linear-gradient(90deg, var(--button-gradient-start), var(--button-gradient-end));
    color: var(--primary-color);
    border: none;
}

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

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

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

/* Hamburger Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Footer Styles */
.site-footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 40px 20px 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-col p {
    font-size: 0.9em;
    line-height: 1.8;
}

.footer-col .footer-logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
}

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

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

.footer-nav a {
    color: var(--text-color);
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
    font-size: 0.8em;
    color: #999;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .main-nav ul {
        gap: 15px;
    }
    .header-buttons {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 120px; /* Adjust for taller mobile header */
    }
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }
    .header-container {
        flex-direction: column;
        align-items: center;
    }
    .header-top {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
        min-height: 60px;
    }
    .logo {
        flex: 1;
        text-align: center;
        order: 2; /* Center logo */
        font-size: 1.8em;
        padding: 0;
    }
    .menu-toggle {
        display: block;
        order: 1; /* Hamburger left */
        margin-right: auto; /* Push logo to center */
    }
    .mobile-spacer {
        width: 45px; /* Roughly same width as hamburger for balancing logo */
        order: 3;
        margin-left: auto;
    }
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary-color);
        position: absolute;
        top: 100px; /* Below buttons, adjusted by JS */
        left: 0;
        padding: 10px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
        z-index: 998; /* Below header-buttons */
    }
    .main-nav.active {
        display: flex;
    }
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }
    .main-nav li:last-child {
        border-bottom: none;
    }
    .main-nav a {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .main-nav a::after {
        display: none; /* Hide underline effect on mobile menu */
    }
    .header-buttons {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 10px;
        background-color: var(--primary-color);
        padding: 10px 15px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        position: relative;
        z-index: 999; /* Above main-nav, below menu-toggle */
    }
    .btn {
        flex: 1;
        max-width: 150px;
        padding: 8px 15px;
        font-size: 0.9em;
    }

    /* Hamburger animation */
    .menu-toggle.active .icon-bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .menu-toggle.active .icon-bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .icon-bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h3 {
        margin-top: 30px;
    }
    .footer-col .footer-logo {
        margin-bottom: 0;
    }
}