/* ═══════════════════════════════════════════════════════════
   SECTIONS CSS
   arun-spandana.netlify.app
   ═══════════════════════════════════════════════════════════ */

/* ─── HERO ─── */
.hero {
  height: 100vh;
  min-height: 680px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  filter: brightness(0.6) saturate(0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg-video {
  /* Move the focus point higher up the video to bring the mandap down */
  object-position: center 20% !important;
  /* Scale it up and physically nudge it down */
  transform: scale(1.25) translateY(5%) !important;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(9, 14, 26, 0.2) 0%, rgba(9, 14, 26, 0.4) 50%, rgba(9, 14, 26, 0.98) 100%),
    radial-gradient(ellipse at center, transparent 35%, rgba(9, 14, 26, 0.55) 100%);
  pointer-events: none;
}

.hero__rain {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(100deg, transparent, transparent 2px,
      rgba(141, 163, 176, 0.012) 2px, rgba(141, 163, 176, 0.012) 3px);
  pointer-events: none;
}

#particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 1px;
  height: 1px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
}

/* GSAP will animate these in — start invisible */
.hero__logo {
  width: 72px;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 0 24px rgba(201, 169, 110, 0.6));
  visibility: hidden;
  /* hidden until GSAP runs */
}

.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--gold-light);
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  visibility: hidden;
}

.hero__names {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem) !important;
  margin-bottom: 0.5rem !important;
  font-weight: 400;
  line-height: 0.88;
  visibility: hidden;
}

.hero__names .groom-name,
.hero__names .bride-name {
  display: block;
}

.hero__names .amp {
  font-style: italic;
  color: var(--gold);
  font-size: 0.6em;
  display: block;
  margin: 0.18em 0;
  line-height: 1;
}

.hero__rule {
  width: 70px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 2rem auto;
  visibility: hidden;
  transform: scaleX(0);
}

.hero__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.8rem, 1.2vw, 1rem) !important;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
  visibility: hidden;
}

.hero__date {
  font-size: clamp(1rem, 1.5vw, 1.25rem) !important;
  letter-spacing: 0.3em;
  color: var(--fog-light);
  font-weight: 400;
  text-transform: uppercase;
  visibility: hidden;
}

.hero__ig {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
  visibility: hidden;
}

.hero__ig:hover {
  color: var(--gold);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  visibility: hidden;
}

.hero__scroll-label {
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

/* No-JS fallback */
.no-js .hero__logo,
.no-js .hero__eyebrow,
.no-js .hero__names,
.no-js .hero__rule,
.no-js .hero__tagline,
.no-js .hero__date,
.no-js .hero__ig,
.no-js .hero__scroll {
  visibility: visible;
  transform: none;
}

/* ─── COUNTER ─── */
.counter {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--navy-mid);
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-image: linear-gradient(to right, transparent, var(--gold), transparent) 1;
}

.counter__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 3.5rem;
}

.counter__title em {
  font-style: italic;
  color: var(--gold);
}

.counter__grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  flex-wrap: nowrap;
}

.counter__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.counter__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 3ch;
  text-align: center;
}

.counter__label {
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.counter__sep {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: rgba(201, 169, 110, 0.22);
  font-style: italic;
  line-height: 1;
  padding-bottom: 1.8rem;
  flex-shrink: 0;
}

/* ─── STORY ─── */
.story {
  padding: 8rem 2rem;
}

.story__inner {
  max-width: 720px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding-left: 4rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 8%, var(--gold) 92%, transparent);
}

.timeline__item {
  position: relative;
  margin-bottom: 4.5rem;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -4.5rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 16px rgba(201, 169, 110, 0.4), 0 0 0 4px rgba(201, 169, 110, 0.07);
}

.timeline__dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--gold);
  border-radius: 50%;
}

.timeline__chapter {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--gold-light);
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.timeline__heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.1rem;
  color: var(--cream);
}

.timeline__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  letter-spacing: 0.03em;
}

.timeline__rule {
  width: 36px;
  height: 1px;
  background: var(--gold-dark);
  margin-top: 2.5rem;
}

