/* --- Tracks page layout --- */

.tracks-page {
  max-width: 1100px;
  margin: 0 auto;
}

.tracks-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Quick nav “pills” */

.tracks-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.track-pill {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #660000;          /* MSU maroon-ish */
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #660000;
  background: #ffffff;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.track-pill:hover,
.track-pill:focus {
  background: #660000;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Track “cards” */

.track-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.track-card-alt {
  background: #f7f4f4;
}

.track-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.track-image img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 14px;
}

.track-body h3 {
  margin-top: 0;
}

.track-tagline {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.25rem;
  margin-bottom: 0.9rem;
  color: #660000;
}

.track-requirements {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
}

.track-highlight {
  margin-top: 0.75rem;
  font-weight: 600;
}

/* Side-by-side on larger screens */

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

  .track-image {
    flex: 0 0 40%;
  }

  .track-body {
    flex: 1;
  }
}

:root {
  --msu-maroon: #5D1725;
  --msu-gray-light: #f3f3f4;
  --msu-gray: #c1c6c8;
}

/* GLOBAL */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
}

a {
  color: var(--msu-maroon);
}

.msu-bar {
  background: var(--msu-maroon);
  color: #ffffff;
  padding: 10px 20px;
  font-weight: bold;
}

.header {
  padding: 20px;
  border-bottom: 4px solid var(--msu-maroon);
  display: flex;
  align-items: center;
  gap: 20px;
}

/* NAVIGATION */
.nav {
  background: #eeeeee;
  padding: 10px 20px;
  border-top: 1px solid var(--msu-gray);
  border-bottom: 1px solid var(--msu-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 32px;
  border: 1px solid var(--msu-maroon);
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--msu-maroon);
  margin: 2px 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.nav a {
  color: var(--msu-maroon);
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav a.active {
  text-decoration: underline;
}

/* HERO + SLIDESHOW */
.hero {
  position: relative;
  padding: 40px 30px;
  color: white;
  background: linear-gradient(rgba(93, 23, 37, 0.92), rgba(93, 23, 37, 0.82));
}

.hero h2 {
  margin: 0 0 10px 0;
  font-size: 2rem;
}

.hero p {
  max-width: 650px;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  max-height: 500px;
  height: 500px;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 20px;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFade 18s infinite;
}

/* Always show first slide as a fallback if animations are not running */
.hero-slide:first-child {
  opacity: 1;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }

@keyframes heroFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  30%  { opacity: 1; }
  35%  { opacity: 0; }
  100% { opacity: 0; }
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 10px 16px;
  margin-top: 15px;
  background: #ffffff;
  color: var(--msu-maroon);
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
}

/* HOME LAYOUT */
.layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
  padding: 30px;
  max-width: 1200px;
  margin: auto;
}

.card {
  background: var(--msu-gray-light);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #dddddd;
}

.card h3 {
  margin-top: 0;
  color: var(--msu-maroon);
}

.sidebar .card {
  margin-bottom: 12px;
}

/* PAGE CONTENT */
main.page {
  padding: 30px;
  max-width: 1200px;
  margin: auto;
}

main.page h2 {
  color: var(--msu-maroon);
  margin-top: 0;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.section-card {
  background: var(--msu-gray-light);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #dddddd;
}

.section-card h3 {
  margin-top: 0;
  color: var(--msu-maroon);
}

/* GALLERY (home + media) */
.gallery-section {
  padding: 15px 30px 30px;
  max-width: 1200px;
  margin: auto;
}

.gallery-section h2 {
  margin: 0 0 15px 0;
  color: var(--msu-maroon);
}

.gallery-intro {
  margin-bottom: 15px;
  color: #444444;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.gallery-item {
  background: var(--msu-gray-light);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #dddddd;
}

.gallery-item img {
  width: 100%;
  display: block;
}

.gallery-item span {
  display: block;
  padding: 8px 10px;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid #ccc;
  padding: 15px 20px;
  font-size: 0.85rem;
  color: #333;
  margin-top: 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left img.footer-logo {
  height: 60px; /* adjust as needed */
  width: auto;
}

.footer-links {
  flex: 1;
  text-align: center;
}

.footer-links a {
  color: #660000; /* MSU maroon */
  text-decoration: none;
  margin: 0 3px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-follow-label {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Official brand colors */
.footer-social a[aria-label="Facebook"] i {
  color: #1877f2; /* Facebook blue */
}

.footer-social a[aria-label="Instagram"] i {
  color: #e4405f; /* Instagram pink */
}

.footer-social a:hover i {
  opacity: 0.8;
}

.footer-eo {
  margin-top: 10px;
  line-height: 1.4;
  text-align: center;
}
/* ===================== */
/*   HALL OF FAME PAGE   */
/* ===================== */

.hof-year-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  margin-top: 20px;
}

/* Left side: year navigation */
.hof-year-nav h3 {
  margin-top: 0;
  color: var(--msu-maroon);
}

.hof-year-nav ul {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0 0;
}

.hof-year-nav li {
  margin-bottom: 6px;
}

.hof-year-nav a {
  text-decoration: none;
  color: var(--msu-maroon);
}

.hof-year-nav a:hover {
  text-decoration: underline;
}

/* Right side: year sections */
.hof-year-group {
  margin-bottom: 30px;
}

.hof-year {
  margin-top: 0;
  color: var(--msu-maroon);
}

/* Individual inductee card */
.hof-entry {
  background: var(--msu-gray-light);
  border: 1px solid #dddddd;
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 10px;
}

.hof-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: nowrap;
}

.hof-left {
  flex: 0 0 190px;             /* fixed space for the image column */
  display: flex;
  justify-content: center;
}

.hof-left img {
  width: 170px;                 /* size of the portrait */
  height: 170px;
  border-radius: 50%;           /* circular image */
  object-fit: cover;
  border: 4px solid var(--msu-maroon);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hof-right {
  flex: 1;
}

.hof-right h4 {
  margin-top: 0;
  color: var(--msu-maroon);
}

/* Responsive layout for smaller screens */
@media (max-width: 800px) {
  .hof-year-layout {
    grid-template-columns: 1fr;
  }

  .hof-year-nav {
    margin-bottom: 15px;
  }

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

  .hof-right {
    width: 100%;
  }
}
/* ===================== */
/*    PAST PRODUCTIONS   */
/* ===================== */

.productions-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}

.production-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #dddddd;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  padding: 12px 14px;
}

.production-card-body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

/* Poster image */
.production-poster img {
  display: block;
  width: 140px;        /* adjust as you like */
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Right side info */
.production-info {
  flex: 1;
}

.production-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.production-year {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--msu-maroon);
}

.production-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #333333;
}

