/* Custom styles for Grappling Grounds Coffee Co. */

/* Marquee animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #E8645B;
    border-radius: 4px;
}

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

/* Header scroll state */
.header-scrolled {
    background: rgba(253, 248, 245, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Mobile menu animation */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E8645B;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Intersection observer animations */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Menu card hover lift */
.bg-white.rounded-3xl:hover,
.bg-charcoal-900.rounded-3xl:hover,
.bg-coral-500.rounded-3xl:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image hover zoom */
.rounded-2xl.overflow-hidden:hover img {
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

.rounded-2xl.overflow-hidden img {
    transition: transform 0.5s ease;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #E8645B;
    outline-offset: 2px;
}

/* Input focus styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(232, 100, 91, 0.15);
}

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