/* 
 * CARNIVORIA FESTIVAL 2025
 * Custom CSS styles to complement Tailwind CSS
 */

/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* General Styles */
.animate-fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

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

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

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

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

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

/* Custom Focus Styles */
a:focus, button:focus {
    outline: 2px solid #FF3A2D;
    outline-offset: 2px;
}

/* Festival Card Hover Effects */
.festival-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.festival-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(255, 58, 45, 0.3);
}

/* FAQ Accordion Animation */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.faq-toggle {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Gallery Image Hover */
.gallery-image {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* Custom Video Controls */
.video-container:hover .video-controls {
    opacity: 1;
}

.video-controls {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Responsive Fixes */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