.production-links {
  margin-top: 4px;
  font-size: 0.95rem;
}

.production-links a {
  color: var(--msu-maroon);
  text-decoration: none;
}

.production-links a:hover {
  text-decoration: underline;
}

.separator {
  margin: 0 6px;
  color: #777777;
}

.resource-missing {
  color: #888888;
  font-style: italic;
}

/* Mobile layout */
@media (max-width: 700px) {
  .production-card-body {
    flex-direction: column;
    align-items: flex-start;
  }

  .production-poster img {
    width: 100%;
    max-width: 260px;
  }
}
/* Apply & Eligibility two-column layout */

.apply-two-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Left column */
.apply-main {
  flex: 2 1 60%;
}

/* Right column (sidebar) */
.apply-sidebar {
  flex: 1 1 35%;
}

/* Sidebar cards */
.apply-sidebar-box {
  background: #f7f7f8;
  border: 1px solid #d1d3d4;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1.4rem;
  margin-bottom: 1.5rem;
}

.apply-sidebar-box h3 {
  margin-top: 0;
}

/* Track cards inside sidebar */
.track-card-sidebar {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  padding: 1rem 1rem 1.1rem;
  margin-bottom: 1rem;
}

.track-card-sidebar h4 {
  margin-top: 0;
}

.track-card-sidebar h5 {
  margin-bottom: 0.25rem;
}

.track-card-sidebar ul {
  padding-left: 1.25rem;
}

.sidebar-intro {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.small-note {
  font-size: 0.9rem;
  font-style: italic;
}

/* Apply buttons */
.btn-apply-sidebar {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.7rem 1.4rem;
  background-color: #5D1725;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  text-align: center;
}

/* Make sidebar sticky on larger screens */
@media (min-width: 900px) {
  .apply-two-column {
    flex-direction: row;
    align-items: flex-start;
  }

  .apply-sidebar {
    position: sticky;
    top: 120px; /* adjust if header height changes */
  }
}

/* On small screens, keep it single column */
@media (max-width: 899px) {
  .apply-two-column {
    flex-direction: column;
  }
}
/* ===== SAFETY RESET: BACKGROUND & TEXT ===== */
html, body {
  background-color: #ffffff !important;
  color: #000000;
}

/* ===== HALL OF FAME IMAGE SIZING ===== */
.hof-photo-wrapper img,
.hof-card img {
  max-width: 120px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* ===== PAST PRODUCTIONS / POSTER CARDS ===== */
.past-grid,
.productions-grid,
.year-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.year-card,
.production-card {
  background: #f7f7f7;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  padding: 0.9rem 1rem;
}

.year-card img,
.production-card img,
.production-poster img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  border-radius: 8px;
}
/* ===== RESPONSIVE NAV & LAYOUT ===== */

@media (max-width: 900px) {
  /* Navigation wraps and shows hamburger */
  .nav {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  /* Show the hamburger button on small screens */
  .nav-toggle {
    display: flex;
  }

  /* Stack nav links vertically and hide by default */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-top: 10px;
  }

  /* JS adds "nav-open" to show the menu */
  .nav-links.nav-open {
    display: flex;
  }

  .nav a {
    padding: 6px 0;
  }

  /* Home layout: switch to single column */
  .layout {
    grid-template-columns: 1fr;
    padding: 20px 15px;
  }

  .layout > div {
    width: 100%;
  }

  /* Hero: tighten spacing on small screens */
  .hero {
    padding: 25px 15px;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  /* Header/footer stack nicely on mobile */
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-links {
    text-align: left;
  }
}

/* ===== EXTRA SMALL SCREENS (LOGOS & PADDING) ===== */

@media (max-width: 600px) {
  /* Slightly smaller logos on phones */
  .header img,
  .logo img {
    max-width: 200px;
  }

  .footer-left img.footer-logo {
    max-width: 180px;
  }

  /* Softer padding on inner pages and gallery */
  main.page,
  .gallery-section {
    padding: 20px 15px;
  }
}
/* ===== FINAL LOGO FIXES (Header + Footer) ===== */

/* HEADER LOGO */
.header img,
.logo img,
.site-header img {
  max-width: 500px;   /* increase size */
  width: auto;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

/* FOOTER LOGO */
.footer-left img.footer-logo,
.site-footer img.footer-logo {
  max-width: 500px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Prevent distortion on smaller devices */
@media (max-width: 600px) {
  .header img,
  .logo img {
    max-width: 220px;
  }

  .footer-left img.footer-logo {
    max-width: 200px;
  }
}

