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

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  color: #000000;
  font-family:
    "Zalando Sans",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

ul {
  list-style: none;
}

/* ============================================================
     NAVBAR
     SAME AS LANDING PAGE
     ============================================================ */

#navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  z-index: 1000;

  width: 85%;

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

  padding: 8px 24px;
  margin-top: 15px;

  border-radius: 40px;

  background-color: rgba(255, 255, 255, 0.65);

  border: 1px solid rgba(255, 255, 255, 0.5);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);

  transition: all 0.4s ease-in-out;
}

/* Navbar after scrolling */

#navbar.scrolled {
  width: 100%;

  margin-top: 0;

  border-radius: 0;

  border-left: none;
  border-right: none;
  border-top: none;

  background-color: rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.4);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Logo */

#navbar img {
  width: 75px;
  display: block;
}

/* Navigation wrapper */

#nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Navigation buttons */

#nav-buttons {
  display: flex;
  gap: 8px;
}

#nav-buttons a {
  text-decoration: none;
}

/* Navigation button */

#nav-buttons button {
  font-family: "Zalando Sans", sans-serif;

  border: none;

  background: transparent;

  color: #000000;

  font-size: 15px;
  font-weight: 500;

  padding: 6px 16px;

  border-radius: 20px;

  cursor: pointer;

  transition: all 0.4s ease-in-out;
}

/* Hover */

#nav-buttons button:hover {
  background-color: rgba(255, 255, 255, 0.6);

  color: #ed1b24;
}

/* ============================================================
     HAMBURGER
     SAME AS LANDING PAGE
     ============================================================ */

.hamburger-menu {
  display: none;

  flex-direction: column;
  justify-content: space-between;

  width: 28px;
  height: 20px;

  cursor: pointer;

  z-index: 1002;
}

.hamburger-menu span {
  display: block;

  width: 100%;
  height: 3px;

  background-color: #000000;

  border-radius: 3px;

  transition: all 0.3s ease-in-out;
}

/* Hamburger → X */

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ============================================================
     PARTNER BUTTON
     SAME AS LANDING PAGE
     ============================================================ */

.spl-btn button {
  border: none;

  background: linear-gradient(
    to right,
    #ff0d25 0%,
    #f59ba2 25%,
    #fae2e5 50%,
    #f59ba2 75%,
    #ff0d25 100%
  );

  background-size: 200% 100%;
  background-position: 0% 0%;

  color: #000000;

  font-size: 15px;
  font-weight: 500;

  font-family: "Zalando Sans", sans-serif;

  padding: 10px 24px;

  border-radius: 50px;

  cursor: pointer;

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);

  transition:
    background-position 0.6s ease-in-out,
    transform 0.4s ease-in-out,
    box-shadow 0.4s ease-in-out;
}

.spl-btn button:hover {
  background-position: 100% 0%;

  transform: scale(1.05);

  box-shadow: 0 8px 20px rgba(237, 27, 36, 0.3);
}

/* ============================================================
     MAIN PAGE
     ============================================================ */

.page-container {
  padding-top: 100px;
}

/* ============================================================
     COMMON WRAPPER
     ============================================================ */

.wrap {
  max-width: 1200px;

  margin: 0 auto;

  padding-left: 20px;
  padding-right: 20px;
}

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

.timeline-section {
  padding: 60px 0 40px;

  background: radial-gradient(
    circle at 50% 0%,
    rgba(245, 155, 162, 0.2) 0%,
    rgba(255, 255, 255, 0) 70%
  );
}

/* Section heading */

.section-head {
  text-align: center;

  margin-bottom: 50px;
}

.section-head .kicker {
  font-size: 14px;

  text-transform: uppercase;

  letter-spacing: 2px;

  color: #ed1b24;

  font-weight: 700;
}

.section-head h2 {
  font-size: 42px;

  margin-top: 6px;

  font-weight: 800;

  color: #000000;

  letter-spacing: 1px;
}

.section-head h2 .highlight-red {
  color: #ed1b24;
}

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

.timeline-h-outer {
  position: relative;

  display: flex;

  align-items: center;

  gap: 15px;
}

/* ============================================================
     LEFT / RIGHT TIMELINE BUTTONS
     ============================================================ */

.h-nav {
  flex: 0 0 auto;

  width: 48px;
  height: 48px;

  border-radius: 50%;

  border: none;

  background: #ffffff;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);

  color: #000000;

  font-size: 24px;

  cursor: pointer;

  display: flex;

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

  transition: all 0.3s ease;
}

