/* ==========================================================
   CARMEN ADSUARA WEB
   Estilos de la portada
   ========================================================= */

:root {
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;

  --rgb-color-neutral-10: 244, 245, 247;
  --rgb-color-neutral-20: 226, 228, 231;
  --rgb-color-neutral-30: 207, 211, 216;
  --rgb-color-neutral-40: 189, 193, 200;
  --rgb-color-neutral-50: 171, 176, 184;
  --rgb-color-neutral-60: 153, 159, 168;
  --rgb-color-neutral-70: 120, 125, 133;
  --rgb-color-neutral-80: 87, 91, 98;
  --rgb-color-neutral-90: 54, 57, 62;
  --rgb-color-neutral-100: 22, 24, 26;

  --rgb-color-primary-10: 238, 241, 247;
  --rgb-color-primary-20: 207, 217, 233;
  --rgb-color-primary-30: 178, 193, 217;
  --rgb-color-primary-40: 150, 170, 200;
  --rgb-color-primary-50: 124, 146, 181;
  --rgb-color-primary-60: 98, 123, 162;
  --rgb-color-primary-70: 74, 96, 131;
  --rgb-color-primary-80: 52, 70, 98;
  --rgb-color-primary-90: 31, 44, 63;
  --rgb-color-primary-100: 12, 18, 27;

  --color-neutral-10: #F4F5F7;
  --color-neutral-20: #E2E4E7;
  --color-neutral-30: #CFD3D8;
  --color-neutral-40: #BDC1C8;
  --color-neutral-50: #ABB0B8;
  --color-neutral-60: #999fa8;
  --color-neutral-70: #787D85;
  --color-neutral-80: #575B62;
  --color-neutral-90: #36393E;
  --color-neutral-100: #16181A;

  --color-primary-10: #EEF1F7;
  --color-primary-20: #CFD9E9;
  --color-primary-30: #B2C1D9;
  --color-primary-40: #96AAC8;
  --color-primary-50: #7C92B5;
  --color-primary-60: #627ba2;
  --color-primary-70: #4A6083;
  --color-primary-80: #344662;
  --color-primary-90: #1F2C3F;
  --color-primary-100: #0C121B;

  --page-background: var(--color-primary-10);

  --text-strong: var(--color-neutral-100);
  --text-medium: var(--color-neutral-80);
  --text-accent: var(--color-primary-60);

  --page-padding: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

body {
  margin: 0;
  background: var(--page-background);
  color: var(--text-strong);
  font-family: var(--sans);
}


/* MARK: Section */
.section {
  --width: 1050px;
  --padding-block: 6rem;
  padding-inline: var(--page-padding);
}

.section.section--narrow {
  --width: 600px;
}

.section.section--wide {
  --width: 1450px;
}

.section > div {
  max-width: var(--width);
  margin: 0 auto;
  padding-block: var(--padding-block);
}

.section[data-breaks="top"] > div {
  padding-block-start: calc(var(--padding-block) * 2);
}

.section[data-breaks="bottom"] > div {
  padding-block-end: calc(var(--padding-block) * 2);
}

.section[data-breaks="both"] > div {
  padding-block: calc(var(--padding-block) * 2);
}

.section-label {
  font-family: var(--sans);
  font-size: 1.33rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-accent);
  text-align: center;
  padding: 1rem 0 2rem;
}


/* MARK: Menu */
header {
  display: grid;
  justify-content: center;
  position: sticky;
  top: 0;
  /* border-top: 3px solid var(--page-background); */
  z-index: 299;
  padding: 1rem 0;
}

.nav {
  position: relative;
  border-radius: 16px;
  overflow: hidden;

  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);

  --nav-color: var(--rgb-color-primary-10);
  --nav-border-color: var(--rgb-color-primary-20);
  --text: var(--color-primary-90);

  background: rgba(var(--nav-color), 0.6);
  border: 1px solid rgba(var(--nav-border-color), 0.5);
  box-shadow: 0px 8px 24px 0 rgba(var(--nav-color), 0.35),
    inset 0px 0px 4px 2px rgba(var(--nav-color), 0.3);

  display: flex;
  gap: 2rem;
  padding: 0.33rem 1.66rem;

  color: var(--text);

  transition:
    background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
}

.nav:hover {
  --nav-color: var(--rgb-color-primary-20);
}

