/* Custom styles for Ruiz Retail */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f3ec;
}
::-webkit-scrollbar-thumb {
    background: #5c7a4e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #45603c;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(250, 249, 245, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(45, 63, 41, 0.08);
}

.nav-scrolled .font-serif {
    color: #253422 !important;
}

.nav-scrolled a:not(.bg-forest-800) {
    color: #2d3f29 !important;
}

/* Hero gradient animation */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Subtle pattern overlay for hero */
.hero-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Button press effect */
button, a {
    transition: all 0.2s ease;
}

button:active, a:active {
    transform: scale(0.98);
}

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

/* Value card hover */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Form focus states */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(163, 183, 150, 0.3);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    img {
        transition: none !important;
    }
}
