/* Custom styles for Tienda Vasquez */

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

/* Custom selection color */
::selection {
    background-color: #C8962E;
    color: #0A1628;
}

/* Navbar scroll state */
nav.scrolled {
    background-color: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
}

nav.scrolled .logo-text {
    color: #0A1628;
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Image hover zoom container */
.group img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #C8962E 0%, #E0BC5E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pattern backgrounds */
.pattern-dots {
    background-image: radial-gradient(circle, rgba(200, 150, 46, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1B3D7A;
}

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

/* Product card image aspect ratio fix */
.aspect-\[4\/3\] {
    aspect-ratio: 4/3;
}

/* Prevent layout shift on images */
img {
    content-visibility: auto;
}
