* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =====================================================
   LOVE JOURNEY PAGE
===================================================== */

.love-journey-page {
  --love-dark: #762f46;
  --love-deep: #8e3654;
  --love-pink: #c75d7b;
  --love-light: #ed9fb3;
  --love-soft: #f9d8e1;
  --love-pale: #fff6f5;
  --love-cream: #fffaf8;
  --love-text: #68404d;

  background: linear-gradient(180deg, #fffaf8, #fff2f5);

  color: var(--love-text);

  overflow: hidden;
}

/* =====================================================
   HERO
===================================================== */

.love-hero {
  position: relative;

  height: min(820px, 94vh);

  min-height: 620px;

  overflow: hidden;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  color: white;
}

.love-hero-image {
  position: absolute;

  inset: 0;
}

.love-hero-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;
}

.love-hero-overlay {
  position: absolute;

  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(61, 18, 31, 0.25),
    rgba(79, 22, 38, 0.65)
  );
}

.love-hero-content {
  position: relative;

  z-index: 3;

  max-width: 800px;

  padding: 30px;
}

.love-hero-kicker {
  display: block;

  margin-bottom: 22px;

  font-family: Arial, sans-serif;

  font-size: 9px;

  letter-spacing: 5px;

  opacity: 0.9;
}

.love-hero-content h1 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(65px, 10vw, 125px);

  font-weight: 400;

  line-height: 0.78;

  letter-spacing: -4px;
}

.love-hero-content h1 em {
  display: block;

  margin-top: 20px;

  font-family: "Brush Script MT", "Segoe Script", cursive;

  font-size: 1.12em;

  font-weight: 400;

  letter-spacing: 0;

  color: #ffd5df;
}

.love-hero-content p {
  max-width: 430px;

  margin: 35px auto 25px;

  font-family: Georgia, serif;

  font-size: 15px;

  line-height: 1.7;

  color: rgba(255, 255, 255, 0.9);
}

.love-hero-divider {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 14px;

  margin: 20px 0;
}

.love-hero-divider span {
  width: 70px;

  height: 1px;

  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8));
}

.love-hero-divider span:last-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
}

.love-hero-divider i {
  font-style: normal;

  color: #ffd2de;

  font-size: 14px;
}

.love-hero-date {
  font-family: Arial, sans-serif;

  font-size: 8px;

  letter-spacing: 3px;

  opacity: 0.85;
}

/* Hero floating decorations */

.love-hero-petal {
  position: absolute;

  z-index: 2;

  color: #ffd4df;

  opacity: 0.7;

  animation: loveHeroFloat 5s ease-in-out infinite;
}

.hero-petal-1 {
  top: 22%;

  left: 15%;

  font-size: 28px;
}

.hero-petal-2 {
  top: 32%;

  right: 17%;

  font-size: 13px;

  animation-delay: 1s;
}

.hero-petal-3 {
  bottom: 25%;

  right: 12%;

  font-size: 40px;

  animation-delay: 2s;
}

.hero-petal-4 {
  bottom: 30%;

  left: 20%;

  font-size: 14px;

  animation-delay: 3s;
}

@keyframes loveHeroFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-20px) rotate(12deg);
  }
}

/* Hero scroll */

.love-hero-scroll {
  position: absolute;

  z-index: 4;

  bottom: 28px;

  left: 50%;

  transform: translateX(-50%);

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 10px;

  font-family: Arial, sans-serif;

  font-size: 8px;

  letter-spacing: 3px;

  opacity: 0.8;
}

.love-hero-scroll div {
  width: 1px;

  height: 45px;

  background: linear-gradient(to bottom, white, transparent);

  animation: loveScroll 2s infinite;
}

@keyframes loveScroll {
  0% {
    transform: scaleY(0);

    transform-origin: top;
  }

  50% {
    transform: scaleY(1);

    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);

    transform-origin: bottom;
  }
}

/* =====================================================
   INTRO
===================================================== */

.story-intro {
  max-width: 800px;

  margin: 0 auto;

  padding: 115px 30px 90px;

  text-align: center;
}

