/*Contenedor principal*/

.menu-lista {
  display: none;
}

.menu-lista.activo {
  display: block;
}

.acerca-de-mi {
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(230, 180, 255, 0.15);
  display: flex;
  height: 100vh;
  margin-top: 0;
  overflow: hidden;
}

/*Contenedor columnas*/
.contenedor-columnas {
  display: flex;
  width: 100%;
  height: 100%;
}

/* Columna izquierda */
.columna-izquierda {
  width: 40%;
  margin: 0px 0 0 20px;
  margin-top: 80px;
  padding: 2rem;
  background: linear-gradient(45deg, #74affc41, #efa7de5a);
  box-sizing: border-box;
  box-shadow: inset 0 0 10px rgba(230, 180, 255, 0.1);
  overflow-wrap: break-word;
  word-break: break-word;
  position: relative;
  top: 0;
  max-height: 100vh;
  overflow-y: auto;
}

.botones-yo {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
}

.botones-yo button,
.botones-yo a {
  color: white;
  background: linear-gradient(45deg, #ff7ae2, #ffc3fa);
  box-shadow: 0 0 18px rgba(255, 0, 255, 0.4);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  user-select: none;
}

.botones-yo button:hover,
.botones-yo a:hover {
  background: linear-gradient(45deg, #fbc371);
  transform: scale(1.05);
  color: white;
}

.botones-yo button:focus,
.botones-yo button:active,
.botones-yo a:focus,
.botones-yo a:active {
  outline: none;
  color: white;
  background: linear-gradient(45deg, #ff7ae2, #ffc3fa);
  box-shadow: 0 0 18px rgba(255, 0, 255, 0.4);
}

.card-img-top.foto-cv {
  border-radius: 90px;
}

.acerca-texto {
  max-width: 500px;
}

.titulo-acerca {
  font-size: 2.4rem;
  font-weight: 400;
  color: #0d0d0d;
  margin-bottom: 20px;
  letter-spacing: 1.2px;
}

.intro-acerca {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #682f77;
  line-height: 1.7;
}

.texto-inicial {
  margin-top: 30px;
  margin-bottom: 0px;
}

.card-text.yo {
  margin-top: 40px;
  text-align: justify;
  text-justify: inter-word;
}

.texto-trabajar {
  color: #5e5e5e;
  text-align: justify;
  text-justify: inter-word;
}

/* Columna derecha */
.columna-derecha {
  width: 60%;
  height: 100vh;
  padding: 2rem;
  overflow-y: auto;
  box-sizing: border-box;
  background: linear-gradient(135deg, #ffffff, #fbfbfb);
  margin-top: 40px;
}

/* Collage */
.collage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  justify-items: center;
}

.collage-grid img {
  width: 100%;
  max-width: 180px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(204, 153, 255, 0.2),
    0 0 12px rgba(180, 120, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  object-fit: cover;
}

.collage-grid img:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 8px 24px rgba(204, 153, 255, 0.3),
    0 0 40px rgba(180, 120, 255, 0.2);
}

/* Modal */
.modal-descripcion {
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(230, 180, 255, 0.5);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.modal-descripcion.show {
  visibility: visible;
  opacity: 1;
}

.modal-content {
  background: linear-gradient(135deg, #fce9ff, #d4bbff);
  padding: 30px 20px;
  border-radius: 20px;
  max-width: 400px;
  width: 90%;
  color: #5b2a7d;
  box-shadow: 0 8px 24px rgba(180, 120, 255, 0.3);
  position: relative;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.cerrar-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.5rem;
  color: #8a4bbf;
  cursor: pointer;
  transition: 0.3s ease;
}

.cerrar-modal:hover {
  color: #b373e1;
}

/* Tarjetas*/
.custom-futuristic-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 15px rgba(180, 120, 255, 0.6),
    0 0 30px rgba(140, 90, 255, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.2);
  color: #5b2a7d;
  padding: 20px;
  max-width: 350px;
  margin-left: 20px;
  margin-top: 20px;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  cursor: pointer;
}

.custom-futuristic-card:hover {
  box-shadow: 0 0 25px rgba(180, 120, 255, 0.9),
    0 0 45px rgba(160, 90, 255, 0.8), inset 0 0 30px rgba(255, 255, 255, 0.3);
  transform: translateY(-10px);
}

.custom-futuristic-card .card-header,
.custom-futuristic-card .card-title,
.custom-futuristic-card .card-text {
  color: #5b2a7d;
  font-weight: 600;
}

.card-header {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.card-text {
  font-size: 1rem;
  line-height: 1.6;
}

/* Habilidades*/
.habilidades-tarot {
  padding: 3rem 1rem;
  font-family: "Inter", sans-serif;
}

.habilidades-tarot h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #4a1f4a;
}

.cartas-habilidades {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.carta {
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.071),
    rgba(81, 0, 255, 0.054)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 280px;
  text-align: center;
  transition: transform 0.3s ease;
}

.carta:hover {
  transform: translateY(-8px);
}

.carta h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #2e1a2e;
}

.carta p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #2e1a2e;
}

/* Herramientas tech */
.herramientas {
  margin-top: 30px;
  padding: 1rem;
  text-align: center;
  font-family: "Inter", sans-serif;
}

.herramientas h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #5e5e5e;
  text-align: left;
}

.tarjetas-herramientas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  justify-items: center;
  align-items: center;
}

.tarjeta {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.tarjeta:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(180, 120, 255, 0.4);
}

.tarjeta img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

/* Educación  */
.timeline {
  max-width: 720px;
  padding: 2rem 1rem;
}

.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-left: 90px;
  margin-top: 80px;
}

