/**
 * @author Steve Stackle
 * Updated April 3, 2026
 * Version 10: Removed orphan selectors; renamed page-specific classes to reusable names
 *   - .tournament-header  → .page-banner
 *   - .thank-you-section  → .content-card
 *   - .team70-hero / team70-*  → .hero-banner / .hero-banner-*
 *   - .reg-info-section   → .info-box
 */

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

body {
  font-family: "Arial", sans-serif;
  color: #333;
  line-height: 1.5;
}

/* ───── Site header ───── */
.header-logo {
  width: 100%;
  background-color: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-logo img {
  width: 100%;
  max-width: 800px;
  display: block;
  margin: 0 auto;
  padding: 0 15px;
}

/* ───── Navigation bar ───── */
nav {
  background: linear-gradient(135deg, #c41e3a 0%, #8b1528 100%);
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  padding: 5px 10px;
}

nav a:hover {
  color: #000;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
}

/* ───── Main content wrapper ───── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 35px 15px;
}

/* ───── Mission / Vision two-column layout ───── */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 0;
}

.mission-box,
.vision-box {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-top: 5px solid #c41e3a;
}

.mission-box h2,
.vision-box h2 {
  color: #c41e3a;
  font-size: 28px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mission-box p,
.vision-box p {
  font-size: 17px;
  line-height: 1.6;
  color: #555;
}

/* ───── News / updates sections ───── */
.news-intro {
  margin-bottom: 20px;
}

.section-subheading {
  color: #c41e3a;
  font-size: 24px;
  text-align: center;
  margin: 20px 0 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
}

.section-updated {
  color: #888;
  font-size: 12px;
  text-align: center;
  margin: 0 0 20px;
  font-weight: normal;
  font-style: italic;
}

.alumni-banner {
  margin-top: 30px;
  margin-bottom: 20px;
}

.alumni-spotlight {
  margin-bottom: 10px;
}

.alumni-spotlight h3 {
  color: #c41e3a;
  margin-bottom: 15px;
}

/* ───── Badge / logo display section ───── */
.badge-section {
  text-align: center;
  padding: 35px 15px;
  background-color: #f5f5f5;
}

.badge-section img {
  max-width: 250px;
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* ───── Youth football section ───── */
.youth-football-section {
  margin-top: 30px;
}

.youth-football-section .support-text {
  font-size: 20px;
  font-weight: bold;
  color: #c41e3a;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.youth-football-section .youth-football-tile {
  max-width: 250px;
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s;
}

.youth-football-section .youth-football-tile:hover {
  transform: scale(1.05);
}

/* ───── Red gradient page banner (top of interior pages) ───── */
.page-banner {
  background: linear-gradient(
    135deg,
    rgba(196, 30, 58, 0.95) 0%,
    rgba(139, 21, 40, 0.95) 100%
  );
  color: white;
  text-align: center;
  padding: 10px 15px;
  position: relative;
}

.page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.03) 10px,
    rgba(255, 255, 255, 0.03) 20px
  );
}

.page-banner-content {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  font-size: 36px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ───── Image lightbox modal ───── */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

.close:hover,
.close:focus {
  color: #c41e3a;
}

/* ───── Accent banner (gray box, red side borders) ───── */
.location-banner {
  background-color: #f5f5f5;
  padding: 5px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 5px;
  border-left: 5px solid #c41e3a;
  border-right: 5px solid #c41e3a;
}

.location-banner h2 {
  color: #c41e3a;
  font-size: 26px;
  margin-bottom: 8px;
}

.location-banner h2 i {
  color: #c41e3a;
  margin: 0 10px;
}

.location-banner p {
  font-size: 18px;
  color: #333;
  font-weight: 500;
}

.location-banner p i {
  color: #c41e3a;
  margin: 0 8px;
  font-size: 20px;
}

.defend-banner-text {
  font-size: 24px;
  font-weight: bold;
}

/* ───── Two-column info grid ───── */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 30px;
}