.story-intro-kicker {
  display: block;

  margin-bottom: 15px;

  font-family: Arial, sans-serif;

  font-size: 9px;

  letter-spacing: 4px;

  color: var(--love-pink);
}

.story-intro h2 {
  margin: 0;

  font-family: Georgia, serif;

  font-weight: 400;

  font-size: clamp(32px, 5vw, 55px);

  line-height: 1.08;

  color: var(--love-dark);
}

.story-intro h2 em {
  display: block;

  margin-top: 8px;

  font-family: "Brush Script MT", "Segoe Script", cursive;

  font-size: 1.15em;

  font-weight: 400;

  color: var(--love-pink);
}

.story-intro p {
  max-width: 580px;

  margin: 28px auto 25px;

  font-family: Georgia, serif;

  font-size: 15px;

  line-height: 1.9;

  color: #8a5c68;
}

.intro-heart {
  position: relative;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  margin-top: 20px;

  width: 38px;
  height: 38px;

  border: 1px solid rgba(199, 93, 123, 0.35);

  border-radius: 50%;

  color: var(--love-pink);

  font-size: 12px;
}

.intro-heart::before,
.intro-heart::after {
  content: "";

  position: absolute;

  top: 50%;

  width: 55px;

  height: 1px;

  background: rgba(199, 93, 123, 0.35);
}

.intro-heart::before {
  right: 100%;

  margin-right: 15px;
}

.intro-heart::after {
  left: 100%;

  margin-left: 15px;
}

/* =====================================================
   TIMELINE SECTION
===================================================== */

.love-timeline-section {
  position: relative;

  padding: 110px 30px 140px;

  background:
    radial-gradient(
      circle at 5% 20%,
      rgba(237, 159, 179, 0.14),
      transparent 25%
    ),
    radial-gradient(
      circle at 95% 75%,
      rgba(199, 93, 123, 0.1),
      transparent 25%
    ),
    #fff8f7;
}

/* subtle paper */

.love-timeline-section::before {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  opacity: 0.13;

  background-image: radial-gradient(
    rgba(118, 47, 70, 0.18) 0.7px,
    transparent 0.7px
  );

  background-size: 8px 8px;
}

/* Heading */

.timeline-heading {
  position: relative;

  z-index: 2;

  text-align: center;

  margin-bottom: 100px;
}

.timeline-heading > span {
  display: block;

  margin-bottom: 12px;

  font-family: Arial, sans-serif;

  font-size: 9px;

  letter-spacing: 4px;

  color: var(--love-pink);
}

.timeline-heading h2 {
  margin: 0;

  font-family: Georgia, serif;

  font-size: clamp(38px, 5vw, 58px);

  font-weight: 400;

  line-height: 1;

  color: var(--love-dark);
}

.timeline-heading h2 em {
  font-family: "Brush Script MT", "Segoe Script", cursive;

  font-size: 1.15em;

  color: var(--love-pink);

  font-weight: 400;
}

/* =====================================================
   TIMELINE
===================================================== */

.love-timeline {
  position: relative;

  max-width: 1150px;

  margin: 0 auto;
}

/* Central line */

.love-timeline::before {
  content: "";

  position: absolute;

  top: 0;

  bottom: 0;

  left: 50%;

  width: 1px;

  transform: translateX(-50%);

  background: linear-gradient(
    to bottom,
    transparent,
    #d78a9f 5%,
    #d78a9f 95%,
    transparent
  );
}

/* Timeline event */

.timeline-event {
  position: relative;

  display: flex;

  width: 100%;

  margin-bottom: 110px;

  min-height: 300px;
}

.timeline-event:last-child {
  margin-bottom: 0;
}

/* Content */

.timeline-content {
  width: calc(50% - 80px);

  display: flex;

  align-items: center;

  gap: 30px;
}

.timeline-event.left .timeline-content {
  margin-right: auto;

  flex-direction: row-reverse;

  text-align: right;
}

.timeline-event.right .timeline-content {
  margin-left: auto;

  text-align: left;
}

/* =====================================================
   TIMELINE IMAGE
===================================================== */

