/* Custom Styles for El Celaya Roland */

:root {
    --color-charcoal-dark: #1a1a1a;
    --color-charcoal-muted: #4a4a4a;
    --color-coral-main: #FF6B6B;
    --color-coral-dark: #E85A5A;
    --color-coral-light: #FF8E8E;
    --color-stone-50: #fafaf9;
    --color-stone-100: #f5f5f4;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-charcoal-dark);
    background-color: var(--color-stone-50);
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
}

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

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Scroll Reveal Classes (Progressive Enhancement) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Navbar Transition */
#navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

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

::-webkit-scrollbar-track {
    background: var(--color-stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--color-charcoal-dark);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-coral-main);
}

/* Image Aspect Ratio Utilities */
.aspect-4-3 {
    aspect-ratio: 4 / 3;
}

/* Focus Styles for Accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--color-coral-main);
    outline-offset: 4px;
    border-radius: 4px;
}
