/*menu principal*/
.navbar {
  padding: 1.5rem;
  margin-bottom: 8rem;
}

.nav-link {
  color: black;
}

/*Menu*/
#navbarSupportedContent {
  background-color: rgba(250, 250, 250, 0.992);
}

.navbar-brand {
  color: #0f98f8 !important;
}

/*card prinicpales izquierda*/
.cards-principal {
  margin-bottom: 8rem;
}
.card {
  border: none;
}

.card {
  border: none;
}

.card-info h5 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.card-info p {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.btn {
  background-color: #0f98f8 !important;
}

.text-center {
  color: #0f98f8 !important;
}

.card-title {
  color: #0f98f8 !important;
}

.card-title-servicios {
  color: black;
}

/*card mapa*/

#map {
  min-height: 300px;
  height: 300px; /* Ajustable según tu diseño */
  width: 100%;
}

@media screen and (max-width: 768px) {
  #map {
    height: 300px;
  }
}

/*Seccion servicios*/
#nuestros-servicios {
  margin-bottom: 6rem;
}
#nuestros-servicios h1 {
  margin-bottom: 2rem;
}
#nuestros-servicios h5 {
  text-align: center;
  font-size: x-large;
}

#nuestros-servicios .card img {
  border: none;
}

#nuestros-servicios img {
  width: 100%;
  height: 100%;
}
/*Nuestros vehiculos*/
#nuestros-vehiculos {
  margin-bottom: 6rem;
}

#nuestros-vehiculos h2 {
  margin-bottom: 2rem;
  font-size: 2.3rem;
}

/*Formulario de contacto*/

#contacto {
  margin-bottom: 6rem;
}

#contacto h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  margin-top: -4rem;
}

#contacto input {
  border-color: #0f98f8;
  margin-bottom: 3rem;
  padding: 1rem;
}
#contacto textarea {
  border-color: #0f98f8;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

#contacto button {
  padding: 8px 28px;
  border-radius: 20px;
  line-height: 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;

  cursor: pointer;

  width: 10rem;
  font-size: 1.3rem;
  margin-top: 2rem;
}

.card-form {
  height: 100%;
}

.button-div {
  display: flex;
  justify-content: center;
}

/*Img contacto*/

.card-img {
  height: 100%;
}

.card-img img {
  height: 100%;
  object-fit: cover;
}

/*contacto y mapa*/

.card-contacto-info {
  height: 100%;
}

.list-group ol {
  list-style-type: none;
}
.card-contacto-info ol li {
  margin: 1.5rem;
  border: none;
  font-size: 1.3rem;
  display: flex;
  text-decoration: none;
}
.card-contacto-info ol li img {
  width: 2rem;
  height: 2rem;
  margin-right: 0.5rem;
}

/*pie Pagina*/

#footer {
  background-color: #9dcef2 !important;
  padding: 1.3rem;
  display: flex;
  justify-content: center;
  color: white;
  line-height: auto;
}

#footer p {
  color: white;
}

/* Estilos seccion vehiculos */
.img-container {
  position: relative;
  margin-bottom: 40px; /* Espacio para el texto */
}

.hover-text {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  opacity: 0;
  font-size: 16px;
  color: #333;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px;
  border-radius: 4px;
  text-align: center;
  pointer-events: none;
  font-weight: 600;
}

/*BANNER*/

/* Fondo para todo el body */
.banner_main {
  background: url(./img/banner.png);

  background-size: auto 33%;
  background-repeat: no-repeat;
  min-height: 1150px;
  background-position: right top;
}

/*Testimonios */

#testimonial-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 300px;
  z-index: 1000;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-bubble {
  background-color: #ffffff;
  color: #333;
  border-radius: 20px;
  padding: 15px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(20px);
  animation: slideIn 0.5s ease-out forwards, fadeOut 0.5s ease-in forwards 4.5s;

  display: flex;
  align-items: center;
  gap: 10px;
}

/* Imagen circular del autor */
.testimonial-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Contenedor del nombre y mensaje */
.testimonial-info {
  display: flex;
  flex-direction: column;
}

/* Nombre */
.testimonial-info strong {
  font-size: 14px;
  color: #111;
}

/* Mensaje */
.testimonial-message {
  margin-top: 5px;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/*Animaciones*/

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 2s ease-out, transform 1.7s ease-out;
}

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

/*Animacion menu area menu*/

@keyframes waveMotion {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  25% {
    transform: translateX(5px) rotate(2deg);
  }
  50% {
    transform: translateX(-5px) rotate(-2deg);
  }
  75% {
    transform: translateX(5px) rotate(2deg);
  }
}

.area-clientes-anim {
  display: inline-block;
  animation: waveMotion 6s ease-in-out infinite;
  cursor: pointer;
  color: #0f98f8 !important; /* fuerza el color bootstrap */
  font-weight: 600;
}

/*Estilos boton aceptar presupuesto*/

#btnAceptarPresupuesto {
  color: white;
  padding: 8px 10px;
  background-color: #4caf50;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#btnAceptarPresupuesto :hover {
  background-color: #45a049;
}
#btnAceptarPresupuesto :active {
  background-color: #3e8e41;
}

/*Banner cookies*/

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #222;
  color: white;
  text-align: center;
  padding: 1rem;
  z-index: 9999;
  font-size: 14px;
  display: none;
}

#cookie-banner a {
  color: #0f98f8;
  text-decoration: underline;
  margin-left: 10px;
}

#cookie-banner button {
  background-color: #0f98f8;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  margin-left: 15px;
  cursor: pointer;
  border-radius: 5px;
}

#cookie-banner button:hover {
  background-color: #0d85d0;
}

.logo_principal {
  width: 4rem;
  height: auto;
}

.img-container img {
  height: auto;
  max-height: 250px; /* Limita el alto máximo */
  width: 100%;
  object-fit: contain; /* Mantiene la imagen entera */
}
