/* Eden Heights Cafe - Styles */

body {
    background-color: #FDFBF7;
    color: #1A1412;
    font-family: 'Outfit', sans-serif;
}

/* Skip to content */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10001;
    padding: 12px 24px;
    background: #1A1412;
    color: #FDFBF7;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s ease;
}
.skip-to-content:focus {
    top: 0;
}

/* The Steam Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: #1A1412;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    animation: preloader-fallback 0.8s ease 3s forwards;
}
@keyframes preloader-fallback {
    to { opacity: 0; visibility: hidden; }
}
.steam {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: #B36D54;
    stroke-width: 2;
    stroke-linecap: round;
    animation: steam 2s infinite ease-in-out;
}
@keyframes steam {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-40px) scale(1.5); opacity: 0; }
}

/* Scroll Reveal Transitions */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Transition delay utilities */
.delay-200 { transition-delay: 200ms; }
.delay-400 { transition-delay: 400ms; }

.btn-cafe {
    display: inline-block;
    padding: 16px 32px;
    background-color: #1A1412;
    color: #FDFBF7;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-cafe:hover {
    background-color: #B36D54;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Nav */
.nav-blur {
    backdrop-filter: blur(12px);
    background-color: rgba(253, 251, 247, 0.8);
}

.nav-transparent {
    background-color: transparent;
    backdrop-filter: none;
}

.nav-scrolled {
    backdrop-filter: blur(12px);
    background-color: rgba(253, 251, 247, 0.9);
    border-bottom: 1px solid rgba(26, 20, 18, 0.05);
}

.nav-hidden {
    transform: translateY(-100%);
}

/* Hero Image */
.hero-bg {
    background-image: linear-gradient(rgba(26, 20, 18, 0.4), rgba(26, 20, 18, 0.4)), url('https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
}

/* Mobile menu */
#mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    background-color: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
#mobile-menu.active {
    display: flex;
}
#mobile-menu a {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #1A1412;
    text-decoration: none;
    transition: color 0.3s ease;
}
#mobile-menu a:hover {
    color: #B36D54;
}

/* Focus visible styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #B36D54;
    outline-offset: 3px;
    border-radius: 2px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #B36D54;
    outline-offset: 2px;
}