/* ─── GALLERY ─── */
.gallery {
  padding: 8rem 2rem;
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, var(--gold), transparent) 1;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.6rem;
  margin-top: 4rem;
}

.gallery__item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--navy-card);
  margin: 0;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
  filter: saturate(0.78) brightness(0.88);
  will-change: transform;
}

.gallery__item:hover img {
  transform: scale(1.07);
  filter: saturate(1) brightness(1);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 169, 110, 0.12);
  pointer-events: none;
  transition: border-color 0.4s;
}

.gallery__item:hover::after {
  border-color: rgba(201, 169, 110, 0.45);
}

.g--a {
  grid-column: span 7;
  height: 460px;
}

.g--b {
  grid-column: span 5;
  height: 460px;
}

.g--c {
  grid-column: span 4;
  height: 400px;
}

.g--d {
  grid-column: span 4;
  height: 400px;
}

.g--e {
  grid-column: span 4;
  height: 400px;
}

.g--f {
  grid-column: span 6;
  height: 420px;
}

.g--g {
  grid-column: span 6;
  height: 420px;
}

.g--h {
  grid-column: span 5;
  height: 440px;
}

.g--i {
  grid-column: span 7;
  height: 440px;
}

.g--j {
  grid-column: span 12;
  height: 540px;
}

.g--k {
  grid-column: span 4;
  height: 380px;
}

.g--l {
  grid-column: span 8;
  height: 380px;
}

/* ─── LONDON ─── */
.london {
  padding: 8rem 2rem;
  background: var(--navy-mid);
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, var(--gold), transparent) 1;
}

.london__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 4rem;
}

.london__photo {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin: 0;
}

.london__photo img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
  filter: saturate(0.82);
  will-change: transform;
}

.london__photo:hover img {
  transform: scale(1.05);
  filter: saturate(1);
}

.london__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 169, 110, 0.18);
  pointer-events: none;
  transition: border-color 0.4s;
}

.london__photo:hover::after {
  border-color: rgba(201, 169, 110, 0.5);
}

.london__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(9, 14, 26, 0.96) 0%, transparent 100%);
  padding: 2.5rem 1.8rem 1.4rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-light);
}

.london__cta {
  text-align: center;
  margin-top: 4rem;
}

.london__ig-card {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  border: 1px solid rgba(201, 169, 110, 0.25);
  padding: 1.4rem 2.5rem;
  text-decoration: none;
  transition: background 0.4s, border-color 0.4s;
}

.london__ig-card:hover {
  background: rgba(201, 169, 110, 0.07);
  border-color: var(--gold);
}

.london__ig-icon {
  color: var(--gold);
  flex-shrink: 0;
}

.london__ig-handle {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--cream);
}

.london__ig-sub {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* ─── CELEBRATION ─── */
.celebration {
  padding: 8rem 2rem;
  text-align: center;
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, var(--gold), transparent) 1;
}

.celebration__inner {
  max-width: 740px;
  margin: 0 auto;
}

.celebration__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3.2vw, 2.3rem);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1.7;
  margin: 2.5rem 0;
}

.celebration__video-wrap {
  margin: 4rem auto;
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(201, 169, 110, 0.07);
  overflow: hidden;
}

.celebration__video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 169, 110, 0.25);
  pointer-events: none;
}

.celebration__video-wrap video {
  width: 100%;
  display: block;
}

.celebration__sub {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  max-width: 500px;
  margin: 0 auto;
}

/* ─── COUPLE ─── */
.couple {
  padding: 8rem 2rem;
  background: var(--navy-mid);
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, var(--gold), transparent) 1;
}

.couple__grid {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 5rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.person-card {
  text-align: center;
}

.person-card__frame {
  width: 210px;
  height: 270px;
  margin: 0 auto 2rem;
  position: relative;
  overflow: hidden;
}

.person-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.8);
  transition: filter 0.6s;
}

.person-card__frame:hover img {
  filter: saturate(1);
}

.person-card__frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: -10px;
  bottom: -10px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  z-index: 0;
  pointer-events: none;
}

.person-card__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 169, 110, 0.4);
  pointer-events: none;
  z-index: 1;
}

