/* Custom Styles for SimLaplytics */

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.glass-nav {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-500 {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

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

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a; 
}
::-webkit-scrollbar-thumb {
    background: #1f1f1f; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3f3f3f; 
}

/* ======================== */
/* Mobile Menu              */
/* ======================== */
.glass-mobile-menu {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-open {
    overflow: hidden;
}

/* ======================== */
/* Light Theme Overrides    */
/* ======================== */
html:not(.dark) body {
    background: #f8f9fa;
    color: #1a1a2e;
}

html:not(.dark) .glass {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

html:not(.dark) .glass-nav {
    background: rgba(248, 249, 250, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

html:not(.dark) .glass-mobile-menu {
    background: rgba(248, 249, 250, 0.95);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

html:not(.dark) .mobile-nav-link {
    color: #1a1a2e;
    border-color: rgba(0, 0, 0, 0.06);
}

html:not(.dark) ::-webkit-scrollbar-track {
    background: #f8f9fa;
}
html:not(.dark) ::-webkit-scrollbar-thumb {
    background: #d1d5db;
}
html:not(.dark) ::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Light theme text adjustments */
html:not(.dark) .text-gray-400 {
    color: #6b7280;
}
html:not(.dark) .text-gray-500 {
    color: #9ca3af;
}
html:not(.dark) .text-gray-300 {
    color: #4b5563;
}
html:not(.dark) .text-gray-600 {
    color: #9ca3af;
}
