@charset "UTF-8";

/* =====================================================================
   HERO
   ===================================================================== */

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  z-index: 10;
  max-width: 700px;
}

.hero-buttons {
  margin-top: 28px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}


/* =====================================================================
   ABOUT — CENTRADO REAL
   ===================================================================== */

#about.section {
  min-height: 80vh;
  display: flex;
  justify-content: center;   /* centro horizontal */
  align-items: center;        /* centro vertical */
  padding: 0 5vw;             /* margen simétrico */
}

.about-flex {
  display: flex;
  align-items: center;
  justify-content: center;    /* clave */
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
}

/* CARRUSEL */
.about-carousel {
  flex: 1 1 350px;
  max-width: 480px;
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 0 0 100%;
}

/* TEXTO */
.about-text {
  flex: 1 1 350px;
  font-size: 1.2rem;
  line-height: 2;
  text-align: left;
}

.about-text p {
  margin-bottom: 10px;
}


/* =====================================================================
   EVENT CARDS FIX
   ===================================================================== */

.card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* =====================================================================
   MOBILE
   ===================================================================== */

@media (max-width: 700px) {

  #about.section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .about-flex {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .about-carousel {
    width: 100%;
    max-width: 90%;
    height: 240px;
  }

  .about-text {
    width: 90%;
    font-size: 1.1rem;
    text-align: center;
  }
}

.hero {
  position: relative;
  z-index: 1;
}

.navbar {
  z-index: 2000;
}
