/* Custom styles for Coyotes Coffee Den */

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

/* Custom selection color */
::selection {
    background-color: #065F46;
    color: #FDFCF8;
}

/* Navbar transitions */
#navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#navbar.scrolled {
    background-color: rgba(253, 252, 248, 0.95);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

#navbar:not(.scrolled) {
    background-color: transparent;
}

/* Mobile menu transitions */
#mobile-menu {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Subtle hover effects on cards */
.bg-cream-50:hover {
    transform: translateY(-2px);
}

.bg-cream-50 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image hover zoom */
.overflow-hidden img {
    transition: transform 0.6s ease;
}

.overflow-hidden:hover img {
    transform: scale(1.03);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #065F46;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #065F46;
    outline-offset: 2px;
}

/* Fade in animation for scroll reveals */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animation delays */
.fade-in-up.delay-100 {
    animation-delay: 0.1s;
}

.fade-in-up.delay-200 {
    animation-delay: 0.2s;
}

.fade-in-up.delay-300 {
    animation-delay: 0.3s;
}

.fade-in-up.delay-400 {
    animation-delay: 0.4s;
}

.fade-in-up.delay-500 {
    animation-delay: 0.5s;
}
