/* ===========================
   FONT AWESOME ICON STYLES
   =========================== */

/* Hero eyebrow sparkle icons */
.hero-eyebrow i {
  color: var(--btn-blue);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Hero button arrow */
.btn-primary i, .btn-outline i {
  margin-left: 6px;
  font-size: 0.85em;
  transition: transform 0.2s;
}
.btn-primary:hover i.fa-chevron-down,
.btn-outline:hover i.fa-arrow-up-right-from-square {
  transform: translateY(3px);
}
.btn-outline i.fa-google { margin-left: 0; margin-right: 6px; }

/* Floating balloon & ribbon icons */
.balloon-icon  { color: #6AB0DE; font-size: 2rem; }
.balloon-icon-2 { color: #A8D5C3; }
.ribbon-icon   { color: #F2D7D5; font-size: 1.6rem; }
.star-icon     { color: #D9D6F0; font-size: 1.4rem; }

/* Stat icons */
.stat-icon i {
  font-size: 1.5rem;
  color: var(--btn-blue-dark);
}

/* Quote icon replacing big quote mark */
.quote-mark i {
  font-size: 3rem;
  color: #d0e4f7;
}

/* Message heart */
.message-sign i {
  color: #E87B7B;
  margin-right: 6px;
}

/* Section title inline icons */
.section-title-icon {
  font-size: 0.75em;
  color: var(--btn-blue);
  margin-left: 10px;
  vertical-align: middle;
  opacity: 0.75;
}

/* Video play button icon */
.play-btn i {
  font-size: 1.6rem;
  margin-left: 4px; /* optical centering for play triangle */
}


.video-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--hero-bg), var(--mint));
  aspect-ratio: 15/20 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--card-shadow);
  margin-top: 0;
  cursor: pointer;
  transition: box-shadow 0.3s;
}

/* Countdown party date icon */
.party-date i {
  margin-right: 8px;
  color: var(--btn-blue-dark);
  font-size: 1.5rem;
  vertical-align: middle;
}

/* Party detail icons */
.pd-icon {
  font-size: 1.1rem;
  color: var(--btn-blue);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* Wishes section */
.section-sub i {
  color: var(--btn-blue);
  margin-left: 4px;
  font-size: 0.85em;
}

/* Wish form field icons */
.wish-input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.wish-field-icon {
  position: absolute;
  left: 16px;
  color: var(--btn-blue);
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 1;
}
.wish-textarea-icon {
  top: 16px;
  align-self: flex-start;
}
.wish-input-group .wish-input,
.wish-input-group .wish-textarea {
  padding-left: 42px;
  width: 100%;
}

/* Send button icon */
.btn-primary i.fa-paper-plane {
  margin-left: 0;
  margin-right: 8px;
  font-size: 0.9em;
}

/* Wish card star icon */
.wish-card-icon {
  font-size: 0.85rem;
  color: var(--btn-blue);
  margin-bottom: 10px;
  display: block;
  opacity: 0.6;
}
.wish-card:nth-child(3n+2) .wish-card-icon { color: var(--mint-dark); }
.wish-card:nth-child(3n+3) .wish-card-icon { color: #E8A09A; }

/* Map section */
.map-pin i {
  font-size: 3.5rem;
  color: var(--btn-blue);
}
.map-address i {
  margin-right: 6px;
  color: var(--text-mid);
  font-size: 0.9em;
}

/* Thank you balloon icon */
.ty-balloon-icon {
  font-size: 3.5rem;
  color: var(--btn-blue);
}
.ty-sign i {
  color: #E87B7B;
  margin-right: 8px;
}
.ty-rsvp i {
  color: var(--btn-blue);
  margin-right: 6px;
}

/* Footer heart & cake */
.heart i { color: #E87B7B; }
.footer-sub i {
  color: var(--btn-blue);
  margin-right: 4px;
}

/* ===========================
   DESIGN TOKENS
   =========================== */
:root {
  --hero-bg: #E8F0FE;
  --white: #FFFFFF;
  --btn-blue: #6AB0DE;
  --btn-blue-dark: #4A96C8;
  --mint: #D4E9E2;
  --mint-dark: #A8D5C3;
  --text-dark: #4A4A4A;
  --text-light: #8A8A8A;
  --text-mid: #6B6B6B;
  --accent-blush: #F2D7D5;
  --accent-lavender: #D9D6F0;
  --section-alt: #F7F9FF;
  --card-shadow: 0 4px 20px rgba(106, 176, 222, 0.12);
  --card-shadow-hover: 0 8px 32px rgba(106, 176, 222, 0.22);
  --radius: 20px;
  --radius-sm: 12px;
}

/* ===========================
   BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 90px 0;
}

/* ===========================
   TYPOGRAPHY HELPERS
   =========================== */
.section-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--btn-blue);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-sub {
  text-align: center;
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-block;
  background: var(--btn-blue);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(106, 176, 222, 0.35);
}
.btn-primary:hover {
  background: var(--btn-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(106, 176, 222, 0.45);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--btn-blue);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid var(--btn-blue);
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 20px;
}
.btn-outline:hover {
  background: var(--btn-blue);
  color: var(--white);
}

/* ===========================
   HERO SECTION
   =========================== */
#hero {
  min-height: 100vh;
  background: var(--hero-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 60px 24px;
  text-align: center;
}

.hero-bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
  filter: blur(60px);
}
.blob1 {
  width: 500px; height: 500px;
  background: var(--btn-blue);
  top: -100px; left: -150px;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob2 {
  width: 350px; height: 350px;
  background: var(--mint-dark);
  bottom: -80px; right: -80px;
  animation: blobFloat 10s ease-in-out infinite reverse;
}
.blob3 {
  width: 280px; height: 280px;
  background: var(--accent-blush);
  top: 50%; left: 60%;
  animation: blobFloat 12s ease-in-out infinite;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.97); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-eyebrow {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  color: var(--text-mid);
  letter-spacing: 0.05em;
}

.hero-card-wrap {
  position: relative;
}

.hero-card-img {
  width: 100%;
  max-width: 360px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(74, 150, 200, 0.25);
  transition: transform 0.4s ease;
}
.hero-card-img:hover {
  transform: scale(1.02) rotate(-1deg);
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 420px;
  font-weight: 400;
}

/* Floating balloons */
.floating-balloons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.balloon {
  position: absolute;
  font-size: 2rem;
  animation: floatUp 6s ease-in-out infinite;
  opacity: 0.7;
}
.b1 { left: 8%; top: 20%; animation-delay: 0s; }
.b2 { right: 12%; top: 15%; animation-delay: 1.5s; font-size: 1.6rem; }
.b3 { left: 15%; bottom: 20%; animation-delay: 3s; font-size: 1.8rem; }
.b4 { right: 8%; bottom: 25%; animation-delay: 4.5s; font-size: 1.4rem; }

@keyframes floatUp {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(5deg); }
}

/* ===========================
   BIRTH STATS SECTION
   =========================== */
#birth-stats {
  background: var(--white);
}

.stats-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 48px;
}

