/* ============================================================
   HERO.CSS — Sección 1: Portón + Video + Scroll Effects
   ============================================================ */

/* ── Intro Video Overlay ── */
#gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow: hidden;
  cursor: pointer;
  background-color: #000;
}

#intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 1s ease;
}

/* ── Click hint ── */
.gate-hint {
  position: absolute;
  top: 35%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: max-content;
  text-align: center;
  color: #ffffff;
  animation: float 2s ease-in-out infinite;
  z-index: 10;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.55);
  padding: 24px 40px;
  border-radius: var(--radius-md, 16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.gate-hint span {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-style: italic;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.gate-hint-arrow {
  display: block;
  font-size: 2rem;
  margin-top: 12px;
  animation: bounce 1.2s ease-in-out infinite;
}

/* ── Hero Video Section ── */
#hero-video-section {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a120a;
}

#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 2s ease-out forwards;
}

/* Fallback gradient when no video */
.hero-video-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      #1a0a05 0%,
      #2c1a0a 20%,
      #3d2818 40%,
      #1e1008 70%,
      #0d0805 100%);
}

/* Overlay gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 5, 2, 0.3) 0%,
      rgba(10, 5, 2, 0.1) 30%,
      rgba(10, 5, 2, 0.2) 60%,
      rgba(10, 5, 2, 0.6) 100%);
  z-index: 1;
}

/* Decorative vignette */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
      transparent 40%,
      rgba(10, 5, 2, 0.5) 100%);
  z-index: 2;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 0 24px;
  animation: fadeIn 1.5s ease 0.5s both;
}

.hero-welcome {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.65rem, 1.5vw, 0.8rem);
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 20px;
  animation: fadeInDown 1s ease 0.8s both;
}

.hero-names {
  font-family: var(--font-script);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 400;
  line-height: 1;
  color: var(--color-deep);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(217, 239, 159, 0.6);
  margin-bottom: 8px;
  animation: scaleIn 1.2s ease 1s both;
}

.hero-ampersand {
  color: var(--color-gold-light);
  font-size: 0.85em;
}

.hero-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px auto;
  width: 200px;
}

.hero-separator-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 220, 150, 0.6), transparent);
}

.hero-separator-diamond {
  width: 6px;
  height: 6px;
  background: var(--color-gold-light);
  transform: rotate(45deg);
}

/* Date layout */
.hero-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 8px;
}

.hero-date-month {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.hero-date-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 300;
  line-height: 1;
  color: var(--color-deep);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(217, 239, 159, 0.5);
}

.hero-date-year {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--color-gold-light);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.hero-date-center {
  position: relative;
  padding: 20px 0;
}

.hero-date-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 28px;
}

.hero-date-side-line {
  width: 1px;
  height: 32px;
  background: rgba(217, 239, 159, 0.5);
}

.hero-date-side-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.55rem, 1.2vw, 0.68rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  white-space: nowrap;
}

.hero-date-side-dividers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 11px;
  position: relative;
}

.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  animation: bounce 1.5s ease-in-out infinite;
}

/* ── Scroll effect particles ── */
#scroll-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
  display: none;
}



.particle {
  position: absolute;
  top: -60px;
  pointer-events: none;
}

.particle-bird {
  font-size: 1.2rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.particle-rose {
  font-size: 1.4rem;
}

.particle-leaf {
  font-size: 1rem;
}

/* ── Responsive hero ── */
@media (max-width: 768px) {
  .hero-names {
    font-size: clamp(2.5rem, 13vw, 5rem);
  }

  .hero-date-day {
    font-size: clamp(3rem, 16vw, 5.5rem);
  }

  .hero-date-side-text {
    font-size: 0.55rem;
  }

  .hero-date-side {
    padding: 0 16px;
  }

  #gate-ribbon {
    width: 160px;
  }
}

@media (max-width: 480px) {
  .hero-date-side {
    padding: 0 10px;
  }
}