* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

nav {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    margin: auto;
    display: flex;
    padding: 15px;
    justify-content: space-between;
    align-items: center;
    background-color: #fcfdff;
    box-shadow: 0px 3px 5px 0px rgba(99, 98, 98, 0.75);
    z-index: 99;
    transition: all .4s ease;
}

.logo i {
    color: #0063b3;
}

nav span {
    font-size: 2rem;
}

nav ul {
    display: flex;
    align-items: center;
}

nav .btn-menu {
    display: none;
    line-height: 50%;
    font-size: 2rem;
    padding: 0 2px;
    cursor: pointer;
}

nav ul li {
    position: relative;
    margin: 0 20px;
    list-style: none;
    padding-bottom: 5px;
}

nav ul li::before {
    content: "";
    position: absolute;
    height: 5px;
    width: 0;
    bottom: 0;
    transition: all .3s ease;
}

nav ul li:hover::before {
    content: "";
    position: absolute;
    height: 5px;
    width: 40px;
    bottom: 0;
    background-color: #0063b3;
}

nav ul li a {
    text-decoration: none;
    color: #0063b3;
}

header {
    position: relative;
    display: flex;
    height: 100vh;
    background-color: #fcfdff;
   
}

header .foto {
    height: 90%;
    right: -7%;
    bottom: 0 ;
    position: absolute;
    transition: all .4s ease;
}

.header__info {
    display: flex;
    width: 70%;
    height: 100vh;
    justify-content: space-between;
    background-color: white;
    transition: all .4s ease;
}

.info {
    position: relative;
    width: 100%;
}

.info__childs {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    margin-left: 100px;
}

.hello {
    color: #929496;
    margin-bottom: 5px;
}

h1 {
    color: #222;
    font-size: 4rem;
    margin-bottom: 5px;
}

.info__childs .descripcion {
    color: #383838;
    font-size: 1.5rem;
    font-weight: 500;
}

.info__childs button {
    margin-top: 30px;
    padding: 15px 50px;
    background-color: black;
    outline: none;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: ease .4s all;
}

.info__childs button:hover {
    box-shadow: 0px 0px 20px 0px rgba(189,182,189,1);
}

.y-container {
    width: 42%;
    background-color: #8257d9;
}

main section:first-child {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #feffff;
    padding: 100px 0;
    height: 100vh;
    transition: all .4s ease;
}

.about-img {
    width: 800px;
    height: 500px;
    margin-left: 80px;
    /*outline: solid 10px #FF8C00;*/
}

.about-img img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    outline: 10px solid #0063b3;
    transform: translate(40px,-40px);
}

main section:first-child article {
    width: 600px;
    font-size: 1.3rem;
}

main section:first-child article h2 {
    position: relative;
    margin-bottom: 40px;
    font-size: 2rem; 
}

main section:first-child article h2::before {
    content: "";
    position: absolute;
    width: 15%;
    height: 100%;
    border-bottom: 5px solid #0063b3;
    margin:5px 0;
}

.about-btns {
    margin-top: 40px;
}

.about-btns button {
    padding: 15px 30px;
    margin: 0 5px;
    background-color: #fdc21c;
    outline: none;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all ease .4s;
}

.about-btns button:first-child:hover {
    box-shadow: 0px 0px 20px 0px rgba(189,182,189,1);
}

.about-btns button:nth-child(2) {
    background-color: transparent;
    border: solid 2px #fdc21c ;
    color: #fdc21c ;
   transition: all ease .5s;
}

.about-btns button:nth-child(2):hover {
    background-color: #fdc21c;
    color: #fff;
}

main section:nth-child(2){
    background-color: #fafbfd;
    text-align: center;
    padding: 20px ;
    transition: all .4s ease;
}

main section:nth-child(2) h2 {
    position: relative;
    margin-bottom: 30px;
    font-size: 2rem;
    padding-bottom: 7px;
}

main section:nth-child(2) h2::before {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 5px;
    margin: auto;
    width: 70px;
    background-color: #8257d9;
}

main section:nth-child(2) p {
    width: 50%;
    margin: auto;
    font-size: 1.3rem;
}

