/* =========================
   GLOBAL
========================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;

  background: #3f0808;
  color: #f8efe5;
}

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

.hero {
  min-height: 100vh;

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

  padding: 2rem;

  background: radial-gradient(circle at center, #5a1114 0%, #3f0808 70%);
}

.hero-content {
  max-width: 850px;

  text-align: center;
}

.small-title {
  margin-bottom: 1.5rem;

  color: #cf9296;

  font-size: 0.95rem;
  font-weight: bold;

  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 2rem;

  color: #fff5e9;

  font-size: clamp(3.2rem, 8vw, 6.5rem);

  line-height: 1.05;
}

.hero h1 span {
  display: inline-block;
}

.intro {
  max-width: 650px;

  margin: 0 auto 2.8rem;

  color: #d3b8ae;

  font-size: 1.2rem;
  line-height: 1.8;
}

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

#enterButton {
  border: 1px solid #c9787f;

  padding: 1rem 2rem;

  border-radius: 999px;

  background: #a63f49;
  color: #fff5e9;

  font-family: inherit;
  font-size: 1rem;
  font-weight: bold;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

#enterButton:hover {
  transform: translateY(-3px);

  background: #bd4e59;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* =========================
   COMMON SECTION HEADING
========================= */

.section-heading {
  max-width: 800px;

  margin: 0 auto 7rem;

  text-align: center;
}

.section-label {
  margin-bottom: 2.5rem;

  color: #c78387;

  font-size: 1rem;
  font-weight: bold;

  letter-spacing: 4px;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 2rem;

  color: #fff5e9;

  font-size: clamp(3rem, 7vw, 5.5rem);
}

.section-intro {
  color: #c7aaa1;

  font-size: 1.3rem;
  line-height: 1.8;
}

/* =========================
   GENERAL REVEAL ANIMATION
========================= */

