/* stock.css */

/* Estilos Globales */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #121212; /* Fondo oscuro para toda la página */
    color: #000000; /* Color de texto negro por defecto */
}

/* Estilos del Header */
header {
    position: fixed; /* Header fijo */
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px; /* Ajustado para mayor separación */
    background: #161825 !important;
    z-index: 1000; /* Asegura que esté por encima */
    box-sizing: border-box; /* Manejo correcto del padding */
    transition: background 0.3s ease; /* Transición suave al cambiar el fondo */
}

/* Nombre de la Marca con Logo */
.brand-name {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px; /* Separación adicional */
    box-sizing: border-box;
    margin-left: 100px;
}

/* Estilos para el Logo */
.logo {
    height: 100px; /* Aumentado para versión escritorio */
    width: auto;
    display: block;
    margin: 0 auto; /* Centra la imagen horizontalmente */
}

@media (max-width: 768px) {
    .logo {
        height: 50px; /* Reducido para dispositivos móviles */
    }
}

/* Número de Teléfono */
.phone {
    color: white; /* Color de texto blanco */
    font-size: 20px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    white-space: nowrap; /* Evita que el texto se divida */
}

@media {
    .precio {
        font-size: 40px;
    }
}

@media (max-width: 600px) {
  .vehiculos-section {
    padding: 0px !important; /* Elimina el padding en pantallas pequeñas con prioridad */
  }
}





.phone i {
    margin-right: 10px;
}

/* Ícono de Menú (Hamburguesa) Personalizado */
.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px; /* Ancho total del ícono */
    height: 22px; /* Altura total del ícono */
    cursor: pointer;
    padding: 0; /* Remover padding si existe */
    margin: 0; /* Remover margin si existe */
}

.menu-icon svg rect {
    transition: all 0.3s ease;

}

/* Cambiar color al pasar el ratón (opcional) */
.menu-icon:hover svg rect {
    fill: #FFD700; /* Otro tono de amarillo */
}

@media (max-width: 768px) {
    .menu-icon {
        width: 25px; /* Reducir el ancho en móviles */
        height: 20px; /* Reducir la altura en móviles */
    }
}

/* Menú Dropdown */
.menu-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    z-index: 1002; /* Asegura que esté por encima del header */
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box;
}

/* Mostrar el menú */
.menu-dropdown.show {
    transform: translateX(0);
    background: #161825;
}

.menu-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.menu-dropdown ul li {
    padding: 20px 30px;
    border-bottom: 1px solid #444;
}

.menu-dropdown ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    display: block;
    transition: background-color 0.3s;
}

.menu-dropdown ul li a:hover {
    background-color: #333;
}

/* Botón de Cerrar en el Menú */
.close-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* Redes Sociales en el Menú */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
    margin-top: auto; /* Empuja los iconos al final del menú */
}

.social-icons a {
    color: white;
    font-size: 24px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #1a2b4b; /* Color al pasar el ratón */
}

/* Sección Stock */
.stock-section {
    padding: 120px 20px 60px; /* Espaciado superior para evitar el header fijo */
    text-align: center;
    background-color: #232539; /* Fondo claro para diferenciar */
}

.stock-container {
    margin: 0 auto;
}

.stock-section h1 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #fff;
}

.stock-section p {
    font-size: 18px;
    color: #333333;
}

/* Nueva Sección: Buscador Avanzado */
.search-section {
    padding: 100px 20px;
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
}

.precio-financiado-movil {
display:none;

}

.search-container {
    max-width: 1260px; /* Ancho máximo limitado */
    margin: 0 auto;
    padding: 60px 80px;
    border-radius: 8px;
    box-shadow: 2px 2px 4px 6px rgb(21, 22, 33);
    background: linear-gradient(135deg, #353332, #151515, #000);
}

.search-container h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1a2b4b; /* Azul oscuro para el título */
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Para la primera y segunda fila */
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.search-form select,
.search-form input[type="text"] {
    background-color: #fff; /* Fondo blanco para mejor legibilidad */
    color: #333; /* Color de texto oscuro */
    padding: 12px 16px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
    width: 100%;
}

.search-form select:focus,
.search-form input[type="text"]:focus {
    border-color: #c68a60; /* Color de borde al enfocarse */
    outline: none;
}

.search-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M0 3l5 5 5-5H0z" fill="%23999"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    font-weight: 600;
}

.search-form input[type="text"]::placeholder,
.search-form select option:first-child {
    color: #999; /* Color del placeholder */
    font-style: italic;
}

