/* ===== VARIABLES ===== */
:root {
  --ground: #FFF5F5;
  --cream: #FFF0EE;
  --raised: #FFE8E5;
  --scarlet: #D72638;
  --scarlet-deep: #B71C2A;
  --cherry: #9B1B30;
  --pink: #FFB6C1;
  --pink-light: #FFD6DE;
  --rose: #E8506A;
  --gold: #C9A84C;
  --gold-light: #E8D48B;
  --ink: #3A1015;
  --muted: #8C5560;
  --accent: var(--scarlet);

  --ff-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-display: clamp(2.8rem, 6vw, 5rem);
  --fs-section: clamp(1.8rem, 3.5vw, 2.8rem);
  --fs-body: clamp(1rem, 1.1vw, 1.15rem);
  --fs-caption: 0.85rem;

  --max-w: 1100px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--ground);
  overflow-x: hidden;
  line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container { width: 90%; max-width: var(--max-w); margin: 0 auto; }

/* ===== FLOATING HEARTS ===== */
.floating-hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.fh {
  position: absolute;
  bottom: -40px;
  opacity: 0;
  animation: riseHeart linear infinite;
}
@keyframes riseHeart {
  0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0; }
  10% { opacity: .5; }
  80% { opacity: .3; }
  100% { transform: translateY(-110vh) rotate(45deg) scale(.6); opacity: 0; }
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #8B0A1A 0%, var(--scarlet) 40%, var(--rose) 100%);
  color: var(--cream);
  overflow: hidden;
  padding: 80px 24px 48px;
  z-index: 1;
}

/* hero bokeh */
.hero__bokeh { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bokeh-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .25;
  animation: float 12s ease-in-out infinite alternate;
}
.b1 { width: 320px; height: 320px; background: var(--rose); top: -10%; left: -5%; }
.b2 { width: 240px; height: 240px; background: var(--pink); top: 30%; right: -8%; animation-delay: -3s; }
.b3 { width: 180px; height: 180px; background: #fff; bottom: 10%; left: 20%; animation-delay: -6s; opacity: .12; }
.b4 { width: 140px; height: 140px; background: var(--scarlet); top: 15%; left: 50%; animation-delay: -2s; }
.b5 { width: 200px; height: 200px; background: var(--pink-light); bottom: -5%; right: 15%; animation-delay: -8s; }

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.15); }
}

/* hero decorative hearts */
.hero__hearts { position: absolute; inset: 0; pointer-events: none; }
.deco-heart {
  position: absolute;
  animation: pulse-heart 6s ease-in-out infinite;
}
.dh1 { width: 200px; height: 185px; top: 5%; right: 3%; }
.dh2 { width: 120px; height: 110px; bottom: 15%; left: 4%; animation-delay: -1.5s; }
.dh3 { width: 80px; height: 74px; top: 18%; left: 8%; animation-delay: -3s; }
.dh4 { width: 60px; height: 55px; bottom: 8%; right: 12%; animation-delay: -4.5s; }
.dh5 { width: 100px; height: 92px; top: 40%; right: 15%; animation-delay: -2s; }
.dh6 { width: 50px; height: 46px; top: 55%; left: 18%; animation-delay: -5s; }
@keyframes pulse-heart {
  0%, 100% { transform: scale(1) rotate(-4deg); }
  50% { transform: scale(1.08) rotate(4deg); }
}

.hero__heart-icon { margin-bottom: 16px; animation: pulse-heart 3s ease-in-out infinite; }
.hero__content { position: relative; z-index: 2; }
.hero__kicker {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-body);
  color: var(--pink-light);
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.hero__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  color: var(--pink-light);
}
.hero__sub {
  max-width: 520px;
  margin: 0 auto 40px;
  font-size: var(--fs-body);
  opacity: .9;
  line-height: 1.8;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2.5s ease-in-out infinite;
}
.scroll-dot { animation: scroll-dot 2.5s ease-in-out infinite; }
@keyframes scroll-dot {
  0%, 100% { cy: 10; opacity: 1; }
  50% { cy: 24; opacity: .3; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 48px;
  transition: all .35s ease;
}
.btn--primary {
  background: #fff;
  color: var(--scarlet);
  box-shadow: 0 4px 20px rgba(215,38,56,.2);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--pink-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(215,38,56,.3);
}
.btn--big {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  padding: 22px 60px;
  border-radius: 56px;
  background: linear-gradient(135deg, var(--scarlet), var(--rose));
  color: #fff;
  box-shadow: 0 6px 32px rgba(215,38,56,.3);
  transition: all .4s ease;
  animation: btn-glow 3s ease-in-out infinite;
}
@keyframes btn-glow {
  0%, 100% { box-shadow: 0 6px 32px rgba(215,38,56,.3); }
  50% { box-shadow: 0 8px 48px rgba(215,38,56,.5), 0 0 24px rgba(255,182,193,.3); }
}
.btn--big:hover,
.btn--big:focus-visible {
  background: linear-gradient(135deg, var(--rose), var(--scarlet));
  transform: translateY(-3px) scale(1.04);
}
.btn-heart { flex-shrink: 0; }

/* ===== SECTION TITLE ===== */
.section-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-section);
  text-align: center;
  margin-bottom: 56px;
  color: var(--scarlet);
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 2.5px;
  background: var(--pink);
  margin: 16px auto 0;
  border-radius: 2px;
}
.title-hearts {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  animation: pulse-heart 2s ease-in-out infinite;
}

