
:root {
  --pink: #e9a9b8;
  --deep-pink: #b85e79;
  --light-pink: #fff1f3;
  --cream: #fffaf5;
  --rose: #f8dce2;
  --gold: #c49a69;
  --text: #62434b;
  --muted: #997780;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

button, a {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  color: var(--deep-pink);
}

.logo span {
  color: #d98ca0;
}

.music-button {
  border: 1px solid #edc3cc;
  background: rgba(255,255,255,.8);
  color: var(--deep-pink);
  padding: 11px 18px;
  border-radius: 30px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: .3s;
}

.music-button:hover {
  background: white;
  transform: translateY(-2px);
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse at 20% 20%, #fff 0%, transparent 40%),
    radial-gradient(ellipse at 80% 80%, #f6dce3 0%, transparent 45%),
    linear-gradient(135deg, #fff8f5, #fbe5e9, #fff4ef);
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,.55);
  filter: blur(80px);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 110px 20px 65px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 10px;
  font-weight: 700;
  color: var(--deep-pink);
  margin-bottom: 20px;
}

.hero-flower {
  font-size: 48px;
  margin: 15px 0;
  animation: float 4s ease-in-out infinite;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 90px);
  line-height: 1.12;
  color: #704653;
}

.hero h1 span {
  font-family: "Great Vibes", cursive;
  color: var(--deep-pink);
  font-size: 1.2em;
  font-weight: 400;
}

.hero-name {
  color: var(--gold);
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 12px;
  margin-top: 22px;
}

.hero-description {
  color: var(--muted);
  line-height: 1.9;
  margin: 24px 0 30px;
  font-size: 14px;
}

.main-button {
  display: inline-block;
  border: none;
  background: linear-gradient(135deg, #c46f87, #e5a4b5);
  color: white;
  padding: 16px 29px;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(184,94,121,.2);
  transition: .3s;
}

.main-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(184,94,121,.3);
}

.main-button span {
  margin-left: 8px;
}

.scroll-note {
  margin-top: 75px;
  font-size: 9px;
  letter-spacing: 3px;
  color: #b58d97;
}

.hero-decoration {
  position: absolute;
  color: rgba(184,94,121,.2);
  animation: float 5s ease-in-out infinite;
}

.decor-one {
  top: 20%;
  left: 12%;
  font-size: 55px;
}

.decor-two {
  right: 12%;
  top: 28%;
  font-size: 48px;
}

.decor-three {
  right: 18%;
  bottom: 13%;
  font-size: 60px;
}

.section-padding {
  padding: 100px 8%;
}

.intro {
  text-align: center;
  background: white;
}

.intro h2,
.reasons-section h2,
.memories-section h2,
.surprise-section > h2 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.4;
  color: #704653;
}

em {
  color: var(--deep-pink);
  font-weight: 500;
}

.small-line {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 30px auto;
}

.intro-text {
  max-width: 550px;
  margin: auto;
  line-height: 2;
  color: var(--muted);
  font-size: 14px;
}

.letter-section {
  background: linear-gradient(135deg, #fff3f4, #fce9ec);
}

.letter-card {
  max-width: 780px;
  margin: auto;
  background: rgba(255,255,255,.85);
  padding: clamp(30px, 7vw, 70px);
  border-radius: 8px;
  box-shadow: 0 20px 70px rgba(130,70,90,.08);
  border: 1px solid #f8e0e5;
  position: relative;
}

.letter-flower {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 30px;
}

.letter-card h2 {
  font-size: clamp(30px, 5vw, 42px);
  color: var(--deep-pink);
  margin-bottom: 30px;
}

.letter-body {
  font-family: "Playfair Display", serif;
  font-size: 17px;
  line-height: 2.05;
  color: #73545d;
}

.letter-body p {
  margin-bottom: 19px;
}

.letter-ending {
  color: var(--deep-pink);
  font-style: italic;
}

.signature {
  font-family: "Great Vibes", cursive;
  font-size: 34px;
  color: var(--deep-pink);
  margin-top: 25px;
}

.reasons-section {
  text-align: center;
  background: var(--cream);
}

.section-description {
  max-width: 550px;
  margin: 18px auto 50px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1050px;
  margin: auto;
}

.reason-card {
  padding: 35px 24px;
  background: white;
  border: 1px solid #f5e5e7;
  border-radius: 12px;
  transition: .35s;
}

.reason-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 35px rgba(150,80,100,.1);
}

.reason-card span {
  font-size: 30px;
}

.reason-card h3 {
  font-size: 20px;
  margin: 18px 0 12px;
  color: var(--deep-pink);
}

.reason-card p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

/* PHOTO GALLERY */

.memories-section {
  background: white;
  text-align: center;
}

.photo-gallery {
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.memory-card {
  background: #fff8f6;
  padding: 12px 12px 18px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(100,60,70,.07);
}

.photo-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}

