/* Tipografía moderna */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f9f3eb;
  color: #111;
  line-height: 1.6;
}

:root {
  --altura_header: 70px;
  --color_primario:  #ff008c; /* o el color principal de tu marca */
  --color_primario_suave: #ff1495b1; /* tono más claro para hover o fondo */
  --color_blanco: #fff;
  --padding_left_right: 2rem;
}


.header {
    height: var(--altura_header);
    background-color: var(--color_primario);
}

.navbar {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 var(--padding_left_right);
}

.menu_hamburguesa {
    display: none;
}

.menu_hamburguesa:checked+.ul_links {
    height: calc(100vh - var(--altura_header));
}



.logo {
    width: auto;
    height: 35px;
}

.list_icon {
    color: var(--color_blanco);
    cursor: pointer;
}

.ul_links {
    width: 100%;
    background-color: var(--color_primario_suave);
    position: absolute;
    top: var(--altura_header);
    left: 0;
    height: 0;
    overflow: hidden;
    /* height: calc(100vh - var(--altura_header)); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;

    transition: all .3s;
    z-index: 9999;
}



.link {
    font-size: 2rem;
    color: var(--color_blanco);
    font-weight: bold;
}

@media (min-width:768px) {
    .label_hamburguesa {
        display: none;
    }

    .ul_links {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        gap: 2rem;
    }

    .link {
        font-size: 1.2rem;
        transition: all .3s;
        padding: .2rem .7rem;
    }

    .link:hover {
        background-color: #5f1192;
    }
}


/* 🔸 ESTRUCTURA DE SECCIONES */
.seccion {
  padding: 6rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.divider {
  width: 80%;
  margin: 4rem auto;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

/* 🔸 SLIDER */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slide {
  display: none;
  position: relative;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
}

.slide-content {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: white;
}

.slide-content h2 {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 700;
}

.btn {
  background-color: #ff1493;
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  margin-top: 0.8rem;
  display: inline-block;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #d90f7a;
}

/* 🔸 COMUNIDAD */
#comunidad {
  text-align: left;
}

#comunidad h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 2px solid #111;
  display: inline-block;
}

#comunidad p {
  max-width: 600px;
  margin-bottom: 2rem;
}

.comunidad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.comunidad-item {
  background-color: #ff1493;
  color: white;
  text-align: center;
  padding: 2.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s;
}

.comunidad-item:hover {
  transform: scale(1.03);
}

/* 🔸 QUIZ */
#quiz h2 {
  font-size: 2rem;
  font-weight: 700;
  border-bottom: 2px solid #111;
  display: inline-block;
  margin-bottom: 1rem;
}

.quiz-container {
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 2rem;
  max-width: 700px;
  
}

.quiz-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem; /* 🔹 agrega separación uniforme entre todos los hijos */
}

.quiz-container img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.quiz-container h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.quiz-container p {
  font-size: 1rem;
  color: #333;
}

.quiz-btn {
  background-color: #ff1493;
  color: white;
  border: none;
  padding: 0.3rem 1.2rem;
  margin-top: 1rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.quiz-btn:hover {
  background-color: #d63600;
}

/* 🔸 RESPONSIVE */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .slide-content h2 {
    font-size: 1.5rem;
  }

  .seccion {
    padding: 4rem 1.5rem;
  }

  .divider {
    margin: 3rem auto;
  }
}

/*///////////////////////directoras////////////////*/

/* 🔸 SECCIÓN DE BIOGRAFÍA */
.biography {
  background-color: white;
  padding: 3rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin-bottom: 4rem;
}

.biography h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #111;
  display: inline-block;
}

.biography p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #111;
  text-align: justify;
}

/* 🔸 SECCIÓN DE TÍTULOS DESTACADOS */
.highlighted-movies {
  background-color: white;
  padding: 3rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin-bottom: 4rem;
}

.highlighted-movies h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  border-bottom: 2px solid #111;
  display: inline-block;
}

.highlighted-movies ul {
  list-style: none;
  padding: 0;
}

.highlighted-movies li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.highlighted-movies li:last-child {
  border-bottom: none;
}

.stars {
  color: #ff1493; /* siguiendo tu rosa de marca */
  font-size: 1.2rem;
  font-weight: 700;
}

/* 🔸 SECCIÓN DE RESEÑAS */
.review-section {
  background-color: white;
  padding: 3rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin-bottom: 4rem;
}

.review-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  border-bottom: 2px solid #111;
  display: inline-block;
}

.review-section form {
  display: flex;
  flex-direction: column;
}

.review-section label {
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.review-section input,
.review-section select,
.review-section textarea {
  padding: 0.8rem 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}

.review-section button {
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background-color: #ff1493;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.review-section button:hover {
  background-color: #d90f7a;
}

/* 🔸 VIDEO */
.video-section {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

video {
  width: 100%;
  max-width: 800px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* 🔸 RESPONSIVE */
@media (max-width: 768px) {
  .biography,
  .highlighted-movies,
  .review-section {
    padding: 2rem;
  }

  .highlighted-movies li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}


/*///////////////////////quiz////////////////*/
/*///////////////////////quiz////////////////*/

/*///////////////////////quiz////////////////*/

/* El contenedor general del quiz */
#quiz {
  font-family: 'Montserrat', sans-serif;
  background-color: #f9f3eb;
  color: #111;
  padding: 6rem 2rem;       /* mismo padding que otras secciones */
  max-width: 1000px;
  margin: 0 auto;           /* centra la sección */
}

/* Contenedor interno del quiz */
.quiz-container {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem;
}

.quiz-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

#quiz h1, 
#quiz h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.question {
  margin-bottom: 1.5rem;
}

.question p {
  font-size: 1.2em;
  margin-bottom: 10px;
}

label {
  display: block;
  margin-bottom: 8px;
  padding: 8px 12px;
  border: 2px solid #111;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

input[type="radio"] {
  margin-right: 10px;
}

label:hover {
  background-color: #ff1493;
  color: #fff;
}

.submit-section {
  text-align: center;
  margin-top: 20px;
}

input[type="submit"] {
  padding: 12px 25px;
  font-size: 1em;
  border: none;
  border-radius: 8px;
  background-color: #ff1493;
  color: #fff;
  cursor: pointer;
}

.result {
  display: none;
  margin-top: 30px;
  text-align: center;
}

.result div {
  margin-top: 15px;
  display: none;
  font-size: 1.1em;
}

/* Mostrar resultado según selección */
.quiz-form:has(input[value="creatividad"]:checked) ~ .result .creatividad,
.quiz-form:has(input[value="personalidad"]:checked) ~ .result .personalidad,
.quiz-form:has(input[value="recursos"]:checked) ~ .result .recursos {
  display: block;
}

.quiz-form:has(input:checked) ~ .result {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  #quiz {
    padding: 4rem 1.5rem;
  }
  .quiz-container {
    padding: 1.8rem;
  }
}