/* Última Fila: Ordenar Por */
.last-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ordenar-group {
    flex: 1;
    margin-right: 10px; /* Espacio entre ordenar y tracción */
}

.last-row .form-group:not(.ordenar-group) {
    margin-left: 0; /* Asegura que no haya margen izquierdo innecesario */
}

/* Botones */
.search-button,
.reset-button {
   font-size: 18px;
  background-blend-mode: soft-light;
  background: linear-gradient(135deg, #d69e76, #c68a60, #a8744f);
    background-color: rgba(0, 0, 0, 0);
  background-color: transparent;
  color: #FFF;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-family: var(--font-secondary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  font-weight: bold;
}

.search-button:hover {
    background-color: #b57950; /* Color de fondo al pasar el ratón */
}

.reset-button {
    background-color: #232539; /* Color diferente para resetear */
}

.reset-button:hover {
    background-color: #333333; /* Color al pasar el ratón */
}

.search-button i,
.reset-button i {
    margin-right: 8px;
}

/* Responsividad para la Sección Buscador Avanzado */
@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .search-container {
        padding: 30px 15px;
    }
    .search-container h2 {
        font-size: 24px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .form-group,
    .ordenar-group {
        margin: 0;
    }
    .last-row {
        flex-direction: column;
        align-items: stretch;
    }
    .ordenar-group {
        margin-bottom: 15px; /* Espacio inferior para separar los campos */
    }
    .search-button,
    .reset-button {
        flex: 1 1 100%;
        max-width: none;
    }
}

/* Nueva Sección: Vehículos */
.vehiculos-section {
    padding: 0px 20px;
    background-color: #232539; /* Fondo coherente con la sección Stock */
    text-align: center;
}

.vehiculos-container {
    max-width: 1703px; /* Aumentado para mayor uso del ancho de la ventana */
    margin: 0 auto;
}

.vehiculos-section h2 {
    font-size: 40px;
    color: #fff;
    padding: 10px 0 25px;
    margin-bottom: -10px;
}

.vehiculos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 tarjetas por fila */
    gap: 120px; /* Aumentado para más separación entre tarjetas */
    margin-top: 40px;
}

.vehiculo-card {
    background-color: rgb(27, 27, 27);/* Fondo semitransparente */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Sombra aumentada */
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex; /* Flexbox para organizar contenido */
    flex-direction: row; /* Dirección horizontal */
    height: 350px; /* Altura fija para uniformidad */
}

.vehiculo-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Sombra al hacer hover */
}

.vehiculo-image {
    width: 50%; /* Mitad izquierda */
    height: 100%;
    object-fit: contain;
    margin-left: 31px;
}

.vehiculo-info {
    width: 50%; /* Mitad derecha */
    padding: 20px;
    display: flex;
    background: #1b1b1b;
    flex-direction: column;
    justify-content: space-between; /* Distribuye el contenido verticalmente */
    box-sizing: border-box;
}

.vehiculo-titulo {
    font-size: 24px;
    color: #1a2b4b;
    text-align: center;
    margin: 0 0 10px 0; /* Ajusta la posición superior e inferior */
    word-wrap: break-word; /* Permite el ajuste de palabras largas */
}

/* Ajustes para mostrar dos detalles por fila con icono arriba y valor abajo */
.vehiculo-detalles {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se envuelvan a la siguiente línea */
    justify-content: center; /* Centra los elementos horizontalmente */
    gap: 20px; /* Espacio entre los elementos, ajusta según prefieras */
    margin-bottom: -40px;
    margin-top: 30px;
}

.vehiculo-detalles span {
    flex: 0 0 45%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    text-align: center;
}

.vehiculo-detalles span i {
    font-size: 24px; /* Tamaño del icono, ajusta según prefieras */
}

.detalle-valor {
    font-size: 16px; /* Tamaño del texto del valor */
    color: #fff; /* Color del texto */
    font-weight: 600;
}

/* Ajustes Responsivos */
@media (max-width: 768px) {
    .vehiculo-detalles span {
    }

    .vehiculo-detalles span i {
        font-size: 20px; /* Tamaño del icono en móviles */
        margin-bottom: 0px;
        margin-top: 3px;
    }

    .vehiculo-image {
    width: 50%; /* Mitad izquierda */
    height: 100%;
    object-fit: contain;
    margin-left: 0px;
   }

    .detalle-valor {
        font-size: 14px; /* Tamaño del texto del valor en móviles */
        margin-bottom: 5px;
    }
}