.reveal {
  opacity: 0;

  transform: translateY(40px);

  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.reveal.show {
  opacity: 1;

  transform: translateY(0);
}

/* =========================
   OUR STORY
========================= */

.story-section {
  min-height: 100vh;

  padding: 8rem 2rem 10rem;

  background: #430909;
}

/* =========================
   TIMELINE
========================= */

.timeline {
  position: relative;

  max-width: 1000px;

  margin: 0 auto;
}

.timeline::before {
  content: "";

  position: absolute;

  top: 0;
  bottom: 0;

  left: 50%;

  width: 3px;

  background: #70272e;

  transform: translateX(-50%);
}

/* =========================
   TIMELINE ITEM
========================= */

.timeline-item {
  position: relative;

  display: flex;

  width: 100%;

  margin-bottom: 6rem;

  opacity: 0;

  transform: translateY(50px);

  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.timeline-item.show {
  opacity: 1;

  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

/* =========================
   TIMELINE DOT
========================= */

.timeline-dot {
  position: absolute;

  top: 35px;
  left: 50%;

  width: 20px;
  height: 20px;

  border: 4px solid #430909;
  border-radius: 50%;

  background: #d86d76;

  transform: translateX(-50%);

  box-shadow: 0 0 0 5px rgba(216, 109, 118, 0.15);

  z-index: 2;
}

/* =========================
   TIMELINE CARD
========================= */

.timeline-card {
  width: 43%;

  padding: 2.2rem;

  border: 1px solid #70272e;
  border-radius: 18px;

  background: #571014;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-5px);

  border-color: #a94f57;

  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.3);
}

.timeline-date {
  margin-bottom: 0.8rem;

  color: #d8898f;

  font-size: 0.85rem;
  font-weight: bold;

  letter-spacing: 2px;
  text-transform: uppercase;
}

.timeline-card h3 {
  margin-bottom: 1.2rem;

  color: #fff5e9;

  font-size: 1.7rem;
}

.timeline-card p {
  color: #cfb5ac;

  font-size: 1.05rem;
  line-height: 1.8;
}

/* =========================
   PHOTO MEMORIES
========================= */

.memories-section {
  padding: 9rem 2rem;

  background: #350606;
}

.memory-grid {
  display: grid;

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

  gap: 3rem;

  max-width: 1050px;

  margin: 0 auto;
}

.memory-photo {
  overflow: hidden;

  border: 1px solid #70272e;
  border-radius: 20px;

  background: #571014;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.memory-photo:hover {
  transform: translateY(-8px);

  border-color: #a94f57;

  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

/* =========================
   MEMORY IMAGES
========================= */

.memory-image {
  display: block;

  width: 100%;
  height: 360px;

  object-fit: cover;

  background: #250303;
}

/*
   The Paris photo is vertical.
   contain prevents us from cutting off the Eiffel Tower.
*/

.paris-image {
  object-fit: contain;

  background: #250303;
}

/*
   Keep the pumpkin photo centered nicely.
*/

.pumpkin-image {
  object-position: center;
}

/*
   Fifth card spans both columns and is centered.
*/

.memory-photo-wide {
  grid-column: 1 / -1;

  width: 65%;

  justify-self: center;
}

/* =========================
   MEMORY CAPTIONS
========================= */

.memory-caption {
  padding: 2rem;
}

.memory-caption h3 {
  margin-bottom: 0.8rem;

  color: #fff5e9;

  font-size: 1.5rem;
}

.memory-caption p {
  color: #cdb0a7;

  line-height: 1.7;
}

/* =========================
   VIDEO SECTION
========================= */

.video-section {
  padding: 9rem 2rem;

  background: #3d0707;
}

.video-container {
  max-width: 850px;

  margin: 0 auto;

  padding: 1rem;

  border: 1px solid #70272e;
  border-radius: 24px;

  background: #571014;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.video-container:hover {
  transform: translateY(-5px);

  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.video-container video {
  display: block;

  width: 100%;

  max-height: 75vh;

  border-radius: 16px;

  background: #000;
}

/* =========================
   21 THINGS I LOVE
========================= */

.love-section {
  padding: 9rem 2rem;

  background: #430909;
}

.love-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 1.5rem;

  max-width: 1100px;

  margin: 0 auto;
}

.love-card {
  position: relative;

  min-height: 250px;

  padding: 2rem;

  overflow: hidden;

  border: 1px solid #70272e;
  border-radius: 18px;

  background: #571014;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.love-card:hover {
  transform: translateY(-6px);

  border-color: #aa5058;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.love-number {
  display: block;

  margin-bottom: 2rem;

  color: #d8898f;

  font-size: 2.5rem;
  font-weight: bold;
}

.love-card h3 {
  margin-bottom: 1rem;

  color: #fff5e9;

  font-size: 1.4rem;
}

.love-card p {
  color: #cfb5ac;

  line-height: 1.7;
}

.more-coming {
  margin-top: 4rem;

  color: #c78387;

  text-align: center;

  font-size: 1.2rem;
  font-style: italic;
}

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

@media (max-width: 800px) {
  .memory-grid {
    grid-template-columns: 1fr;
  }

  .memory-photo-wide {
    grid-column: auto;

    width: 100%;
  }

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

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

@media (max-width: 700px) {
  .hero {
    padding: 1.5rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .story-section,
  .memories-section,
  .video-section,
  .love-section {
    padding: 6rem 1.5rem 8rem;
  }

  .section-heading {
    margin-bottom: 5rem;
  }

  .section-heading h2 {
    font-size: 3rem;
  }

  /* TIMELINE */

  .timeline::before {
    left: 10px;
  }

  .timeline-item,
  .timeline-item:nth-child(even),
  .timeline-item:nth-child(odd) {
    justify-content: flex-end;
  }

  .timeline-dot {
    left: 10px;
  }

  .timeline-card {
    width: calc(100% - 45px);
  }

  /* IMAGES */

  .memory-image {
    height: 300px;
  }

  .paris-image {
    height: 500px;
  }
}

/* =========================
   SMALL PHONES
========================= */

@media (max-width: 550px) {
  .love-grid {
    grid-template-columns: 1fr;
  }

  .memory-image {
    height: 260px;
  }

  .paris-image {
    height: 450px;
  }
}
