
body {
  margin: 0;
  font-family: "Zalando Sans Expanded", sans-serif;
  background: #f8f9fa;
  scroll-behavior: smooth;
  font-optical-sizing: auto;
}

/* Ensure all interactive controls use the same site font */
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 2rem;
  position: relative;
}

:root {
  --overlay-left: 12px;
  --overlay-top: 12px;
  --overlay-size: 96px;
  --nav-gap: 12px;
}

.hero-overlay {
  position: fixed; /* pin to viewport */
  top: var(--overlay-top);
  left: var(--overlay-left);
  z-index: 9999;   /* ensure it's above everything */
  pointer-events: none;
}

.hero-overlay-img {
  display: block;
  width: var(--overlay-size);
  max-width: 12vw;
  height: auto;
  opacity: 0.98;
  transform: none;  /* remove translation to avoid clipping */
  transition: filter 400ms ease, opacity 400ms ease, transform 400ms ease;
}

@media (max-width: 750px) {
  :root {
    --overlay-left: 12px;
    --overlay-top: 8px;
    --overlay-size: 56px;
  }
}

/* Reduce the left shift on medium screens so overlay doesn't overlap content */
@media (max-width: 1200px) {
  :root {
    --overlay-left: 48px;
    --overlay-size: 96px;
  }
}

/* Keep it near the corner on small screens */
@media (max-width: 480px) {
  :root {
    --overlay-left: 12px;
    --overlay-top: 8px;
    --overlay-size: 56px;
  }
}

/* Floating nav that sits to the right of the overlay and follows scroll */
.floating-nav {
  position: fixed;
  top: calc(var(--overlay-top));
  left: calc(var(--overlay-left) + var(--overlay-size) + var(--nav-gap));
  z-index: 10001;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  pointer-events: auto; /* allow clicks */
}

.floating-nav button {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  border-radius: 4px;
  font-family: "Zalando Sans Expanded", sans-serif;
  font-weight: 600;
  background: rgba(255,255,255,0.06); /* subtle opaque */
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.floating-nav button:hover {
  background: rgba(255,255,255,0.12);
}

.floating-nav button:focus {
  outline: 2px solid rgba(255,255,255,0.18);
  outline-offset: 2px;
}

/* Fade to black when user scrolls past the hero (only image) */
body.scrolled-past-hero .hero-overlay-img {
  filter: grayscale(100%) brightness(0%);
  opacity: 1; /* keep visible but black */
}

/* Only change the button text color when scrolled past the hero; keep backgrounds intact */
body.scrolled-past-hero .floating-nav button {
  color: rgba(0,0,0,0.95);
}

@media (max-width: 480px) {
  .floating-nav {
    left: auto;
    right: 12px; /* move to right on very small screens to avoid overlap */
    top: calc(var(--overlay-top) + var(--overlay-size) + 8px);
  }
}

.hero-text {
  flex: 1;
  text-align: left;
}

/* Organization chart figure under About */
.org-chart {
  margin: 2rem auto 1rem;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.org-chart img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.org-chart figcaption {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  color: #333;
  font-weight: 700;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 1000;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-buttons button {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-family: "Zalando Sans Expanded", sans-serif;
  font-weight: 600;
  border: none;
  background: transparent;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.02em;
}

.hero-buttons button:hover {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.content-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.content-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 700;
}

.content-section p {
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 400;
}

/* About Section */
.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  width: 100%;
  padding: 0 1rem;
}

.feature {
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature:hover {
  background: white;
  transform: translateY(-5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature h3 {
  color: #2575fc;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Join Section */
.join-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  max-width: 1200px;
  width: 100%;
  padding: 0 1rem;
}

.role {
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.role:hover {
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.join-button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background: #2575fc;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.join-button:hover {
  background: #1a5fc7;
}

/* Sponsors Section */
.sponsors-grid {
  max-width: 1200px;
  width: 100%;
  padding: 2rem;
}

.sponsor-level {
  margin: 2rem 0;
  text-align: center;
}

.sponsor-level h3 {
  color: #2575fc;
  margin-bottom: 1rem;
  font-weight: 600;
}

.sponsor-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.sponsor-logos:hover {
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sponsor-button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background: #2575fc;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 2rem;
  transition: background 0.3s ease;
}

.sponsor-button:hover {
  background: #1a5fc7;
}

/* Our Journey image sizing */
.journey-image {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.journey-image img,
.featured-image {
  max-width: 800px; /* cap the image width so it appears smaller */
  width: 250%;      /* allow it to shrink on small screens */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}


/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  width: 100%;
  padding: 2rem;
}

.contact-info {
  text-align: left;
}

.contact-details {
  margin-top: 2rem;
}

.contact-details p {
  margin: 1rem 0;
  font-size: 1.1rem;
}

.social-links {
  text-align: center;
}

.social-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-buttons button {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  background: #2575fc;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.social-buttons button:hover {
  background: #1a5fc7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-features,
  .join-roles {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons button {
    width: 100%;
  }
}



.zalando-sans-expanded-uniquifier {
  font-family: "Zalando Sans Expanded", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}


