* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff6fa;
  color: #2f2630;
  font-family: "Inter", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,185,210,.35), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(255,220,232,.65), transparent 28%),
    radial-gradient(circle at 50% 90%, rgba(255,196,214,.35), transparent 30%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(199,71,118,.18) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: .35;
  pointer-events: none;
  z-index: -1;
}

.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 32px));
  height: 58px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(220,145,170,.28);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(180,90,120,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  z-index: 50;
}

.logo {
  font-family: "Great Vibes", cursive;
  font-size: 28px;
  color: #c74776;
}

.nav-links { display: flex; gap: 22px; }

.nav-links a {
  text-decoration: none;
  color: #6d5061;
  font-size: 13px;
  font-weight: 500;
}

.section {
  min-height: 100vh;
  padding: 110px 8% 80px;
  position: relative;
  opacity: 0;
  transform: translateY(45px);
  transition: 1s ease;
  overflow: hidden;
}

.section.show {
  opacity: 1;
  transform: translateY(0);
}

.pink-section {
  background: linear-gradient(180deg, rgba(255,231,240,.9), rgba(255,246,250,.9));
}

.white-section {
  background: radial-gradient(circle at top right, rgba(255,210,226,.45), transparent 34%), #fffdfc;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c74776;
  margin: 0 0 16px;
  font-weight: 600;
}

h1, h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  margin: 0;
  color: #2f2630;
}

h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: .92;
}

h2 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: .96;
}

.desc, .hero-desc {
  font-size: 15px;
  line-height: 1.9;
  color: #6d5061;
  max-width: 520px;
}

.center-desc { margin-left: auto; margin-right: auto; }

.hero,
.event-section,
.video-section,
.prayer-section,
.poem-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.video-section { grid-template-columns: .8fr 1.2fr; }

.hero { padding-top: 120px; }

.hero-stack {
  position: relative;
  min-height: 620px;
}

.hero-image {
  height: min(72vh, 620px);
  border-radius: 0 0 220px 220px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(181,90,120,.22);
}

.hero-image img,
.polaroid img,
.mini-polaroid img,
.film-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mini {
  position: absolute;
  right: -20px;
  bottom: 30px;
  transform: rotate(5deg);
}

.hero-content,
.text-box,
.poem-box {
  position: relative;
  z-index: 2;
}

.primary-btn {
  display: inline-block;
  margin-top: 32px;
  padding: 13px 30px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: #c74776;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 15px 30px rgba(199,71,118,.28);
  transition: .3s ease;
}

.primary-btn:hover {
  transform: translateY(-3px);
  background: #a82f5d;
}

.date-text {
  font-family: "Great Vibes", cursive;
  color: #c74776;
  font-size: 42px;
  margin: 18px 0;
}

/* FILM CAROUSEL */
.film-carousel {
  width: min(560px, 100%);
  margin: auto;
  background: #fff;
  border-radius: 34px;
  padding: 18px;
  box-shadow: 0 28px 80px rgba(116,63,86,.18);
  position: relative;
  z-index: 3;
}

.film-carousel::before,
.film-carousel::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  height: 18px;
  background:
    repeating-linear-gradient(
      to right,
      #2a2025 0 14px,
      transparent 14px 26px
    );
  opacity: .9;
  z-index: 3;
}

.film-carousel::before { top: 28px; }
.film-carousel::after { bottom: 70px; }

.dark-film { background: #2a2025; }

.film-window {
  height: 560px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #2a2025;
  border: 14px solid #2a2025;
}

.film-window img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1s ease, transform 1.5s ease;
}

.film-window img.active {
  opacity: 1;
  transform: scale(1);
}

