@import url(general/generales.css);

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== HEADER ===== */
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: var(--bg-header);
	padding: 0 2em!important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.07);
	position: sticky; 
	top: 0; 
	z-index: 1000; 
	flex-shrink: 0; 
	height: 70px;
}

/* Elección landing */
header .eleccion_landing {
  height: 100%;
  display: flex;
  gap: 1em;
}

header .eleccion_landing button {
  border: none;
  background-color: transparent;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: var(--txt-primario);
  transition: all 0.3s ease;
}

header .eleccion_landing button:hover {
    background-color: rgba(0, 0, 0, 0.05);
	border-radius: 10px;
	border-bottom: 2px solid var(--bg-boton-verde);
}

header .eleccion_landing button.active {
  color: var(--bg-boton-verde);
	font-weight: 600;
	border-bottom: 2px solid var(--bg-boton-verde);
}




header .logo_secundario {
  width: 110px;
  height: auto;
  overflow: hidden;
}

header .logo_secundario img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

header .inicios_sesion .registrarse {
  background-color: transparent;
  border: solid 2px var(--bg-boton-verde);
  text-decoration: none;
  padding: 8px 30px;
  border-radius: 5px;
  color: var(--bg-boton-verde);
  transition: all 0.8s ease;
}

header .inicios_sesion .registrarse:hover {
  background-color: var(--bg-boton-verde);
  color: var(--txt-blanco);
}

/* ===== MAIN ===== */
main {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
  padding: 0!important;
}

/* Eslogan */
main .eslogan {
  height: calc(100vh - 60px);
  background-color: #f7fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

main .eslogan .eslogan_texto {
  display: flex;
  flex-direction: column;
}

main .eslogan .eslogan_texto span {
  font-weight: bolder;
  font-size: 30px;
  margin: 0.2em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

main .eslogan .eslogan_texto .cta-button {
  display: inline-block;
  background-color: var(--color-accion);
  color: var(--txt-blanco);
  padding: 10px 17px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: 0 4px 10px rgba(86, 174, 255, 0.3);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  animation: pulso 5s ease-in-out infinite;
}

main .eslogan .eslogan_texto .cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

main .eslogan .eslogan_texto .cta-button:hover {
  background-color: var(--btn-hover);
  box-shadow: 0 6px 16px rgba(86, 174, 255, 0.45);
  transform: translateY(-2px);
}

main .eslogan .eslogan_texto .cta-button:hover::before {
  left: 100%;
}

main .eslogan .eslogan_texto .cta-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(86, 174, 255, 0.3);
}

@keyframes pulso {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(86, 174, 255, 0.3);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(86, 174, 255, 0.45);
  }
}

main .eslogan .contenedor_logo {
  width: 210px;
  height: 210px;
  overflow: hidden;
}

main .eslogan .contenedor_logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main .eslogan .boton_explorar_coala {
  border: none;
  background-color: var(--bg-boton-verde);
  color: var(--txt-blanco);
  padding: 10px 12px;
  border-radius: 5px;
  margin: 1em;
}

main .informacion_de_coala .carta_informacion {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  background-color: #f7fafc;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: min(100%, 1100px); /* ✅ no se pasan del ancho del viewport */
  margin: 1em auto;
  transition: all 0.4s ease;
}

main .informacion_de_coala .carta_informacion:nth-child(even) {
  flex-direction: row-reverse;
}


main .informacion_de_coala .contenedor_imagen_informacion {
  width: 50%;
  height: 320px;
  overflow: hidden;
}

main .informacion_de_coala .contenedor_imagen_informacion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main .informacion_de_coala .informacion {
  width: 50%;
  padding: 2em;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1em;
}

main .informacion_de_coala .informacion h2 {
  font-size: 2rem;
  color: #1b557c;
}

main .informacion_de_coala .informacion p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.5;
}




@media (max-width: 900px) {
  main .informacion_de_coala .carta_informacion {
    flex-direction: column !important; /* ✅ fuerza imagen arriba */
    width: 90%;
    gap: 1em;
  }

  main .informacion_de_coala .contenedor_imagen_informacion {
    width: 100%;
    height: 240px;
  }

  main .informacion_de_coala .informacion {
    width: 100%;
    text-align: center;
    align-items: center;
  }

  main .informacion_de_coala .informacion h2 {
    font-size: 1.7rem;
  }

  main .informacion_de_coala .informacion p {
    font-size: 1rem;
  }
}



