/* Custom Styles for El Ranchero Trucks */

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fdf8f6;
}
::-webkit-scrollbar-thumb {
    background: #d2bab0;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b08980;
}

/* Animation Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for children */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Form Styles */
input, textarea, select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #f2e8e5;
    border-radius: 12px;
    background-color: #fdf8f6;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #3d2826;
    transition: all 0.3s ease;
    outline: none;
}

input:focus, textarea:focus, select:focus {
    border-color: #987068;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(152, 112, 104, 0.1);
}

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

/* Success Message */
.success-message {
    display: none;
    background-color: #d1fae5;
    color: #065f46;
    padding: 16px;
    border-radius: 12px;
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
    animation: fadeIn 0.5s ease;
}

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

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 500px;
}
