/* Custom styles for Colombian Coffee House */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F0;
}
::-webkit-scrollbar-thumb {
    background: #065F46;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* Hero parallax-like effect */
.hero {
    position: relative;
}

/* Menu card hover effects */
.menu-card {
    will-change: transform;
}

/* Gallery item hover */
.gallery-item {
    cursor: pointer;
}

/* Nav scroll effect */
.nav.scrolled {
    box-shadow: 0 4px 30px rgba(6, 78, 59, 0.1);
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.revealed {
        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; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Ensure all content is visible by default (no JS = no animation) */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Mobile menu transition */
#mobileMenu {
    max-height: 0;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#mobileMenu.open {
    max-height: 500px;
}

/* Subtle gradient for body background */
body {
    background-image: linear-gradient(to bottom, #FDF8F0 0%, #F9F0E0 100%);
}

/* Selection color */
::selection {
    background-color: #059669;
    color: #FDF8F0;
}
