/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ===== FONDO DEL HERO ===== */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/img/Copia\ de\ Pre\ Boda\ M&P-131.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 250, 231, 0.7) 0%,
    rgba(255, 250, 231, 0.5) 50%,
    rgba(255, 250, 231, 0.7) 100%
  );
}

/* ===== CONTENIDO DEL HERO ===== */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: var(--space-md);
}

/* ===== ENCABEZADO CON NOMBRES ===== */
.hero-header {
  margin-bottom: var(--space-xl);
}

.couple-title {
  display: flex;
  flex-direction: column; /* apila verticalmente */
  align-items: center; /* centra horizontalmente los nombres */
  gap: 1.2rem; /* espacio vertical entre elementos */
  font-family: "Amsterdam One", sans-serif;
  font-size: 4rem;
  margin-bottom: 4rem;
}

.couple-title .ampersand-hero {
  align-self: flex-start; /* alinea a la izquierda dentro de la columna */
  margin-left: 200px; /* ajusta según tu preferencia */
  font-size: 2rem;
  color: var(--color-verde-oliva-oscuro);
}

.couple-title .bride,
.couple-title .groom {
  color: var(--color-verde-oliva-oscuro);
  display: block;
}

.wedding-subtitle {
  font-family: "Nefelibata Script", sans-serif;
  font-size: 2rem;
  color: var(--color-verde-oliva-oscuro);
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.hero-section .wedding-date-hero {
  font-family: "Nefelibata Script", sans-serif;
  font-size: 1.5rem;
  color: var(--color-verde-oliva-oscuro);
  font-weight: 400;
  letter-spacing: 2px;
}

/* ===== COUNTDOWN ===== */
.countdown-container {
  background: rgba(255, 255, 255, 0.9);
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.countdown-title {
  font-family: "Nefelibata Script", sans-serif;
  font-size: 2rem;
  color: var(--color-verde-oliva-oscuro);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  max-width: 500px;
  margin: 0 auto;
}

.time-unit {
  text-align: center;
  padding: var(--space-sm);
  background: linear-gradient(135deg, var(--color-cream), var(--color-white));
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.time-number {
  display: block;
  font-family: "Nefelibata Script", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-verde-oliva);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.time-label {
  font-family: "Nefelibata Script", sans-serif;
  font-size: 1rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-section {
    height: 90vh;
    padding: var(--space-md) 0;
  }

  .couple-title {
    display: flex;
    flex-direction: column; /* apila verticalmente */
    align-items: center; /* centra horizontalmente los nombres */
    gap: 1.2rem; /* mismo que en desktop */
    font-size: 3rem; /* ajustar tamaño para mobile */
    margin-bottom: 3rem;
  }

  .couple-title .ampersand-hero {
    align-self: flex-start; /* alinea a la izquierda dentro de la columna */
    margin-left: 60px; /* ajustar según se vea bien en mobile */
    font-size: 1.5rem; /* reducir tamaño */
  }

  .couple-title .bride,
  .couple-title .groom {
    display: block; /* mantener cada nombre en su línea */
  }

  .wedding-subtitle {
    font-size: 1.3rem;
  }

  .hero-section .wedding-date-hero {
    font-size: 1.1rem;
  }

  .countdown-container {
    padding: var(--space-md);
  }

  .countdown-title {
    font-size: 1.5rem;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .time-number {
    font-size: 2rem;
  }

  .time-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: var(--space-sm);
  }

  .couple-title {
    display: flex;
    flex-direction: column; /* nombres apilados verticalmente */
    align-items: center; /* centra horizontalmente los nombres */
    gap: 1rem; /* espacio vertical entre elementos */
    font-size: 2.5rem; /* reduce tamaño para mobile pequeño */
    margin-bottom: 2rem;
  }

  .couple-title .ampersand-hero {
    align-self: flex-start; /* mantiene & a la izquierda */
    margin-left: 30px; /* ajusta para que quede alineado con la primera letra */
    font-size: 1.2rem; /* reducir tamaño para mobile */
  }

  .couple-title .bride,
  .couple-title .groom {
    display: block; /* cada nombre en su línea */
  }

  .wedding-subtitle {
    font-size: 1.2rem;
  }

  .hero-section .wedding-date-hero {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .countdown-container {
    padding: var(--space-sm);
  }

  .countdown-title {
    font-size: 1.3rem;
  }

  .countdown {
    gap: 0.5rem;
  }

  .time-unit {
    padding: 0.5rem;
  }

  .time-number {
    font-size: 1.8rem;
  }

  .time-label {
    font-size: 0.7rem;
  }
}

/* ===== CONTENIDO PRINCIPAL POST SPLASH ===== */
.main-content {
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.footer {
  opacity: 0;
  transition: opacity 0.8s ease 0.2s;
}

/* ===== CUANDO SE INGRESA AL SITIO ===== */
body.site-entered .main-content {
  opacity: 1;
  pointer-events: auto;
}

body.site-entered .footer {
  opacity: 1;
}