.grid-courses {
    display: grid;
    padding: 30px;
    width: 80%;
    max-width: 1100px;
    gap: 30px;
    justify-content: center;
    margin: auto ;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-bottom: 50px;

    opacity: 0;
    transform: translateX(-100%);
    animation: aparecer 3.8s forwards;
    
}

.grid-courses .grid-course-cont {
    position: relative;
    border-radius: 10px;
    height: 300px;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0px 0px 5px 2px rgba(156,151,156,1);
}

.bg-color {
    border-radius: 10px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(img/background.jpg);
    background-size: cover;
    background-color: rgba(255, 0, 0, 0.253);
    background-blend-mode: overlay;
    z-index: 3;
} 

.cont {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
}

.cont i {
    font-size: 2.5rem;
}

.cont h3 {
    font-size: 2rem;
}

.cont p {
    font-size: 1.3rem;
}

.blue {
    background-color: #2193b0ce;
}

.yellow {
    background-color: #d1ce08d1;
}

.purp {
    background-color: #8000ffdc;
}

.green {
    background-color: #3ca021;
}


@media screen and (max-width:600px) {
    html {
        font-size: 12px;
    }

    header .foto {
        display: none;
    }

    nav ul {
        position:absolute;
        top: 0;
        z-index: -1;
        padding-top: 70px;
        left: 0;
        right: 0;
        height: 0;
        opacity: 0;
        visibility: hidden;
        text-align: center;
        background-color: #fcfdff;
        flex-direction: column;
        box-shadow: 0px 3px 1px 0px rgba(99, 98, 98, 0.75);
    }

   nav ul.active {
        transition: all 1s ease;
        height: auto;
        opacity: 1;
        visibility: visible;
   }

    nav ul li {
        margin-bottom: 20px;
    }

    nav .btn-menu {
        display: block;
    }

    .info__childs {
        margin: 0 10px;
    }

    .header__info {
        width: 70%;
    }

    .y-container {
        width: 30%;
    }

    .about-img {
        width: 98%;
        height: 94%;
        margin-top: 100px;
        margin-left: 0px;
        margin-bottom: 40px;
    }

    .about-img img {
        transform: translate(20px,-20px);
    }
}

@media screen and (max-width:700px) {
    .info__childs {
        margin: 0 10px;
    }

    header .foto {
        height: 70%;
        right: -30%;
    }
}


@media screen and (max-width:800px) {
    .info__childs {
        margin: 0 10px;
    }

    header .foto {
       right: 0;
    }

    main section:nth-child(2) p {
        width: 90%;
    }


}

@media screen and (max-width:1100px) {
    .about-img {
        margin-top: 100px;
        margin-left: 0px;
        margin-bottom: 40px;

        opacity: 0;
        transform: translateX(-100%);
        animation: aparecer 3.8s forwards;
    }

    .about-img img {
        transform: translate(20px,-20px);
    }

    main section:first-child {
        flex-direction: column;
        justify-content: center;
        padding: 0;
        padding-bottom: 50px;
    }

    main section:first-child article {
        text-align: center;
        width: 90%;
    }

    header .foto {
        right: -30%;
    }

}

/*ESTILOS DE SWITCH*/

.switch {
    width: 60px;
    height: 30px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-radius: 100px;
    border: #333 solid 2px;
    background-color: #132b41;
}

.switch i {
    font-size: 1rem;
    color: #fdc21c;
}

.menu-options li:last-child::before {
content: "";
position: absolute;
height: 25px;
width: 25px;
border-radius: 50%;
background-color: #fff;
border: solid thin #000;
left: 0;
right: unset;
}

.menu-options li:last-child.active::before {
    right: 0;
    left: unset;
    border: solid thin #fff;
}

.menu-options li:last-child.active i:first-child {
    color: #fff;
}

.menu-options li:last-child.active {
    background-color: chocolate;
    border: solid 2px #fff;
}

body.active nav {
    background-color: #313131;
}

body.active nav ul {
    background-color: #313131;
}

body.active nav ul li a {
    color: #cfcfcf;
}

body.active .header__info {
    background-color: #2c2c2c;
}

/*En esta parte se configura el color en el modo oscuro del h1
En esta parte se configura el color en el modo oscuro del h1*/

body.active h1 {
    color: white;
}

