/* Custom Styles for S&L Donuts */

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

/* Floating animation for stat cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .animate-float,
    .animate-float-delayed {
        animation: none;
    }
    
    .reveal {
        transition: none;
    }
}

/* Navbar styles */
.nav-text {
    color: #3D2B1F;
}

.nav-link {
    color: #6B5B4E;
}

/* Mobile menu */
.mobile-link {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Button hover effects */
a[href="tel:+14177715996"] {
    text-decoration: none;
}

/* Card hover effects */
.bg-cream.rounded-2xl {
    will-change: transform;
}

/* Image hover zoom */
.group:hover img {
    transform: scale(1.05);
}

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

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

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

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

/* Selection color */
::selection {
    background: #ECC4AA;
    color: #3D2B1F;
}