.timeline-image {
  position: relative;

  flex: 0 0 235px;

  height: 300px;

  overflow: hidden;

  border-radius: 120px 120px 8px 8px;

  border: 5px solid #fff;

  box-shadow: 0 15px 35px rgba(118, 47, 70, 0.13);

  background: #f3dce2;
}

.timeline-image::after {
  content: "";

  position: absolute;

  inset: 0;

  border: 1px solid rgba(199, 93, 123, 0.35);

  border-radius: 115px 115px 5px 5px;

  pointer-events: none;
}

.timeline-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.timeline-event:hover .timeline-image img {
  transform: scale(1.07);
}

/* Number */

.image-number {
  position: absolute;

  z-index: 2;

  bottom: 13px;

  right: 13px;

  width: 31px;
  height: 31px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 248, 247, 0.92);

  color: var(--love-dark);

  font-family: Arial, sans-serif;

  font-size: 8px;

  letter-spacing: 1px;
}

/* =====================================================
   TIMELINE TEXT
===================================================== */

.timeline-text {
  flex: 1;

  min-width: 0;
}

.timeline-date {
  display: block;

  margin-bottom: 12px;

  font-family: Arial, sans-serif;

  font-size: 8px;

  letter-spacing: 3px;

  color: var(--love-pink);
}

.timeline-text h3 {
  margin: 0;

  font-family: Georgia, serif;

  font-size: clamp(26px, 3vw, 35px);

  font-weight: 400;

  line-height: 1.05;

  color: var(--love-dark);
}

.timeline-text h3 em {
  display: block;

  margin-top: 4px;

  font-family: "Brush Script MT", "Segoe Script", cursive;

  font-size: 1.2em;

  font-weight: 400;

  color: var(--love-pink);
}

.timeline-text p {
  margin: 18px 0;

  font-family: Georgia, serif;

  font-size: 13px;

  line-height: 1.8;

  color: #8b606c;
}

.timeline-location {
  display: block;

  font-family: Arial, sans-serif;

  font-size: 7px;

  letter-spacing: 1.8px;

  color: #ad7182;
}

/* =====================================================
   TIMELINE NODE
===================================================== */

.timeline-node {
  position: absolute;

  left: 50%;

  top: 50%;

  transform: translate(-50%, -50%);

  width: 52px;
  height: 52px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: linear-gradient(135deg, #fff9f8, #f8dce4);

  border: 1px solid rgba(199, 93, 123, 0.45);

  box-shadow:
    0 0 0 8px rgba(255, 248, 247, 0.9),
    0 8px 20px rgba(118, 47, 70, 0.12);

  z-index: 5;

  color: var(--love-pink);

  font-size: 14px;

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.timeline-event:hover .timeline-node {
  transform: translate(-50%, -50%) scale(1.15);

  background: linear-gradient(135deg, var(--love-pink), var(--love-dark));

  color: white;
}

/* Final node */

.final-node {
  width: 66px;
  height: 66px;

  background: linear-gradient(135deg, #c75d7b, #8e3654);

  color: white;

  box-shadow:
    0 0 0 10px rgba(255, 248, 247, 0.95),
    0 12px 30px rgba(118, 47, 70, 0.22);

  animation: finalPulse 2.5s infinite;
}

@keyframes finalPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 10px rgba(255, 248, 247, 0.95),
      0 12px 30px rgba(118, 47, 70, 0.22);
  }

  50% {
    box-shadow:
      0 0 0 16px rgba(199, 93, 123, 0.08),
      0 12px 35px rgba(118, 47, 70, 0.28);
  }
}

/* =====================================================
   FOREVER SECTION
===================================================== */

.forever-section {
  position: relative;

  min-height: 600px;

  display: flex;

  align-items: center;
  justify-content: center;

  overflow: hidden;

  color: white;

  text-align: center;
}

.forever-background {
  position: absolute;

  inset: 0;
}

.forever-background img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;
}

.forever-overlay {
  position: absolute;

  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(78, 23, 39, 0.68),
    rgba(100, 31, 50, 0.75)
  );
}

.forever-content {
  position: relative;

  z-index: 3;

  max-width: 650px;

  padding: 40px;
}

.forever-content > span {
  font-family: Arial, sans-serif;

  font-size: 8px;

  letter-spacing: 4px;

  opacity: 0.85;
}

