/* Servicios.css - Estilos específicos para la página de Servicios */

/* Fondo para la sección de Garantía */
.bg-servicios {
  background-color: #e8e8e8;
}

.single-page-header {
    position: relative; /* Necesario para posicionar el overlay */
    background-image: url('https://piaggiomx.com/images/cabeceras/c935ddfe3ff4748fa5593a4b756a8a95.webp');
    background-size: cover;
    background-position: center;
}

/* Pseudo-elemento para oscurecer la imagen de fondo */
.single-page-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Ajusta la opacidad según lo necesites */
    z-index: 1;
}

/* Asegúrate de que el contenido se muestre por encima del overlay */
.single-page-header .container {
    position: relative;
    z-index: 2;
}

/* Estilos para el contenedor de Talleres */
.talleres-section {
    background-image: url('../images/banner_talleres_cercanos.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.talleres-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Overlay para oscurecer la imagen de fondo en Talleres */
.talleres-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Botones de Talleres */
.btn-servicios {
  background-color: #b9040e;
  color: #fff;
  font-weight: bold;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-servicios:hover {
  background-color: #a00310;
}

/* Estilos para títulos y textos en la sección de Garantía */
.titulo-servicios {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Opcional: Transiciones suaves para elementos que se animen con AOS */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

/* Una vez animado, AOS le asigna la clase 'aos-animate' */
.aos-animate {
  opacity: 1;
}

/* Ajuste de tipografía para una apariencia más moderna */
body, p, h1, h2, h3, h4 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.icono-garantia {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10; /* Valor alto para que se muestre por encima */
}

#garantia {
  position: relative;
  z-index: 5;
}