/*En esta parte se configura el color en el modo oscuro del h1
En esta parte se configura el color en el modo oscuro del h1*/


body.active .descripcion {
    color: #cfcfcf;
}

body.active main section:first-child {
    background-color: #313131;
}

body.active main section:first-child article h2 {
    color: #fff;
}

body.active main section:first-child article p {
    color: #bdbdbd;
}

body.active main section:nth-child(2) {
    background-color: #2c2c2c;
}

body.active main section:nth-child(2) h2 {
    color: #fff;
}

body.active main section:nth-child(2) > p {
    color: #bdbdbd;
}


/* Modificaciones realizadas, por el desarrollador Martín Rodríguez - 21-02-2026 */

.adicional {
    color: #00b5b5;
    font-weight: bold;
}

.bg-image {
  background-image: url(img/Cambio\ de\ aceite\ -\ 1\ °\ Servicio.png); /* reemplazá con tu imagen */
  background-size: cover;       /* ajusta la imagen al contenedor */
  background-position: center;  /* centra la imagen */
  width: 100%;
  height: 100%;                /* ajustá según tu diseño */
  border-radius: 10px;          /* opcional, si querés bordes redondeados */

  opacity: 0;
  transform: translateX(-100%);
  animation: aparecer 3.8s forwards;
}

.bg-coloryellow{
  background-image: url(img/Cambio\ de\ filtro\ de\ aceite.png); /* reemplazá con tu imagen */
  background-size: cover;       /* ajusta la imagen al contenedor */
  background-position: center;  /* centra la imagen */
  width: 100%;
  height: 100%;                /* ajustá según tu diseño */
  border-radius: 10px;          /* opcional, si querés bordes redondeados */

  opacity: 0;
  transform: translateX(-100%);
  animation: aparecer 3.8s forwards;
}

.bg-coloryellowone{
  background-image: url(img/Cambio\ de\ filtro\ de\ aire\ .png); /* reemplazá con tu imagen */
  background-size: cover;       /* ajusta la imagen al contenedor */
  background-position: center;  /* centra la imagen */
  width: 100%;
  height: 100%;                /* ajustá según tu diseño */
  border-radius: 10px;          /* opcional, si querés bordes redondeados */

  opacity: 0;
  transform: translateX(-100%);
  animation: aparecer 3.8s forwards;
}

.bg-coloryellowtwo{
  background-image: url(img/Cambio\ de\ filtro\ de\ nafta.png); /* reemplazá con tu imagen */
  background-size: cover;       /* ajusta la imagen al contenedor */
  background-position: center;  /* centra la imagen */
  width: 100%;
  height: 100%;                /* ajustá según tu diseño */
  border-radius: 10px;          /* opcional, si querés bordes redondeados */

  opacity: 0;
  transform: translateX(-100%);
  animation: aparecer 3.8s forwards;
}

.bg-coloryellowthree{
  background-image: url(img/Cambio\ de\ filtro\ del\ habitaculo.png); /* reemplazá con tu imagen */
  background-size: cover;       /* ajusta la imagen al contenedor */
  background-position: center;  /* centra la imagen */
  width: 100%;
  height: 100%;                /* ajustá según tu diseño */
  border-radius: 10px;          /* opcional, si querés bordes redondeados */

  opacity: 0;
  transform: translateX(-100%);
  animation: aparecer 3.8s forwards;
}


.bg-coloryellowfour{
  background-image: url(img/Revisión\ de\ caja\ dif.png); /* reemplazá con tu imagen */
  background-size: cover;       /* ajusta la imagen al contenedor */
  background-position: center;  /* centra la imagen */
  width: 100%;
  height: 100%;                /* ajustá según tu diseño */
  border-radius: 10px;          /* opcional, si querés bordes redondeados */

  opacity: 0;
  transform: translateX(-100%);
  animation: aparecer 3.8s forwards;
}

.bg-coloryellowfive{
  background-image: url(img/ACCESORIOS.png); /* reemplazá con tu imagen */
  background-size: cover;       /* ajusta la imagen al contenedor */
  background-position: center;  /* centra la imagen */
  width: 100%;
  height: 100%;                /* ajustá según tu diseño */
  border-radius: 10px;          /* opcional, si querés bordes redondeados */

  opacity: 0;
  transform: translateX(-100%);
  animation: aparecer 3.8s forwards;
}

