/* ============================================================
   Aditya ♥ Cheisabilla — Kisah Kita
   Palet romantis: blush pink, rose, cream, aksen rose gold
   ============================================================ */
:root {
  --blush-50: #FFF7F9;
  --blush-100: #FFEFF3;
  --blush-200: #FFDEE7;
  --rose-300: #F6B8C9;
  --rose-400: #ED93AC;
  --rose-500: #E06B8C;
  --rose-600: #C94E72;
  --rose-700: #A63A5B;
  --rose-800: #7E2A46;
  --gold: #C9A063;
  --cream: #FFFBF6;
  --ink: #4A343E;
  --muted: #8A7280;
  --line: #F3DDE4;
  --white: #FFFFFF;
  --shadow: 0 16px 40px -18px rgba(198, 78, 114, 0.35);
  --shadow-lg: 0 30px 70px -24px rgba(198, 78, 114, 0.45);
  --radius: 22px;
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 30px; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; color: var(--rose-800); line-height: 1.25; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-rose {
  background: linear-gradient(135deg, var(--rose-500), var(--rose-600));
  color: var(--white); box-shadow: var(--shadow);
}
.btn-rose:hover { box-shadow: var(--shadow-lg); }

/* ---------- Section helpers ---------- */
.section { padding-block: 84px; }
.section-rose { background: linear-gradient(180deg, var(--blush-100), var(--blush-50)); }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow { color: var(--rose-600); }
.section-head h2 { margin-top: 8px; }
.section-sub { margin-top: 10px; font-size: 0.95rem; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.72rem; font-weight: 700; color: var(--gold);
}
.center-block { text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; overflow: hidden;
  padding: 90px 0 120px;
  background:
    radial-gradient(1200px 500px at 50% -10%, #FFF3F6 0%, rgba(255,243,246,0) 60%),
    linear-gradient(180deg, var(--blush-100) 0%, var(--blush-50) 55%, var(--cream) 100%);
}
.hearts { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hearts span {
  position: absolute; bottom: -60px; font-size: 18px; opacity: 0;
  animation: floatUp linear infinite; color: var(--rose-300);
}
@keyframes floatUp {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  8% { opacity: 0.55; }
  50% { opacity: 0.45; }
  100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow {
  font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rose-500); font-weight: 600; margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2.6rem, 8vw, 5.4rem); font-weight: 700; color: var(--rose-700);
  display: flex; align-items: baseline; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.hero-title .script { font-family: "Great Vibes", cursive; font-weight: 500; font-size: 1.18em; color: var(--rose-600); }
.hero-title .amp { color: var(--rose-400); font-size: 0.7em; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.28); } }

.hero-sub { max-width: 560px; margin: 20px auto 36px; font-size: 1.05rem; }

.hero-photos {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  max-width: 940px; margin: 0 auto 40px; align-items: end;
}
.hero-photos img {
  width: 100%; border-radius: 18px; object-fit: cover; box-shadow: var(--shadow);
  border: 4px solid var(--white);
  animation: bob 5s ease-in-out infinite;
}
.hp-1 { aspect-ratio: 3/4.4; }
.hp-2 { aspect-ratio: 1/1.35; animation-delay: 0.6s; }
.hp-3 { aspect-ratio: 3/4.6; animation-delay: 1.2s; }
.hp-4 { aspect-ratio: 1/1.35; animation-delay: 1.8s; }
.hp-5 { aspect-ratio: 3/4.4; animation-delay: 2.4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.credit-pill {
  margin: 26px auto 0; max-width: 520px; background: var(--white);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px;
  font-size: 0.88rem; color: var(--muted); box-shadow: var(--shadow);
}
.credit-pill strong { color: var(--rose-600); }

.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: var(--cream);
  clip-path: ellipse(120% 100% at 50% 100%);
  border-radius: 100% 100% 0 0 / 90px 90px 0 0;
}

/* ---------- Couple ---------- */
.couple-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center;
}
.person-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; box-shadow: var(--shadow); transition: transform 0.25s ease;
}
.person-card:hover { transform: translateY(-6px); }
.person-photo {
  width: 150px; height: 150px; margin: 0 auto 18px; border-radius: 50%;
  overflow: hidden; border: 5px solid var(--blush-200); box-shadow: var(--shadow);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-card h3 { margin-bottom: 6px; }
.person-tag { font-size: 0.8rem; font-weight: 700; color: var(--rose-500); margin-bottom: 10px; }
.person-desc { font-size: 0.92rem; }
.ig-link { color: var(--rose-600); font-weight: 700; }
.ig-link:hover { text-decoration: underline; }

.heart-center { text-align: center; }
.big-heart {
  display: inline-block; font-size: 3.4rem; color: var(--rose-400);
  animation: pulse 1.6s ease-in-out infinite;
}
.center-text { font-family: "Great Vibes", cursive; font-size: 1.5rem; color: var(--rose-500); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 16px; }
.g-item {
  border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in;
  box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--blush-100);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.g-item.tall { grid-row: span 2; aspect-ratio: auto; }
.g-item.tall img { height: 100%; }
.g-item:hover { transform: scale(1.04); box-shadow: var(--shadow-lg); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.g-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px;
  font-size: 0.82rem; font-weight: 600; color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(126,42,70,0.75));
  opacity: 0; transition: opacity 0.25s ease;
}
.g-item:hover figcaption { opacity: 1; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 640px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 26px; top: 10px; bottom: 10px; width: 3px;
  background: linear-gradient(180deg, var(--rose-300), var(--rose-500));
  border-radius: 3px;
}
.tl-item { position: relative; padding-left: 74px; margin-bottom: 30px; }
.tl-dot {
  position: absolute; left: 10px; top: 4px; width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-400), var(--rose-600)); color: var(--white);
  font-weight: 700; font-size: 0.9rem; display: grid; place-items: center;
  box-shadow: 0 0 0 6px var(--blush-100);
}
.tl-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 22px; box-shadow: var(--shadow);
}
.tl-card h3 { font-size: 1.1rem; }
.tl-date { font-size: 0.78rem; font-weight: 700; color: var(--gold); letter-spacing: 0.05em; margin: 2px 0 6px; text-transform: uppercase; }
.tl-card p:last-child { font-size: 0.92rem; }