/* Reflection highlights (two-layer overlay) */
.nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: inherit;
  /* angled edge reflection */
  background: linear-gradient(to left top, rgba(var(--nav-color), 0.1) 0%, rgba(var(--nav-color), 0) 50%);
  z-index: 1;
}

.nav::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: inherit;
  /* subtle top-to-bottom sheen */
  background: linear-gradient(to bottom, rgba(var(--nav-color), 0.06) 0%, rgba(var(--nav-color), 0) 100%);
  z-index: 1;
}

.nav .nav-item {
  text-transform: uppercase;
  font-size: 1rem;
  padding: 0.33rem 1.33rem;
}


/* MARK: Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
}

.hero .hero-image {
  width: 400px;
  aspect-ratio: 1 / 1.66;
  border-radius: 6px;
  box-shadow: 0px 20px 30px -10px rgba(var(--rgb-color-primary-100), 0.3);
  object-fit: cover;
  border: 3px solid var(--page-background);
}

.hero .hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.33rem;
}

.hero .hero-eyebrow {
  padding-inline-start: 0.6rem;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--text-accent);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.86;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.hero .hero-buttons {
  margin-top: 1.33rem;
  display: flex;
  flex-direction: column;
  gap: 0.66rem;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 0.66rem;
  padding: 1.33rem 1.66rem;

  border-radius: 6px;

  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.13em;

  box-shadow: 0px 10px 20px -10px rgba(var(--rgb-color-primary-100), 0.3);

  transition:
    background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
}

.cta-button[data-variant="primary"] {
  border: 3px solid var(--page-background);

  background: var(--color-primary-90);
  color: var(--color-neutral-10);
}

.cta-button[data-variant="primary"]:hover {
  background: var(--color-primary-80);
}

.cta-button[data-variant="outline"] {
  border: 3px solid var(--color-primary-80);

  background: var(--color-primary-10);
  color: var(--color-neutral-100);
}

.cta-button[data-variant="outline"]:hover {
  border-color: var(--color-primary-60);
}

@keyframes cta-button-pulse {
  0% {
    scale: 1;
  }
  33% {
    scale: 1.2;
  }
  100% {
    scale: 1;
  }
}

.cta-button .cta-button-icon {
  animation: cta-button-pulse infinite ease-in-out 1.66s;
  font-size: 0.9rem;
}

.hero .hero-meta {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.33rem;
  color: var(--text-medium);
}

.contact-card .contact-card-icon {
  --size: 1.33rem;
  width: var(--size);
  height: var(--size);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card p {
  margin: 0;
  font-size: 0.85rem;
}


/* MARK: Sobre mi */
.about-me .about-me-copy {
  font-size: 1.33rem;
  line-height: 1.6;
  text-align: center;
}

/* MARK: Fotos */
.gallery .gallery-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(4, 1fr);
}

.gallery .gallery-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  border: 3px solid var(--page-background);
  box-shadow: 0px 20px 30px -10px rgba(var(--rgb-color-primary-100), 0.3);
}

.gallery .gallery-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
  transform-origin: top;
}

.gallery .gallery-image:hover img {
  transform: scale(1.06);
}

.gallery .gallery-image[data-image="1"],
.gallery .gallery-image[data-image="4"] {
  aspect-ratio: 1 / 1.66;
  grid-row: auto / span 2;
  align-self: center;
}


/* MARK: Showreel */
.videobook {
  background: var(--color-primary-100);
}

.showreel-video {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  border: 2px solid rgba(var(--rgb-color-primary-60), 0.3);
  box-shadow: 0px 20px 60px -20px rgba(var(--rgb-color-primary-60), 0.5);
  transition: box-shadow ease-in-out 1.33s;
}

.showreel-video:hover {
  box-shadow: 0px 20px 60px -10px rgba(var(--rgb-color-primary-60), 0.5);
  transition: box-shadow ease-in-out 0.66s;
}

.showreel-video img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.showreel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 64px;
  height: 64px;

  border-radius: 50%;
  background: rgba(0, 0, 0, 0.85);

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-size: 18px;
  padding-left: 3px;

  cursor: pointer;

  transition: transform ease-in-out 0.15s;
}

.showreel-video:hover .showreel-play {
  transform: translate(-50%, -50%) scale(1.1);
}


/* =========================
   ESCENAS COMPLETAS
   ========================= */

.scenes-section {
  width: 100%;
  padding: 75px var(--side-padding) 100px;
}


/* TÍTULO */

.scenes-heading {
  margin-bottom: 35px;
}

.scenes-title-wrap h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 400;
}