@media (max-width: 480px) {
  main .informacion_de_coala .contenedor_imagen_informacion {
    height: 180px;
  }

  main .informacion_de_coala .informacion {
    padding: 1em;
  }

  main .informacion_de_coala .informacion h2 {
    font-size: 1.5rem;
  }

  main .informacion_de_coala .informacion p {
    font-size: 0.95rem;
  }

  main .eslogan .eslogan_texto span {
    font-size: 19px;
    transition: all 0.3s ease;
  }

  main .eslogan .eslogan_texto .cta-button {
    padding: 7px 15px;
  }
 
}








footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5em;
  font-size: 16px;
}

#about,
#team {
  display: none;
  animation: fade 0.3s ease-in-out;
}

#about.visible,
#team.visible {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== TEAM ===== */
.contenido_team {
  /* background-color: rgb(62, 216, 144); */
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 2em;
}

 .presentacion_team {
  display: flex;
  flex-direction: column;
  gap: .7em;
} 

.presentacion_team .subtitulo_presentacion_team {
  color: var(--bg-celeste);
  font-weight: 900;
}

.presentacion_team .parrafo_presentacion_team {
  color: var(--txt-primario);
  font-size: 16px;
  font-weight: bold;
  padding: 0 2em;
}


/* ===== NUEVAS CARTAS DEL TEAM ===== */
.team_cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
  padding: 1em 0;
}

.team_card {
  position: relative;
  background: linear-gradient(135deg, #e0f7fa, #ffffff);
  border-radius: 15px;
  width: 220px;
  padding: 1.2em;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s ease;
}
.contenedor_koala_cernadas, .contenedor_koala_milena, .contenedor_koala_paez, .contenedor_koala_nahuel{
  position: absolute;
  width: 80px;
}
.contenedor_koala_cernadas{
  top: 0%;
  left: 11%;
  transform: rotate(-23deg);
}
.contenedor_koala_milena{
  top: 5%;
  left: 57%;
  transform: rotate(74deg);
}

.contenedor_koala_paez{
  top: -5%;
  left: 21%;
  transform: rotate(-3deg);
}

.contenedor_koala_nahuel{
      top: 0%;
    left: 52%;
    transform: rotate(61deg);
}
.koala_carta{
  width: 100%;
  height: 100%;
  object-fit: cover;
 
}

.team_img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1em;
  border: 3px solid var();
}

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

.team_card h3 {
  margin: 0.5em 0 0.3em 0;
  font-size: 18px;
  color: #007c91;
}

.team_card p {
  font-size: 14px;
  color: #555;
  text-align: center;
}

.cta_registrarse {
  margin: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  padding: 2em;
  border-radius: 15px;
}

.cta_registrarse h2 {
  color: var(--txt-primario);
  text-align: center;
  font-size: 24px;
  width: 500px;
}

.registrarse {
  background-color: transparent;
  border: solid 2px var(--bg-boton-verde);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 5px;
  color: var(--bg-boton-verde);
  transition: all 0.8s ease;
}

.registrarse:hover {
  background-color: var(--bg-boton-verde);
  color: var(--txt-blanco);
}


@media (max-width: 620px) {
  header .eleccion_landing button {
    height: 50px;
  }
  header {
    flex-wrap: wrap;
    height: auto;
    padding: 0.8em 1em !important;
  }

  header .logo_secundario {
    order: 1;
    flex: 1;
  }

  header .inicios_sesion {
    order: 2;
  }

  header .eleccion_landing {
    order: 3;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding-top: 0.4em;
  }

  header .eleccion_landing button {
    padding: 8px 10px;
    font-size: 14px;
  }

  header .logo_secundario img {
    width: 95px;
  }

  header .inicios_sesion .registrarse {
    padding: 8px 21px;
    font-size: 14px;
  }

  
  main .eslogan .contenedor_logo{
      width: 160px;
      height: 160px;
      overflow: hidden;
  }
}


@media (max-width: 569px) {
  .cta_registrarse {
    flex-direction: column;
    gap: 1em;
    padding: 1em;
  }

  .cta_registrarse h2 {
    width: 100%;
    font-size: 20px;
  }
}







.carta_informacion {
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
}

.carta_informacion.hidden {
  opacity: 0;
  transform: translateY(40px);
}

.carta_informacion.visible[data-side="right"] {
  opacity: 1;
  transform: translateX(0);
}

.carta_informacion.visible[data-side="left"] {
  opacity: 1;
  transform: translateX(0);
}
