/* Custom styles that extend Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FAF9F6; /* Sand 50 */
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #F5F4F0;
}
::-webkit-scrollbar-thumb {
    background: #D4D0C4;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E27D60;
}

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

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

/* Staggered animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Smooth transitions for interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Image hover effects */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar background on scroll */
.navbar-scrolled {
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Form focus states */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(226, 125, 96, 0.1);
}

/* Hero section parallax effect */
#inicio {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    #inicio {
        background-attachment: scroll;
    }
}
