/* _content/Portfolio/Components/Layout/MainLayout.razor.rz.scp.css */
/* Page Layout */
.page[b-6s3h03cu1w] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-6s3h03cu1w] {
    flex: 1;
}

/* Enhanced Navigation Bar */
#navbar[b-6s3h03cu1w] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    #navbar.scrolled[b-6s3h03cu1w] {
        background: rgba(15, 23, 42, 0.98);
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
        border-bottom: 1px solid rgba(99, 102, 241, 0.3);
    }

.nav-container[b-6s3h03cu1w] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo Styles */
.logo[b-6s3h03cu1w] {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
}

    .logo:hover[b-6s3h03cu1w] {
        transform: translateY(-2px);
    }

.logo-icon[b-6s3h03cu1w] {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
    animation: float-b-6s3h03cu1w 3s ease-in-out infinite;
}

@keyframes float-b-6s3h03cu1w {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.logo-text[b-6s3h03cu1w] {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-shift-b-6s3h03cu1w 3s ease infinite;
}

@keyframes gradient-shift-b-6s3h03cu1w {
    0%, 100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

/* Navigation Links */
.nav-links[b-6s3h03cu1w] {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .nav-links a[b-6s3h03cu1w],
    .nav-links[b-6s3h03cu1w]  a {
        color: rgba(241, 245, 249, 0.9);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
    }

        .nav-links a[b-6s3h03cu1w]::before,
        .nav-links[b-6s3h03cu1w]  a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.3s ease;
            border-radius: 12px;
            z-index: -1;
        }

        .nav-links a:hover[b-6s3h03cu1w]::before,
        .nav-links a.active[b-6s3h03cu1w]::before,
        .nav-links[b-6s3h03cu1w]  a:hover::before,
        .nav-links[b-6s3h03cu1w]  a.active::before {
            transform: scaleX(1);
            transform-origin: left;
        }

        .nav-links a:hover[b-6s3h03cu1w],
        .nav-links[b-6s3h03cu1w]  a:hover {
            color: white;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
        }

        .nav-links a.active[b-6s3h03cu1w],
        .nav-links[b-6s3h03cu1w]  a.active {
            color: white;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
        }

/* Menu Toggle Button */
.menu-toggle[b-6s3h03cu1w] {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.3);
    padding: 0.6rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    z-index: 1001;
}

    .menu-toggle:hover[b-6s3h03cu1w] {
        background: rgba(99, 102, 241, 0.2);
        border-color: rgba(99, 102, 241, 0.5);
        transform: scale(1.05);
    }

    .menu-toggle span[b-6s3h03cu1w] {
        width: 25px;
        height: 3px;
        background: linear-gradient(135deg, #6366f1, #8b5cf6);
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .menu-toggle.active span:nth-child(1)[b-6s3h03cu1w] {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2)[b-6s3h03cu1w] {
        opacity: 0;
        transform: translateX(-20px);
    }

    .menu-toggle.active span:nth-child(3)[b-6s3h03cu1w] {
        transform: rotate(-45deg) translate(8px, -8px);
    }

/* Scroll to Top Button */
.scroll-top[b-6s3h03cu1w] {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px) scale(0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    z-index: 999;
}

    .scroll-top.visible[b-6s3h03cu1w] {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .scroll-top:hover[b-6s3h03cu1w] {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6);
    }

    .scroll-top:active[b-6s3h03cu1w] {
        transform: translateY(-3px) scale(1.05);
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container[b-6s3h03cu1w] {
        padding: 1rem 1.5rem;
    }

    .nav-links[b-6s3h03cu1w] {
        gap: 0.3rem;
    }

        .nav-links a[b-6s3h03cu1w] {
            padding: 0.6rem 1rem;
            font-size: 0.9rem;
        }
}

@media (max-width: 768px) {
    .nav-links[b-6s3h03cu1w] {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0.5rem;
        border-left: 1px solid rgba(99, 102, 241, 0.2);
        overflow-y: auto;
    }

        .nav-links.active[b-6s3h03cu1w] {
            right: 0;
        }

        .nav-links a[b-6s3h03cu1w] {
            width: 100%;
            padding: 1rem 1.5rem;
            font-size: 1rem;
            justify-content: flex-start;
            border-radius: 15px;
        }

    .menu-toggle[b-6s3h03cu1w] {
        display: flex;
    }

    .scroll-top[b-6s3h03cu1w] {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .nav-container[b-6s3h03cu1w] {
        padding: 0.8rem 1rem;
    }

    .logo[b-6s3h03cu1w] {
        font-size: 1.3rem;
        gap: 0.6rem;
    }

    .logo-icon[b-6s3h03cu1w] {
        font-size: 1.6rem;
    }

    .nav-links[b-6s3h03cu1w] {
        width: 260px;
        padding: 5rem 1.5rem 2rem;
    }

    .scroll-top[b-6s3h03cu1w] {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* Dark Overlay for Mobile Menu */
@media (max-width: 768px) {
    .nav-links.active[b-6s3h03cu1w]::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: -1;
        animation: fadeIn-b-6s3h03cu1w 0.3s ease;
    }
}

@keyframes fadeIn-b-6s3h03cu1w {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Smooth Scrollbar */
[b-6s3h03cu1w]::-webkit-scrollbar {
    width: 10px;
}

[b-6s3h03cu1w]::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

[b-6s3h03cu1w]::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6366f1, #8b5cf6);
    border-radius: 10px;
}

    [b-6s3h03cu1w]::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #8b5cf6, #ec4899);
    }
