/* Custom styles for Tacos and Charros */

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

/* Base styles */
body {
    font-family: 'Raleway', sans-serif;
    background-color: #1a051a;
    color: #ffffff;
}

/* Typography */
.font-display {
    font-family: 'Playfair Display', serif;
}

/* Gradient utilities */
.gold-gradient {
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #d97706 100%);
}

.plum-gradient {
    background: linear-gradient(135deg, #4a124a 0%, #2d0a2d 100%);
}

/* Hero overlay */
.hero-overlay {
    background: linear-gradient(to bottom, rgba(26, 5, 26, 0.7) 0%, rgba(26, 5, 26, 0.5) 50%, rgba(26, 5, 26, 0.8) 100%);
}

/* Navigation link underline animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, #fcd34d, #f59e0b);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(252, 211, 77, 0.15);
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    color: #1a051a;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #fcd34d 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(252, 211, 77, 0.3);
}

/* Secondary button */
.btn-secondary {
    border: 2px solid #fcd34d;
    color: #fcd34d;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #fcd34d;
    color: #1a051a;
}

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

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid #fcd34d;
    outline-offset: 2px;
}

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

::-webkit-scrollbar-track {
    background: #2d0a2d;
}

::-webkit-scrollbar-thumb {
    background: #4a124a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #fcd34d;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Form styles */
input,
textarea {
    background-color: #2d0a2d;
    border: 1px solid #4a124a;
    color: #ffffff;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    width: 100%;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

input:focus,
textarea:focus {
    border-color: #fcd34d;
    outline: none;
    box-shadow: 0 0 0 1px #fcd34d;
}

/* Section spacing */
section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (min-width: 768px) {
    section {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

/* Mobile menu */
#mobile-menu {
    background-color: #2d0a2d;
    border-top: 1px solid #4a124a;
}

/* Animation for scroll indicator */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}