.stats-image-wrap {
  display: flex;
  justify-content: center;
}

.stats-img {
  width: 100%;
  max-width: 300px;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow-hover);
}

.stats-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--mint);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: transform 0.2s ease;
}
.stat-card:hover {
  transform: translateX(6px);
}

.stat-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-mid);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.stats-quote {
  font-family: 'Dancing Script', cursive;
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-top: 8px;
  padding-left: 8px;
  border-left: 3px solid var(--btn-blue);
}

/* ===========================
   MESSAGE SECTION
   =========================== */
#message {
  background: var(--section-alt);
}

.message-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 52px;
  box-shadow: var(--card-shadow);
  position: relative;
  margin-top: 40px;
}

.quote-mark {
  position: absolute;
  top: 20px;
  left: 24px;
  pointer-events: none;
  line-height: 1;
}

.message-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-mid);
  position: relative;
  z-index: 1;
}

.message-sign {
  font-family: 'Dancing Script', cursive;
  font-size: 1.25rem;
  color: var(--btn-blue);
  display: block;
  margin-top: 12px;
}

/* ===========================
   VIDEO SECTION
   =========================== */
#video {
  background: var(--white);
}

.video-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--hero-bg), var(--mint));
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--card-shadow);
  margin-top: 0;
  cursor: pointer;
  transition: box-shadow 0.3s;
}
.video-placeholder:hover {
  box-shadow: var(--card-shadow-hover);
}

.video-inner {
  text-align: center;
}