.detail-box {
  background: #f5f5f5;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-top: 5px solid #c41e3a;
}

.detail-box h2 {
  color: #c41e3a;
  font-size: 28px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.detail-box ul {
  list-style: none;
  padding: 0;
}

.detail-box ul ul {
  padding-left: 1.5rem;
  margin-top: 6px;
}

.detail-box li {
  font-size: 17px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: #555;
}

.detail-box li:last-child {
  border-bottom: none;
}

.detail-box li::before {
  content: "▸ ";
  color: #c41e3a;
  font-weight: bold;
  margin-right: 10px;
}

.detail-box .note {
  font-size: 14px;
  font-style: italic;
  color: #666;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid #eee;
}

/* ───── Info box (gray background, red-accented bulleted list) ───── */
.info-box {
  background: #e0e0e0;
  color: #555;
  padding: 8px;
  border-radius: 8px;
  margin: 0 auto 30px;
  max-width: 573px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-top: 5px solid #c41e3a;
}

.info-box h2 {
  color: #c41e3a;
  font-size: 28px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.info-box ul {
  list-style: none;
  padding: 0;
}

.info-box li {
  font-size: 17px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: #555;
}

.info-box li:last-child {
  border-bottom: none;
}

.info-box li::before {
  content: "▸ ";
  color: #c41e3a;
  font-weight: bold;
  margin-right: 10px;
}

/* ───── Footer ───── */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  color: white;
  text-align: center;
  padding: 10px 15px;
}

footer p {
  margin: 4px 0;
}

/* ───── Social media icons ───── */
.social-icons {
  margin: 5px 0 5px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a {
  color: white;
  font-size: 28px;
  transition:
    color 0.3s,
    transform 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  color: #c41e3a;
  transform: scale(1.2);
}

/* ───── Responsive breakpoints ───── */
@media (max-width: 968px) {
  .details-grid {
    grid-template-columns: 1fr;
  }

  .page-banner h1 {
    font-size: 36px;
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .info-box {
    padding: 8px;
    max-width: 100%;
  }

  .container {
    padding: 25px 15px;
  }
}

@media (max-width: 768px) {
  .mission-vision {
    grid-template-columns: 1fr;
  }

  .youth-football-section .youth-football-tile {
    max-width: 200px;
  }
}

/* ───── General content card (light gray box, centered, red headings/links) ───── */
.content-card {
  background-color: #f5f5f5;
  padding: 20px 30px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
}

.content-card h2 {
  color: #c41e3a;
  font-size: 26px;
  margin-bottom: 12px;
}

.content-card ul {
  list-style: none;
  padding: 0;
  font-size: 18px;
  color: #333;
  font-weight: 500;
}

.content-card ul ul {
  padding-left: 1.5rem;
  margin-top: 6px;
}

.content-card li {
  padding: 4px 0;
}

.content-card li::before {
  content: "▸ ";
  color: #c41e3a;
  font-weight: bold;
}

.content-card p {
  padding: 0.5rem 0;
}

.content-card a {
  color: #c41e3a;
  text-decoration: none;
}

.content-card a:hover {
  text-decoration: underline;
}

/* ───── Photo gallery wrapper ───── */
.photo-gallery {
  width: 100%;
  padding: 40px 20px 60px;
  text-align: center;
}

.gallery-heading {
  color: #c41e3a;
  font-size: 28px;
  margin-bottom: 6px;
}

.gallery-credit {
  font-size: 11px;
  color: #111;
  margin-bottom: 24px;
}

/* ───── Carousel (slideshow gallery) ───── */
.carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  border-top: 5px solid #8b1528;
  border-left: 5px solid #a8182c;
  border-right: 5px solid #d42035;
  border-bottom: 5px solid #e8253f;
  box-shadow:
    0 0 10px rgba(196, 30, 58, 0.75),
    0 0 28px rgba(196, 30, 58, 0.4),
    0 0 55px rgba(196, 30, 58, 0.15),
    inset 0 1px 0 rgba(255, 120, 140, 0.2);
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: calc(50% - 20px);
  transform: translateY(-50%);
  background: rgba(196, 30, 58, 0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
  line-height: 1;
}

.carousel-btn:hover {
  background: rgba(196, 30, 58, 1);
}

.carousel-btn--prev {
  left: -24px;
}

.carousel-btn--next {
  right: -24px;
}

.carousel-counter {
  font-size: 14px;
  color: #555;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ───── Filmstrip gallery (main photo + scrollable thumbnail strip) ───── */
.filmstrip-gallery {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.gallery-main-wrap {
  overflow: hidden;
  border-radius: 8px;
  border-top: 5px solid #8b1528;
  border-left: 5px solid #a8182c;
  border-right: 5px solid #d42035;
  border-bottom: 5px solid #e8253f;
  box-shadow:
    0 0 10px rgba(196, 30, 58, 0.75),
    0 0 28px rgba(196, 30, 58, 0.4),
    0 0 55px rgba(196, 30, 58, 0.15),
    inset 0 1px 0 rgba(255, 120, 140, 0.2);
}

.gallery-main-img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-caption {
  font-size: small;
  color: #333;
  margin: 10px 0 16px;
}

.filmstrip-wrap {
  overflow-x: auto;
  width: 100%;
  padding-bottom: 10px;
}

.filmstrip {
  display: flex;
  gap: 6px;
  width: max-content;
  padding: 4px 2px;
}

.filmstrip img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
  border: 3px solid transparent;
  transition:
    border-color 0.2s,
    opacity 0.2s;
  display: block;
}

.filmstrip img:hover {
  opacity: 0.8;
  border-color: #c41e3a;
}

.filmstrip img.active {
  border-color: #c41e3a;
}

/* ───── Season schedule table ───── */
.schedule-section {
  margin-top: 30px;
  text-align: center;
}

.schedule-section h3 {
  color: #c41e3a;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.schedule-table {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.schedule-table th {
  background-color: #c41e3a;
  color: white;
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.schedule-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
  text-align: left;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

.schedule-table tbody tr:hover {
  background-color: #fce8eb;
}

.result-w {
  color: #2a7a2a;
  font-weight: bold;
}

.result-l {
  color: #c41e3a;
  font-weight: bold;
}

/* ───── Full-width hero banner with background image ───── */
.hero-banner {
  position: relative;
  width: 100%;
  height: 690px;
  overflow: hidden;
  background: radial-gradient(
    ellipse 90% 85% at 50% 50%,
    #c41e3a 0%,
    #8b1528 40%,
    #2d0008 70%,
    #080000 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subtle diagonal stripe texture */
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -52deg,
    transparent,
    transparent 50px,
    rgba(255, 255, 255, 0.018) 50px,
    rgba(255, 255, 255, 0.018) 100px
  );
  pointer-events: none;
}

.hero-banner-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 108%;
  width: auto;
  mix-blend-mode: multiply;
  filter: grayscale(25%) brightness(1.2) contrast(1.05);
  opacity: 0.85;
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  width: 100%;
}

.hero-banner-label {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 16px;
  margin-bottom: 14px;
}

.hero-banner-rule {
  width: 100px;
  height: 2px;
  background: rgba(255, 255, 255, 0.45);
  margin: 0 auto 18px;
}

.hero-banner-headline {
  font-family: "Bebas Neue", "Impact", "Arial Black", sans-serif;
  font-size: clamp(88px, 14vw, 160px);
  font-weight: 400;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: 5px;
  margin: 0;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.9),
    0 8px 30px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(0, 0, 0, 0.4);
}

.hero-banner-headline .hero-word {
  display: block;
}

@media (max-width: 600px) {
  .hero-banner {
    height: 450px;
  }
  .hero-banner-label {
    letter-spacing: 10px;
    font-size: 18px;
  }
}