.h-nav:hover {
  background: linear-gradient(to right, #ff0d25, #f59ba2);

  color: #ffffff;

  box-shadow: 0 8px 20px rgba(237, 27, 36, 0.3);

  transform: scale(1.1);
}

.h-nav:disabled {
  opacity: 0.25;

  cursor: default;

  box-shadow: none;

  background: #f0f0f0;

  color: #aaaaaa;

  transform: none;
}

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

.timeline {
  flex: 1 1 auto;

  min-width: 0;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;

  scroll-behavior: smooth;

  scrollbar-width: none;

  padding-bottom: 15px;
}

.timeline::-webkit-scrollbar {
  display: none;
}

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

.items-h {
  position: relative;

  display: flex;

  align-items: flex-start;

  width: max-content;

  gap: 35px;

  padding: 30px 20px 10px;
}

/* Timeline spine */

.spine-h {
  position: absolute;

  top: 50px;

  left: 0;
  right: 0;

  height: 3px;

  background: rgba(0, 0, 0, 0.08);
}

/* Filled portion */

.spine-h-fill {
  position: absolute;

  top: 0;
  left: 0;

  height: 100%;

  width: 0%;

  background: linear-gradient(to right, #ff0d25, #f59ba2);

  transition: width 0.2s ease-out;
}

/* Individual item */

.h-item {
  position: relative;

  flex: 0 0 auto;

  width: 320px;

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  scroll-snap-align: start;
}

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

.node {
  width: 42px;
  height: 42px;

  border-radius: 50%;

  background: #ffffff;

  border: 3px solid rgba(0, 0, 0, 0.15);

  display: flex;

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

  font-weight: 800;

  font-size: 14px;

  color: #888888;

  transition: all 0.4s ease;

  margin-bottom: 18px;

  z-index: 2;
}

.node.active {
  border-color: transparent;

  background: #ed1b24;

  color: #ffffff;

  box-shadow: 0 0 18px rgba(237, 27, 36, 0.5);

  transform: scale(1.1);
}

/* ============================================================
     IMAGE CARD
     ============================================================ */

.card-panel {
  width: 100%;

  height: 220px;

  border-radius: 20px;

  position: relative;

  overflow: hidden;

  margin-bottom: 18px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

  border: 1px solid rgba(0, 0, 0, 0.08);

  cursor: pointer;

  background: #f9f9f9;

  transition: all 0.4s ease;
}

.card-panel:hover {
  transform: translateY(-8px);

  border-color: rgba(245, 155, 162, 0.8);

  box-shadow: 0 16px 35px rgba(237, 27, 36, 0.2);
}

/* Image */

.card-panel img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.6s ease;
}

.card-panel:hover img {
  transform: scale(1.08);
}

/* Zoom overlay */

.card-panel .zoom-overlay {
  position: absolute;

  inset: 0;

  background: rgba(237, 27, 36, 0.4);

  display: flex;

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

  opacity: 0;

  transition: opacity 0.3s ease;

  color: #ffffff;

  font-weight: 700;

  font-size: 14px;

  letter-spacing: 1px;

  backdrop-filter: blur(3px);
}

.card-panel:hover .zoom-overlay {
  opacity: 1;
}

/* Season label */

.card-panel .panel-tag {
  position: absolute;

  top: 12px;
  left: 12px;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 1px;

  color: #000000;

  background: rgba(255, 255, 255, 0.9);

  padding: 4px 12px;

  border-radius: 20px;

  z-index: 2;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.kicker {
  font-size: 12px;

  letter-spacing: 1px;

  color: #ed1b24;

  font-weight: 800;

  text-transform: uppercase;
}

.h-item h3 {
  font-size: 20px;

  margin-top: 4px;

  line-height: 1.3;

  font-weight: 800;

  color: #000000;
}

.h-item .year {
  font-size: 13px;

  color: #666666;

  margin-top: 2px;

  font-weight: 700;
}

.h-item .body {
  margin-top: 10px;

  color: #444444;

  font-size: 14px;

  line-height: 1.5;
}

/* ============================================================
     FACT TAGS
     ============================================================ */

.facts {
  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 15px;
}

.facts li.hover-tag {
  font-size: 12px;

  font-weight: 700;

  padding: 6px 14px;

  border: 1px solid rgba(237, 27, 36, 0.25);

  color: #ed1b24;

  border-radius: 50px;

  background: rgba(245, 155, 162, 0.1);

  cursor: pointer;

  transition: all 0.3s ease;
}

.facts li.hover-tag:hover {
  background: #ed1b24;

  color: #ffffff;

  border-color: transparent;

  transform: translateY(-3px);

  box-shadow: 0 6px 15px rgba(237, 27, 36, 0.25);
}

/* ============================================================
     NEXT CHAPTER
     ============================================================ */

.next {
  padding: 80px 0;

  text-align: center;

  background: radial-gradient(
    circle at 50% 100%,
    rgba(245, 155, 162, 0.15) 0%,
    #ffffff 100%
  );

  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.next-node {
  width: 56px;
  height: 56px;

  margin: 0 auto 20px;

  border-radius: 50%;

  background: #ffffff;

  border: 2px solid #ed1b24;

  display: flex;

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

  color: #ed1b24;

  font-weight: 800;

  font-size: 18px;

  box-shadow: 0 8px 20px rgba(237, 27, 36, 0.15);
}

.next h3 {
  font-size: 28px;

  font-weight: 800;

  color: #000000;
}

.next p {
  margin-top: 10px;

  color: #555555;

  max-width: 500px;

  margin-left: auto;
  margin-right: auto;

  font-size: 15px;
}

/* ============================================================
     IMAGE LIGHTBOX
     ============================================================ */

.image-modal {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.85);

  backdrop-filter: blur(10px);

  display: flex;

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

  z-index: 9999;

  opacity: 0;

  pointer-events: none;

  transition: opacity 0.35s ease;

  padding: 20px;
}

.image-modal.active {
  opacity: 1;

  pointer-events: auto;
}

.image-modal-content {
  position: relative;

  max-width: 90vw;

  max-height: 85vh;

  border-radius: 16px;

  overflow: hidden;

  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);

  transform: scale(0.9);

  transition: transform 0.35s ease;
}

.image-modal.active .image-modal-content {
  transform: scale(1);
}

.image-modal-content img {
  display: block;

  max-width: 100%;

  max-height: 85vh;

  object-fit: contain;
}

.modal-close {
  position: absolute;

  top: -40px;
  right: 0;

  background: transparent;

  border: none;

  color: #ffffff;

  font-size: 32px;

  cursor: pointer;

  line-height: 1;
}

/* ============================================================
     FOOTER
     SAME AS LANDING PAGE
     ============================================================ */

#footer-section {
  width: 100%;

  background-color: #000000;

  color: #ffffff;

  padding: 60px 0 30px;

  font-family: "Zalando Sans", sans-serif;

  overflow: hidden;
}