.timeline-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.15),
    rgba(82, 0, 255, 0.15)
  );
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  transition: transform 0.3s ease;
  flex-direction: column;
  text-align: center;
}

.timeline-card:hover {
  transform: translateY(-8px);
}

.timeline-year {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: #fff;
  min-width: 100px;
  text-align: center;
  background: linear-gradient(135deg, #b911fc2b);
  border-radius: 12px;
  padding: 0.5rem 1rem;
}

.timeline-info h3 {
  font-size: 1.3rem;
  color: #b151ed;
  margin: 0 0 0.3rem 0;
  text-align: center;
  align-content: center;
}

.timeline-info p {
  font-size: 1rem;
  color: #030303;
  line-height: 1.3;
  margin: 0;
}

/* Experiencia laboral */
.experience {
  max-width: 720px;
  margin: 3rem auto;
  padding: 0 1rem;
  font-family: "Poppins", sans-serif;
}

.experience h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, #9f00ff, #5200ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro {
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: center;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.experience-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .acerca-de-mi {
    height: auto;
    overflow: visible;
  }

  .contenedor-columnas {
    flex-direction: column;
    height: auto;
  }

  .columna-izquierda {
    position: relative !important;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 30px;
    box-sizing: border-box;
    max-width: 1200px;
  }

  .columna-derecha {
    width: 100%;
    height: auto;
    padding: 1rem;
    margin-top: 0px;
  }

  .contenedor-columnas {
    flex-direction: column;
    height: auto;
  }

  .columna-izquierda {
    position: relative !important;
    top: auto;
    margin: 70px 0 20px 0;
    width: 100%;
    height: auto;
    padding: 2rem;
    border-radius: 30px;
    box-sizing: border-box;
  }

  .columna-izquierda {
    min-height: 700px;
  }

  .columna-derecha {
    width: 100%;
    height: auto;
    padding: 1rem;
  }

  .tarjetas-herramientas {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .timeline-card {
    flex-direction: column;
    text-align: center;
  }

  .experience-item {
    flex-direction: column;
  }

  .texto-inicial {
    margin-top: 10px;
    margin-left: 15px;
  }

  .timeline-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-left: 0px;
    margin-top: 80px;
  }
}
