/* VITACODI WEB */
/* BY J&J */

/* GLOBAL STYLES */
* {
  font-family: "Archivo Black", sans-serif;
  font-style: normal;
  margin: 0;
  padding: 0;

  /* COLORES PRINCIPALES */
  --background-color: #000;
  --primary-color: #0077beff;
  --secondary-color: #29ab87ff;
  --white-color: #ccc;
  --cool-purple: #551a8b;
}

body {
  background-color: var(--background-color);
  color: var(--white-color);
}

/* HEADER */
header {
  width: 100%;
  height: 10vh;
  background-color: var(--background-color);
  display: flex;
  align-items: center;
}

header h1 {
  margin-left: 30px;
  font-size: 50px;
  background: linear-gradient(to bottom right, #0077be, #29ab87);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  opacity: 0.8;
}

#logo img {
  height: 9vh;
  margin-left: 1.5vw;
}

#nav1 {
  margin-left: auto;
  display: flex;
  gap: 30px;
  margin-right: 2.5vw;
}

#navLink1, #navLink2, #navLink3 {
  position: relative;
  text-decoration: none;
  /* color: var(--primary-color); */
  font-size: 18px;
  padding: 8px;
  font-weight: bold;
  background: linear-gradient(to bottom right, #0077be, #29ab87);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* underline simulado */
.navLinks::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;

  width: 0;
  height: 2px;
  background: linear-gradient(to bottom right, #0077be, #29ab87);

  transform: translateX(-50%);
  transition: width 0.25s ease;
}

#navLink4::after {
  content: none;
}

.navLinks:hover::after {
  width: 100%;
}

#navLink4 {
  font-weight: bold;
  background: linear-gradient(to bottom right, #0077be, #29ab87);
  border-radius: 6px;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;

  color: var(--white-color);
  position: relative;
  text-decoration: none;
  /* color: var(--primary-color); */
  font-size: 18px;
  padding: 8px;
  font-weight: bold;
}

#navLink4:hover {
  text-decoration: none;
  background-color: rgb(41, 93, 171);
  transform: scale(1.04);
  /* efecto de crecer */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* FIRST LOOK SECTION */
.section-first-look {
  position: relative;
  /* Necesario para que los hijos con absolute se posicionen respecto a la sección */
  min-height: 95vh;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  text-align: center;
  padding: 2rem;
  flex-direction: column;

  img {
    opacity: 0.35;
  }

  h1,
  p,
  #divButtons {
    z-index: 2;
  }

  p {
    font-size: 1vw;
  }
  .buttons {
    font-weight: bolder;
  }

  #divButtons {
    #button1 {
      cursor: pointer;
      padding: 14px;
      font-size: 16px;
      background: linear-gradient(to bottom right, #0077be, #29ab87);
      border-radius: 5px;
      border: none;
      color: var(--white-color);
      margin-left: 10px;
      margin-right: 10px;

      strong {
        opacity: 0;
      }
    }

    #button2 {
      cursor: pointer;
      padding: 14px;
      font-size: 16px;
      background-color: transparent;
      border-radius: 5px;
      border: 1px solid var(--white-color);
      color: var(--white-color);
      margin-left: 10px;
      margin-right: 10px;
    }

  }

  h1 {
    margin-top: 7vh;
    margin-bottom: 4vh;
    font-size: 3.5vw;
    color: var(--white-color);

    strong {
      background: linear-gradient(to bottom right, #0077be, #29ab87);
      /* -webkit- ya no es necesario usar el prefijo en la mayoría de los navegadores modernos */
      background-clip: text;
      /* recorta el fondo al texto */
      -webkit-text-fill-color: transparent;
      /* hace el texto transparente para mostrar el gradiente */
      font-weight: bold;
      /* opcional, para enfatizar */
    }
  }

  p {
    margin-bottom: 4vh;
    color: var(--white-color);
    font-weight: bold;
  }
}

#sectionBackgroundImage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Asegura que la imagen cubra toda la sección */
  z-index: 1;
}

