:root {
  --max-width: 68.75rem;
  --gap: 2.25rem;
  --muted: #6b6b6b;
  --black: #111;
  --white: #fff;
}

/* reset / base */
main {
  margin: 0 auto;
  max-width: var(--max-width);
  width: 100%;
}

html,
body {
  scroll-behavior: smooth;
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--black);
  background: #fff;
}

/* Hero (top image + centered title) */
.hero {
  min-height: 36vh;
  background-image: url("../img/Burn Out Background.avif");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.36);
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.25rem 1.25rem;
  max-width: 900px;
}

.content h1 {
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 100;
  letter-spacing: 1px;
}

.content blockquote {
  margin-top: 0.6rem;
  font-style: italic;
  opacity: 0.95;
  font-size: 1rem;
}

/* ====== COUNTDOWN MET MASCOTTES ====== */
.countdown-section {
  position: relative;
  padding: 6rem 1.25rem;
  text-align: center;
  overflow: hidden;
}

.countdown-container {
  position: relative;
  z-index: 4;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 2rem;
  margin-bottom: 4rem;
  background: var(--white);
  border-radius: 1.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  padding: 2.5rem 1.5rem;
  transition: transform 0.3s ease;
  animation: fadeIn 1.2s ease forwards;
}

.countdown-container:hover {
  transform: translateY(-4px);
}

/* ====== LOCATIEBLOK (vervangt countdown inhoud) ====== */
.location-box {
  display: grid;
  gap: 0.65rem;
  padding: 1.25rem 1.25rem;
  border-radius: 1rem;
}

.location-name {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.2px;
}

.location-campus {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.location-address {
  margin: 0;
  font-size: 0.95rem;
  color: var(--black);
  line-height: 1.5;
  opacity: 0.95;
}

.countdown-title {
  margin-bottom: 1.25rem;
  /* was 2rem */
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.number {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--black);
  transition: all 0.2s ease-in-out;
}

.label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.separator {
  font-size: 2rem;
  font-weight: 500;
  color: var(--muted);
  opacity: 0.6;
}

/* ====== MASCOTTES ====== */
.mascot {
  position: absolute;
  bottom: 0;
  z-index: 5;
  width: clamp(120px, 20vw, 160px);
  opacity: 0.95;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.1));
}

.mascot img {
  width: 100%;
  height: auto;
  animation: breathe 4s ease-in-out infinite;
}

.mascot--left {
  left: 18%;
  transform: translateY(-80%);
  filter: drop-shadow(0 0 30px rgba(90, 80, 200, 0.6));
}

.mascot--right {
  right: 15%;
  transform: translateY(-316%);
  filter: drop-shadow(0 0 35px rgba(255, 180, 60, 0.6));
}

/* Animatie fade-in */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Zachte ademende animatie */
@keyframes breathe {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }
}

/* ====== TEKSTBALLONNETJES ====== */

.speech {
  position: absolute;
  max-width: 220px;
  padding: 0.85rem 1.1rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #222;
  background: #fff;
  backdrop-filter: blur(4px);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.18),
    0 0 22px rgba(255, 180, 80, 0.18);
  opacity: 0.98;
  pointer-events: none;
  z-index: 2;
  animation: floaty 5s ease-in-out infinite;
}

/* Paars popje ballon */
.speech--left {
  left: -55px;
  bottom: 100%;
  background: linear-gradient(135deg, rgba(140, 120, 255, 0.18), rgba(255, 255, 255, 0.95));
  border: 1.8px solid rgba(140, 120, 255, 0.3);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.12),
    0 0 20px rgba(120, 100, 220, 0.25);
}

/* Oranje popje ballon */
.speech--right {
  left: -141px;
  bottom: 64%;
  background: linear-gradient(135deg, rgba(255, 200, 120, 0.25), rgba(255, 255, 255, 0.95));
  border: 1.8px solid rgba(255, 200, 120, 0.35);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.12),
    0 0 25px rgba(255, 180, 80, 0.25);
}

/* Kleine ademende zweefanimatie */
@keyframes floaty {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-6px) scale(1.02);
  }
}

/* Driehoekje (puntje van de ballon) */
.speech::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 26px;
  width: 12px;
  height: 12px;
  background: inherit;
  transform: rotate(45deg);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inherit;
}