.footer-container {
  max-width: 1100px;

  margin: 0 auto;

  padding: 0 30px;

  display: grid;

  grid-template-columns: 1.2fr 1fr 1.2fr;

  gap: 50px;

  align-items: start;
}

/* Footer headings */

.footer-col h4 {
  font-size: 13px;

  letter-spacing: 3px;

  font-weight: 600;

  color: #f59ba2;

  margin-bottom: 20px;
}

/* Tagline */

.footer-tagline {
  font-size: 14px;

  line-height: 1.6;

  color: rgba(255, 255, 255, 0.7);

  margin-bottom: 25px;
}

/* Footer logo */

.footer-logo img {
  width: 148px;

  height: auto;

  display: block;
}

/* Social links */

.social-links {
  display: flex;

  gap: 15px;
}

.social-links a {
  width: 38px;
  height: 38px;

  display: flex;

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

  color: #ffffff;

  text-decoration: none;

  transition: all 0.3s ease;
}

.social-links a:hover {
  border-color: #f59ba2;

  color: #f59ba2;

  background: rgba(255, 255, 255, 0.1);

  transform: translateY(-3px);
}

/* Contact */

.contact-list {
  list-style: none;

  padding: 0;

  margin: 0;
}

.contact-list li {
  font-size: 14px;

  color: rgba(255, 255, 255, 0.85);

  margin-bottom: 14px;

  display: flex;

  align-items: center;

  gap: 10px;
}

.contact-list .icon {
  color: #f59ba2;
}

/* CTA */

.cta-col p {
  font-size: 14px;

  line-height: 1.6;

  color: rgba(255, 255, 255, 0.75);

  margin-bottom: 20px;
}

/* Footer button */

.footer-btn {
  border: none;

  background: linear-gradient(
    to right,
    #ff0d25 0%,
    #f59ba2 25%,
    #fae2e5 50%,
    #f59ba2 75%,
    #ff0d25 100%
  );

  background-size: 200% 100%;

  background-position: 0% 0%;

  color: #000000;

  font-size: 14px;

  font-weight: 600;

  font-family: "Zalando Sans", sans-serif;

  padding: 12px 28px;

  border-radius: 50px;

  cursor: pointer;

  box-shadow: 0 6px 15px rgba(237, 27, 36, 0.2);

  transition:
    background-position 0.6s ease-in-out,
    transform 0.4s ease-in-out,
    box-shadow 0.4s ease-in-out;
}