/* ===== REASONS ===== */
.reasons {
  padding: 96px 0;
  background: var(--ground);
  position: relative;
  z-index: 1;
}
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.reason-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background .4s ease, color .4s ease, transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 2px 16px rgba(215,38,56,.06);
  border: 1.5px solid var(--pink-light);
}
.reason-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--scarlet), var(--rose));
  opacity: 0;
  transition: opacity .4s ease;
  border-radius: 20px;
}
.reason-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(215,38,56,.18);
}
.reason-card:hover::before { opacity: 1; }
.reason-card:hover,
.reason-card:hover h3,
.reason-card:hover p { color: #fff; }
.reason-card:hover .reason-card__heart svg path { fill: #fff; }
.reason-card__heart {
  width: 40px;
  height: 37px;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  transition: transform .35s ease;
}
.reason-card:hover .reason-card__heart { transform: scale(1.2); }
.reason-card__heart svg { width: 100%; height: 100%; }
.reason-card h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  transition: color .4s ease;
}
.reason-card p {
  font-size: var(--fs-body);
  color: var(--muted);
  position: relative;
  z-index: 1;
  transition: color .4s ease;
}

/* ===== STORY (photos + text) ===== */
.story {
  padding: 64px 0 80px;
  background: var(--ground);
  position: relative;
  z-index: 1;
}
.story__block { margin-bottom: 40px; }
.story__block--text {
  text-align: center;
  padding: 32px 16px;
}
.story__heart-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.story__quote {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--scarlet-deep);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.story__block--final .story__quote {
  font-weight: 600;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
}

.story__block--photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* photo cards — aspect-ratio based, no cropping */
.photo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(215,38,56,.12);
  border: 3px solid var(--pink-light);
  transition: transform .5s ease, box-shadow .5s ease;
  aspect-ratio: 3 / 4;
}
.photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 40px rgba(215,38,56,.08);
  pointer-events: none;
}
.photo-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 20px 56px rgba(215,38,56,.2);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  cursor: pointer;
  transition: transform .6s ease;
}
.photo-card:hover img { transform: scale(1.05); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(80,10,20,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  backdrop-filter: blur(10px);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0,0,0,.5);
  transform: scale(.9);
  transition: transform .4s ease;
  object-fit: contain;
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.6rem;
  color: #fff;
  opacity: .7;
  transition: opacity .3s;
  z-index: 10;
  line-height: 1;
}
.lightbox__close:hover { opacity: 1; }

/* ===== SMILE ===== */
.smile {
  padding: 80px 0 96px;
  text-align: center;
  background: linear-gradient(180deg, var(--ground) 0%, var(--cream) 100%);
  position: relative;
  z-index: 1;
}
.smile__hint {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 8px;
  animation: hintPulse 2.5s ease-in-out infinite;
}
@keyframes hintPulse {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}
.smile__hint-arrow {
  margin-bottom: 20px;
  animation: bounce 2s ease-in-out infinite;
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 24px;
  text-align: center;
  background: linear-gradient(135deg, #8B0A1A, var(--scarlet-deep));
  color: var(--cream);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-body);
  position: relative;
  z-index: 1;
}
.footer__hearts {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

/* ===== PARTICLES CANVAS ===== */
.particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
  .reasons__grid { grid-template-columns: 1fr; gap: 16px; }
  .story__block--photos { grid-template-columns: 1fr; gap: 16px; }
  .photo-card { aspect-ratio: 3 / 4; }
  .hero { padding: 64px 20px 40px; }
  .btn--big { padding: 18px 40px; }
  .dh1 { width: 120px; height: 110px; }
  .dh5 { display: none; }
}
@media (max-width: 480px) {
  .photo-card { aspect-ratio: 3 / 4; }
  .reason-card { padding: 28px 20px; }
}
