/* Custom Styles for Greek & Lebanese Food */

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

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

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

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

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

/* Float animation for hero badge */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Scroll reveal base styles - always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Scroll reveal with animation (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(254, 252, 232, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Hero text color handling */
.nav-logo-text {
    color: #1c1917;
}

.navbar-scrolled .nav-logo-text {
    color: #1c1917;
}

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

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

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

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

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #d94f20;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-float {
        animation: none;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .bg-terracotta-500 {
        background-color: ButtonText;
    }
    
    .text-terracotta-500 {
        color: ButtonText;
    }
}
