@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: #fff8fb;
  color: #33252c;
  overflow-x: hidden;
}


/* =========================
   HERO SECTION
========================= */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;

  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(255, 183, 209, .35),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(210, 191, 255, .28),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #fff8fb,
      #fdf1f7
    );
}


/* =========================
   NAVIGATION
========================= */

nav {
  width: min(1100px, 90%);
  margin: 0 auto;
  padding: 28px 0;

  display: flex;
  justify-content: space-between;
  align-items: center;

  position: relative;
  z-index: 2;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #d45a87;
}

nav a {
  text-decoration: none;
  color: #5d4852;
  font-size: .95rem;
}


/* =========================
   HERO CONTENT
========================= */

.hero-content {
  width: min(900px, 90%);
  margin: auto;
  text-align: center;
  padding: 70px 0;
}

.small,
.tag {
  color: #d45a87;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .75rem;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: .98;
  margin: 20px 0;
}

h1 span {
  color: #d45a87;
}

.intro {
  max-width: 620px;
  margin: 0 auto 35px;

  font-size: 1.1rem;
  line-height: 1.8;

  color: #715f68;
}


/* =========================
   BUTTON
========================= */

.btn {
  display: inline-block;

  border: 0;
  border-radius: 999px;

  padding: 15px 25px;

  background: #d45a87;
  color: white;

  text-decoration: none;
  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 12px 30px rgba(212, 90, 135, .25);

  transition: .25s ease;
}

.btn:hover {
  transform: translateY(-3px);

  box-shadow:
    0 16px 35px rgba(212, 90, 135, .35);
}


/* =========================
   GENERAL SECTION
========================= */

.section {
  width: min(1100px, 90%);
  margin: 0 auto;
  padding: 110px 0;
  text-align: center;
}

.section h2,
.surprise-section h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);

  margin: 12px auto 18px;

  max-width: 850px;
}

.section-text {
  max-width: 700px;
  margin: 0 auto 45px;

  color: #79666f;
  line-height: 1.8;
}


/* =========================
   STORY CARDS
========================= */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 22px;

  text-align: left;
}

.card {
  padding: 30px;

  border: 1px solid #f2dce5;
  border-radius: 24px;

  background: rgba(255, 255, 255, .7);

  box-shadow:
    0 15px 40px rgba(100, 50, 75, .06);

  transition: .25s ease;
}

.card:hover {
  transform: translateY(-7px);
}

.icon {
  font-size: 2rem;
  margin-bottom: 18px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: #79666f;
  line-height: 1.7;
}


/* =========================
   MEMORIES SECTION
========================= */

.memories {
  background: #fff;

  width: 100%;

  padding-left: 5%;
  padding-right: 5%;
}


/* =========================
   PHOTO SLIDER
========================= */

.gallery-slider {
  width: min(650px, 90%);
  margin: 40px auto;

  text-align: center;
}

.slider {
  position: relative;

  width: 100%;
  height: 500px;

  border-radius: 25px;

  overflow: hidden;

  background: #f5e8ee;

  box-shadow:
    0 20px 50px rgba(80, 45, 70, .15);
}

.slider img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  display: block;

  transition: opacity .3s ease;
}


/* Previous / Next */

.prev,
.next {
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  width: 45px;
  height: 45px;

  border: none;
  border-radius: 50%;

  background: rgba(255, 255, 255, .85);

  color: #d45a87;

  font-size: 22px;

  cursor: pointer;

  transition: .2s ease;
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

.prev:hover,
.next:hover {
  background: white;

  transform:
    translateY(-50%)
    scale(1.1);
}


/* =========================
   SLIDER DOTS
========================= */

.dots {
  margin-top: 18px;
}

.dot {
  display: inline-block;

  width: 9px;
  height: 9px;

  margin: 0 5px;

  border-radius: 50%;

  background: #dfbdcc;

  cursor: pointer;

  transition: .2s ease;
}

.dot.active {
  background: #d45a87;

  transform: scale(1.3);
}


/* =========================
   GALLERY TEXT
========================= */

.hint {
  color: #a48793;
  font-size: .9rem;
}


/* =========================
   REASONS
========================= */

.reason-grid {
  width: min(900px, 100%);

  margin: 40px auto 0;

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px;

  text-align: left;
}

.reason-grid div {
  background: white;

  border-radius: 18px;

  padding: 20px;

  border: 1px solid #f2dce5;
}


/* =========================
   LETTER
========================= */

.letter-section {
  padding: 100px 5%;

  background:
    linear-gradient(
      135deg,
      #fbe5ef,
      #f1e9fa
    );
}

.letter {
  max-width: 750px;

  margin: auto;

  padding: 55px;

  background: rgba(255, 255, 255, .8);

  border-radius: 30px;

  text-align: center;

  box-shadow:
    0 20px 70px rgba(80, 45, 70, .1);
}

.letter h2 {
  font-size: 3rem;

  margin: 10px 0 25px;
}

.letter p:not(.tag):not(.signature) {
  color: #695660;

  line-height: 1.9;

  margin: 15px 0;
}

.signature {
  margin-top: 30px;

  color: #d45a87;

  font-weight: 700;
}


/* =========================
   SURPRISE SECTION
========================= */

.surprise-section {
  width: min(900px, 90%);

  margin: auto;

  padding: 120px 0;

  text-align: center;
}

.surprise {
  display: none;

  margin: 40px auto 0;

  max-width: 650px;

  padding: 40px;

  border-radius: 25px;

  background: white;

  border: 1px solid #f0d6e2;

  animation: pop .5s ease;
}

.surprise.show {
  display: block;
}

.big-heart {
  font-size: 4rem;

  animation: beat 1s infinite;
}

.surprise h3 {
  font-size: 1.5rem;

  margin: 15px 0;
}

.surprise p {
  color: #79666f;

  line-height: 1.8;

  margin: 15px 0;
}


/* =========================
   FOOTER
========================= */

footer {
  padding: 30px;

  text-align: center;

  background: #33252c;

  color: #fcecf3;

  font-size: .9rem;
}


/* =========================
   FLOATING HEARTS
========================= */

.floating-heart {
  position: fixed;

  pointer-events: none;

  z-index: 10;

  animation:
    floatUp 3s linear forwards;
}


/* =========================
   ANIMATIONS
========================= */

@keyframes pop {

  from {
    opacity: 0;
    transform: scale(.7);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }

}

@keyframes beat {

  50% {
    transform: scale(1.18);
  }

}

@keyframes floatUp {

  from {
    opacity: 1;

    transform:
      translateY(0)
      scale(1);
  }

  to {
    opacity: 0;

    transform:
      translateY(-100vh)
      scale(1.8);
  }

}


/* =========================
   TABLET
========================= */

@media (max-width: 800px) {

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .reason-grid {
    grid-template-columns: 1fr;
  }

  .letter {
    padding: 35px 22px;
  }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  .gallery-slider {
    width: 92%;
  }

  .slider {
    height: 400px;

    border-radius: 20px;
  }

  .prev,
  .next {
    width: 38px;
    height: 38px;

    font-size: 18px;
  }

}


@media (max-width: 520px) {

  nav a {
    display: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 40px;
  }

  h1 {
    font-size: 3.5rem;
  }

  .letter {
    padding: 30px 20px;
  }

}
.moti {
  color: #ff4f81;
  text-shadow: 0 0 10px rgba(255, 79, 129, .5);
}