/* Custom styles for 4 Brothers Taqueria */

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

/* Base font settings */
body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
}

/* Display font for headings */
.font-display {
    font-family: 'Fredoka', sans-serif;
}

/* Hero section gradient */
.hero-gradient {
    background: linear-gradient(135deg, #064E3B 0%, #059669 40%, #047857 70%, #065F46 100%);
}

/* Warm background gradient */
.warm-gradient {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFFBF0 50%, #FFEDD5 100%);
}

/* Card shadow effects */
.card-shadow {
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.08), 0 2px 8px rgba(6, 78, 59, 0.05);
    transition: all 0.3s ease;
}

.card-shadow:hover {
    box-shadow: 0 8px 30px rgba(6, 78, 59, 0.15), 0 4px 12px rgba(6, 78, 59, 0.1);
    transform: translateY(-4px);
}

/* Primary button styles */
.btn-primary {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #047857 0%, #065F46 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 120, 87, 0.3);
}

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

.btn-secondary:hover {
    background: #059669;
    color: white;
    transform: translateY(-2px);
}

/* Navigation link hover effects */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #059669;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #059669;
}

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

/* Section reveal animation */
.section-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu styles */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Food image hover effect */
.food-image {
    transition: transform 0.5s ease;
}

.food-card:hover .food-image {
    transform: scale(1.05);
}

/* Decorative circles */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}

/* Badge styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Icon circle styles */
.icon-circle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #059669, #047857);
    border-radius: 50%;
    color: white;
}

/* Contact form styles */
.contact-form input,
.contact-form textarea {
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    width: 100%;
    font-family: 'Nunito', sans-serif;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #059669;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9CA3AF;
}

/* Success message animation */
.success-message {
    display: none;
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    text-align: center;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

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

/* Accessibility: Reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .section-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-reveal {
        opacity: 1;
        transform: none;
    }
    
    .food-image,
    .btn-primary,
    .btn-secondary,
    .card-shadow {
        transition: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gradient h1 {
        font-size: 2.5rem;
    }
    
    .section-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Focus visible for accessibility */
button:focus-visible,
a:focus-visible {
    outline: 3px solid #059669;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: #059669;
    color: white;
}
