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



html {
  font-size: calc(14px + 0.390625vw);
  line-height: 120%;
  scroll-behavior: smooth;
  background-color: #ffffff;
}

:root {
  --accent-color: #e952a5;
}

main {
  width: 100%;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5em;
  margin-top: 0.5em;
  margin-bottom: 1.5em;
  padding-bottom: 0.8em;
  flex-wrap: wrap;
  position: fixed;
  top: -15px;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  transition: background-color 0.3s;
  pointer-events: auto;
}

/* Hide Links specifically when scrolling down */
.nav-hidden .nav-links {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

nav:hover {
  background-color: #ffffff;
}

nav.nav-scrolled {
  background-color: #ffffff;
}

.logo {
  width: 350px; 
  padding-left: 1.5em; 
  margin-top: 15px; 
}

.logo img {
  height: 50px;
  width: auto;
  max-width: 100%;
  display: block; 
  object-fit: contain;
  object-position: left;
}

.nav-links {
  flex: 1;
  display: flex;
  margin-top: 25px;
  justify-content: center;
  vertical-align: middle;
  gap: 1.5em;
  font-size: 1em;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav-links:visited {
  color: #000000;
}

h2 {
  font-family: "inter", sans-serif;
  font-size: 1.5em;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 120%;
color: #000;

}

h3 {
  font-family: "inter", sans-serif;
  font-size: 1em;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 120%;
color: #000;

}

p{
  font-family: "inter", sans-serif;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 120%;
  line-height: 125%;
  color: #000;

}


.nav-links a {
  text-decoration: none;
  color: #000000;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  margin-left: 1em;
  transition: color 0.3s;
}

nav .nav-links a:hover,
nav .nav-links a:active,
nav .nav-links a.active {
  color: var(--accent-color);
}

.spinner-container {
  position: fixed;
  top: 2em;
  right: 2em;
  z-index: 100;
  pointer-events: auto;
  cursor: pointer;
}

.spinner-text {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 10px;
  opacity: 0;
  transition: opacity 0.3s;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  color: var(--accent-color);
  background-color: transparent;
  padding: 0;
  border: none;
  letter-spacing: 0.2em;
  font-size: 0.8em;
}

.spinner-container:hover .spinner-text {
  opacity: 1;
}

.spinner {
  width: 70px;
  height: 70px;
  background-image: url('images/Cassette.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.hero {
  width: 100%;
  height: calc(100vh - 100px);
  background-image: url('images/4c.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
  margin-bottom: 0;
  margin-top: 100px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}


.banner-wrapper {
  width: 110%;
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding: 1em 0;
  z-index: 3;
  pointer-events: none;
  rotate: -5deg;
  mix-blend-mode: difference;
}

.banner {
  width: 110%;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  white-space: nowrap;
  box-sizing: border-box;
  color: #ffffff;
  font-size: 5em;
  align-items: center;
  margin: 1em;
}
.h1 a:hover {
  color: var(--accent-color);
}

h1 {
  color: rgb(0, 0, 0);
  font-size: 5em;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  flex-direction: row;
  line-height: 100%;
}
.bigtext {
  font-family: "Inter", sans-serif;
  min-height: 10vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 15em;
  min-width: 100vh;
  padding: 1em 1em 1em;
  color: #000000;
  border-top: #000000 2px solid;
  border-bottom: #000000 2px solid;
  flex-wrap: wrap;
  gap: 2em;
}

.bigtext h1 {
  padding-left: 30px;
  border-left: 2px solid transparent;
  margin: 0;
  width: 100%;
  text-align: left;
}

.bigtext article {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 2em;
  line-height: 125%;
  min-width: 400px;
  justify-content: space-evenly;
  align-items: flex-end;
  flex-wrap: wrap;
  padding-left: 30px;
  border-left: #000000 2px solid;
}

.bigtext button {
margin-top: 1em;
margin-left: 30px;
}
button {
padding: 0.5em 1em;
font-family: "Inter", sans-serif;
font-weight: 800;
font-size: 1em;
line-height: 125%;
color: #ffffff;
border: none;
cursor: pointer;
text-decoration: none;
transition: color 0.3s;
background-color: var(--accent-color);
}

button:hover {
  color: #000000;
  background-color: #ffffff;
  border: 2px solid #000000;
}

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



.sticky-parent {
  height: 600vh;
  width: 100%;
  position: relative;
  z-index: 2;
  background-color: #fff;
  margin-top: 100vh;
}

.sticky-scroll-view {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.horizontal-track {
  display: flex;
  height: 100%;
  width: max-content;
  gap: 0;
}

.slide-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 15vw;
}

.horizontal-track .bigtext,
.horizontal-track .image-row {
  flex: 1;
}

.page-hero {
  width: 100%;
  height: 33vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  margin-top: 100px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/17.jpg') no-repeat center;
  background-size: cover;
  z-index: -1;
  transition: filter 0.3s ease;
}

.hero-join::before {
  background-image: url('images/21.jpg');
}

.hero-how::before {
  background-image: url('images/19.jpg');
}

.hero-where::before {
  background-image: url('images/17.jpg');
}

.hero-when::before {
  background-image: url('images/20.jpg');
}
.hero-what::before {
  background-image: url('images/45.jpg');
}

html.invert-colors .page-hero::before {
  filter: invert(1);
}

.content-wrapper {
  position: relative;
  z-index: 10;
  background-color: #fff;
  margin-top: calc(33vh + 100px);
  padding-top: 2em;
  min-height: 100vh;
}

.split-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  margin-left: 0;
  width: 100%;
  gap: 0;
}
.routes-table {
  margin-top: 2em;
  border-top: 1px solid #000;
}

.route-row {
  border-bottom: 1px solid #000;
}

.route-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 0;
  padding-left: 0.5em;
  padding-right: 0.5em;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.route-header:hover {
  background-color: var(--accent-color);
}

.route-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1em;
  display: flex;
  flex-direction: column;
}

.route-details p {
  margin: 1em 0;
}

.route-row.active .route-details {
  max-height: 200px;
  padding-bottom: 1em;
}

.route-btn {
  display: inline-block;
  padding: 0.5em 1em;
  background-color: #e952a5;
  color: #fff;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.9em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  margin-top: 0.5em;
  align-self: flex-end;
}

.route-btn:hover {
  background-color: #fff;
  color: #000;
  border: 2px solid #000000;
}
.split-left,
.split-right {
  flex: 1;
  width: 50%;
}

.split-left {
  text-align: left;
  padding: 2em;
  position: sticky;
  top: 150px;
  height: fit-content;
}

.split-left button {
  margin-top: 2em;
}

.split-left h2 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.split-left p {
  margin-bottom: 1em;
}

.split-right {
  display: flex;
  justify-content: center;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
}

.hero-content h1 {
  font-size: 4em;
  margin: 0;
  text-transform: uppercase;
  font-family: "inter", sans-serif;
}

.page-marquee {
  width: 100%;
  overflow: hidden;
  background: transparent;
  color: #fff;
  padding: 0;
  white-space: nowrap;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.page-marquee-track {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.page-marquee h1 {
  font-family: "Inter", sans-serif;
  font-size: 5em;
  font-weight: 900;
  text-transform: uppercase;
  display: inline;
  margin: 0;
  color: #ffffff;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.horizontal-track .bigtext,
.horizontal-track .image-row {
  height: auto;
  width: auto;
  min-width: auto;
  max-width: 50%;
  border: none;
  justify-content: center;
  align-items: flex-start;
  padding: 1em;
  box-sizing: border-box;
  flex-direction: column;
  text-align: left;
}

.vertical-scroll-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: 2em;
}

.scroll-image-container {
  width: 100%;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10vh;
  position: relative;
  overflow: hidden;
}

.scroll-image-container img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.sticky-header {
  position: static;
  margin-bottom: 1em;
  margin-right: 0;
}

.bigtext hgroup {
  margin-right: 2em;
  text-align: right;
}

.image-row {
  display: flex;
  gap: 1em;
  justify-content: center;
  flex-wrap: wrap;
}

.image-row img {
  min-width: 25%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-row img:hover {
  transform: scale(1.05);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollText 45s linear infinite;
}

.marquee-content {
  flex-shrink: 0;
  padding-right: 0;
}

@keyframes scrollText {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

footer {
  background-color: #000;
  font-family: "inter";
  width: 100%;
  color: #eee;
  font-family: "Inter", sans-serif;
  z-index: 3;
  position: relative;
  overflow: hidden;
}
.footer-logo {
  color: white;
  position: relative;
  bottom: -8em;
  margin-top: -7em;
}
footer-p {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  font-size: 1.5em;
  font-weight: 600;
  text-transform: uppercase;
  padding-left: 2em;
  padding-top: 1.5em;
  text-align: left;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 2em;
  margin: 1.5em 0;
  align-items: center;
  padding-right: 5em;
}

.social-links a {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.1);
}

.social-links img {
  width: 50px;
  height: 50px;
  display: block;
}


.calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2em;
  font-family: "Inter", sans-serif;
  text-align: left;
}

.calendar-table th {
  border-bottom: 2px solid #000;
  padding: 1em 0.5em;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.1em;
}

.calendar-table td {
  border-bottom: 1px solid #000000;
  padding: 1em 0.5em;
  font-weight: 400;
}

.calendar-table tr:last-child td {
  border-bottom: none;
}

.calendar-table tr:hover {
  background-color: #e952a5;
}


/* Mobile Optimization */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
  /* Navigation */
  nav {
    flex-direction: column;
    gap: 1em;
    padding: 0.5em;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 1em;
    width: 100%;
  }

  .nav-links a {
    margin-left: 0;
    font-size: 0.9em;
  }

  /* Reset Logo for Mobile */
  .logo {
    width: auto;
    max-width: 200px;
    padding-left: 0;
    margin-top: 5px;
  }
  
  /* Reset Bigtext Button for Mobile */
  .bigtext button {
    margin-left: 0;
  }

  .hero {
    height: 60vh;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/4m.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    z-index: -1;
    transition: filter 0.3s ease;
  }

  html.invert-colors .hero::before {
    filter: invert(1);
  }

  h1 {
    font-size: 3em;
    text-align: center;
    width: 100%;
  }

  .bigtext {
    flex-direction: column;
    height: auto;
    min-height: auto;
    min-width: 100%;
    padding: 2em 1em;
    border-top: none;
    border-bottom: 1px solid #000;
  }

  .bigtext hgroup {
    margin-right: 0;
    text-align: center;
    margin-bottom: 1em;
    width: 100%;
  }

  .sticky-parent {
    height: auto !important;
    margin-top: 0;
  }
  
  .sticky-scroll-view {
    position: static;
    height: auto;
    overflow: visible;
  }

  .horizontal-track {
    display: block;
    width: 100%;
    height: auto;
  }

  .slide-container {
    width: 100%; 
    height: auto; 
    flex-direction: column; 
    padding: 0;
    border-bottom: 2px solid #000;
  }

  .bigtext article {
    min-width: auto;
    width: 100%;
    border-left: none;
    border-top: 2px solid #000;
    padding-left: 0;
    padding-top: 1em;
    text-align: center;
    font-size: 1.5em;
  }

  .image-row {
    flex-direction: column;
    align-items: center;
  }

  .image-row figure {
    width: 100%;
    margin: 0;
  }

  .image-row img {
    width: 800px;
    min-width: auto;
    display: block;
  }
  
  .banner {
    width: 100%;
    transform: none;
    left: 0;
    top: 0;
    margin: 2em 0;
    font-size: 1.5em;
  }

  .split-layout {
    flex-direction: column;
  }

  .split-left,
  .split-right {
    width: 100%;
    flex: none;
  }

  .split-left {
    position: static;
    border-bottom: 1px solid #000;
    text-align: center;
    width: 90%;
    margin: 0 auto;
    padding: 1em 0;
  }

  .split-right {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .scroll-image-container {
    width: 100%;
  }

  .scroll-image-container img {
    width: 100%;
    height: auto;
  }

  .page-hero {
    height: 25vh;
    margin-top: 140px;
  }
  
  .content-wrapper {
     margin-top: calc(25vh + 140px);
  }

  .page-marquee h1 {
    font-size: 3em;
  }
  
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.spinner-container {
  position: fixed;
  top: 0.75em;
  right: 2em;
  z-index: 100;
  pointer-events: none;
}

.sponsors {
  padding-top: 2em;
  background-color: #ffffff;
  text-align: center;
  position: sticky;
  top: 100px;
  min-height: 33vh;
  z-index: 10;
  margin-bottom: -4em;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto;
}

.sponsor-logo {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-logo img {
  transition: transform 0.3s ease;
}

.sponsor-logo img.shrink {
  transform: scale(0.5);
}

.instagram-feed {
  padding: 2em 0;
  padding-top: 0;
  background-color: #ffffff;
  text-align: center;
  min-height: 62vh;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.instagram-feed h1 {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  margin-bottom: 1em;
  color: #000;
}

.instagram-feed a {
  text-decoration: none;
  color: #000;
  transition: color 0.3s ease;
}

.instagram-feed a:hover h1 {
  color: var(--accent-color);
}

.instagram-track {
  display: flex;
  width: max-content;
  animation: scrollFeed 60s linear infinite;
  gap: 1em;
}

.feed-item {
  width: 500px;
  aspect-ratio: 1/1;
  background-color: #f5f5f5;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.feed-item:hover {
  transform: scale(1.1);
}

.feed-item-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.feed-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feed-item-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.video-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.feed-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 1.5em 1em 1em;
  font-family: "Inter", sans-serif;
  font-size: 0.9em;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feed-item:hover .feed-item-caption {
  opacity: 1;
}

/* Loading State */
.instagram-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  gap: 1em;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.instagram-loading p {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: #666;
}

/* Error State */
.instagram-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  gap: 1em;
  padding: 2em;
}

.instagram-error p {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: #d32f2f;
  font-size: 1.1em;
}

.retry-button {
  padding: 0.75em 1.5em;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 0;
}

.retry-button:hover {
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@keyframes scrollFeed {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

html {
  transition: filter 0.3s ease;
}

html.invert-colors {
  filter: invert(1);
  --accent-color: #16ad5a;
}
html.invert-colors img,
html.invert-colors video {
  filter: invert(1) !important;
}

html.invert-colors .sponsor-logo img,
html.invert-colors .logo img,
html.invert-colors .footer-logo img,
html.invert-colors .social-links img { filter: none !important; }

.video-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  position: sticky;
  top: 100px;
  justify-content: center;
  background-color: #000;
  z-index: 1;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2em;
  left: 50%;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 0.7em;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  z-index: 1000;
  pointer-events: none;
  animation: bounce 2s infinite;
}

.scroll-indicator p {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 1.2em;
  margin: 0;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.scroll-indicator .arrow {
  font-size: 1.5em;
  margin-top: 0.2em;
  font-weight: bold;
  color: var(--accent-color);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}