.vehiculo-detalles h4 {
    font-size: 16px;
    color: #fff; /* Color secundario para detalles */
    margin: 0;
}

.vehiculo-precio-container {
    background-color: #232539; /* Fondo diferente para el precio */
    border-radius: 4px;
    text-align: center;
}

.vehiculo-precio {
    font-size: 20px;
    color: #c68a60; /* Color del precio para resaltar */
    font-weight: bold;
    margin: 0;
}

/* Responsividad para la Sección Vehículos */
@media (max-width: 1024px) {
    .vehiculos-grid {
        grid-template-columns: repeat(2, 1fr); /* Mantener 2 por fila en tablets */
        gap: 30px;
    }
}


@media (max-width: 768px) {
    .vehiculos-container {
        padding: 0 10px;
    }
    .precio-financiado  {
     display: none !important;
    }

    .precio-financiado-movil  {
    display: block !important; /* o inline-block si prefieres */
    background-color: #c68a60 !important; /
    font-size: 30px;
    color: #25273a;
    font-weight: 700;
    }

    .sujeto-financiacion {
    font-size: 8px !important;

    padding-bottom: 5px;
    margin-left: 150px;
    }
    .marca-modelo {
        margin-bottom: 0px !important;
    }


    .vehiculo-detalles {
    margin-top: -5px;
    }

    .marca-logo {
    width: 120% !important;
    height: auto;
    max-height: 100px;
    margin-top: 55px;
    margin-left: 30px !important;
    }




    .vehiculos-section h2 {
        font-size: 28px;
    }
    .vehiculos-grid {
        grid-template-columns: 1fr; /* 1 columna en móviles */
        gap: 20px;
    }
    .vehiculo-card {
        flex-direction: column; /* Apilar imagen e info verticalmente */
        height: 490px; /* Ajustar altura automáticamente */
    }
    .vehiculo-image {
        width: 100%;
        height: 262px;
    }
    .vehiculo-info {
        width: 100%;
    }
    .vehiculo-titulo {
        font-size: 20px;
    }
    .vehiculo-detalles {
        gap: 10px;
    }
    .vehiculo-detalles h4 {
        font-size: 14px;
    }
    .vehiculo-precio {
        font-size: 18px;
    }
}

/* Nueva Sección: Pie de Página */
.footer-section {
    background-color: #000000; /* Fondo negro */
    color: #ffffff; /* Texto blanco */
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin: 0 auto; /* Centrar horizontalmente */
    gap: 40px; /* Espacio entre columnas */
    flex-wrap: wrap; /* Permitir que las columnas se apilen en pantallas pequeñas */
}

.footer-column {
    flex: 1;
    min-width: 200px; /* Ancho mínimo para cada columna */
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #c68a60; /* Color del título */
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #c68a60; /* Color al pasar el ratón */
}

/* Estilos para el Logo en el Footer */
.footer-logo {
    height: 80px; /* Ajusta el tamaño según necesites */
    width: auto;
    margin-bottom: 20px;
}

/* Redes Sociales en el Footer */
.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icons a {
    color: #ffffff;
    font-size: 24px;
    transition: color 0.3s;
    margin-left: 100px;
}

.footer-social-icons a:hover {
    color: #c68a60; /* Color al pasar el ratón */
}

/* Animación de Entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Section */
.contact-section {
    padding: 60px 20px;
    text-align: center;

    background: url(/static/images/about.jpg);
    background-size: cover;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #fff; /* Azul oscuro para el título */
}

.contact-section p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.3s ease;
}

.email-button {
    background-color: #2C2C54; /* Botón de Email */
    padding: 15px 25px;
    gap: 10px;
}

.email-button:hover {
    background-color: #1F1F3C; /* Hover para Email */
}

.whatsapp-button {
    background-color: #c68a60; /* Botón de WhatsApp */
    gap: 10px;
}

.whatsapp-button:hover {
    background-color: #a66b49; /* Hover para WhatsApp */
}

/* Responsividad para la Sección Contacto */
@media (max-width: 768px) {
    .contact-container {
        padding: 30px 15px;
    }

    .contact-section h2 {
        font-size: 24px;
    }

    .contact-section p {
        font-size: 16px;
    }

    .contact-button {
        flex: 1 1 100%;
        max-width: none;
    }
}
@media (max-width: 768px) {
    .precio {
        font-size: 38px !important;
        color: #25273a;
        font-weight: 700;
                margin-bottom: -10px !important;
    }
    .marca-modelo {
        font-size: 15px !important;
    }
    .vehiculo-titulo-strip {
         font-size: 15px !important;;
     }


}
/* Estilos para el Modal de Contacto */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro tras el modal */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #c68a60;
    background: none;
    border: none;
    cursor: pointer;
}