.film-caption {
  display: flex;
  justify-content: space-between;
  padding: 16px 8px 6px;
  font-size: 12px;
  color: #9c536f;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.dark-film .film-caption { color: #fff1f6; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #e3b5c5;
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.active {
  background: #c74776;
  transform: scale(1.35);
}

/* STORY */
.story-strip { text-align: center; }

.story-card {
  max-width: 820px;
  margin: 0 auto 54px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(220,145,170,.22);
  border-radius: 40px;
  padding: 44px 24px;
  box-shadow: 0 22px 70px rgba(181,90,120,.12);
}

.polaroid-row {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
}

.polaroid-row.three {
  gap: 26px;
}

.polaroid,
.mini-polaroid {
  background: white;
  padding: 14px 14px 50px;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(116,63,86,.18);
  position: relative;
}

.polaroid {
  width: min(300px, 86vw);
}

.mini-polaroid {
  width: 210px;
  height: 260px;
  z-index: 5;
}

.polaroid img {
  height: 310px;
  display: block;
}

.polaroid span,
.mini-polaroid span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  text-align: center;
  font-family: "Great Vibes", cursive;
  font-size: 26px;
  color: #9c536f;
}

.mini-polaroid span { font-size: 22px; }

.rotate-left { transform: rotate(-4deg); }
.rotate-right { transform: rotate(4deg); }

/* QURAN */
.quran-section {
  display: grid;
  place-items: center;
  text-align: center;
}

.quran-box {
  max-width: 980px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(220,145,170,.22);
  border-radius: 44px;
  padding: 54px 8%;
  box-shadow: 0 26px 80px rgba(181,90,120,.12);
}

.arabic {
  font-family: "Amiri", serif;
  direction: rtl;
  font-size: clamp(25px, 3.2vw, 42px);
  line-height: 2.1;
  margin: 0;
}

.translate {
  max-width: 760px;
  margin: 32px auto 0;
  font-size: 15px;
  line-height: 1.9;
  color: #6d5061;
}

/* POEM */
.poem-box {
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(220,145,170,.22);
  border-radius: 42px;
  padding: 44px;
  box-shadow: 0 24px 70px rgba(181,90,120,.12);
}

.poem-text {
  margin-top: 28px;
  font-family: "Cormorant Garamond", serif;
  color: #4b3844;
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.45;
}

.poem-text p {
  margin: 0 0 26px;
}

.vertical-film {
  width: min(360px, 100%);
  margin: auto;
  background: #251d22;
  border-radius: 28px;
  padding: 34px 24px;
  box-shadow: 0 30px 90px rgba(116,63,86,.24);
  position: relative;
}

.vertical-film::before,
.vertical-film::after {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  width: 16px;
  background: repeating-linear-gradient(
    to bottom,
    #fff1f6 0 12px,
    transparent 12px 24px
  );
  opacity: .85;
}

.vertical-film::before { left: 8px; }
.vertical-film::after { right: 8px; }

.film-photo {
  height: 185px;
  margin: 14px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 7px solid #fff6fa;
  transform: translateY(0);
  animation: filmFloat 5s ease-in-out infinite;
}

.film-photo:nth-child(3) { animation-delay: .5s; }
.film-photo:nth-child(4) { animation-delay: 1s; }
.film-photo:nth-child(5) { animation-delay: 1.5s; }

@keyframes filmFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* VIDEO */
.video-card {
  border-radius: 38px;
  overflow: hidden;
  background: white;
  padding: 12px;
  box-shadow: 0 28px 80px rgba(116,63,86,.18);
}

.video-card video {
  width: 100%;
  display: block;
  border-radius: 28px;
}

/* PRAYER */
.prayer-stack {
  position: relative;
  min-height: 430px;
}

.prayer-photo { transform: rotate(-3deg); }

.prayer-mini {
  position: absolute;
  right: 20px;
  bottom: 0;
  transform: rotate(7deg);
}

/* GALLERY */
.gallery-section {
  min-height: 100vh;
  padding: 100px 8%;
  text-align: center;
  background: radial-gradient(circle at top left, rgba(255,205,224,.5), transparent 30%), #fff6fa;
}

.gallery-section h2 { margin-bottom: 50px; }

.gallery {
  max-width: 1120px;
  margin: auto;
  columns: 3 250px;
  column-gap: 22px;
}