/* BEEP BOOP SECTION */
#beepboop {
  height: 4rem;
  width: 100%;
  /* background-color: #111827; */
  background: linear-gradient(to bottom right, #0077bebb, #29ab87bb);
  display: flex;
  justify-content: center;
  align-items: center;
  
  p {
    font-size: 150%;
  }
}

/* SERVICES SECTION */
#services {
  height: auto;
  padding: 0vw 5vw 5vw 5vw;
  text-align: center;

  #div-title {
    padding: 5vh;
    display: flex;
    justify-content: center;

    h2 {
      font-size: 2rem;
      background: linear-gradient(to bottom right, #0077be, #29ab87);
      background-clip: text;
      -webkit-text-fill-color: transparent;
      width: auto;
      text-decoration: none;
      border-bottom: 2px solid;
      border-image: linear-gradient(to right, #0077be, #29ab87) 1;
    }

  }

  .div-services {
    display: flex;
    text-align: center;
    gap: 4vw;


    .service-item {
      background-color: #111827;
      /* box-shadow: 0px 0px 35px #405175; */
      border: 2px solid rgba(255, 255, 255, 0.01);
      /* background:  linear-gradient(to bottom right, #0077be, #29ab87); */
      border-radius: 20.5px;

      img {
        height: auto;
        width: 100%;
        border-radius: 20px 20px 0px 0px;
      }

      h3 {
        font-size: 1.2vw;
        margin-top: 3vh;
        color: var(--white-color);
      }

      p {
        font-size: 1.8vh;
        color: var(--white-color);
        padding: 2vw;
      }
    }

    .service-item:hover {
      transform: scale(1.04);
    }

  }

  /* .div-services:hover {
        Para hacer que las tarjetas de servicios amplien o algo asi.
    } */
 margin-bottom: 8vh;
}


/* ABOUT US SECTION */
#about-us {
  padding: 2vw 5vw 5vw 5vw;

  .div-about-us {
    display: flex;
    flex-direction: row;
    gap: 5vw;

    .about-text {
      text-align: center;

      #div-title {
        display: flex;
        justify-content: center;
        margin-bottom: 6vh;

        h2 {
          font-size: 2rem;
          background: linear-gradient(to bottom right, #0077be, #29ab87);
          background-clip: text;
          -webkit-text-fill-color: transparent;
          text-decoration: none;
          border-bottom: 2px solid;
          border-image: linear-gradient(to right, #0077be, #29ab87) 1;
        }

      }

      p {
        text-align: justify;
        margin-top: 4vh;
        font-size: 20px;
      }

    }

    .about-image {
      img {
        border-radius: 6px;
        width: 40vw;
      }

      img:hover {
      transform: scale(1.04);
      }

    }

  }

}

/* CONTACT SECTION */
#contact {

  .div-contact-form {

    .contact-form {

      #div-title {
        text-align: center;
        display: flex;
        justify-content: center;

        h2 {

          padding-top: 2rem;

          font-size: 2rem;
          background: linear-gradient(to bottom right, #0077be, #29ab87);
          background-clip: text;
          -webkit-text-fill-color: transparent;
          text-decoration: none;
          border-bottom: 2px solid;
          border-image: linear-gradient(to right, #0077be, #29ab87) 1;
        }

      }

      .screen-body-item {
        flex: 1;
        padding: 0 3rem 3rem 3rem;

        .app-form {

          /* padding: 1vh 10vh 0vh 10vh; */

          .app-form-group {
            margin-bottom: 15px;
          }

          .form-input {
            width: 100%;
            padding: 2vh 0;
            background: none;
            border: none;
            border-bottom: 2px solid;
            border-image: linear-gradient(to right, #0077be, #29ab87) 1;
            color: #ddd;
            font-size: 2vh;
            outline: none;
            transition: border-color .2s;
          }
          #message {
              resize: none;

            }
        }

        .form-input:focus {
          border-bottom-color: var(--white-color);
        }

      }

      .div-buttons {
        justify-content: center;
        margin-top: 8vh;
        margin-bottom: 5vh;
        display: flex;
        gap: 2.7vw;

        button {
          width: 15vw;
          cursor: pointer;                  
          padding: 14px;
          font-size: 16px;
          background-color: transparent;
          border-radius: 5px;
          border: 1px solid var(--white-color);
          color: var(--white-color);
          margin-left: 10px;
          margin-right: 10px;
        }

        .button2:hover {
          background-color: #29ab8788;
        }

        .button1:hover {
          background-color: #ab292988;
        }

      }

    }

  }

}