.play-btn {
  width: 72px;
  height: 72px;
  background: var(--btn-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  box-shadow: 0 6px 24px rgba(106,176,222,0.4);
  transition: transform 0.2s;
}
.video-placeholder:hover .play-btn {
  transform: scale(1.1);
}

.video-hint {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.video-sub-hint {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===========================
   COUNTDOWN SECTION
   =========================== */
#countdown {
  background: var(--hero-bg);
  text-align: center;
}

.party-date {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  color: var(--btn-blue);
  margin-bottom: 40px;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.countdown-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  min-width: 110px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.count-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--btn-blue);
  line-height: 1;
  min-width: 60px;
  text-align: center;
  display: block;
}

.count-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.countdown-sep {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--btn-blue);
  opacity: 0.5;
  padding-bottom: 20px;
}

.party-details {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.party-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-mid);
  background: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: var(--card-shadow);
}

.pd-icon { font-size: 1.2rem; }

/* ===========================
   WISHES WALL
   =========================== */
#wishes {
  background: var(--section-alt);
}

.wish-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto 48px;
}

.wish-input, .wish-textarea {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  border: 2px solid #E0EAF5;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  resize: none;
}
.wish-input:focus, .wish-textarea:focus {
  border-color: var(--btn-blue);
}
.wish-textarea {
  min-height: 110px;
}

.wishes-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.wish-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s;
  border-top: 4px solid var(--btn-blue);
}
.wish-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.wish-card:nth-child(3n+2) { border-top-color: var(--mint-dark); }
.wish-card:nth-child(3n+3) { border-top-color: var(--accent-blush); }

.wish-content {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}

.wish-author {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--btn-blue);
  display: block;
}

.wish-new {
  animation: wishPop 0.4s ease forwards;
}

@keyframes wishPop {
  0% { opacity: 0; transform: scale(0.85) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ===========================
   MAP SECTION
   =========================== */
#map-section {
  background: var(--white);
}

.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin-top: 16px;
}

.map-placeholder {
  background: linear-gradient(135deg, var(--mint), var(--hero-bg));
  padding: 72px 40px;
  text-align: center;
}

.map-pin {
  font-size: 3rem;
  margin-bottom: 16px;
  animation: pinBounce 2s ease-in-out infinite;
  color: var(--btn-blue);
}

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

.map-venue {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.map-address {
  color: var(--text-mid);
  font-size: 1rem;
}

/* ===========================
   THANK YOU SECTION
   =========================== */
#thankyou {
  background: linear-gradient(160deg, var(--hero-bg) 0%, var(--mint) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#thankyou::before {
  content: '🎈';
  position: absolute;
  font-size: 12rem;
  opacity: 0.05;
  top: -20px;
  left: -40px;
  pointer-events: none;
}
#thankyou::after {
  content: '🎉';
  position: absolute;
  font-size: 12rem;
  opacity: 0.05;
  bottom: -20px;
  right: -40px;
  pointer-events: none;
}

.ty-content {
  position: relative;
  z-index: 1;
}

.ty-emoji {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: floatUp 4s ease-in-out infinite;
  color: var(--btn-blue);
}

.ty-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text-dark);
  margin-bottom: 24px;
}

.ty-text {
  font-size: 1.08rem;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 560px;
  margin: 0 auto;
}

.ty-sign {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem;
  color: var(--btn-blue);
  margin-top: 28px;
}

.ty-divider {
  width: 60px;
  height: 3px;
  background: var(--btn-blue);
  border-radius: 2px;
  margin: 32px auto;
  opacity: 0.4;
}

.ty-rsvp {
  font-size: 0.95rem;
  color: var(--text-mid);
}
.ty-rsvp a {
  color: var(--btn-blue);
  font-weight: 700;
  text-decoration: none;
}
.ty-rsvp a:hover { text-decoration: underline; }

/* ===========================
   FOOTER
   =========================== */
#footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 28px 24px;
  font-size: 0.9rem;
}
#footer strong {
  color: var(--btn-blue);
}
.heart {
  animation: heartbeat 1.2s ease-in-out infinite;
  display: inline-block;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
.footer-sub {
  font-size: 0.82rem;
  opacity: 0.5;
  margin-top: 4px;
}

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  section { padding: 64px 0; }

  .stats-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stats-img { max-width: 260px; }

  .message-card {
    padding: 36px 28px;
  }

  .countdown-grid { gap: 6px; }
  .countdown-card { min-width: 80px; padding: 18px 16px; }
  .count-num { font-size: 2.2rem; }

  .countdown-sep { display: none; }

  .wishes-wall {
    grid-template-columns: 1fr;
  }

  .party-details {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-card-img { max-width: 290px; }
  .message-card { padding: 28px 20px; }
  .quote-mark { font-size: 5rem; }
}
