:root {
  /* Content Colors - extendable */
  --color-content-1: #fe019a;
  --color-content-2: #fe3b01;
  --color-content-3: #0e01fe;
  --color-content-4: #9000d8;

  /* Background Colors - extendable */
  --color-bg-1: #b6fdff;
  --color-bg-2: #b6ffea;
  --color-bg-3: #fff9dc;
  --color-bg-4: #ebe2ff;

  /* Selected colors (set by JavaScript) */
  --selected-content-color: var(--color-content-1);
  --selected-bg-color: var(--color-bg-1);

  /* Layout settings */
  --container-max-width: 1200px;
  --container-padding: clamp(1rem, 4vw, 3rem);
  --card-padding: clamp(1rem, 1.5vw, 1rem);
  
  /* Hero spacing - adjust this value to change spacing between title and illustration */
  --hero-title-illustration-spacing: clamp(4rem, 8vw, 8rem);
  /* Hero date offset - move the date block up or down on desktop */
  --hero-date-offset: clamp(-3rem, -4vw, -1.5rem);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: var(--selected-content-color);
  background-color: var(--selected-bg-color);
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
/* Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--selected-bg-color);
  padding: 1rem 0 0 0;
}

header .container::after {
  content: "";
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--selected-content-color);
  margin-top: 1rem;
}

nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-menu {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--selected-bg-color);
  padding: 2rem;
  border-bottom: 1px solid var(--selected-content-color);
  align-items: flex-start;
}

.nav-menu a {
  color: var(--selected-content-color);
  text-decoration: none;
  font-weight: 600;
}

.nav-menu a:hover {
  opacity: 0.7;
}

.burger-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .burger-menu {
    display: none;
  }
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background-color: var(--selected-content-color);
  transition: all 0.3s;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero-details {
    margin-top: var(--hero-date-offset);
  }
}

.hero-left,
.hero-right {
  flex: 1;
}

.hero-title {
  font-size: clamp(4.5rem, 13vw, 11rem);
  font-weight: 800;
  line-height: 0.85;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-title .line {
  display: block;
}

.location {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.5;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-left .description {
  font-size: clamp(1.125rem, 2.4vw, 1.9rem);
  font-weight: 500;
  line-height: 1.5;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  text-align: left;
}

.free-entry {
  width: clamp(120px, 14vw, 200px);
  height: auto;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  display: block;
}

.hero-details {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.date-time {
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 500;
}

.date-time-item {
  line-height: 1.3;
}

.date-time-item + .date-time-item {
  margin-top: 0.25rem;
}

.date-time-item:first-child {
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
}

.hero-illustration {
  width: clamp(220px, 30vw, 360px);
  height: auto;
  min-height: 100px;
  display: block;
  margin-top: var(--hero-title-illustration-spacing);
  align-self: flex-end;
  margin-left: auto;
}

/* Section Styles */
section {
  padding: clamp(2rem, 4vw, 6rem) 0;
}

@media (max-width: 767px) {
  section {
    padding: clamp(2rem, 4vw, 3rem) 0;
  }
}

/* Subtle Section Headers */
.section-header {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--selected-content-color);
  color: var(--selected-content-color);
}


/* Participants */
.participants-content {
  margin: 0 auto;
}

.participants-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 640px) {
  .participants-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .participants-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.participant-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--selected-content-color);
  padding: var(--card-padding);
  transition: opacity 0.2s ease;
}

.participant-card:hover {
  opacity: 0.7;
}

.participant-image-link {
  display: block;
  text-decoration: none;
  background-color: transparent;
}

.participant-media {
  width: 100%;
  margin: 0 0 clamp(0.75rem, 1.5vw, 1.25rem);
  overflow: hidden;
}

.participant-media--logo {
  background-color: var(--selected-content-color);
  padding: clamp(1.5rem, 2vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
}

.participant-media--photo {
  aspect-ratio: 16 / 9;
}

.participant-media--photo {
  display: block;
}

.participant-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.participant-media--logo .participant-image,
.participant-media--logo svg {
  width: auto;
  height: auto;
  max-width: calc(100% - 2rem);
  max-height: calc(100% - 2rem);
  flex-shrink: 0;
  object-fit: contain;
}

.participant-media--photo .participant-image {
  object-fit: cover;
}

.participant-name-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

.participant-name {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--selected-content-color);
  margin: 0;
}

.participant-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--selected-content-color);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  flex-grow: 1;
}

.participant-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: clamp(0.875rem, 1.8vw, 1rem);
}

.participant-link {
  color: inherit;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.participant-link:hover {
  opacity: 0.7;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--selected-content-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: var(--selected-content-color);
  transition: opacity 0.2s ease;
}

.faq-question:hover {
  opacity: 0.7;
}

.faq-question-text {
  flex: 1;
}

.faq-toggle {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1;
  margin-left: 1rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 clamp(0, 2vw, 1rem);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 0 clamp(1.25rem, 2.5vw, 1.75rem) 0;
}

.faq-answer p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.faq-answer a,
.contact-text a,
.contact-description a,
.participants-content a,
p a {
  color: inherit;
  text-decoration: underline;
}

.faq-answer a:hover,
.contact-text a:hover,
.contact-description a:hover,
.participants-content a:hover,
p a:hover {
  color: inherit;
  text-decoration: underline;
}

/* Sponsors */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: start;
  justify-items: start;
}

@media (min-width: 768px) {
  .sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    max-width: 1000px;
    gap: 3rem;
  }
}

.sponsor-logo {
  width: 100%;
  height: auto;
  min-width: 120px;
  max-width: 200px;
  display: block;
  object-fit: contain;
  margin: 0;
  visibility: visible;
  opacity: 1;
}

.sponsor-logo svg,
.sponsors-grid svg {
  width: 100%;
  height: auto;
  display: block;
  min-width: 120px;
  max-width: 200px;
}

.sponsor-logo--joschi {
  width: 70%;
  max-width: 140px;
  min-width: 0;
}

.sponsor-logo--joschi svg {
  width: 70%;
  max-width: 140px;
  min-width: 0;
}

.sponsor-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.sponsor-link:hover {
  opacity: 0.7;
}

/* SVG color override - make all SVG paths use selected content color */
/* Sponsor logos are handled separately via JavaScript with inline styles */
svg:not(.sponsor-logo) path {
  fill: var(--selected-content-color) !important;
}

/* Contact Section */
.contact-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-content {
    flex-direction: row;
  }
}

.contact-left,
.contact-right {
  flex: 1;
}

.contact-description {
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  color: var(--selected-content-color);
}

.contact-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  color: var(--selected-content-color);
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.4;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--selected-content-color);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-link:hover {
  opacity: 0.7;
}

.contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--selected-content-color);
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
}

footer p {
  margin: 0;
}

