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


body{
  background-color: rgb(255, 255, 255);
  min-height: 100vh;
  margin: 0 auto;
  font-family: Helvetica;
  font-size: 1.2rem;
  display: grid;
  grid-template: 
    "header" 
    "hero" 32rem
    "nosotros" 
    "destacado" 
    "carrusel"
    "colecciones"
    "notas" 
    "podcast"
    "footer"  
}

  header{
    grid-area: header;
  }
  .hero{
    grid-area: hero;
    background-image: url('../images/hero_chapa.png');
    background-size: cover;      /* Ajusta la imagen para cubrir todo el fondo */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    background-position: center;  
  }

  .nosotros{
  grid-area: nosotros;
     background-color: #000000;
     text-align: center;
     color: rgb(255, 255, 255);
     font-size: 1.5rem;
     position: relative;
     padding-bottom: 2rem;
     padding: 2rem 0;
     position: relative; /* 🔹 Necesario para que las aves se ubiquen dentro */
  z-index: 1
}
  .destacado{
    grid-area: destacado;
     background-color: #EFEFED;
     color: #000000;
     padding: 0 2.5rem;
     display: flex;
     flex-direction: row;
     gap: 3rem;
  }
  .carrusel{
    grid-area: carrusel;
     background-color: rgb(0, 0, 0);
    overflow: hidden;
    background-color: #000000;
    position: relative;
    padding:3rem 0;
  }
  .colecciones{
    grid-area: colecciones;
     background-color:#F08200;
  }
  .notas{
    grid-area: notas;
     background-color: #EFEFED;
     color: black;
  }
  .podcast{
    grid-area: podcast;
     background-color: #FED02F;
  }
  footer{
    grid-area: footer;
  }

/* -----Texto de admin------- */
.admin{
    background-color: #000000;
    color: #F07D00;
    margin: auto;
  }


/* --------Hero------- */


.nosotros button{
  font-size: 2rem;
      padding: .6rem 3rem;
      background-color: #FED02F;
      color: #B0140F;
      border:none;
      cursor: pointer;
      border-radius: 1.5rem;
      margin-top: 2rem;
}

  /* -----Aves en "Nosotros"------ */
.ave {
  position: absolute;
  width: 40px; /* tamaño de las aves, puedes ajustar */
  opacity: 0.8;
   z-index: 0; 
    filter: brightness(0) saturate(100%) invert(84%) sepia(85%) saturate(400%) hue-rotate(360deg);
}

.ave1 { top: 60px; left: 10%; transform: rotate(-10deg); }
.ave2 { top: 80px; left: 15%; transform: rotate(5deg); }
.ave3 { bottom: 45px; left: 18%; transform: rotate(-15deg); }
.ave4 { top: 40px; left: 15%; transform: rotate(-10deg); }
.ave5 { bottom: 25px; left: 24%; transform: rotate(5deg); }
.ave6 { bottom: 30px; right: 20%; transform: rotate(-15deg); }
.ave7 { top: 30px; right: 10%; transform: rotate(-15deg); }
.ave8 { top: 60px; right: 20%; transform: rotate(-15deg); }

#texto{
  margin-bottom: 1rem;
}

/*---------Destacado------ */
.eventos, .diplomados{
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  flex-wrap: wrap;
  width: 40%;
  text-align: center;
  padding: 2rem;
}

