/************************* SINGLE INVESTIGADORS *************************************/
#et-main-area {
  background-color: #ffffff;
}
/* Contenidor principal */
.contenidor {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Targeta de l'investigador */
.targeta-investigador {
  background-color: #f7f7f7;
  border-radius: 0.5rem;
  padding: 1.5rem;
  display: flex;
  /*  flex-direction: column; */
  gap: 2rem;
}

/* Columnes */
.columna-esquerra {
  width: 30%;
  height: fit-content;
}
.columna-dreta {
  width: 70%;
  height: fit-content;
}

/* Imatge de l'investigador */
.contenidor-imatge {
  margin-bottom: 1.5rem;
}

.imatge-redonda {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.imatge-investigador {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nom-investigador {
  font-family: "Muli", sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.1;
  color: #66a1bc;
  margin-top: 75px;
}
.posicio-investigador {
  font-family: "Muli", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  color: #333;
}

/* Dades de l'investigador */
.dada-investigador {
  margin-bottom: 1rem;
}

.titol-dada {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  line-height: 1;
  width: 90%;
}

.titol-dada-menor {
  font-size: 13px;
  font-weight: 400;
  color: #374151;
  line-height: 2;
  width: 60%;
}

.text-dada {
  color: #4b5563;
  margin-bottom: 0.5rem;
}

.enllaç-email {
  color: #3b82f6;
  text-decoration: none;
}

.enllaç-email:hover {
  text-decoration: underline;
}

.mes-informacio {
  font-size: 13px;
  font-weight: 600;
}

/* Xarxes socials */
.xarxes-socials {
  display: flex;
  gap: 0.5rem;
}

.enllaç-xarxa {
  background-color: #e5e7eb;
  border-radius: 50%;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.enllaç-xarxa:hover {
  background-color: #d1d5db;
}

.icona-xarxa {
  width: 1.25rem;
  height: 1.25rem;
  color: #4b5563;
}

/* Pestanyes */
.contenidor-pestanyes {
  margin-bottom: 2rem;
}

.navegacio-pestanyes {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
}

.boto-pestanya {
  padding: 1rem;
  border-bottom: 2px solid transparent;
  color: #6b7280;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.boto-pestanya.active {
  border-bottom-color: #3b82f6;
  color: #3b82f6;
}

.boto-pestanya:hover {
  color: #1d4ed8;
}

/* Contingut de les pestanyes */
.contingut-pestanya {
  display: none;
}

.contingut-pestanya.active {
  display: block;
}

.text-contingut {
  color: #374151;
  line-height: 1.6;
}

/* Presentació */
.presentacio {
  margin-top: 5rem;
}

.titol-presentacio {
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 1px;
  background-color: #fff;
  width: fit-content;
  padding: 10px;
  font-size: inherit;
  width: 15%;
}

.text-presentacio {
  font-size: 0.9rem;
  color: #34495e;
  line-height: 1.6;
  background-color: #fff;
  padding: 30px;
}

/* Interessos de recerca */
.interessos-de-recerca {
  margin-top: 1rem;
}

.titol-recerca {
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 1px;
  background-color: #fff;
  width: fit-content;
  padding: 10px;
  font-size: inherit;
  width: 25%;
}

.text-recerca {
  font-size: 0.9rem;
  color: #34495e;
  line-height: 1.6;
  background-color: #fff;
  padding: 30px;
}

/* Estils per a la secció de projectes */
.projectes-investigador {
  position: relative;
  width: 100%;
  margin-top: 40px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
}
.titol-projectes {
  font-family: "Muli", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.1;
  color: #66a1bc;
  margin-top: 10px;
  margin-left: 25px;
  margin-bottom: 10px;
}

.llista-projectes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.projecte {
  width: 285px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-left: 15px;
}
.projecte:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

.imatge-projecte {
  text-align: center;
  max-width: 250px;
  height: auto;
  margin: 16px;
}
.image_project {
  display: inline-block;
}

.info-projecte {
  padding: 15px;
}

.titol-projecte a {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
}

.titol-projecte a:hover {
  text-decoration: underline;
}

.boto-investigador {
  position: relative;
  width: 100%;
  margin: 40px 0;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tornar {
  padding: 10px 20px;
  background-color: #ffffff;
  color: #66a1bc;
  text-decoration: none;
  border-radius: 5px;
  font-size: 20px;
  font-weight: 800;
}

/* Estils per a les xarxes socials */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #6c757d;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a.www {
  background-color: #ffffff;
}

.social-links a.scholar.google {
  background-color: #6c757d;
  width: 35px;
  height: 35px;
}

.social-links a.orcid {
  background-color: #6c757d;
  width: 35px;
  height: 35px;
}

.social-links a:hover {
  transform: scale(1.1);
}

.social-links img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  /* filter: brightness(0) invert(1); */
}

/* Estilos específicos para cada tipo de red social (opcional) */
.social-links a:hover.facebook {
  background-color: #3b5998;
}
.social-links a:hover.twitter {
  background-color: #1da1f2;
}
.social-links a:hover.linkedin {
  background-color: #0077b5;
}
.social-links a:hover.instagram {
  background: linear-gradient(
    45deg,
    #405de6,
    #5851db,
    #833ab4,
    #c13584,
    #e1306c,
    #fd1d1d
  );
}
.social-links a:hover.orcid {
  background-color: #a6ce39;
}
.social-links a:hover.researchgate {
  background-color: #00ccbb;
}
.social-links a:hover.academia {
  background-color: #41454b;
}
.social-links a:hover.scholar {
  background-color: #ffffff;
}
.social-links a:hover.webofscience {
  background-color: #ffffff;
}
.social-links a:hover {
  background-color: #ffffff;
}

/*********************************** RESPONSIVE MOBILE **********************************/
@media (max-width: 768px) {
  .targeta-investigador {
    flex-direction: column;
    padding: 1rem;
    gap: 1.5rem;
  }

  .columna-esquerra,
  .columna-dreta {
    width: 100%;
  }

  .nom-investigador {
    font-size: 22px;
    text-align: center;
    margin-top: 40px;
  }

  .posicio-investigador {
    font-size: 14px;
    text-align: center;
  }

  .presentacio,
  .interessos-de-recerca {
    margin-top: 3rem;
  }

  .titol-presentacio,
  .titol-recerca {
    width: 100%;
    font-size: 1rem;
  }

  .text-presentacio,
  .text-recerca {
    padding: 15px;
    font-size: 0.9rem;
  }

  .projectes-investigador {
    padding: 15px;
  }

  .llista-projectes {
    flex-direction: column;
    align-items: center;
  }

  .projecte {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
  }

  .boto-investigador {
    flex-direction: column;
    padding: 20px 10px;
  }

  .tornar {
    font-size: 18px;
    padding: 10px 15px;
  }

  .social-links {
    justify-content: center;
  }

  .boto-pestanya {
    font-size: 0.9rem;
    padding: 0.75rem;
  }

  .imatge-redonda {
    width: 9rem;
    height: 9rem;
  }
}
