/* Custom Styles for Reyes Auto Electric */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #0f4c5c;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3282b8;
}

/* 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);
}

/* Navbar Transition */
.nav-scrolled {
    background-color: #1e272e;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-not-scrolled {
    background-color: transparent;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Form Styling */
input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background-color: #f8fafc;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #1e272e;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #0f4c5c;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.1);
}

button[type="submit"] {
    background-color: #0f4c5c;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #3282b8;
}

/* Success Message */
.success-message {
    display: none;
    margin-top: 16px;
    padding: 12px;
    background-color: #d1fae5;
    color: #065f46;
    border-radius: 4px;
    text-align: center;
}
