/* =====================================================
   HERO SECTION — Sri & Che கல்யாணம்
   Cinematic Romantic Anime Wedding Banner
   Pure CSS3
   ===================================================== */

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: #0d0a1a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Keyframes ─────────────────────────────────────── */

@keyframes heroZoom {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.14); }
}

@keyframes sectionReveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(48px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subFade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow:
      0 0 18px rgba(107, 155, 120, 0.65),
      0 0 40px rgba(107, 155, 120, 0.30),
      0 0 80px rgba(107, 155, 120, 0.12),
      2px 3px 12px rgba(0, 0, 0, 0.85);
  }
  50% {
    text-shadow:
      0 0 28px rgba(120, 180, 135, 0.90),
      0 0 60px rgba(120, 180, 135, 0.50),
      0 0 110px rgba(120, 180, 135, 0.22),
      2px 3px 12px rgba(0, 0, 0, 0.85);
  }
}

@keyframes dividerExpand {
  from { width: 0;     opacity: 0; }
  to   { width: 120px; opacity: 1; }
}

@keyframes dividerExpandShort {
  from { width: 0;    opacity: 0; }
  to   { width: 70px; opacity: 1; }
}

@keyframes heartFloat {
  0%   { opacity: 0;   transform: translateY(0)    scale(0.5); }
  15%  { opacity: 0.7; }
  80%  { opacity: 0.3; }
  100% { opacity: 0;   transform: translateY(-90px) scale(1.1); }
}

@keyframes particleDrift {
  0%   { opacity: 0;   transform: translateY(0)     translateX(0)                   scale(0.3); }
  25%  { opacity: 0.5; }
  100% { opacity: 0;   transform: translateY(-130px) translateX(var(--dx, 25px))    scale(1.0); }
}

@keyframes lightLeakTL {
  0%, 100% { opacity: 0;    }
  40%, 60%  { opacity: 0.07; }
}

@keyframes lightLeakBR {
  0%, 100% { opacity: 0;    }
  35%, 65%  { opacity: 0.06; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ── Hero Section ──────────────────────────────────── */

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0d0a1a;
  animation: sectionReveal 0.7s ease forwards;
}

/* ── Background Image ──────────────────────────────── */

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/hero-couple.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform-origin: center center;
  animation: heroZoom 20s ease-in-out infinite alternate;
  will-change: transform;
  z-index: 0;
}

/* ── Overlay ───────────────────────────────────────── */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 15, 35, 0.28) 0%,
    rgba(20, 15, 35, 0.45) 45%,
    rgba(20, 15, 35, 0.65) 100%
  );
  z-index: 1;
}

/* Light leak — top left */
.hero-overlay::before {
  content: '';
  position: absolute;
  top: -8%;
  left: -8%;
  width: 55%;
  height: 55%;
  background: radial-gradient(
    ellipse at top left,
    rgba(180, 230, 190, 0.14) 0%,
    transparent 65%
  );
  animation: lightLeakTL 7s ease-in-out infinite;
  pointer-events: none;
}

/* Light leak — bottom right */
.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: -8%;
  right: -8%;
  width: 55%;
  height: 55%;
  background: radial-gradient(
    ellipse at bottom right,
    rgba(180, 255, 200, 0.11) 0%,
    transparent 65%
  );
  animation: lightLeakBR 9s ease-in-out infinite 3.5s;
  pointer-events: none;
}

/* ── Particles Layer ───────────────────────────────── */

.particles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(160, 220, 170, 0.85) 0%, transparent 70%);
  animation: particleDrift var(--dur, 5s) ease-in-out var(--delay, 0s) infinite;
}

/* ── Hearts Layer ──────────────────────────────────── */

.hearts-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.heart {
  position: absolute;
  opacity: 0;
  animation: heartFloat var(--dur, 4s) ease-in-out var(--delay, 0s) infinite;
  user-select: none;
}

