/* Custom styles supplementing Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #050A18;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A1628;
}
::-webkit-scrollbar-thumb {
    background: #142D54;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #34D399;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* Navbar glass effect */
.navbar-scrolled {
    background: rgba(5, 10, 24, 0.9) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile menu transitions */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #5EEAD4, #34D399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle glow on hover for cards */
.glow-hover:hover {
    box-shadow: 0 0 40px rgba(52, 211, 153, 0.1);
}

/* Image aspect ratio fallback */
.aspect-\[3\/4\] {
    aspect-ratio: 3 / 4;
}

/* Selection color */
::selection {
    background-color: rgba(52, 211, 153, 0.3);
    color: white;
}
