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

body {
  font-family: 'Playfair Display', serif;
  color: #f4f4f4;
  background: #0c0c0c url('../img/texturas/celestina-background.jpg') repeat fixed center;
  background-size: cover;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

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

/* -------------------------
   HERO
------------------------- */
.celestina-hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  margin-bottom: 20px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.3);
}

.celestina-hero .overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
}

.celestina-hero .hero-content {
  position: relative;
  z-index: 3;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(10%);
}

.hero-title-img {
  max-width: 600px;
  width: 80%;
  margin-bottom: 30px;
}

.hero-title-img img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-title-fallback {
  font-size: 3rem;
  font-weight: bold;
  color: #e0c178;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  margin-bottom: 30px;
  display: none;
}

.hero-title-img img:not([src]) + .hero-title-fallback,
.hero-title-img img[src=""] + .hero-title-fallback {
  display: block;
}

.hero-content p {
  font-size: 1.8rem;
  margin-top: 10px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.btn-primary {
  background: linear-gradient(45deg, #c7a938, #806510);
  color: #0c0c0c;
  padding: 16px 50px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.3rem;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  transition: 0.3s;
  margin-top: 40px;
}

.btn-primary:hover {
  transform: scale(1.05);
  background: #e0c76a;
}

/* -------------------------
   HEADINGS
------------------------- */
.section-glass h2,
.section-white h2,
.educativa-section h2 {
  color: #e0c178;
  font-size: 3.2rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
}

/* -------------------------
   SECTIONS
------------------------- */
.section-glass,
.section-white,
.educativa-section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto 80px auto;
  border-radius: 20px;
}

.section-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(224, 193, 120, 0.1);
  color: #f4f4f4;
  text-align: center;
}

.section-white {
  background: #1a1a1a;
  color: #eaeaea;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.section-glass p,
.section-white p {
  font-size: 1.5rem;
  max-width: 900px;
  margin: auto;
  line-height: 1.8;
  color: #ddd;
}

/* -------------------------
   FICHA TÉCNICA
------------------------- */
.celestina-ficha ul {
  text-align: left;
  max-width: 700px;
  margin: auto;
  font-size: 1.3rem;
  line-height: 1.8;
  padding-left: 0;
  list-style: none;
}
.celestina-ficha ul li {
  margin-bottom: 10px;
}
.celestina-ficha strong {
  color: #e0c178;
}
.celestina-recursos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 50px;
  padding: 20px 0;
}

.celestina-recursos a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  padding: 30px 20px;
  border-radius: 15px;
  text-decoration: none;
  color: #eaeaea;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.celestina-recursos a:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 25px rgba(224, 193, 120, 0.3);
}

.celestina-recursos h3 {
  font-size: 1.3rem;
  margin: 0;
}

/* -------------------------
   ELENCO
------------------------- */
.celestina-elenco {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.elenco-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  width: 200px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.elenco-card:hover {
  transform: translateY(-10px);
}

.actor-img {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

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

.elenco-card h3 {
  color: #f0d264;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.elenco-card .personaje {
  font-size: 1rem;
  color: #ccc;
}

/* -------------------------
   RESERVA FINAL
------------------------- */
.celestina-reserva {
  background: linear-gradient(135deg, #4a3720, #1e1a16);
  color: #fff;
  padding: 100px 30px;
  text-align: center;
}

.reserva-contenido {
  max-width: 900px;
  margin: 0 auto;
}

.celestina-reserva h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.celestina-reserva p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  line-height: 1.8;
}

.reserva-beneficios ul {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.reserva-beneficios li {
  font-size: 1.2rem;
  margin: 10px 0;
  padding-left: 30px;
  position: relative;
}

.reserva-beneficios li::before {

  position: absolute;
  left: 0;
  color: #e0c178;
}

.btn-reserva {
  background: #e0c178;
  color: #000;
  padding: 18px 50px;
  font-size: 1.3rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.btn-reserva:hover {
  transform: scale(1.05);
  background: #f0d88b;
}

/* -------------------------
   PROPUESTA EDUCATIVA
------------------------- */
.educativa-section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(224, 193, 120, 0.1);
  color: #f4f4f4;
  text-align: left;
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto 80px auto;
  border-radius: 20px;
}

.educativa-section h2 {
  color: #e0c178;
  font-size: 3.2rem;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
}

.educativa-section ul {
  padding-left: 20px;
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.educativa-section ul li {
  margin-bottom: 12px;
}

.educativa-section strong {
  color: #f0d264;
  display: block;
  font-size: 1.4rem;
  margin-top: 20px;
}

/* -------------------------
   RESPONSIVE
------------------------- */
@media (max-width: 768px) {
  .hero-content p {
    font-size: 1.2rem;
  }

  .btn-primary,
  .btn-reserva {
    font-size: 1rem;
    padding: 12px 30px;
  }

  .section-glass,
  .section-white,
  .educativa-section {
    padding: 50px 20px;
  }

  .celestina-sinopsis,
  .celestina-recursos,
  .celestina-elenco {
    flex-direction: column;
    align-items: center;
  }
}
