/* General Reset & Base Styles */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #f0f0f0;
    background-color: #1a2a44;
}

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

.header-top-mobile-row {
    display: none; /* Hidden on desktop */
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.mobile-spacer {
    flex-grow: 1; /* Pushes logo to center when hamburger is on left */
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #FFC107;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    padding: 5px 0;
}

.desktop-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 10px 0;
}

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

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

.main-nav a.nav-link {
    color: #f0f0f0;
    text-decoration: none;
    padding: 8px 15px;
    display: block;
    position: relative;
    transition: color 0.3s ease;
    font-weight: 600;
}

.main-nav a.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: #FFC107;
    transition: width 0.3s ease;
}

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

.main-nav a.nav-link:hover {
    color: #FFC107;
}

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

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

.btn-primary {
    background-color: #FFC107;
    color: #0A1931;
    box-shadow: 0 6px 20px rgba(255,193,7,0.4);
}

.btn-primary:hover {
    background-color: #e6b000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,193,7,0.6);
}

.btn-secondary {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #0A1931;
    box-shadow: 0 6px 20px rgba(255,165,0,0.4);
}

.btn-secondary:hover {
    background: linear-gradient(45deg, #FFA500, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,165,0,0.6);
}

.hamburger-menu {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #FFC107;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-nav-menu {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0A1931;
    z-index: 1001;
    overflow-y: auto;
    padding-top: 80px; /* Space for fixed header content */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.mobile-nav-menu.active {
    display: block;
}

.mobile-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

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

.mobile-nav-menu a.nav-link {
    color: #f0f0f0;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-size: 1.2em;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-nav-menu a.nav-link:hover {
    background-color: #1a2a44;
    color: #FFC107;
}

.mobile-buttons-area {
    display: none; /* Hidden on desktop */
    width: 100%;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
    background-color: #0A1931;
    z-index: 999; /* Lower than mobile menu */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Footer Styles */
.site-footer {
    background-color: #0A1931;
    color: #f0f0f0;
    padding: 40px 20px 20px;
    border-top: 1px solid #1a2a44;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

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

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

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #FFC107;
    text-decoration: none;
    margin-bottom: 15px;
    display: inline-block;
}

.site-footer h3 {
    color: #FFC107;
    font-size: 1.1em;
    margin-bottom: 20px;
    position: relative;
}

.site-footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background-color: #FFC107;
}

.footer-column p {
    font-size: 0.9em;
    line-height: 1.6;
    color: #cccccc;
}

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

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

.footer-nav a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #1a2a44;
}

.footer-bottom p {
    font-size: 0.8em;
    color: #999999;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .site-header {
        padding: 0 15px;
        min-height: auto;
    }

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

    .header-top-mobile-row {
        display: flex;
        padding: 10px 0;
    }

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

    .hamburger-menu {
        display: block;
    }

    .mobile-buttons-area {
        display: flex;
    }

    .mobile-nav-menu {
        padding-top: 120px; /* Adjust for taller mobile header with buttons */
    }

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

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

    .site-footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .header-buttons .btn {
        font-size: 0.9em;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 22px;
    }

    .mobile-buttons-area {
        flex-wrap: wrap;
    }

    .mobile-buttons-area .btn {
        flex-grow: 1;
        margin: 5px;
    }
}
