/* Custom styles for La Michoacana Azteca */

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

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 253, 247, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(139, 26, 43, 0.08);
}

/* Mobile menu transitions */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.5s; }
.mobile-menu-open .mobile-link:nth-child(6) { transition-delay: 0.6s; }

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

.reveal.active {
    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; }

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8B1A2B, #ff6b6b);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #7a1725, #e85555);
}

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

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

/* Form styles */
input, textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #f0c4c4;
    border-radius: 1rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #8B1A2B;
    box-shadow: 0 0 0 4px rgba(139, 26, 43, 0.1);
}

input::placeholder, textarea::placeholder {
    color: #c4a0a0;
}

/* Success message */
.success-message {
    animation: slideIn 0.5s ease forwards;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-heading {
        line-height: 1.2;
    }
}

/* Print styles */
@media print {
    nav, .animate-float, [class*="animate-"] {
        display: none;
    }
}
