/* Custom Styles extending Tailwind */


/* Glassmorphism utility */
.glass-panel {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.dark .glass-panel {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

/* Card hover animation utils */
.project-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.dark .project-card:hover {
    box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.15), 0 10px 10px -5px rgba(139, 92, 246, 0.05);
}

/* Animations for hero blobs */
@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;
}

/* Global transitions for smoother theme toggling */
* {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-duration: 300ms;
}

/* Disable transition on some specific elements if needed, but usually '*' works fine for bg colors */
input, textarea {
    transition: all 0.3s ease;
}

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

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #020617; /* Very dark charcoal to match theme */
}

::-webkit-scrollbar-thumb {
    background-color: rgba(16, 185, 129, 0.5); /* Emerald brand */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(16, 185, 129, 0.9);
}

/* Subtle Floating Animation for UX */
@keyframes float-subtle {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.floating-card {
    animation: float-subtle 4s ease-in-out infinite;
}

.floating-card:hover {
    animation-play-state: paused;
}

