/* Custom Styles for Club Pura Vida */

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

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

.animate-bounce-slow {
    animation: bounce-slow 2s infinite;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #931b3b;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Form styles */
input, textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #fce7eb;
    border-radius: 1rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fdf4f6;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #d94066;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(217, 64, 102, 0.1);
}

/* Button hover effects */
button, a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image loading placeholder */
img {
    background: linear-gradient(110deg, #fce7eb 8%, #fad0da 18%, #fce7eb 33%);
    background-size: 200% 100%;
    animation: loading 1.5s linear infinite;
}

@keyframes loading {
    to {
        background-position: -200% 0;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}
