/* Custom styles for Jake's Coffee Bar */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #030805;
}
::-webkit-scrollbar-thumb {
    background: #166534;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4a84b;
}

/* Selection color */
::selection {
    background: rgba(212, 168, 75, 0.3);
    color: #fefef7;
}

/* Navbar transition */
#navbar.scrolled {
    background: rgba(3, 8, 5, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 75, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Gold shimmer animation for hero */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Subtle pulse for CTA */
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 75, 0.4); }
    50% { box-shadow: 0 0 20px 4px rgba(212, 168, 75, 0.15); }
}

/* Fade in for sections below fold */
@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.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; }
}

/* Image lazy load placeholder */
img {
    background: linear-gradient(135deg, #0d1a14 0%, #052e16 100%);
}

/* Form focus animations */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.1);
}

/* Hover lift effect for cards */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Print styles */
@media print {
    nav, #contact, footer { display: none; }
    body { background: white; color: black; }
}
