body {
  font-family: "Open Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Efecto de desplazamiento del encabezado */
.header-scrolled {
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

/* Estilos de las tarjetas de exhibición */
.showcase-card {
  position: relative;
  height: 700px;
  overflow: hidden;
}

.showcase-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
}

/* Estilos de las tarjetas de vehículos */
.vehicle-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos del menú móvil */
#mobile-menu {
  display: none;
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
}

#mobile-menu.open {
  display: block;
  opacity: 1;
}

/* Asegurar que el fondo permanezca visible */
#mobile-menu.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 50;
}

/* Estilos del carrusel */
.carousel-item {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.carousel-item.active {
  display: block;
}

/* Estilos del modal de imagen */
#imageModal {
  padding: 1rem;
}

#imageModal .close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: white;
  width: 3rem;
  height: 3rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

#imageModal .close-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  #imageModal {
    padding: 0;
  }

  #imageModal .modal-content {
    height: 100vh;
    display: flex;
    align-items: center;
  }

  #imageModal .close-button {
    top: 0.5rem;
    right: 0.5rem;
  }
}

/* Estilos para la página de contacto */
.contact-section {
  padding: 4rem 0;
}

.contact-card {
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.financing-section {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), url("/assets/media/financing-bg.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 4rem 0;
  border-radius: 0.5rem;
}

/* Estilos para videos verticales */
.video-vertical {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-vertical-container {
  position: relative;
  padding-bottom: 177.78%; /* Relación de aspecto 9:16 para videos verticales */
  height: 0;
  overflow: hidden;
}

.video-vertical-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

