/* ===== Custom Styles for Eagle's Nest Espresso ===== */

/* Base & Typography */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: #c44e4e;
    color: #fdf8f4;
}

/* Navigation */
.nav-link {
    position: relative;
}

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

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

.nav-link:hover {
    color: #fff !important;
}

/* Mobile Menu */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* Hero Animations */
.hero-eyebrow {
    animation: slideUp 0.8s ease forwards 0.3s;
}

.hero-headline {
    animation: slideUp 0.8s ease forwards 0.5s;
}

.hero-subtitle {
    animation: slideUp 0.8s ease forwards 0.7s;
}

.hero-cta {
    animation: slideUp 0.8s ease forwards 0.9s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Marquee */
.marquee-track {
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section Labels */
.section-label {
    letter-spacing: 0.3em;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* Menu Items */
.menu-item:hover .menu-price {
    color: #c44e4e;
}

/* Image Hover Effects */
.rounded-2xl {
    overflow: hidden;
}

/* Button Focus States */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #f9a88e;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Form Focus States */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 119, 80, 0.15);
}

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

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

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

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 3.5rem;
    }
    
    .hero-headline br {
        display: none;
    }
    
    .hero-headline::after {
        content: 'for the Bold';
        display: block;
        font-size: 0.5em;
        margin-top: 0.1em;
    }
    
    section {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}

@media (min-width: 769px) {
    .hero-headline::after {
        content: '';
    }
}

/* Print Styles */
@media print {
    nav, .scroll-indicator, .marquee-strip {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
