/* Custom Styles for Junior's Backyard Grill */

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

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

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

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

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

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

.animate-slide-up-delay {
    animation: slideUp 0.8s ease-out 0.5s forwards;
    opacity: 0;
}

/* Menu Item Hover Effects */
.menu-item {
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateX(10px);
}

.menu-item:hover h4 {
    color: #f59e0b;
}

/* Gallery Item Hover */
.gallery-item {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Feature Item Animation */
.feature-item {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease-out forwards;
}

.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

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

::-webkit-scrollbar-track {
    background: #221c31;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #8271a4;
}

/* Input Focus Styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.active {
    transform: translateX(0);
}

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

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    #contact-form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
