/* Custom styles for SALA Coffee & Wine Bar */

/* Smooth focus outlines for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050A14;
}
::-webkit-scrollbar-thumb {
    background: #C9A84C;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4B965;
}

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

/* Subtle float animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Glass morphism utility */
.glass {
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 168, 76, 0.1);
}

/* Image hover overlay */
.img-overlay {
    position: relative;
    overflow: hidden;
}
.img-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 10, 20, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.img-overlay:hover::after {
    opacity: 1;
}

/* Line animation on hover */
.line-hover {
    position: relative;
}
.line-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C9A84C;
    transition: width 0.3s ease;
}
.line-hover:hover::after {
    width: 100%;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal-hidden {
        opacity: 1 !important;
        transform: none !important;
    }
}