.forever-content h2 {
  margin: 18px 0 15px;

  font-family: "Brush Script MT", "Segoe Script", cursive;

  font-size: clamp(50px, 8vw, 85px);

  font-weight: 400;

  line-height: 1;

  color: #ffe0e8;
}

.forever-heart {
  font-size: 17px;

  color: #ffc3d2;

  animation: foreverHeart 2s ease-in-out infinite;
}

@keyframes foreverHeart {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.25);
  }
}

.forever-content p {
  max-width: 450px;

  margin: 18px auto 25px;

  font-family: Georgia, serif;

  font-size: 14px;

  line-height: 1.8;

  color: rgba(255, 255, 255, 0.85);
}

.forever-names {
  font-family: Arial, sans-serif;

  font-size: 9px;

  letter-spacing: 4px;

  color: #ffd6df;
}

.forever-names i {
  margin: 0 8px;

  font-family: "Brush Script MT", cursive;

  font-size: 18px;

  font-style: normal;

  letter-spacing: 0;
}

/* =====================================================
   SCROLL REVEAL
===================================================== */

.timeline-event {
  opacity: 0;

  transform: translateY(45px);

  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.timeline-event.visible {
  opacity: 1;

  transform: translateY(0);
}

.story-intro {
  opacity: 0;

  transform: translateY(30px);

  transition:
    opacity 1s ease,
    transform 1s ease;
}

.story-intro.visible {
  opacity: 1;

  transform: translateY(0);
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px) {
  .timeline-content {
    width: calc(50% - 50px);

    flex-direction: column !important;

    align-items: flex-start;

    gap: 18px;

    text-align: left !important;
  }

  .timeline-image {
    width: 100%;

    flex-basis: auto;

    height: 250px;
  }

  .timeline-text {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .love-hero {
    min-height: 650px;

    height: 85vh;
  }

  .love-hero-content {
    padding: 25px;

    margin-top: 70px;
  }

  .love-hero-content h1 {
    font-size: 61px;

    letter-spacing: -2px;
  }

  .love-hero-content h1 em {
    margin-top: 13px;
  }

  .story-intro {
    padding: 80px 25px 70px;
  }

  .story-intro h2 {
    font-size: 35px;
  }

  .love-timeline-section {
    padding: 80px 20px 100px;
  }

  .timeline-heading {
    margin-bottom: 70px;
  }

  /* Move line to left */

  .love-timeline::before {
    left: 22px;

    transform: none;
  }

  .timeline-event {
    display: block;

    min-height: 0;

    padding-left: 58px;

    margin-bottom: 70px;
  }

  .timeline-content {
    width: 100%;

    display: flex;

    flex-direction: column !important;

    align-items: flex-start;

    gap: 20px;

    margin: 0 !important;

    text-align: left !important;
  }

  .timeline-image {
    width: 100%;

    height: 330px;

    flex: none;

    border-radius: 150px 150px 8px 8px;
  }

  .timeline-node {
    left: 22px;

    top: 40px;

    width: 44px;
    height: 44px;

    transform: translate(-50%, 0);
  }

  .timeline-event:hover .timeline-node {
    transform: translate(-50%, 0) scale(1.1);
  }

  .timeline-text h3 {
    font-size: 31px;
  }

  .timeline-text p {
    font-size: 13px;

    line-height: 1.75;
  }

  .final-node {
    width: 52px;
    height: 52px;
  }

  .forever-section {
    min-height: 550px;
  }

  .forever-content {
    padding: 30px;
  }

  .forever-content h2 {
    font-size: 58px;
  }
}

@media (max-width: 430px) {
  .love-hero-content h1 {
    font-size: 51px;
  }

  .love-hero-content p {
    font-size: 13px;
  }

  .timeline-image {
    height: 280px;
  }

  .timeline-event {
    padding-left: 50px;
  }

  .love-timeline::before {
    left: 19px;
  }

  .timeline-node {
    left: 19px;

    width: 40px;
    height: 40px;
  }

  .timeline-text h3 {
    font-size: 28px;
  }

  .forever-content h2 {
    font-size: 48px;
  }
}