.photo-caption {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--deep-pink);
  margin-top: 15px;
}

/* EIGHT VIDEO MEMORIES */

.video-area {
  margin: 85px auto 0;
  max-width: 1150px;
}

.video-area h3 {
  font-size: 29px;
  color: #704653;
  margin-bottom: 15px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  text-align: center;
}

.video-card {
  padding: 12px;
  background: #fff8f6;
  border: 1px solid #f5e5e7;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(100,60,70,.06);
  transition: .3s;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(100,60,70,.1);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 7px;
  display: block;
  background: #f3dfe4;
}

.video-card p {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--deep-pink);
  margin: 15px 5px 7px;
}

/* BIRTHDAY WISH */

.wish-section {
  background: linear-gradient(135deg, #fbe7eb, #fff5f1);
}

.wish-card {
  max-width: 750px;
  margin: auto;
  padding: 65px 35px;
  text-align: center;
  background: rgba(255,255,255,.7);
  border: 1px solid #f4d9df;
  border-radius: 15px;
}

.wish-decoration {
  font-size: 45px;
  margin-bottom: 20px;
}

.wish-card h2 {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.4;
  color: #704653;
  margin-bottom: 25px;
}

.wish-card > p:not(.eyebrow) {
  max-width: 570px;
  margin: 15px auto;
  line-height: 2;
  font-size: 14px;
  color: var(--muted);
}

.wish-heart {
  color: var(--deep-pink);
  font-size: 40px;
  margin-top: 25px;
}

/* FINAL SURPRISE */

.surprise-section {
  text-align: center;
  background: white;
}

.surprise-button {
  font-size: 14px;
}

.hidden-message {
  display: none;
  max-width: 650px;
  margin: 55px auto 0;
  padding: 45px 30px;
  background: #fff2f4;
  border: 1px solid #f4d5dd;
  border-radius: 15px;
}

.hidden-message.show {
  display: block;
  animation: appear .8s ease forwards;
}

.big-heart {
  font-size: 55px;
  margin-bottom: 20px;
  animation: heartbeat 1.5s infinite;
}

.hidden-message h2 {
  font-size: 32px;
  color: var(--deep-pink);
  margin-bottom: 20px;
}

.hidden-message p {
  font-size: 14px;
  color: var(--muted);
  line-height: 2;
  margin: 15px 0;
}

.hidden-message h3 {
  font-size: 24px;
  color: var(--deep-pink);
  margin-top: 25px;
}

/* FOOTER */

footer {
  padding: 50px 20px;
  text-align: center;
  background: #f9e7eb;
  color: #936773;
}

.footer-heart {
  font-size: 35px;
  margin-bottom: 15px;
  color: var(--deep-pink);
}

footer p {
  font-family: "Playfair Display", serif;
  font-size: 19px;
}

footer small {
  display: block;
  margin-top: 12px;
  font-size: 11px;
}

/* FLOATING PETALS */

.petal-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -30px;
  color: rgba(205,120,145,.4);
  animation: fall linear forwards;
}

/* MUSIC PLAYER */

.youtube-audio {
  display: none;
  position: fixed;
  z-index: 100;
  right: 15px;
  bottom: 15px;
  width: min(340px, calc(100vw - 30px));
  background: white;
  border: 2px solid #edc3cc;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(100,50,70,.2);
  overflow: hidden;
}

.youtube-audio.music-visible {
  display: block;
  animation: appear .3s ease;
}

.music-heading {
  padding: 10px 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--deep-pink);
  font-size: 12px;
  font-weight: 600;
}

.music-heading button {
  border: none;
  background: transparent;
  color: var(--deep-pink);
  font-size: 24px;
  cursor: pointer;
}

.youtube-audio iframe {
  width: 100%;
  height: 190px;
  border: none;
  display: block;
}

/* ANIMATIONS */

@keyframes fall {
  to {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TABLETS */

@media (max-width: 850px) {
  .section-padding {
    padding: 80px 6%;
  }

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-card img {
    height: 290px;
  }

  .video-grid {
    gap: 16px;
  }
}

/* MOBILE PHONES */

@media (max-width: 550px) {
  .navbar {
    padding: 18px 5%;
  }

  .logo {
    font-size: 19px;
  }

  .music-button {
    padding: 9px 13px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: 53px;
  }

  .hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero-description {
    font-size: 13px;
  }

  .decor-one {
    left: 4%;
  }

  .decor-two {
    right: 4%;
  }

  .section-padding {
    padding: 70px 6%;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .reason-card {
    padding: 28px 20px;
  }

  .photo-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .photo-card img {
    height: 320px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-card video {
    aspect-ratio: 16 / 10;
  }

  .letter-body {
    font-size: 15px;
  }

  .wish-card {
    padding: 50px 22px;
  }

  .hidden-message {
    padding: 35px 20px;
  }

  .hidden-message h2 {
    font-size: 27px;
  }

  .youtube-audio {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }
}
