/* Custom Styles for ROLY Salón */
html {
    scroll-behavior: smooth;
}

body {
    /* Custom font settings applied via Tailwind, but adding fallback */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth reveal animation for elements */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f5f4ed;
}

::-webkit-scrollbar-thumb {
    background: #d4774f;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c9603d;
}

/* Animation for floating badge */
@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 3s infinite ease-in-out;
}

/* 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);
    }
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 119, 79, 0.1);
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}