.gallery img {
  width: 100%;
  margin-bottom: 22px;
  border-radius: 28px;
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(116,63,86,.16);
  opacity: 0;
  transform: translateY(34px) scale(.97);
  transition: .7s ease;
}

.gallery img.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery img:hover { transform: scale(1.03); }

/* CLOSING */
.closing {
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,231,240,.95), rgba(255,246,250,.95));
}

.closing-card {
  max-width: 850px;
  background: rgba(255,255,255,.76);
  border-radius: 44px;
  padding: 56px 8%;
  box-shadow: 0 26px 80px rgba(181,90,120,.14);
}

.script-text {
  font-family: "Great Vibes", cursive;
  font-size: 54px;
  color: #c74776;
  margin: 0 0 10px;
}

.closing span {
  display: inline-block;
  margin-top: 32px;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 12px;
  color: #c74776;
  font-weight: 600;
}

/* DECOR */
.petal,
.floating-decor,
.section-flower,
.section-leaf {
  position: absolute;
  color: rgba(199,71,118,.38);
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.petal { font-size: 38px; }
.section-flower { font-size: 64px; opacity: .4; }
.section-leaf { font-size: 54px; opacity: .34; }

.floating-decor {
  position: fixed;
  font-size: 28px;
  opacity: .28;
  z-index: 0;
}

.decor-1 { top: 16%; left: 3%; }
.decor-2 { top: 26%; right: 4%; animation-delay: 1s; }
.decor-3 { bottom: 20%; left: 5%; animation-delay: 2s; }
.decor-4 { bottom: 12%; right: 7%; animation-delay: 1.4s; }
.decor-5 { top: 54%; left: 2%; animation-delay: .6s; }

.petal-1 { top: 18%; right: 9%; }
.petal-2 { bottom: 18%; left: 8%; animation-delay: 1.2s; }
.petal-3 { top: 45%; right: 45%; animation-delay: 2s; }

.section-flower.left,
.section-leaf.left {
  left: 5%;
  bottom: 10%;
}

.section-flower.right,
.section-leaf.right {
  right: 5%;
  top: 14%;
}

@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(8deg); }
}

/* POPUP */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(34,23,30,.88);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 24px;
  z-index: 100;
}

.popup.active { display: flex; }

.popup img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(0,0,0,.4);
}

.close {
  position: absolute;
  top: 24px;
  right: 34px;
  color: white;
  font-size: 44px;
  cursor: pointer;
}

.music-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  border: none;
  border-radius: 999px;
  padding: 13px 22px;
  background: #c74776;
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(199,71,118,.35);
}

.music-btn:hover { background: #a82f5d; }

@media (max-width: 850px) {
  .navbar { height: 54px; padding: 0 16px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 11px; }

  .section { padding: 96px 22px 70px; }

  .hero,
  .event-section,
  .video-section,
  .prayer-section,
  .poem-section {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-stack { min-height: 500px; }

  .hero-image {
    height: 430px;
    border-radius: 34px 34px 160px 160px;
  }

  .hero-mini {
    right: 0;
    bottom: -10px;
    width: 165px;
    height: 220px;
  }

  .hero-content,
  .text-box,
  .poem-box { text-align: center; }

  .hero-desc,
  .desc { margin-left: auto; margin-right: auto; }

  .film-carousel {
    width: 100%;
    padding: 14px;
  }

  .film-carousel::before { top: 23px; }
  .film-carousel::after { bottom: 66px; }

  .film-window {
    height: 430px;
    border-width: 10px;
  }

  .quran-box,
  .poem-box {
    padding: 38px 22px;
    border-radius: 32px;
  }

  .polaroid img { height: 280px; }

  .vertical-film {
    width: min(330px, 100%);
  }

  .film-photo {
    height: 160px;
  }

  .prayer-stack { min-height: 480px; }
  .prayer-mini { right: 0; }

  .section-flower,
  .section-leaf {
    font-size: 38px;
  }

  .music-btn {
    right: 14px;
    bottom: 14px;
    padding: 12px 18px;
  }
}