.card-diplomado, .card-evento{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-evento iframe, .card-diplomado img{
  width: 350px;
  height: 350px;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.card-evento h2, .card-diplomado h2{
    display: inline-block;
    justify-content: center;
    padding: .6rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.card-evento h2{
  background-color: #B0140F;
  color: #FED02F
}

.card-diplomado h2{
  background-color: #FED02F;
  color: #B0140F;
}

/* -------Carrusel------ */
.carrusel {
  position: relative;
  width: 100%;
  overflow: hidden;
  text-align: center;
}

.carrusel img {
  width: 62rem;
  height: 41rem;
  object-fit: cover; /* recorta para llenar el espacio */
  display: none;
  margin: 0 auto;
  border-radius: 1.5rem;
  transition: opacity 0.5s ease-in-out;
}

.carrusel img.active {
  display: block;
}

/* Botones y demás igual */
.carrusel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #000000;
  border: none;
  color: white;
  height: 3rem;
  width: 3rem;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  transition: background 0.3s;
}

.carrusel button:hover {
  background: #ff8c00;
}

.carrusel .prev {
  left: 4rem;
}

.carrusel .next {
  right: 4rem;
}

.carrusel .indicators {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  padding-bottom: 1rem;
}

.carrusel .indicator {
  width: .8rem;
  height: .8rem;
  background: #f5f5f5;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  
}

.carrusel .indicator.active {
  width: 1rem;
  height: 1rem;
  background: #ff8c00;
  
}


/* Colecciones */

.colecciones{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
 
}

.titulo-colecciones h2{
    display: inline-block;
    justify-content: center;
    padding: .6rem;
    border-radius: 1rem;
    background-color: #2A347F;
    color: #CDBD59;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.card-colecciones{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.card-colecciones div{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
}

.card-colecciones img{
  width: 17rem;
  height: 17rem;
  border-radius: 1rem;
  object-fit: cover;
}

.coleButton{
  margin-top: 1rem;
}

/* podcast */

.podcast{
  display: flex;
  flex-direction: row;
}

.podcast div{
  flex: 1 1 12.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.podcast div p{
  font-size: 1.5rem;
  font-weight: bold;
}

.podcast div button{
  background-color: #2b74da;
  color: #D1C159;
  font-size: 1.5rem;
   border: none;
      cursor: pointer;
      border-radius: 1.5rem;
      padding: 1rem;
      font-weight: bold;
      margin-top: 2rem;
}



.micro{
  height: 18rem;
  width: auto;
  transform: rotate(45deg);
}

.cass{
  height: 16.5rem;
  width: auto;
  transform: rotate(-20deg);
}

.notas{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.fb-page-wrapper {
  margin: 1rem;     
  border: 3px black solid;
}
.rs{
  display: flex;
  flex-direction: row;
  gap: 3rem;
  margin: 2rem;
}

.rs img{
  width: 100px;
  height: auto;
}



/* --------- RESPONSIVE --------- */

/* Tablets (pantallas medianas) */
@media (max-width: 992px) {
  body {
    grid-template: 
      "header"
      "hero" 360px
      "nosotros"
      "destacado"
      "carrusel"
      "colecciones"
      "notas" auto
      "podcast"
      "footer";
    font-size: 20px;
  }

  .destacado {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .eventos, .diplomados {
    width: 80%;
  }

  .card-evento iframe, .card-diplomado img{
  width: 400px;
  height: 350px;
  border-radius: 1rem;
}

  .carrusel img {
    width: 90%;
    height: auto;
  }
  .carrusel{
    padding-bottom: 4rem;
  }

  /* Botones ya no flotan */
  .carrusel button {
    position: static;
    transform: none;
    width: 2rem;
    height: 2rem;;
    margin: 5px;
 
  }

  .carrusel .indicators {
    width: 100%;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-top: 1rem;
  margin-bottom: 2rem;
  }

  .card-colecciones {
    flex-wrap: wrap;
    gap: 20px;
  }

  .card-colecciones img {
    width: 220px;
    height: 220px;
  }

  .podcast {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .micro, .cass {
    height: 200px;
  }
}

/* Móviles (pantallas pequeñas) */
@media (max-width: 600px) {
  body {
    grid-template: 
      "header"
      "hero" 120px
      "nosotros"
      "destacado"
      "carrusel"
      "colecciones"
      "notas"
      "podcast"
      "footer";
    font-size: 16px;
  }

  .nosotros {
     font-size: 20px;
    padding: 20px;
  }

  .nosotros button {
    font-size: 18px;
    padding: 8px 25px;
  }

  .destacado{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }

  .eventos, .diplomados {
    width: 100%;
    padding: 15px;
  }

  .card-evento iframe, .card-diplomado img{
  width: 300px;
  height: 250px;
  border-radius: 1rem;
}

  .colecciones{
    display: flex;
    flex-wrap: wrap;
  }

  .card-evento img, .card-diplomado img {
    width: 80%;
  }

  .carrusel img {
    width: auto;
    height: 250px;
    border-radius: 10px;
  }

  .carrusel{
    padding-bottom: 4rem;
  }

  /* Botones ya no flotan */
  .carrusel button {
    position: static;
    transform: none;
    width: 2rem;
    height: 2rem;;
    margin: 5px;
 
  }

  .carrusel .indicators {
    width: 100%;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-top: 1rem;
  margin-bottom: 2rem;
  }

  .card-colecciones img {
    width: 150px;
    height: 150px;
  }

  .podcast{
    display: flex;
    flex-basis: 200px;
  }

  .podcast div{
    display: flex;
    flex-basis: 100px;
  }
  .podcast div p {
    font-size: 18px;
  }

  .podcast div button {
    font-size: 18px;
    padding: 8px 15px;
  }

  .micro, .cass {
    height: 120px;
  }
}


.proceso{
  font-size: 4rem;
  
}