/* General Body Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding-top: 130px; /* Adjust based on header height, for fixed header */
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #1a1a1a; /* Solid dark background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-height: 60px; /* Ensure content fits */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

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

.site-header .logo {
    font-family: 'Arial Black', sans-serif;
    font-size: 2.5em;
    font-weight: bold;
    color: #ffc107; /* Secondary color for logo */
    text-decoration: none;
    padding: 5px 0;
    white-space: nowrap;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.site-header .logo:hover {
    color: #ffd700;
}

.header-top-spacer {
    display: none; /* Hidden on desktop */
}

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

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

/* Main Navigation */
.main-nav {
    flex-grow: 1;
    text-align: center;
}

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

.main-nav .nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
    white-space: nowrap;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    background-color: #007bff; /* Primary color for active/hover */
    border-radius: 5px;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Higher than buttons and nav */
    position: relative;
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.hamburger-menu .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: 0.4s;
}

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

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

.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3); /* Primary blue gradient */
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #007bff);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(45deg, #ffc107, #e0a800); /* Secondary yellow gradient */
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(45deg, #e0a800, #ffc107);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
    transform: translateY(-2px);
}

/* Site Footer */
.site-footer {
    background-color: #222222;
    color: #cccccc;
    padding: 40px 20px 20px;
    font-size: 0.9em;
}

.site-footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.site-footer .footer-section {
    flex: 1;
    min-width: 200px;
    margin: 15px;
}

.site-footer .footer-logo {
    font-family: 'Arial Black', sans-serif;
    font-size: 2em;
    font-weight: bold;
    color: #ffc107;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.site-footer h4 {
    color: #ffffff;
    font-size: 1.1em;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff; /* Primary color underline */
    padding-bottom: 5px;
    display: inline-block;
}

.site-footer p {
    margin-bottom: 10px;
}

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

.site-footer .footer-nav li a {
    color: #cccccc;
    text-decoration: none;
    padding: 5px 0;
    display: block;
    transition: color 0.3s ease;
}

.site-footer .footer-nav li a:hover {
    color: #007bff;
    text-decoration: underline;
}

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

.site-footer .footer-bottom p {
    margin: 0;
    color: #aaaaaa;
}

/* Responsive Layout */
@media (max-width: 768px) {
    body {
        padding-top: 150px; /* Adjust for mobile header height */
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 5px 0;
    }

    .site-header .header-top {
        padding: 0 15px;
        flex-wrap: nowrap; /* Prevent logo from wrapping */
        width: 100%;
        justify-content: space-between;
    }

    .hamburger-menu {
        display: flex; /* Show on mobile */
        order: 1;
        margin-right: 10px;
    }

    .site-header .logo {
        order: 2;
        flex-grow: 1; /* Allows logo to take available space */
        text-align: center; /* Centers logo */
        font-size: 2em;
    }

    .header-top-spacer {
        display: block; /* Show on mobile to balance logo centering */
        width: 40px; /* Roughly same width as hamburger */
        height: 1px;
        order: 3;
    }

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

    .header-buttons-mobile {
        display: flex; /* Show on mobile */
        width: 100%;
        justify-content: center;
        gap: 10px;
        padding: 10px 15px;
        background-color: #1a1a1a;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 990; /* Below main-nav and hamburger */
    }

    .header-buttons-mobile .btn {
        flex-grow: 1;
        max-width: 150px;
        font-size: 0.9em;
        padding: 8px 15px;
        margin: 0;
    }

    .main-nav {
        display: none; /* Hidden by default on mobile */
        width: 100%;
        background-color: #2a2a2a; /* Slightly different background for menu */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        position: absolute;
        top: 100%; /* Position below the header-top + mobile buttons */
        left: 0;
        right: 0;
        z-index: 999; /* Below hamburger, above buttons */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out;
    }

    .main-nav.active {
        display: block;
        max-height: 400px; /* Arbitrary max-height for smooth transition */
        overflow-y: auto; /* Allow scrolling if menu is too long */
    }

    .main-nav .nav-list {
        flex-direction: column;
        padding: 10px 0;
        align-items: flex-start;
    }

    .main-nav .nav-link {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        box-sizing: border-box;
    }

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

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

    .site-footer .footer-section {
        margin: 15px 0;
        text-align: center;
    }

    .site-footer .footer-logo {
        margin: 0 auto 15px;
    }

    .site-footer h4 {
        margin-left: auto;
        margin-right: auto;
    }
}