/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #eee;
  font-family: 'Helvetica Neue', sans-serif;
  margin: 0;
  scroll-behavior: smooth;
}

/* INICIO MAPA */

.inicio {
  background: linear-gradient(135deg, #ff3D00, #ff6a00); /* fondo estilo tu menú/footer */
  color: white;
  padding: 100px 20px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  position: relative;
}

.inicio-contenido h2 {
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  opacity: 0.9;
}

.inicio-contenido h1 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.inicio-contenido p {
  font-size: 1rem;
  color: #fff;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .inicio-contenido h1 {
    font-size: 2.2rem;
  }
  .inicio-contenido p {
    font-size: 0.95rem;
  }
}

/* BANNER */

.banner-scroll {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.banner-contenido {
  display: flex;
  width: max-content;
  height: 100%;
  animation: scroll-horizontal 40s linear infinite;
  animation-delay: 3s; /* pausa inicial */
}

.banner-contenido img {
  height: 100vh;
  width: auto;
  object-fit: cover;
}

/* Scroll continuo sin saltos */
@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* CONTENEDOR PRINCIPAL */
.contenedor {
  display: flex;
  flex-direction: column;
  width: 100vw;
}

.imagen-fadu {
  position: absolute;
  bottom: 0;
  left: 0;
  height: auto;
  width: 30%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.imagen-portada {
  opacity: 0;
  transform: scale(0.8) translateY(30px);
  animation: animarPortada 1.5s ease-out forwards;
}

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

/* ZONA OSCURA */
.zona-oscura {
  display: flex;
  justify-content: space-between; 
  align-items: flex-start; 
  gap: 20px; 
}

.foto-principal {
  flex: 1; /* La foto tomará el otro 50% */
  max-width: 300px; /* O ajusta el tamaño según lo necesites */
}


.columna {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.texto-izquierda {
  font-size: 0.9rem;
  font-weight: normal;
  line-height: 1.5;
}

.firma {
  font-family: 'Brush Script MT', cursive;
  color: #e5391d;
  margin-top: 10px;
}

.centro {
  align-items: center;
  justify-content: center;
  text-align: right;
}

.centro h2 {
  font-size: 3.5rem;
  font-weight: bold;
  text-align: left;
  writing-mode: sideways-lr;
}

.imagen-contenedores img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-superior {
  background-color: #ff3d00;
  padding: 10px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.menu-superior ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-superior li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.menu-superior li a:hover {
  color: #000;
  background: #fff;
  padding: 4px 10px;
  border-radius: 4px;
}

/* ------------------------------------ zona integrantes ----------------------------------------------------*/

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.zona-oscura {
  background-color: #111;
  color: white;
  padding: 60px 40px;
  min-height: 100vh;
}

.contenedor-integrantes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.columna-izquierda {
  text-align: center;
}

.etiqueta {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: bold;
  font-size: 1.8rem;
  color: #ff3d00;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  opacity: 0;
  animation: aparecerEtiqueta 1s ease-out forwards;
}

@keyframes aparecerEtiqueta {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.miniaturas img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0%;
  margin: 10px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.miniaturas img:hover,
.miniaturas img.activa {
  opacity: 1;
}

.foto-principal img {
  width: 210px;
  height: 400px;
  object-fit: cover;
  border-radius: 0px;
}

.detalle-integrantes {
  max-width: 400px;
}

.detalle-integrantes h4 {
  margin: 0;
  font-size: 1.2rem;
}

.detalle-integrantes p {
  margin: 5px 0;
  color: #aaa;
}

.detalle-integrantes blockquote {
  margin-top: 20px;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: #ddd;
}

/* ------------------------------------ zona boton perfil ----------------------------------------------------*/

.boton-perfil {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #ff2400; /* rojo fuerte */
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.boton-perfil:hover {
  background-color: #e01e00;
}

/* ===================== MEDIA RESPONSIVE ===================== */

@media screen and (max-width: 1024px) {
  .zona-roja {
    padding: 20px;
  }

  .titulo {
    font-size: 25vw;
    text-align: center;
  }

  .catedra {
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
    text-align: center;
  }

  .imagen-fadu {
    height: auto;
    width: 100%;
    object-fit: contain;
  }

  .contenedor-integrantes {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .etiqueta {
    transform: none;
    writing-mode: horizontal-tb;
    margin-bottom: 10px;
  }

  .foto-principal img {
    width: 60vw;
    height: auto;
  }

  .detalle-integrantes {
    text-align: center;
  }
}

  .zona-roja {
    height: auto;
  }

  .titulo {
    font-size: 30vw;
  }

  .catedra {
    font-size: 1.5rem;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
  }

  .miniaturas img {
    width: 60px;
    height: 60px;
  }

  .detalle-integrantes h2 {
    font-size: 1.2rem;
  }

  .detalle-integrantes blockquote {
    font-size: 0.9rem;
  }

  .boton-perfil {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

/* FOOTER */
.footer {
  background-color: #1a1a1a;
  color: #aaa;
  padding: 3rem 2rem;
  font-size: 0.9rem;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-info {
  border-top: 1px solid #333;
  padding-top: 1rem;
  font-size: 0.8rem;
  color: #777;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 200px;
}

.footer-logo img {
  max-width: 120px;
  height: auto;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
  opacity: 1;
}

.user-persona {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 2rem;
  background-color: #111;
}

.user-persona img {
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.user-persona img:hover {
  transform: scale(1.05);
}

.brief-scroll-horizontal {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  padding: 2rem;
  background-color: #111;
  scroll-snap-type: x mandatory;
}

.brief-scroll-horizontal img {
  height: 600px;
  border-radius: 12px;
  scroll-snap-align: center;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.brief-scroll-horizontal img:hover {
  transform: scale(1.03);
}

#grupo {
  scroll-margin-top: 10px;
}

html {
  scroll-behavior: smooth;
}



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