/* ── Content Wrapper ───────────────────────────────── */

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 28px;
  width: 100%;
  max-width: 980px;

  /* staggered entrance */
  opacity: 0;
  animation: fadeInUp 1.5s cubic-bezier(0.22, 0.61, 0.36, 1) 0.55s forwards;
}

/* ── Top Ornament ──────────────────────────────────── */

.hero-ornament-top {
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeInDown 1.2s ease 0.85s forwards;
}

.hero-ornament-top span {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: clamp(0.6rem, 1.6vw, 0.82rem);
  color: #ffffff;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

/* ── Divider ───────────────────────────────────────── */

.hero-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  opacity: 0;
  animation: subFade 1s ease 1.4s forwards;
}

.hero-divider-line {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(170, 230, 180, 0.75),
    transparent
  );
  opacity: 0;
  width: 0;
  animation: dividerExpand 1.1s ease 1.55s forwards;
}

.hero-divider-line.short {
  animation: dividerExpandShort 1.1s ease 1.55s forwards;
}

.hero-divider-gem {
  width: 7px;
  height: 7px;
  background: rgba(160, 215, 175, 0.92);
  transform: rotate(45deg);
  box-shadow: 0 0 9px rgba(140, 200, 150, 0.85);
  flex-shrink: 0;
}

/* ── Main Heading ──────────────────────────────────── */

.hero-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.07em;
  line-height: 1.12;
  margin: 0;
  animation: glowPulse 4.5s ease-in-out infinite,
             gentleFloat 5.5s ease-in-out infinite;
  will-change: transform;
}

/* Tamil script portion */
.hero-heading .tamil {
  font-family: 'Noto Serif Tamil', serif;
  font-weight: 700;
  font-size: clamp(2.7rem, 7.5vw, 6.2rem);
}

/* ── Subtitle ──────────────────────────────────────── */

.hero-subtitle {
  margin-top: 20px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(2rem, 2.5vw, 1.55rem);
  color: rgba(255, 245, 235, 0.91);
  letter-spacing: 0.07em;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.75),
    0 0 28px rgba(120, 180, 130, 0.18);
  opacity: 0;
  animation: subFade 1.2s ease 1.15s forwards;
}

/* ── Scroll Hint ───────────────────────────────────── */

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  opacity: 0;
  animation: subFade 1s ease 2.2s forwards;
  transition: opacity 0.3s;
}

.hero-scroll-hint:hover {
  opacity: 0.7;
}

.hero-scroll-hint > span {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  color: rgba(180, 225, 200, 0.60);
  text-transform: uppercase;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(160, 215, 180, 0.45);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 7px;
  background: rgba(160, 215, 180, 0.75);
  border-radius: 2px;
  animation: scrollBounce 1.6s ease-in-out infinite;
}

/* ── Responsive — Tablet ───────────────────────────── */

@media (max-width: 768px) {
  .hero-content {
    padding: 0 20px;
  }

  .hero-heading {
    font-size: clamp(1.9rem, 9vw, 3.2rem);
    letter-spacing: 0.04em;
  }

  .hero-heading .tamil {
    font-size: clamp(2.1rem, 9.5vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: clamp(0.88rem, 3.8vw, 1.1rem);
    letter-spacing: 0.04em;
  }

  .hero-ornament-top span {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
  }
}

/* ── Responsive — Mobile ───────────────────────────── */

@media (max-width: 480px) {
  .hero-heading {
    font-size: clamp(1.65rem, 10.5vw, 2.4rem);
    letter-spacing: 0.02em;
  }

  .hero-heading .tamil {
    font-size: clamp(1.75rem, 11vw, 2.6rem);
  }

  .hero-subtitle {
    font-size: clamp(0.82rem, 4.2vw, 1rem);
    letter-spacing: 0.02em;
    margin-top: 14px;
  }

  .hero-ornament-top span {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
  }

  .hero-divider-line {
    animation: dividerExpandShort 1.1s ease 1.55s forwards;
  }

  .hero-scroll-hint {
    bottom: 20px;
  }
}



  .multicolortext {
    background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 14px;
    font-weight: bold;
  }