.person-card__tag {
  display: inline-block;
  font-size: 0.52rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--fog);
  border: 1px solid rgba(141, 163, 176, 0.22);
  padding: 0.3rem 0.9rem;
  margin-bottom: 0.9rem;
}

.person-card__tag--clinical {
  color: var(--clinical);
  border-color: rgba(232, 238, 244, 0.2);
}

.person-card__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.person-card__role {
  font-size: 0.58rem;
  letter-spacing: 0.38em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.person-card__orn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.person-card__orn-line {
  width: 28px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.person-card__orn-line--rev {
  background: linear-gradient(to left, transparent, var(--gold));
}

.person-card__gem {
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.person-card__desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-body);
  letter-spacing: 0.03em;
}

.couple__divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  gap: 1.2rem;
}

.couple__amp {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
}

.couple__line {
  width: 1px;
  height: 55px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.couple__line--up {
  background: linear-gradient(to top, var(--gold), transparent);
}

/* ─── FOOTER ─── */
.footer {
  padding: 5rem 2rem 3.5rem;
  text-align: center;
  position: relative;
  background: var(--navy);
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, var(--gold), transparent) 1;
  overflow: hidden;
}

.footer__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 8rem);
  font-style: italic;
  color: rgba(201, 169, 110, 0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.footer__inner {
  position: relative;
  z-index: 1;
}

.footer__logo {
  width: 54px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 12px rgba(201, 169, 110, 0.3));
}

.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer__date {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--fog-light);
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer__journey {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}

.footer__ig {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: rgba(196, 212, 220, 0.8);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
  margin-bottom: 0.8rem;
  line-height: 1;
}

.footer__ig:hover {
  color: var(--gold);
}

.footer__rule {
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 2rem auto;
}

.footer__credit {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--fog);
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__stories-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.3s;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 10;
}

.footer__stories-link:hover {
  opacity: 0.75;
}

/* FORCE LOGO VISIBILITY */
.footer__stories-logo {
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: 36px !important;
  width: auto !important;
  object-fit: contain !important;
}

.footer__stories-text {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.footer__stories-ig {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--fog-light);
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
  margin-top: 1.2rem;
}

.footer__stories-ig:hover {
  color: var(--gold);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .g--a {
    grid-column: span 12;
    height: 380px;
  }

  .g--b {
    grid-column: span 12;
    height: 380px;
  }

  .g--c,
  .g--d,
  .g--e {
    grid-column: span 6;
    height: 320px;
  }

  .g--f,
  .g--g {
    grid-column: span 12;
    height: 360px;
  }

  .g--h,
  .g--i {
    grid-column: span 12;
    height: 380px;
  }

  .g--k {
    grid-column: span 12;
    height: 300px;
  }

  .g--l {
    grid-column: span 12;
    height: 380px;
  }
}

@media (max-width: 768px) {
  .story, .gallery, .london, .celebration, .couple {
    padding: 4rem 1.25rem;
    overflow-x: hidden;
  }

  .footer {
    padding: 3rem 1.25rem 2rem;
  }
  
  .footer__bg {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  p {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .counter {
    padding: 3.5rem 1.5rem;
  }

  .counter__grid {
    gap: 1.2rem;
  }

  .counter__sep {
    font-size: 2.5rem;
    padding-bottom: 1.2rem;
  }

  .london__grid {
    grid-template-columns: 1fr;
  }

  .london__photo img {
    height: 380px;
  }

  .couple__grid {
    grid-template-columns: 1fr;
  }

  .couple__divider {
    flex-direction: row;
    padding-top: 0;
    gap: 1rem;
  }

  .couple__line,
  .couple__line--up {
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
  }

  .timeline {
    padding-left: 2.8rem;
  }

  .timeline__dot {
    left: -3.3rem;
  }

  .g--c,
  .g--d,
  .g--e {
    grid-column: span 12;
    height: 280px;
  }
}

@media (max-width: 480px) {
  .counter__grid {
    gap: 0.8rem;
  }

  .counter__num {
    font-size: 2.5rem;
  }

  .counter__sep {
    display: none;
  }
}