/* --- HEADER & NAVBAR --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 110px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a:hover {
    color: var(--accent-color);
}


/* --- MOBILE MENU --- */
.mobile-menu-btn,
.mobile-menu-overlay {
    display: none;
}

@media (max-width: 768px) {

    /* Mobile Logo Size */
    .logo img {
        height: 90px;
    }

    /* Hide Desktop Nav */
    .nav-links,
    .cta-button.hide-mobile {
        display: none;
    }

    /* Show Mobile Menu Button */
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--accent-color);
        cursor: pointer;
        padding: 5px;
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Overlay Logo - matches header logo position */
    .overlay-logo {
        position: absolute;
        top: 1rem;
        /* Same as header padding */
        left: 1.5rem;
        /* Same as mobile container padding */
    }

    .overlay-logo img {
        height: 90px;
        /* Same as mobile logo height */
        width: auto;
    }

    .close-menu-btn {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        background: none;
        border: none;
        color: var(--accent-color);
        font-size: 3rem;
        cursor: pointer;
        padding: 0;
        line-height: 1;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .mobile-nav a {
        font-size: 1.5rem;
        font-weight: 600;
        color: #fff;
        transition: color 0.3s;
    }

    .mobile-nav a:hover,
    .mobile-nav a:focus {
        color: var(--accent-color);
    }

    .mobile-cta {
        color: #000 !important;
        background: var(--accent-color);
        border: none;
        padding: 12px 24px;
        border-radius: 4px;
        margin-top: 1rem;
        font-weight: bold;
    }
}