:root {
  --orange: #f47735;   /* Official accent color */
  --blue: #003da5;     /* Official primary color */
  --light-gray: #f5f5f5; /* Neutral background */
  --dark-gray: #333;     /* Neutral text */
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: var(--light-gray);
  color: var(--dark-gray);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  background-color: var(--blue);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .branding {
  display: flex;
  align-items: center;
  gap: 20px;
}

header img {
  max-width: 80px;
  height: auto;
}

header h1 {
  font-size: 1.8em;
  margin: 0;
}

/* Header Events */
.event-banner {
    background-color: var(--orange);
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 15px;
    font-size: 1.2em;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.event-banner p {
    margin: 0;
    line-height: 1.4;
}
/* Hamburger menu button */
.menu-toggle {
  font-size: 1.5em;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Navigation */
/* Navigation bar container */
nav {
    background-color: var(--orange);
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
}

/* Navigation links */
nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    padding: 8px 16px;
    margin: 0 5px;
    /* spacing between items */
    border-radius: 5px;
    /* pill-style buttons */
    background-color: rgba(255, 255, 255, 0.1);
    /* subtle background */
    transition: background-color 0.3s, transform 0.2s;
    white-space: nowrap;
        /* keep text on one line */
}

/* Hover effect */
nav a:hover {
    background-color: #e0662f;
    /* darker orange on hover */
    text-decoration: none;
    transform: scale(1.05);
    /* subtle grow effect */
}

/* Hero image */
.hero {
  width: 100%;
  height: 400px;
  background: url('images/wrestlers.jpg') center/cover no-repeat;
}

/* Homepage content area */
.content {
  padding: 40px 20px;
  text-align: center;
}

.placeholder {
  max-width: 600px;
  margin: 0 auto 30px;
}

.placeholder img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
/* Shared section container */
.section-block {
    width: min(90%, 800px);
    /* cap at 800px, keep ~5% gutter on each side */
    margin: 40px auto;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    /* include padding inside width for consistency */
}

/* Mobile gutter guarantee for section-block */
@media (max-width: 800px) {
    .section-block {
        width: calc(100% - 40px);
        /* 20px gutter on each side to match .content */
    }
}

/* Homepage Mission Statement */
.mission {
    text-align: left;
}

.mission h2 {
    color: var(--blue);
    margin-bottom: 15px;
    text-align: center;
}

.mission p {
    line-height: 1.6;
    font-size: 1.1em;
    color: var(--dark-gray);
}

/* Mission Statement toggle between mobile and desktop */
.short-text {
    display: none;
}

@media (max-width: 600px) {
    .long-text {
        display: none;
    }

    .short-text {
        display: block;
    }
}

/* Contact Us / SendMail formatting */
.contact-form h2 {
    text-align: center;
    color: var(--blue);
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    /* stack labels above inputs */
    margin-top: 15px;
    font-weight: bold;
    color: var(--dark-gray);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    /* full width fields */
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
    box-sizing: border-box;
        /* ensures padding/border are included in width */
}

.contact-form textarea {
    resize: vertical;
    /* allow vertical resize only */
}

.contact-form button {
    margin-top: 20px;
    padding: 12px 20px;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #004080;
    /* darker blue on hover */
}

/* Buttons */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto 40px;
}

.buttons a {
  display: block;
  padding: 15px;
  background-color: var(--orange);
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.buttons a:hover {
  background-color: #e0662f;
}

/* Contact Us */
.contact-us {
  margin-bottom: 20px;
}

.contact-us a {
  color: var(--blue);
  text-decoration: none;
  font-weight: bold;
}

/* Footer */
footer {
  background-color: var(--blue);
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 0.95em;
  line-height: 1.6;
}

footer .address {
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

footer .policy {
  font-size: 0.8em;
  color: #ddd; /* lighter gray for subdued look */
}

footer a {
  color: white;
  text-decoration: underline;
}

footer .streaming {
    font-size: 0.85em;
    margin-top: 8px;
    color: #ddd;
    /* same subdued look as policy */
}

footer .streaming a {
    color: white;
    text-decoration: underline;
}

footer .streaming a:hover {
    text-decoration: none;
    color: var(--orange);
    /* highlight Mustang Media link on hover */
}

footer .social-media {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

footer .social-media img {
  width: 28px;
  height: 28px;
  /*filter: brightness(0) invert(1); /* makes icons white for dark footer */
  transition: transform 0.2s ease;
}

footer .social-media img:hover {
  transform: scale(1.1);
}

/* Placeholder page main content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* align content at the top */
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

main h2 {
  font-size: 2em;
  color: var(--blue);
  margin-bottom: 20px;
}

main p {
  font-size: 1.2em;
  color: var(--dark-gray);
}
/* Formatting for picture on the main index page*/
.hero {
    width: 100%;
    height: 320px;
    /* rectangular shape */
    background-image: url('images/wrestling-promo.jpg');
    /* update to your actual filename */
    background-size: cover;
    background-position: center 23%;
    /* keeps faces, crops top text */
    background-repeat: no-repeat;
    background-color: var(--dark-gray);
    /* fallback if image fails */
}

/* Responsive tweak for mobile Position is represented as Left/Right then Top/Bottom */
@media (max-width: 600px) {
    .hero {
        height: 220px;
        background-position: center 45%;
        /* shift focal point slightly lower */
    }
}

/* Formatting for pictures on the schedule page */
.schedule-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.schedule-grid img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    /* keeps landscape images balanced */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 400px;
}

/* Section wrapper for each school schedule */
.schedule-section {
    margin-bottom: 40px;
}

.schedule-section h3 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--blue);
}

/* Portrait-specific tweak for Liberty screenshot */
.schedule-grid.portrait img {
    max-width: 500px;
    /* prevents portrait image from stretching too wide */
    max-height: none;
    /* allow full height since it’s tall */
    flex: 1 1 300px;
}
/* Responsive menu */
@media (min-width: 950px) {
  nav {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
  }

  .menu-toggle {
    display: none;
  }
}
/* Sendmail.php Confirmation formatting */
.confirmation {
    text-align: center;
    color: var(--dark-gray);
}

.confirmation h2 {
    color: var(--blue);
    margin-bottom: 15px;
}

.confirmation.error h2 {
    color: red;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 30px auto;
  max-width: 800px;
}

.event {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: left;
}

.event h3 {
  color: var(--blue);
  margin-bottom: 10px;
}

.event p {
  margin: 5px 0;
}

.volunteer-block {
    margin: 30px auto;
    max-width: 800px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.volunteer-block h3 {
    color: var(--blue);
    margin-bottom: 10px;
}

.volunteer-links {
    list-style: none;
    padding: 0;
}

.volunteer-links li {
    margin: 8px 0;
}

.volunteer-links a {
    color: var(--orange);
    text-decoration: underline;
}

.volunteer-links a:hover {
    text-decoration: none;
    color: var(--blue);
}

.tickets-block {
  margin: 30px auto;
  max-width: 800px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: left; /* <-- ensures lists and text align properly */
}

.tickets-block h3 {
  color: var(--blue);
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: center; /* <-- headings can still be centered */
}

.tickets-block ul {
  list-style: disc;
  padding-left: 20px; /* <-- indent bullets so they line up nicely */
  margin-bottom: 15px;
  text-align: left; /* <-- force list text to align with bullets */
}


.tickets-block a {
    color: var(--orange);
    text-decoration: underline;
}

.tickets-block a:hover {
    text-decoration: none;
    color: var(--blue);
}

.photos-block {
    margin: 20px auto;
    max-width: 800px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.photos-block h3 {
    color: var(--blue);
    margin-bottom: 10px;
}

.photos-block a {
    color: var(--orange);
    text-decoration: underline;
}

.photos-block a:hover {
    text-decoration: none;
    color: var(--blue);
}

.directory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 30px auto;
  max-width: 800px;
}

.directory-entry {
  flex: 1 1 300px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
}

.directory-entry h3 {
  color: var(--blue);
  margin-bottom: 5px;
}

.directory-entry p {
  margin: 0;
  font-weight: bold;
  color: var(--orange);
}