.days-counter { margin-top: 44px; }
.counter-label { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.counter-number {
  font-family: "Playfair Display", serif; font-size: clamp(2rem, 5vw, 3rem);
  color: var(--rose-600); font-weight: 700; margin-top: 4px;
}
.counter-note { font-size: 0.8rem; margin-top: 4px; }

/* ---------- Letter ---------- */
.letter-section { background: linear-gradient(180deg, var(--cream), var(--blush-100)); }
.letter {
  max-width: 640px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 40px;
  box-shadow: var(--shadow-lg); position: relative;
}
.letter::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid var(--line);
  border-radius: 16px; pointer-events: none;
}
.letter-script { font-family: "Great Vibes", cursive; font-size: 2.1rem; color: var(--rose-600); margin-bottom: 18px; }
.letter-body p { margin-bottom: 16px; font-size: 1.02rem; color: var(--ink); }
.letter-sign { font-family: "Playfair Display", serif; color: var(--rose-700); text-align: right; line-height: 1.6; }
.sign-name { font-family: "Great Vibes", cursive; font-size: 1.9rem; }

/* ---------- Footer ---------- */
.footer { background: var(--rose-800); color: rgba(255,255,255,0.9); text-align: center; padding: 56px 22px 40px; }
.footer-heart { font-size: 2rem; color: var(--rose-300); animation: pulse 1.8s ease-in-out infinite; }
.footer-main { margin-top: 12px; font-size: 1.02rem; color: rgba(255,255,255,0.92); }
.footer-main strong { color: var(--white); }
.footer-ig { margin-top: 8px; font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.footer-ig a { color: var(--blush-200); font-weight: 700; }
.footer-ig a:hover { text-decoration: underline; }
.footer-copy { margin-top: 26px; font-size: 0.8rem; color: rgba(255,255,255,0.55); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center;
  justify-content: center; flex-direction: column; gap: 14px;
  background: rgba(46, 12, 26, 0.9); backdrop-filter: blur(6px);
  padding: 24px;
}
.lightbox.open { display: flex; }
.lb-img {
  max-width: min(92vw, 900px); max-height: 78vh; border-radius: 14px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.5); object-fit: contain;
  background: var(--rose-800); padding: 8px;
}
.lb-caption { color: var(--blush-100); font-size: 0.95rem; text-align: center; max-width: 80vw; }
.lb-close {
  position: absolute; top: 22px; right: 26px; background: none; border: 0;
  color: var(--white); font-size: 2.6rem; cursor: pointer; line-height: 1;
  transition: transform 0.2s ease;
}
.lb-close:hover { transform: rotate(90deg); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-photos { grid-template-columns: repeat(3, 1fr); }
  .hp-4, .hp-5 { display: none; }
  .couple-grid { grid-template-columns: 1fr; }
  .heart-center { order: -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding-top: 70px; }
  .hero-photos { grid-template-columns: repeat(2, 1fr); }
  .hp-3, .hp-4, .hp-5 { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-item.tall { grid-row: auto; aspect-ratio: 4/3; }
  .g-item.tall img { height: 100%; }
  .letter { padding: 36px 24px; }
  .timeline::before { left: 18px; }
  .tl-item { padding-left: 58px; }
  .tl-dot { left: 2px; width: 32px; height: 32px; }
}