/* Base Styles */
:root {
    --primary-color: #1A202C;
    --secondary-color: #FFD700;
    --text-light: #FFFFFF;
    --text-dark: #1A202C;
    --btn-primary-bg: #FFD700;
    --btn-primary-text: #1A202C;
    --btn-secondary-bg: #4CAF50;
    --btn-secondary-text: #FFFFFF;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f4f7f6;
    padding-top: 100px; /* Adjust for fixed header height */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.btn-primary {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.btn-secondary {
    background-color: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn-secondary:hover {
    background-color: #66BB6A;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
    transform: translateY(-2px);
}

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

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

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 0;
    display: block;
}

/* Desktop Specific Header */
.desktop-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

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

.main-nav a {
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
    color: var(--text-light);
}

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

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

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

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

/* Mobile Specific Header Elements (Hidden by default on desktop) */
.mobile-header-top,
.mobile-header-buttons,
.mobile-nav-dropdown {
    display: none;
}

/* Hamburger Menu Icon */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px 0;
    position: relative;
    z-index: 1002; /* Above mobile-nav-dropdown */
}

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

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

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

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

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: #A0AEC0;
    padding: 40px 20px;
    font-size: 14px;
    line-height: 1.8;
}

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

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

.footer-col h3 {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col p,
.footer-col a {
    color: #A0AEC0;
    transition: color 0.3s ease;
}

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

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.copyright {
    color: #A0AEC0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 120px; /* Adjust for mobile header height (top bar + buttons) */
    }

    .desktop-header-content {
        display: none;
    }

    .site-header {
        min-height: auto; /* Allow height to adjust for two rows */
        padding-bottom: 0; /* No padding at bottom of header itself */
    }

    .mobile-header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        background-color: var(--primary-color);
        position: relative;
        z-index: 1000;
    }

    .mobile-header-top .logo {
        flex: 1;
        text-align: center;
        padding: 0;
    }

    .mobile-header-top .spacer {
        width: 25px; /* Match hamburger width for centering */
    }

    .hamburger-menu {
        display: block;
        order: -1; /* Place hamburger first */
        margin-right: auto; /* Push logo to center */
    }

    .mobile-header-buttons {
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 10px 20px;
        background-color: var(--primary-color);
        position: relative;
        z-index: 999; /* Below mobile-nav-dropdown, above page content */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for button bar */
    }

    .mobile-nav-dropdown {
        position: absolute;
        top: 120px; /* Position below the two header rows */
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1001; /* Above mobile-header-buttons */
        display: none; /* Hidden by default, JS toggles active class */
    }

    .mobile-nav-dropdown.active {
        transform: translateY(0);
        display: flex;
    }

    .mobile-nav-dropdown ul {
        flex-direction: column;
        gap: 15px;
    }

    .mobile-nav-dropdown a {
        color: var(--text-light);
        font-size: 18px;
        padding: 10px 0;
        display: block;
        text-align: center;
    }

    .mobile-nav-dropdown a:hover, .mobile-nav-dropdown a.active-nav-link {
        color: var(--secondary-color);
    }

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

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