/* Custom Styles for Pico's Chicken Grill */

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

/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Hero Animations */
.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-image {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

/* Scroll Reveal Animations */
.about-content,
.menu-header,
.menu-grid,
.gallery-header,
.gallery-grid,
.contact-header,
.contact-info,
.contact-form {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .hero-image,
    .about-content,
    .menu-header,
    .menu-grid,
    .gallery-header,
    .gallery-grid,
    .contact-header,
    .contact-info,
    .contact-form {
        animation: none;
        transition: none;
    }
    
    .gallery-item img {
        transition: none;
    }
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Image Hover Effects */
.gallery-item img {
    transition: transform 0.5s ease;
}

/* Focus Styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(209, 96, 63, 0.2);
}

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

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

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

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

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.active {
    max-height: 400px;
}

/* Geometric Decorations */
.geometric-shape {
    animation: float 3s ease-in-out infinite;
}

.geometric-shape:nth-child(2) {
    animation-delay: 0.5s;
}

.geometric-shape:nth-child(3) {
    animation-delay: 1s;
}

/* Card Hover Effects */
.bg-white.rounded-3xl {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-white.rounded-3xl:hover {
    transform: translateY(-8px);
}

/* Text Selection */
::selection {
    background: #D1603F;
    color: white;
}