.bg-coloryellowsix{
  background-image: url(img/MEJORA\ DE\ CAMBIO\ DE\ ACEITE\ DE\ TRANSMISIÓN.png); /* reemplazá con tu imagen */
  background-size: cover;       /* ajusta la imagen al contenedor */
  background-position: center;  /* centra la imagen */
  width: 100%;
  height: 100%;                /* ajustá según tu diseño */
  border-radius: 10px;          /* opcional, si querés bordes redondeados */

  opacity: 0;
  transform: translateX(-100%);
  animation: aparecer 3.8s forwards;
}

.bg-coloryellowseven{
  background-image: url(img/Saladeesperauno.png);/* reemplazá con tu imagen */
  background-size: cover;       /* ajusta la imagen al contenedor */
  background-position: center;  /* centra la imagen */
  width: 100%;
  height: 100%;                /* ajustá según tu diseño */
  border-radius: 10px;          /* opcional, si querés bordes redondeados */

  opacity: 0;
  transform: translateX(-100%);
  animation: aparecer 3.8s forwards;
}


.agregados {
    color: #00b5b5;
    font-size: 24px
}

.agregadosuno {
    color: #00b5b5;
    font-size: 36px;
    text-align:center;
}


/* Modificaciones realizadas, por el desarrollador Martín Rodríguez - 21-02-2026*/


/* Estilos, para el footer - En este caso al footer se lo puso adentro de una nueva sección*/
/* Estilos, para el footer - En este caso al footer se lo puso adentro de una nueva sección*/

.footer-global{
  margin: 0;
  padding: 40px 0px 0px; /* Se ajusto el padding, para que se lo pueda ver mejor desde una notebook*/
  box-sizing: border-box;
  font-family: sans-serif;

  opacity: 0;
  transform: translateX(-100%);
  animation: aparecer 3.8s forwards;
}

.footer {
  position: relative;
  width: 100%;
  background: #00b5b5;
  min-height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 10px 5px;
  flex-wrap: wrap;
}

.icon-elem {
  list-style: none;
}

.icon {
  color: white;
  font-size: 32px;
  display: inline-block;
  margin: 0 10px;
  transition: 0.5s;
}

.icon:hover {
  transform: translateY(-10px);
}

.menu {
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.menu-elem {
  list-style: none;
}
.menu-icon {
  color: white;
  font-size: 20px;
  display: inline-block;
  text-decoration: none;
  margin: 5px 10px;
  opacity: 0.5;
  transition: 0.3s;
}

.menu-icon:hover {
  opacity: 1;
}

.text {
  color: white;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 20px;
}

/* Estilos, para el footer - En este caso al footer se lo puso adentro de una nueva sección*/
/* Estilos, para el footer - En este caso al footer se lo puso adentro de una nueva sección*/


/******************/
.carousel {
  margin: 2em auto;
  width: 95%;
  overflow: hidden; /* oculta scroll */
  position: relative;
}

.group {
  display: flex;
  gap: 1em;
  animation: scrollX 40s linear infinite;
}

.card {
  flex: 0 0 auto;
  width: 250px;
  background: #0063b3;
  border: 1px solid #8257d9;
  border-radius: .8em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  padding: 1em;
}

.card img {
  width: 80px;
  height: 80px;
  border-radius: 50%; /* redondea la foto */
  object-fit: cover;
  margin-bottom: .5em;
}

.card h3 {
  font-size: 1.1rem;
  margin: .3em 0;
  color: white;
}

.card p {
  font-size: .95rem;
  color: white;
}

/* Animación infinita */
@keyframes scrollX {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
/******************/


/******************/

/*Animación de izquierda a derechas de la sección de servicios*/
@keyframes aparecer {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
/* Animación de izquierda a derechas de la sección de servicios*/

.fade-in {
      opacity: 0;
      transform: translateY(100%);
      animation: aparecer 3.8s ease forwards;
    }

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

/******************/

/*video responsive*/

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* Relación 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #8257d9;
  border-radius: 10px; /* Bordes redondeados para mejor presentación */
  box-shadow: 0 4px 12px #8257d9; /* Sombra elegante */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/*video responsive*/