/* =========================
   NAVBAR BASE
   ========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

/* =========================
   LOGO
   ========================= */

.nav-logo {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
}

/* =========================
   LINKS
   ========================= */

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    color: #10b981;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* =========================
   ACTIONS
   ========================= */

.nav-actions {
    display: flex;
    align-items: center;
}

/* =========================
   MOBILE MENU TOGGLE
   ========================= */

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
    /* Mobile navbar with better background */
    .navbar {
        background: rgba(0, 0, 0, 0.4) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        height: 60px;
    }

    /* Mobile menu dropdown */
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: none;
        padding: 1rem 0;
        gap: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

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

    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        color: #ffffff !important;
        text-shadow: none;
        transition: all 0.3s ease;
    }

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

    .nav-link:hover {
        background: rgba(16, 185, 129, 0.1);
        color: #10b981 !important;
        padding-left: 2rem;
    }

    .nav-toggle {
        display: block;
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 1.2rem;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .nav-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #10b981;
    }

    /* Ensure logo is visible on mobile */
    .nav-logo {
        color: #ffffff !important;
        font-size: 1.1rem;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }

    /* Hide menu when clicking outside */
    .nav-container {
        position: relative;
    }
}
