/* General styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 120px; /* Default padding for desktop header */
}

/* Header styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000000; /* Primary color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-height: 60px; /* Base min-height for header-top */
    display: flex;
    flex-direction: column; /* Stack elements on mobile */
    align-items: center;
    padding-bottom: 5px; /* Small padding at the bottom */
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 20px;
}

.logo {
    font-family: 'Georgia', serif;
    font-size: 28px;
    font-weight: bold;
    color: #FFD700; /* Secondary/accent color */
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-grow: 1; /* Allows logo to take available space */
    text-align: center; /* Center on mobile */
}

.hamburger-menu {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Above mobile buttons and main nav when active */
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #FFD700;
    margin: 5px 0;
    transition: 0.4s;
}

.header-spacer {
    width: 45px; /* Balance space for hamburger on mobile */
}

.main-nav {
    width: 100%;
    display: block; /* Visible on desktop by default */
}

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

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

.main-nav a {
    text-decoration: none;
    color: #FFD700; /* Secondary/accent color */
    padding: 10px 0;
    display: block;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: #FFFFFF;
}

.header-buttons-desktop {
    display: flex;
    gap: 10px;
    margin-left: auto; /* Push to right on desktop */
    padding-right: 20px;
}

.header-buttons-mobile {
    display: none; /* Hidden on desktop */
    width: 100%;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    z-index: 999; /* Below main nav when active */
    background-color: #000000; /* Match header background */
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.btn-primary {
    background-color: #FFD700; /* Gold */
    color: #000000;
}

.btn-primary:hover {
    background-color: #FFA500; /* Orange */
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background-color: #FF4500; /* OrangeRed */
    color: #FFFFFF;
}

.btn-secondary:hover {
    background-color: #FF6347; /* Tomato */
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
}

/* Footer styles */
.site-footer {
    background-color: #000000; /* Primary color */
    color: #CCCCCC;
    padding: 40px 20px 20px;
    text-align: center;
    margin-top: 50px;
}

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

.footer-column {
    flex: 1;
    min-width: 250px;
    margin: 15px;
    text-align: left;
}

.footer-column h3 {
    color: #FFD700; /* Secondary/accent color */
    margin-bottom: 15px;
    font-size: 18px;
    text-transform: uppercase;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

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

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

.footer-nav a {
    text-decoration: none;
    color: #CCCCCC;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #FFD700;
}

.footer-bottom {
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 13px;
    color: #999999;
}

/* Responsive styles */
@media (max-width: 992px) {
    .main-nav ul {
        justify-content: flex-start;
    }
    .header-buttons-desktop {
        padding-right: 10px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 140px; /* Adjust for taller header on mobile with buttons */
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-top {
        padding: 10px 15px;
    }

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

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

    .header-spacer {
        width: 45px; /* Maintain balance for logo centering */
        order: 1; /* Place spacer last */
    }

    .main-nav {
        position: absolute;
        top: 100%; /* Position below the header-top and header-buttons-mobile */
        left: 0;
        width: 100%;
        background-color: #000000;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
        display: none; /* Hidden by default */
        flex-direction: column;
        z-index: 1001; /* Above mobile buttons and other content */
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }

    .main-nav li {
        margin: 0;
        border-bottom: 1px solid #333;
    }

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

    .main-nav a {
        padding: 15px 0;
        font-size: 18px;
    }

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

    .header-buttons-mobile {
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 10px 15px;
        width: 100%;
        background-color: #000000; /* Ensure consistent background */
        z-index: 1000; /* Below main nav when active, above page content */
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-column {
        min-width: unset;
        margin: 15px 0;
        text-align: center;
    }

    .footer-column h3 {
        font-size: 20px;
    }

    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

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