/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #4a0e1b;
}

body {
  background: #fff0f3;
  overflow-x: hidden;
}

/* ── Sections ── */
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  position: relative;
  padding: 2rem;
  text-align: center;
  overflow: hidden;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #d4294b 0%, #e8506a 40%, #f7a1b5 100%);
  color: #fff;
}
.hero h1 {
  font-size: clamp(2.5rem, 8vw, 6rem);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.hero p {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  opacity: 0.92;
  max-width: 520px;
}
.hero .scroll-hint {
  position: absolute;
  bottom: 2rem;
  animation: bounce 2s infinite;
  opacity: 0.7;
  font-size: 1.5rem;
}

/* ── Love Letter ── */
.love-letter {
  background: #fff;
}
.love-letter .card {
  background: #fadce2;
  border: 2px solid #f1c0cb;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  max-width: 560px;
  box-shadow: 0 8px 32px rgba(212,41,75,0.10);
  position: relative;
}
.love-letter .card::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: #e8506a;
  clip-path: path('M18 6C18 6 14 0 9 0C4 0 0 4 0 9C0 18 18 24 18 24C18 24 36 18 36 9C36 4 32 0 27 0C22 0 18 6 18 6Z');
}
.love-letter h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #c9243f;
  margin-bottom: 1rem;
}
.love-letter p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.8;
  color: #5c1a2a;
}

/* ── Reasons ── */
.reasons {
  background: linear-gradient(180deg, #fff0f3 0%, #fce4ec 100%);
}
.reasons h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #c9243f;
  margin-bottom: 2rem;
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  width: 100%;
}
.reason-card {
  background: #fff;
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: 0 4px 20px rgba(212,41,75,0.08);
  transition: transform 0.3s ease;
  min-height: 360px;
}
.reason-card:hover {
  transform: translateY(-4px);
}
.reason-card svg {
  margin-bottom: 0.75rem;
}
.reason-card h3 {
  color: #d4294b;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}
.reason-card p {
  font-size: 0.95rem;
  color: #6b2035;
  line-height: 1.6;
}

.reason-image {
  width: 100%;
  height: 320px;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(212, 41, 75, 0.2);
}
.reason-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Poem ── */
.poem {
  background: #c9243f;
  color: #fff;
}
.poem h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1.5rem;
}
.poem blockquote {
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  line-height: 2;
  max-width: 500px;
  opacity: 0.95;
}
.poem blockquote span {
  display: block;
}

/* ── Finale ── */
.finale {
  background: linear-gradient(135deg, #e8506a 0%, #d4294b 50%, #a01d36 100%);
  color: #fff;
}
.finale h2 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.finale p {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  opacity: 0.9;
  max-width: 480px;
}

/* ── SVG floating hearts ── */
.floating-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.floating-hearts svg {
  position: absolute;
  animation: float linear infinite;
  opacity: 0.15;
}
.floating-hearts svg:nth-child(1) { left: 5%;  width: 40px; animation-duration: 12s; animation-delay: 0s;   bottom: -50px; }
.floating-hearts svg:nth-child(2) { left: 20%; width: 28px; animation-duration: 10s; animation-delay: 2s;   bottom: -50px; }
.floating-hearts svg:nth-child(3) { left: 40%; width: 50px; animation-duration: 14s; animation-delay: 4s;   bottom: -50px; }
.floating-hearts svg:nth-child(4) { left: 60%; width: 32px; animation-duration: 11s; animation-delay: 1s;   bottom: -50px; }
.floating-hearts svg:nth-child(5) { left: 80%; width: 44px; animation-duration: 13s; animation-delay: 3s;   bottom: -50px; }
.floating-hearts svg:nth-child(6) { left: 92%; width: 24px; animation-duration: 9s;  animation-delay: 5s;   bottom: -50px; }

/* ── Hero SVG ── */
.hero-heart {
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.18));
}

/* ── Animations ── */
@keyframes float {
  0%   { transform: translateY(0)   rotate(0deg);   opacity: 0; }
  10%  { opacity: 0.15; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

.pulse { animation: pulse 2s ease-in-out infinite; }

/* ── Responsive ── */
@media (max-width: 600px) {
  section { padding: 1.5rem 1rem; }
  .love-letter .card { padding: 2rem 1.5rem; }
  .reasons-grid { grid-template-columns: 1fr; }
}
