/* Custom styles for Red House Restaurant */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7d2b2b;
}

/* Selection color */
::selection {
    background: #962f2f;
    color: #fff;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Hero parallax effect (optional enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .hero-bg {
        will-change: transform;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #962f2f;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    header,
    footer,
    #gallery,
    .reveal {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}
