/**
 * @author Steve Stackle
 * Updated Feb 10, 2026
 * Version 5: Moved all inline styles to CSS classes
 * Optimized spacing for better viewport usage
 * Added youth football tile section styling
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  color: #333;
  line-height: 1.5;
}

/* Header with full-width logo - reduced padding */
.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 - reduced padding */
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;
}

/* Hero Section - reduced padding */
.hero {
  background:
    linear-gradient(
      135deg,
      rgba(196, 30, 58, 0.95) 0%,
      rgba(139, 21, 40, 0.95) 100%
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23222" width="1200" height="400"/></svg>');
  background-size: cover;
  background-position: center;
  padding: 10px 15px;
  text-align: center;
  color: white;
  position: relative;
}

.hero::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
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h3 {
  font-size: 24px;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 24px;
  margin-bottom: 5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hero tournament date styling */
.hero-tournament-date {
  font-size: 32px;
  font-weight: bold;
}

.cta-button {
  display: inline-block;
  background-color: #000;
  color: white;
  padding: 15px 35px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 3px solid white;
  transition: all 0.3s;
  margin-top: 15px;
}

.cta-button:hover {
  background-color: white;
  color: #c41e3a;
  border-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Main Content - reduced padding */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 35px 15px;
}

.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 and update 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;
}

/* Logo Badge Section - reduced padding */
.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);
}

/* Tournament Header - reduced padding */
.tournament-header {
  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 10px;
  position: relative;
}

.tournament-header::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
  );
}

.tournament-header-content {
  position: relative;
  z-index: 1;
}

.tournament-header h1 {
  font-size: 48px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tournament-header .subtitle {
  font-size: 24px;
  margin-bottom: 5px;
  font-style: italic;
}

.tournament-header .date {
  font-size: 36px;
  font-weight: bold;
  margin: 8px 0 8px;
}

.tournament-header .time {
  font-size: 20px;
  margin-bottom: 5px;
}

.tournament-header .age-note {
  font-size: 16px;
  font-style: italic;
  opacity: 0.9;
}

.tournament-header h3 {
  margin-top: 20px;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.tournament-header .register-link {
  color: white;
  text-decoration: none;
  padding: 12px 30px;
  background-color: #000;
  border: 3px solid white;
  display: inline-block;
  transition: all 0.3s;
  border-radius: 4px;
}

.tournament-header .register-link:hover {
  background-color: white;
  color: #c41e3a;
  border-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Flyer Thumbnail Section */
.flyer-section {
  text-align: center;
  margin-bottom: 30px;
}

.flyer-thumbnail {
  cursor: pointer;
  max-width: 300px;
  border: 3px solid #c41e3a;
  border-radius: 8px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.flyer-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Modal styles for full-size flyer */
.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;
}

.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 the Den banner text */
.defend-banner-text {
  font-size: 24px;
  font-weight: bold;
}

/* Tournament Details Grid - reduced padding and margins */
.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 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;
}

/* Registration Info Section */
.reg-info-section {
  background: #e0e0e0;
  color: #555;
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  margin: 0 auto 30px;
  max-width: 573px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-top: 5px solid #c41e3a;
}

.reg-info-section h2 {
  color: #c41e3a;
  font-size: 28px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.reg-info-section .price {
  font-size: 40px;
  font-weight: bold;
  color: #c41e3a;
  margin: 5px 0;
}

.reg-info-section .price-detail {
  font-size: 17px;
  margin-bottom: 5px;
}

.reg-info-section .extra-fee {
  font-size: 15px;
  opacity: 0.9;
  margin-top: 5px;
}

.reg-info-section .proceeds {
  font-size: 22px;
  font-weight: bold;
  color: #555;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 2px solid #eee;
}

.reg-info-section .proceeds span {
  color: #c41e3a;
}

/* Registration Form Section - reduced padding */
.registration-section {
  background-color: #f9f9f9;
  padding: 10px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 3px solid #c41e3a;
}

.registration-section h2 {
  color: #c41e3a;
  font-size: 38px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

.registration-section h4.instructions {
  text-align: center;
  font-size: 22px;
  color: #c41e3a;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

.registration-section .email-info {
  background-color: white;
  padding: 8px;
  border-radius: 5px;
  margin-bottom: 8px;
  text-align: center;
  border-left: 4px solid #c41e3a;
}

.registration-section .email-info strong {
  color: #c41e3a;
  font-size: 19px;
}

.registration-section .email-info p {
  margin: 8px 0 4px;
  color: #333;
}

.registration-section .email-info ul {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}

.registration-section .email-info li {
  color: #555;
  padding: 4px 0;
}

.reg-info-section ul {
  list-style: none;
  padding: 0;
}

.reg-info-section li {
  font-size: 17px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: #555;
}

.reg-info-section li:last-child {
  border-bottom: none;
}

.reg-info-section li::before {
  content: "▸ ";
  color: #c41e3a;
  font-weight: bold;
  margin-right: 10px;
}

/* Form Embed Container - reduced padding */
.form-embed {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  min-height: 400px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #999;
  font-style: italic;
}

/* Footer - reduced padding */
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 - adjusted breakpoints */
@media (max-width: 968px) {
  .details-grid {
    grid-template-columns: 1fr;
  }

  .tournament-header h1 {
    font-size: 36px;
  }

  .tournament-header .date {
    font-size: 28px;
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .reg-info-section {
    padding: 8px;
    max-width: 100%;
  }

  .registration-section {
    padding: 30px 15px;
  }

  .container {
    padding: 25px 15px;
  }
}

@media (max-width: 768px) {
  .mission-vision {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .flyer-thumbnail {
    max-width: 250px;
  }

  .youth-football-section .youth-football-tile {
    max-width: 200px;
  }
}