/* FOOTER BASE */
footer {
  background-color: #000;
  color: #ffffff;
  padding: 60px 20px 30px;
  width: 100%;
  font-family: Arial, sans-serif;
}

/* LINKS */
footer a {
  background: linear-gradient(90deg, #0077be, #29ab87);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.8;
}

/* CONTENEDOR PRINCIPAL */
.div-footer {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  text-align: left;
}

/* TITULOS */
.div-title {
  margin-bottom: 15px;
}

.div-title h4 {
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(90deg, #0077be, #29ab87);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* TEXTO */
footer p {
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
}

/* SOCIAL MEDIA */
.div-social-media a {
  display: inline-block;
  margin-right: 12px;
}

.img-social-media {
  width: 32px;
  height: 32px;
  opacity: 0.75;
}

/* LINEA DIVISORIA */
#footer-line {
  margin: 40px auto;
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0077be, #29ab87, transparent);
}

/* COPYRIGHT */
.div-copyright {
  text-align: center;
  font-size: 13px;
  color: #bbbbbb;
  margin-top: 20px;
}

.div-copyright a {
  margin: 0 6px;
}

/* MEDIA QUERIES */
@media (max-width: 1080px) {
  #nav1 {
    display: none;
  }

  header {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .div-footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
  }
}

















/* ================================= */
/* TABLET Y MOBILE */
/* ================================= */
@media (max-width: 900px) {

  /* ============================= */
  /* LANDING / FIRST LOOK */
  /* ============================= */
  .section-first-look h1 {
    font-size: 36px; /* FORZADO */
    line-height: 1.2;
  }

  .section-first-look p {
    font-size: 16px;
    max-width: 90%;
  }

  #divButtons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  #divButtons button {
    width: 80%;
    margin: 0 auto;
  }

  /* ============================= */
  /* SERVICES */
  /* ============================= */
  #services .div-services {
    flex-direction: column;
    align-items: center;
  }

  #services .service-item {
    width: 90%;
  }

  #services .service-item h3 {
    font-size: 20px;
  }

  #services .service-item p {
    font-size: 16px;
  }

  /* ============================= */
  /* ABOUT US */
  /* ============================= */
  #about-us .div-about-us {
    flex-direction: column-reverse; /* IMAGEN ARRIBA */
    align-items: center;
  }

  #about-us .about-image img {
    width: 90%;
    margin-bottom: 30px;
  }

  #about-us .about-text p {
    font-size: 16px;
    text-align: left;
  }

  /* ============================= */
  /* CONTACT FORM */
  /* ============================= */
  #contact .screen-body-item {
    padding: 0 5vw 8vh 5vw;
  }

  #contact .app-form {
    padding: 0;
  }

  #contact .form-input {
    font-size: 16px;
    padding: 12px 0;
  }

  #contact textarea {
    min-height: 120px;
  }

  #contact .div-buttons {
    flex-direction: column;
    gap: 16px;
  }

  #contact .div-buttons button {
    width: 100%;
    font-size: 16px;
  }
}


/* ================================= */
/* MOBILE PEQUEÑO */
/* ================================= */
@media (max-width: 480px) {

  /* LANDING */
  .section-first-look h1 {
    font-size: 30px;
  }

  .section-first-look p {
    font-size: 15px;
  }

  /* SERVICES */
  #services .service-item {
    width: 100%;
  }

  /* ABOUT US */
  #about-us {
    padding: 10vw 5vw;
  }

  /* CONTACT */
  #contact .form-input {
    font-size: 15px;
  }
}
