/* Custom styles for Coffee Express */

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

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

::-webkit-scrollbar-track {
    background: #1a0a2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #d4a017, #b8860b);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #f4e4ba, #d4a017);
}

/* Selection color */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #f4e4ba;
}

/* Animation classes */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Gold gradient text effect */
.text-gold-gradient {
    background: linear-gradient(135deg, #f4e4ba 0%, #d4a017 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle shimmer animation for decorative elements */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent 0%, rgba(212, 160, 23, 0.1) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        transition: none;
    }
    
    .animate-bounce {
        animation: none;
    }
    
    img,
    .group-hover\\:scale-105 {
        transition: none;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Gold glow effect */
.shadow-gold {
    box-shadow: 0 0 30px rgba(212, 160, 23, 0.2);
}

/* Button press effect */
button:active,
a:active {
    transform: scale(0.98);
}

/* Image lazy loading placeholder */
img {
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1545 100%);
}
