/* Custom styles for Gorditas Rodeo */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Selection color */
::selection {
    background: #0d9488;
    color: white;
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .group:hover .group-hover\:scale-105 {
        transform: none;
    }
}

/* Fade-in animation for scroll reveals (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure all text meets WCAG AA contrast */
/* Teal-600 (#0d9488) on white/slate-50: ~4.8:1 ✓ */
/* Slate-900 (#0f172a) on white/slate-50: ~15:1 ✓ */
/* Slate-600 (#475569) on white: ~5.5:1 ✓ */
/* Slate-500 (#64748b) on white: ~4.6:1 ✓ */
/* Slate-300 (#cbd5e1) on slate-900: ~7.5:1 ✓ */
/* Teal-400 (#2dd4bf) on slate-900: ~4.6:1 ✓ */