.modal-content h3 {
    font-size: 24px;
    color: #c68a60;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #333333; /* Cambiado a gris para mejor legibilidad */
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 95%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.form-check-label {
    font-size: 14px;
    color: #333;
}

/* Botones */
.btn-primary {
    background: linear-gradient(135deg, #d69e76, #c68a60, #a8744f);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #a66b49;
}

/* Estilos de las alertas dentro del modal */
.alert {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: left;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Contenedor para "Ordenar Por" */
.ordenar-por-container {
    max-width: 300px; /* Limita el ancho del contenedor */
    margin: 20px 0; /* Márgenes superior e inferior, sin centrado horizontal */
    text-align: left !important; /* Alinea el texto a la izquierda */
}

/* Form group para el selector */
.ordenar-por-container .form-group {
    width: 100%; /* Ocupa todo el ancho del contenedor */
    margin: 0; /* Elimina márgenes adicionales */
}

/* Estilo del selector */
.ordenar-por-container select {
    width: 100%; /* Ocupa todo el espacio disponible */
    padding: 10px 15px; /* Espaciado interno */
    border: 1px solid #cccccc; /* Borde gris */
    border-radius: 4px; /* Bordes redondeados */
    font-size: 16px; /* Tamaño de fuente */
    background-color: #fff; /* Fondo blanco */
    color: #333; /* Texto oscuro */
    text-align: left; /* Alinea el texto dentro del select */
    appearance: none; /* Elimina estilos predeterminados */
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M0 3l5 5 5-5H0z" fill="%23999"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    transition: border-color 0.3s;
}

/* Responsividad para el selector "Ordenar Por" */
@media (max-width: 768px) {
    .ordenar-por-container {
        max-width: 100%; /* Ocupa todo el ancho en móviles */
        margin: 10px 0; /* Márgenes más pequeños */
    }


    .form-group {


         align-items: center;


    }

    .financiera-section {
      color: #ffffff;
      text-align: center;
      }
}


/* Personalizar botones de dropdown */
.btn.dropdown-toggle {
    background-color: #121212; /* Fondo oscuro */
    color: #ffffff; /* Texto blanco */
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #333333; /* Borde gris oscuro */
    padding: 10px 15px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}

.btn.dropdown-toggle:hover {
    background-color: #232539; /* Fondo más claro al pasar el ratón */
    border-color: #444444;
}

/* Personalizar el menú desplegable */
.dropdown-menu {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: #ffffff; /* Fondo blanco para mejor contraste */
    margin-top: 5px;
    animation: fadeIn 0.3s ease-in-out; /* Animación suave */
}

/* Opciones del menú */
.dropdown-item {
    font-size: 14px;
    color: #333;
    padding: 10px 20px;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #c68a60;
    color: #fff;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Personalización de los botones de dropdown */
.dropdown-toggle-custom {
    position: relative;
    padding-right: 2rem; /* Espacio para la flecha personalizada */
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
}

/* Eliminar la flecha predeterminada de Bootstrap */
.btn-light.dropdown-toggle::after {
    display: none;
}

/* Añadir una flecha personalizada usando pseudo-elemento */
.btn-light.dropdown-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 0;
    height: 0;
    pointer-events: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
    transform: translateY(-50%);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Rotar la flecha cuando el dropdown está abierto */
.dropdown.show .btn-light.dropdown-toggle::before {
    transform: translateY(-50%) rotate(180deg);
    border-top-color: #c68a60; /* Cambiar color de la flecha al abrir */
}

/* Personalizar el botón cuando está enfocado */
.btn-light:focus {
    box-shadow: 0 0 0 0.2rem rgba(198, 138, 96, 0.25);
}

/* Botón de Búsqueda */
.btn-primary {
    background-color: #c68a60;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #a66b49;
}

/* Responsividad Adicional (Opcional) */
@media (max-width: 768px) {
    .btn-light.dropdown-toggle-custom {
        font-size: 12px;
    }

    .btn-primary {
        width: 100%;
    }
    .search-section {
        padding: 30px 20px;
    }
}

/* Clase para elementos que serán animados al hacer scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Clase que se añade cuando el elemento entra en la vista */
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 1s forwards;
}

/* Si deseas utilizar diferentes animaciones, puedes crear más clases como las siguientes */
.animate-fadeIn {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.animate-fadeIn.animated {
    opacity: 1;
    animation: fadeIn 1s forwards;
}

/* Personalizar botones de dropdown */
.dropdown-toggle-custom {
    position: relative;
    padding-right: 2rem; /* Espacio para la flecha personalizada */
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
}

/* Eliminar la flecha predeterminada de Bootstrap */
.btn-light.dropdown-toggle::after {
    display: none;
}

/* Añadir una flecha personalizada usando pseudo-elemento */
.btn-light.dropdown-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 0;
    height: 0;
    pointer-events: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
    transform: translateY(-50%);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Rotar la flecha cuando el dropdown está abierto */
.dropdown.show .btn-light.dropdown-toggle::before {
    transform: translateY(-50%) rotate(180deg);
    border-top-color: #c68a60; /* Cambiar color de la flecha al abrir */
}

/* Personalizar el botón cuando está enfocado */
.btn-light:focus {
    box-shadow: 0 0 0 0.2rem rgba(198, 138, 96, 0.25);
}

.vehiculo-link {
    border-radius: 8px;
    box-shadow: 2px 2px 4px 6px rgb(21, 22, 33);
}

.vehiculo-strip {
    height: 90px;
    width: 100%;
    background: linear-gradient(135deg, #353332, #151515, #000);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra sutil */
    display: flex; /* Activar diseño de flexbox */
    flex-direction: row; /* Asegurar disposición en fila */
}

.vehiculo-strip > div {
    display: flex;
    align-items: center; /* Centrar contenido verticalmente */
    justify-content: center; /* Centrar contenido horizontalmente */
}

.vehiculo-strip > div:nth-child(1) {
    width: 15%;
}

.vehiculo-strip > div:nth-child(2) {
    width: 65%;
    align-items: baseline;
    margin-left: 30px;
}

.vehiculo-strip > div:nth-child(3) {
    width: 35%;

    color: #c68a60;
    font-size: 40px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    background: #111;

}

/* Contenedor del logotipo de la marca */
.marca-logo-container {
    width: 40px; /* Ajusta este valor según tus necesidades */
    height: 40px; /* Ajusta este valor según tus necesidades */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen del logotipo de la marca */
.marca-logo {
    width: 90%;
    height: auto;
    max-height: 100px;
    margin-top: 55px;
    margin-left: 10px;
}

/* Estilos para la segunda columna en vehiculo-strip */
.marca-modelo-titulo {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinea el contenido a la izquierda */
    padding-left: 10px; /* Ajusta según tus necesidades */
}

.marca-modelo {
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 5px; /* Espacio entre marca+modelo y título */
    text-align: left; /* Asegura la alineación a la izquierda */
    color: #ffffff;
}

.vehiculo-titulo-strip {
    font-size: 1em;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

.sujeto-financiacion {
    font-size: 0.2em;
    color: #fff;
    text-align: left;
    font-weight: bold;
}

.bi bi-calendar-date {
    font-size: 0.4em;

    font-weight: bold;
}

/* Contenedor para el botón */
.mas-informacion-container {
    text-align: center; /* Centra el botón horizontalmente */
    margin-top: 20px; /* Espacio superior entre los detalles y el botón */
}

/* Botón "Más información" */
.mas-informacion-btn {
    display: inline-block;
    background-color: #c68a60; /* Color de fondo */
    color: #fff; /* Color del texto */
    padding: 10px 20px; /* Espaciado interno del botón */
    border-radius: 8px; /* Bordes redondeados */
    text-decoration: none; /* Elimina el subrayado */
    font-size: 16px; /* Tamaño del texto */
    font-weight: bold; /* Texto en negrita */
    transition: all 0.3s ease; /* Transición suave para hover */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Sombra */
}

/* Efectos de hover para el botón */
.mas-informacion-btn:hover {
    background-color: #a66b49; /* Color más oscuro al pasar el ratón */
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.4); /* Sombra más pronunciada */
    transform: scale(1.05); /* Aumenta ligeramente el tamaño */
}

/* Animaciones de Entrada para cada tipo de elemento */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clase para elementos que serán animados al hacer scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Clase que se añade cuando el elemento entra en la vista */
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
    animation: Bounce 0.4s forwards;
}

/* Si deseas utilizar diferentes animaciones, puedes crear más clases como las siguientes */
.animate-fadeIn {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.animate-fadeIn.animated {
    opacity: 1;
    animation: fadeIn 1s forwards;
}

