/* Custom Styles for Coochie BBQ */

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f4f1ea;
}
::-webkit-scrollbar-thumb {
    background: #0f3d3e;
}
::-webkit-scrollbar-thumb:hover {
    background: #c5a059;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Hero Animations (Immediate) */
.hero-title {
    animation: fadeInUp 0.8s ease-out forwards;
}
.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}
.hero-desc {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}
.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}
.hero-image-container {
    animation: fadeInRight 1s ease-out 0.3s forwards;
    opacity: 0;
}

/* Scroll Reveal Classes */
.reveal-left, .reveal-right, .reveal-up {
    opacity: 1; /* Default visible for accessibility */
    transition: all 0.8s ease-out;
}

.reveal-left {
    transform: translateX(-30px);
}
.reveal-right {
    transform: translateX(30px);
}
.reveal-up {
    transform: translateY(30px);
}

/* When JS adds the visible class */
.reveal-left.visible, .reveal-right.visible, .reveal-up.visible {
    transform: translateX(0) translateY(0);
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}
#mobile-menu.open {
    max-height: 400px;
}

/* Button Focus States */
button:focus, a:focus {
    outline: 2px solid #c5a059;
    outline-offset: 2px;
}