.footer-btn:hover {
  background-position: 100% 0%;

  transform: scale(1.05);

  box-shadow: 0 8px 20px rgba(237, 27, 36, 0.4);
}

/* Footer bottom */

.footer-bottom {
  max-width: 1100px;

  margin: 50px auto 0;

  padding: 0 30px;

  text-align: center;
}

.footer-divider {
  border: 0;

  height: 1px;

  background: linear-gradient(
    to right,
    transparent,
    rgba(245, 155, 162, 0.4),
    transparent
  );

  margin-bottom: 25px;
}

.footer-bottom p {
  font-size: 12px;

  color: rgba(255, 255, 255, 0.5);

  letter-spacing: 0.5px;
}

/* ============================================================
     RESPONSIVE — TABLET
     ============================================================ */

@media screen and (max-width: 900px) {
  /* Navbar */

  #navbar {
    width: 92%;

    padding: 8px 12px;
  }

  #navbar.scrolled {
    width: 100%;

    margin-top: 0;

    border-radius: 0;
  }

  #navbar img {
    width: 60px;
  }

  /* Hero/timeline */

  .section-head h2 {
    font-size: 32px;
  }

  /* Footer */

  .footer-container {
    grid-template-columns: 1fr;

    gap: 35px;
  }
}

/* ============================================================
     RESPONSIVE — MOBILE
     SAME NAVBAR BEHAVIOUR AS LANDING PAGE
     ============================================================ */

@media screen and (max-width: 768px) {
  /* Navbar */

  #navbar {
    width: 92%;

    flex-direction: row;

    justify-content: space-between;

    align-items: center;

    padding: 10px 20px;

    border-radius: 30px;
  }

  #navbar.scrolled {
    width: 100%;

    margin-top: 0;

    border-radius: 0;
  }

  /* Show hamburger */

  .hamburger-menu {
    display: flex;
  }

  /* Mobile dropdown */

  #nav-menu {
    display: none;

    position: absolute;

    top: calc(100% + 12px);

    left: 0;

    width: 100%;

    flex-direction: column;

    align-items: center;

    gap: 16px;

    padding: 24px 16px;

    background: rgba(255, 255, 255, 0.85);

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.5);

    border-radius: 24px;

    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  }

  #nav-menu.active {
    display: flex;
  }

  /* Mobile nav buttons */

  #nav-buttons {
    flex-direction: column;

    width: 100%;

    align-items: center;

    gap: 8px;
  }

  #nav-buttons button {
    font-size: 14px;

    padding: 8px 16px;

    width: 100%;
  }

  /* Partner button */

  .spl-btn {
    width: 100%;

    display: flex;

    justify-content: center;
  }

  .spl-btn button {
    font-size: 13px;

    padding: 8px 20px;
  }

  /* Journey heading */

  .section-head {
    margin-bottom: 35px;
  }

  .section-head h2 {
    font-size: 28px;

    line-height: 1.25;
  }

  /* Timeline */

  .h-nav {
    display: none;
  }

  .items-h {
    padding-left: 10px;

    padding-right: 10px;

    gap: 20px;
  }

  .h-item {
    width: 280px;
  }

  .card-panel {
    height: 180px;
  }

  /* Next section */

  .next {
    padding: 60px 20px;
  }

  .next h3 {
    font-size: 24px;
  }

  /* Lightbox */

  .image-modal {
    padding: 15px;
  }

  .image-modal-content {
    max-width: 95vw;
  }

  /* Footer */

  #footer-section {
    padding-top: 50px;
  }

  .footer-container {
    padding: 0 25px;

    gap: 35px;
  }
}

/* ============================================================
     RESPONSIVE — SMALL PHONES
     ============================================================ */

@media screen and (max-width: 480px) {
  #navbar {
    width: 92%;

    padding: 9px 16px;
  }

  #navbar img {
    width: 58px;
  }

  .section-head h2 {
    font-size: 25px;
  }

  .section-head .kicker {
    font-size: 12px;
  }

  .h-item {
    width: 260px;
  }

  .card-panel {
    height: 165px;
  }

  .next h3 {
    font-size: 21px;
  }

  .next p {
    font-size: 14px;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-bottom {
    padding: 0 20px;
  }
}
