/* Custom styles for Efrat's Cafe at the J */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F5F5F7;
}
::-webkit-scrollbar-thumb {
    background: #D1D1D8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A1A1AA;
}

/* Scroll dot animation */
@keyframes scrollDot {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

.animate-scroll-dot {
    animation: scrollDot 1.5s ease-in-out infinite;
}

/* Reveal animations - progressive enhancement */
/* Content is visible by default; JS adds the animated state */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Navbar blur effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Hero text shadow for contrast */
#hero h1 {
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.15);
}

/* Image hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #E8645B;
    outline-offset: 2px;
}

/* Select dropdown styling */
select option {
    background: #1F1F28;
    color: white;
}
