/* styles.css - Custom styles and animations */

/* Floating animation for logo */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

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

/* Fade in up animation for hero elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Animation delays */
.delay-1 { 
    animation-delay: 0.2s; 
    opacity: 0; 
}

.delay-2 { 
    animation-delay: 0.4s; 
    opacity: 0; 
}

.delay-3 { 
    animation-delay: 0.6s; 
    opacity: 0; 
}

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

/* Backdrop blur support */
@supports (backdrop-filter: blur(12px)) {
    .backdrop-blur-md {
        backdrop-filter: blur(12px);
    }
}

/* Custom gradient text */
.gradient-text {
    background: linear-gradient(to right, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.tool-card {
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

/* Mobile menu (if needed in future) */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
    }
}

/* Focus states for accessibility */
a:focus,
button:focus,
select:focus {
    outline: 2px solid #818cf8;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav,
    footer,
    .no-print {
        display: none;
    }
}
