/* GLOBAL */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #222;
}

/* HEADER */
.hero {
  background-color: #000 !important; /* force black */
  color: white;
  padding: 1.5rem 1rem;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .header-row {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
  }
  .header-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
  }
  .nav-box {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
  }
}


.header-nav {
  flex: 1;                 /* each nav takes equal space */
  display: flex;
}

.header-nav:first-child {
  justify-content: flex-end;   /* push left nav buttons left */
  gap: 2rem;                   /* space between Watch / Race */
}

.header-nav:last-child {
  justify-content: flex-start; /* push right nav buttons right */
  gap: 2rem;                   /* space between Our Team / Contact */
}

.site-title {
  text-align: center;
  font-size: 2.6rem;
  margin: 0;
  line-height: 1.1;
  white-space: nowrap;
}

.site-title span {
  display: block;
  font-size: 2.6rem;
}

/* NAVIGATION */
.nav {
  display: flex;
  justify-content: space-evenly; /* evenly spaces menu links across the nav */
  flex-wrap: wrap;
  max-width: 800px; /* optional: keeps nav from stretching too far on large screens */
  margin: 0 auto;   /* center the nav */
}

.nav-box {
  background: none;
  color: white;
  padding: 0.25rem 0;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.nav-box:hover {
  border-bottom: 2px solid white;
}

/* WATCH PAGE IMAGES */
.watch-images {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.watch-images img {
  max-width: 400px;
  width: 100%;
  border-radius: 8px;
  flex: 1 1 300px;
}

@media (max-width: 700px) {
  .watch-images {
    flex-direction: column;
    align-items: center;
  }
  .watch-images img {
    max-width: 95vw;
  }
}

/* RACE PAGE: WANNA RACE TEXT */
.wanna-race-text {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 8px #000;
}

@media (max-width: 700px) {
  .wanna-race-text {
    font-size: 2rem;
    padding: 0 1rem;
  }
}

/* THREE COLUMN LAYOUT */
.three-column {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2.5rem;
  padding: 3rem 2rem;
  text-align: center; /* center text in all columns */
}

.column img {
  display: block;
  margin: 0 auto; /* center images in their column */
}

/* SPECIAL TEXT */
.event-date {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-highlight {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* IMAGE */
.event-image {
  width: 100%;
  max-width: 300px;
  display: block;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  background: #eee;
}

footer a {
  font-weight: bold;
  color: #c62828;
  text-decoration: none;
}

.footer-disclaimer {
  font-size: 0.9rem;
  color: #555;
  max-width: 900px;
  margin: 0.75rem auto 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .three-column {
    grid-template-columns: 1fr;
  }

  .site-title {
    font-size: 2.3rem;
  }
}
/* CONTACT FORM */
.contact-form {
  max-width: 600px;
  margin: 2rem auto; /* centers the form horizontally */
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center; /* centers the text inside inputs/buttons */
}

.name-row {
  display: flex;
  gap: 1rem;
}

.name-row input {
  flex: 1; /* first and last name take equal space */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #c62828;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  text-align: left; /* keep text inside inputs left-aligned */
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff5252;
}

.contact-form button {
  background: #c62828;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #ff5252;
}

/* Responsive for small screens */
@media (max-width: 500px) {
  .name-row {
    flex-direction: column;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 2rem;
  text-align: center;
}

.team-member img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.team-member p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.champion {
  margin-top: 2rem;
  text-align: center;
}

.champion img {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
  margin: 0 auto 0.75rem;
  display: block;
}

.champion-text {
  font-size: 1.2rem;
  font-weight: bold;
}
