/* Custom Portfolio CSS Styles */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8b5cf6;
}

/* Hide scrollbar for tabs */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Active & Inactive Filter Tabs */
.active-filter {
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    color: #ffffff;
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.35);
}

.inactive-filter {
    background: rgba(255, 255, 255, 0.05);
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.inactive-filter:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Navbar active scroll state */
.nav-scrolled {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.nav-scrolled nav {
    background: rgba(8, 8, 12, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8) !important;
}

/* Card hover animation */
.service-card, .project-card {
    will-change: transform, box-shadow;
}

/* Smooth ambient glow spreading across card */
.project-card {
    background: rgba(14, 14, 19, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Input validation styles */
.input-error {
    border-color: #f43f5e !important;
    box-shadow: 0 0 0 1px #f43f5e !important;
}

.input-success {
    border-color: rgba(16, 185, 129, 0.5) !important;
}

/* Glowing text selection */
::selection {
    background: #8b5cf6;
    color: #ffffff;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}
