/* Unified Navigation Bar - Shared Across All Screens */

nav.manish-navbar {
    background: white;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 900;
    color: #E30613;
    text-decoration: none;
    font-family: "Manrope", sans-serif;
    letter-spacing: -0.02em;
}

.navbar-brand:hover {
    opacity: 0.9;
    transition: opacity 0.2s;
}

.navbar-menu {
    display: none;
    gap: 32px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar-menu.active {
    display: flex;
}

.navbar-menu a {
    color: #5e3f3b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    font-family: "Inter", sans-serif;
}

.navbar-menu a:hover {
    color: #E30613;
}

.navbar-menu a.active {
    color: #E30613;
    border-bottom: 2px solid #E30613;
    padding-bottom: 2px;
}

.navbar-cta {
    background: #E30613;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: brightness 0.2s;
    font-family: "Inter", sans-serif;
    border: none;
    cursor: pointer;
}

.navbar-cta:hover {
    filter: brightness(1.1);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background: #1c1b1b;
    transition: all 0.3s;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 16px;
        height: 64px;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 16px;
        padding: 24px 16px;
        border-bottom: 1px solid #e5e7eb;
        display: none;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }

    .navbar-menu.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    .navbar-menu a {
        font-size: 1rem;
        padding: 12px 0;
        border-bottom: 1px solid #f3f3f3;
    }

    .navbar-menu a:last-child {
        border-bottom: none;
    }

    .navbar-brand {
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    .navbar-cta {
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .navbar-container {
        padding: 0 12px;
        height: 56px;
    }

    .navbar-brand {
        font-size: 1rem;
        gap: 4px;
    }

    .navbar-brand .material-symbols-outlined {
        font-size: 24px;
    }

    .navbar-menu {
        top: 56px;
    }

    .navbar-menu a {
        font-size: 0.95rem;
    }
}