.speech--right::after {
  content: "";
  position: absolute;
  bottom: -3px;
  right: -1px;
  width: 12px;
  height: 12px;
  background: inherit;
  transform: rotate(-2deg);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inherit;
}

/* CONTAINER / GRID for the hero-inner sections */
.hero-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 5.25rem auto;
  display: flex;
  gap: var(--gap);
  align-items: center;
  justify-content: space-between;
  padding: 0;
  box-sizing: border-box;
}

/* reverse layout modifier (image left, text right) */
.hero-inner.reverse {
  flex-direction: row-reverse;
}

/* LEFT column (text) */
.hero-left {
  flex: 1;
  min-width: 280px;
}

.text-content h2 {
  margin: 0 0 0.7rem;
  font-weight: 100;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  color: var(--black);
}

.text-content p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.55;
}

/* CTA */
.cta {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  border: 2px solid var(--black);
  color: var(--black);
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.14s ease, background-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

.cta:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* RIGHT column (image) */
.hero-right {
  max-width: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preview-wrap {
  position: relative;
  width: 380px;
  max-width: 100%;
}

.preview-img {
  display: block;
  width: 100%;
  height: 15rem;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(3, 6, 12, 0.08);
  border: 6px solid rgba(0, 0, 0, 0.02);
  object-fit: cover;
}

.title-team {
  text-align: center;
  font-weight: 100;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 2.25rem;
}

.team-member {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.team-member-info img {
  width: 10rem;
  height: 20rem;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: border-radius 0.32s ease, box-shadow 0.32s ease;
}

.team-member-info img:hover {
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.team-member-info h2 {
  margin: 0;
  font-size: 1.25rem;
  margin-top: 1.5rem;
}

.team-member-info p {
  margin: 0;
  color: var(--muted);
}

.donate-section {
  text-align: center;
  margin-top: 5rem;
}

.donate-section h2 {
  font-weight: 100;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 1rem;
}

.donate-section p {
  color: var(--muted);
  font-size: 1rem;
}

.donate-link {
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--black);
  transition: color 0.14s ease, border-color 0.14s ease;
}

.donate-link:hover {
  color: var(--muted);
  border-color: var(--muted);
}

/* spacing tweaks between repeating sections */
main {
  padding-bottom: 3rem;
}

footer {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ============================================
   RESPONSIVE ENHANCEMENTS
   ============================================ */

/* For tablets and smaller (max 1024px) */
@media (max-width: 1024px) {

  /* Remove mascots & speech bubbles */
  .mascot,
  .speech,
  .hero-speech {
    display: none;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-inner.reverse {
    flex-direction: column;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    max-width: 100%;
  }

  .preview-wrap {
    width: 100%;
  }

  .preview-img {
    height: auto;
    max-height: 300px;
  }

  .countdown-section {
    padding: 4rem 1.5rem;
  }

  .countdown-container {
    margin: 2rem auto;
    padding: 2rem 1.25rem;
  }
}

/* For small screens / large phones (max 768px) */
@media (max-width: 768px) {
  .content h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .content blockquote {
    font-size: 0.9rem;
  }

  .countdown-timer {
    gap: 0.5rem;
  }

  .time-box {
    min-width: 55px;
  }

  .number {
    font-size: 2rem;
  }

  .label {
    font-size: 0.7rem;
  }

  .team-member {
    justify-content: center;
    gap: 2rem;
  }

  .team-member-info img {
    width: 8rem;
    height: 14rem;
  }

  .text-content h2 {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
  }

  .text-content p {
    font-size: 0.95rem;
  }

  .cta {
    font-size: 0.95rem;
    padding: 0.45rem 0.8rem;
  }
}

/* For extra small phones (max 480px) */
@media (max-width: 480px) {
  body {
    font-size: 0.95rem;
  }

  .hero {
    min-height: 30vh;
    background-position: center;
  }

  .content {
    padding: 1.5rem 1rem;
  }

  .countdown-container {
    padding: 1.5rem 1rem;
  }

  .team-member-info h2 {
    font-size: 1rem;
  }

  .team-member-info p {
    font-size: 0.85rem;
  }

  .donate-section h2 {
    font-size: 1.25rem;
  }

  footer {
    font-size: 0.8rem;
  }
}

/* Large screens (above 1440px) */
@media (min-width: 1440px) {
  main {
    max-width: 75rem;
  }

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

  .countdown-container {
    max-width: 700px;
  }

  .hero-inner {
    gap: 3rem;
  }
}