/* CUADRÍCULA */

.scenes-grid {
  width: 100%;

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  column-gap: 24px;
  row-gap: 50px;
}


/* TARJETA */

.scene-card {
  width: 100%;
}


/* IMAGEN */

.scene-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  border-radius: 14px;
}




.scene-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


/* ZOOM AL PASAR EL RATÓN */

.scene-thumbnail:hover img {
  transform: scale(1.025);
}


/* BOTÓN PLAY */

.scene-play {
  position: absolute;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  width: 44px;
  height: 44px;

  border: none;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.9);
  color: white;

  font-size: 14px;

  cursor: pointer;
}


/* TEXTO */

.scene-copy {
  padding-top: 10px;
}


.scene-copy h3 {
  margin: 0;

  font-size: 18px;
  line-height: 1.1;
  font-weight: 400;
}


.scene-copy p {
  margin: 5px 0 0;

  font-size: 8px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}


/* =========================
   MÓVIL
   ========================= */

@media (max-width: 760px) {

  .scenes-section {
    padding: 60px 22px 80px;
  }

  .scenes-grid {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .scenes-title-wrap h2 {
    font-size: 34px;
  }

}


/* =========================
   DANZA
   ========================= */

.dance-section {
  width: 100%;
  padding: 80px var(--side-padding) 120px;
}

.dance-heading {
  margin-bottom: 20px;
}

.dance-layout {
  width: 100%;
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  column-gap: 44px;
  row-gap: 34px;

  align-items: start;
}


/* =========================
   VÍDEOS
   ========================= */

.dance-card {
  width: 100%;
}

.dance-thumbnail {
  width: 100%;
  aspect-ratio: 4 / 3;

  overflow: hidden;
  position: relative;

  border-radius: 14px;
}

.dance-thumbnail img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 500ms ease;
}


/* =========================
   POSICIONES
   ========================= */

/* Vídeo 1 · arriba izquierda */

.dance-video-1 {
  grid-column: 1;
  grid-row: 1;
}


/* Texto · centro */

.dance-copy {
  grid-column: 2;
  grid-row: 2;

  align-self: center;

  padding: 0 10px;
}

.dance-copy p {
  margin: 0;

  font-size: 13px;
  line-height: 1.65;
}


/* Vídeo 2 · derecha */

.dance-video-2 {
  grid-column: 3;
  grid-row: 2;
}


/* Vídeo 3 · abajo izquierda */

.dance-video-3 {
  grid-column: 1;
  grid-row: 3;
}


/* =========================
   BOTÓN PLAY
   ========================= */

.dance-play {
  position: absolute;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  width: 42px;
  height: 42px;

  border: none;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.85);
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  font-size: 15px;
}


/* =========================
   EFECTO HOVER
   ========================= */

.dance-thumbnail:hover img {
  transform: scale(1.025);
}


/* =========================
   MÓVIL
   ========================= */

@media (max-width: 760px) {

  .dance-section {
    padding: 70px 22px 85px;
  }

  .dance-layout {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .dance-video-1,
  .dance-video-2,
  .dance-video-3,
  .dance-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .dance-copy {
    padding: 0;
  }

}

/* =========================
   TÍTULOS · DANZA
   ========================= */

.dance-title {
  margin: 10px 0 0;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
}


/* FOOTER */

.site-footer {
  margin-top: 70px;
  padding-top: 17px;
  border-top: 1px solid #eeeeee;
}

.site-footer p {
  margin: 0;
  font-size: 8px;
  color: #777;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


/* RESPONSIVE */

@media (max-width: 700px) {

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-page {
    padding-top: 40px;
  }

}


/* =========================
   VIDEO OVERLAY
   ========================= */

.video-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.88);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px;

  z-index: 9999;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 250ms ease,
    visibility 250ms ease;
}

.video-overlay.active {
  opacity: 1;
  visibility: visible;
}


/* REPRODUCTOR */

.video-overlay-content {
  position: relative;

  width: min(100%, 1100px);

  aspect-ratio: 16 / 9;

  background: #000;
}

.video-overlay-content iframe {
  width: 100%;
  height: 100%;

  display: block;

  border: 0;
}


/* BOTÓN CERRAR */

.video-overlay-close {
  position: absolute;

  top: 25px;
  right: 30px;

  z-index: 2;

  width: 45px;
  height: 45px;

  border: none;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.8);
  color: white;

  font-size: 30px;
  line-height: 1;

  cursor: pointer;
}





