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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #fafafa;
}

a {
  color: #b31b1b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Utility */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header and navigation */
.site-header {
  background-color: #b31b1b;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img{
  width: 100%;
}

.logoimage {
  width: 25%;
  max-width:100px;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 1.0rem;
  font-weight: bold;
  color: #fff;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  color: #fff;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #0021d4;
}

/* Mobile navigation toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  position: relative;
  transition: all 0.3s ease;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}
.hamburger::before {
  top: -8px;
}
.hamburger::after {
  top: 8px;
}

/* Hero section */
.hero {
  position: relative;
  height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 93, 243, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.btn-primary {
  background-color: #b31b1b;
  color: #fff;
}
.btn-primary:hover {
  background-color: #a01818;
}
.btn-secondary {
  background-color: rgba(13, 93, 243, 0.6);
  color: #fff;
}
.btn-secondary:hover {
  background-color: #3122ff;
}

/* Highlights section */
.highlights {
  display: flex;
  gap: 2rem;
  padding: 3rem 0;
  text-align: center;
}

.highlight-card {
  flex: 1;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.highlight-card h3 {
  margin-bottom: 0.5rem;
  color: #0c2340;
}

.highlight-card p {
  font-size: 0.95rem;
}

/* Event teaser */
.event-teaser {
  background-color: #f0f5ff;
  padding: 2rem 0;
  text-align: center;
}

.event-teaser h2 {
  margin-bottom: 0.5rem;
  color: #0c2340;
}

.event-teaser p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Page hero */
.page-hero {
  background-color: rgb(13, 93, 243);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.1rem;
}

/* Text sections */
.page-content {
  padding: 2rem 0 3rem;
}

.text-section {
  margin-bottom: 2rem;
}

.text-section h2 {
  color: #0c2340;
  margin-bottom: 0.5rem;
}

.text-section p {
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

/* Join section */
.join-section {
  background-color: #f7f9fb;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}
.join-section h2 {
  color: #0c2340;
  margin-bottom: 0.5rem;
}

.join-section p {
  margin-bottom: 1rem;
}

/* Roster grid */
.grid-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  padding: 10px;
  align-items: center;
  justify-items: center;
  justify-content: center;
  
}
.grid-container > div {
  display: grid;
  text-align: center;
  align-items: center;
}

.grid-container img {
  margin-left: 25%;
  width: 50%;
  aspect-ratio: 1 / 1;
  align-self: center;
  justify-items: center;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;  
}
.grid-container h3 {
  text-align: center;
  font-size: 1.5rem;
  color: #0c2340;
  margin-bottom: 0.25rem;
}
.grid-container p {
  font-size: 1.05rem;
  color: #0c2340;
  margin-top: 1.8rem;
  margin-bottom: 0.25rem;
  margin-left: 0.8rem;
  margin-right: 0.8rem;
  line-height: 1.5;
}
.roster-grid {
  display: grid;
  grid-template-rows: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.0rem;
  margin-top: 1.5rem;
}
.team-grid > div {
  display: grid;
  grid-template-rows: (33%,33%,33%);
  grid-column-start: 1;
  grid-column-end: 3;
  gap: 0.5rem;
  border-color: #0021d4;
}

.roster-card {
  background-color: #fff;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  vertical-align: middle;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  grid-column: 1;
}
.roster-card img {
  width: 33%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}
.team-details {
  width: 66%;
  height: auto;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
    grid-column: 2/3;
}
.roster-card h3 {
  font-size: 1.05rem;
  color: #0c2340;
  margin-bottom: 0.25rem;
}
.roster-card p {
  font-size: 0.9rem;
  color: #555;
}

/* Schedule table */
.schedule-table-wrapper {
  overflow-x: auto;
  margin-top: 2rem;
}
.schedule-table-wrapper h2 {
  overflow-x: auto;
  margin-top: 2rem;
  text-align: center;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
}
.schedule-table thead {
  background-color: rgb(13, 93, 243);;
  color: #fff;
}
.schedule-table th,
.schedule-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e3e3e3;
}
.schedule-table tr:nth-child(even) {
  background-color: #f8f8f8;
}
/* gmail embedded calendar */
.calendar-embed-wrapper {
  max-width: 100%;
  margin: 40px auto;
  border: 2px solid #b31b1b;
  border-radius: 8px;
  overflow: hidden;
}

/* Contact page */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 10px;
  align-items: center;
  justify-items: center;
  justify-content: center;
}
.contact-grid img{
  width: 5%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-top: .75rem;
  margin-right: 1rem; 
  margin-bottom: .75rem;

}
.contact-info,
.contact-form-wrapper {
  flex: 1 1 300px;
}

.contact-form label {
  display: block;
  margin-bottom: 0.25rem;
  color: #0c2340;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
.contact-form button {
  width: auto;
}

/* Registration form select styling */
.contact-form select {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

/* Gallery page */
/* Layout the gallery images in a responsive grid.  Use auto‑filling columns so
   the number of columns adjusts based on available width.  Add a small gap
   between items and subtle rounding and shadow for visual separation. */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
/* Pagination links for multi‑page galleries */
.pagination {
  text-align: center;
  margin: 2rem 0;
}
.pagination a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  margin: 0 0.25rem;
  border-radius: 4px;
  background-color: #f0f0f0;
  color: #0c2340;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.pagination a.active {
  background-color: #b31b1b;
  color: #fff;
}
.pagination a:hover {
  background-color: #0c2340;
  color: #fff;
}

/* Footer */
.site-footer {
  background-color: #b31b1b;
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
}
.site-footer a {
  color: #0021d4;
}
/* Style all font awesome icons */
.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
}

/* Add a hover effect if you want */
.fa:hover {
  opacity: 0.7;
}

/* Set a specific color for each brand */

/* Facebook */
.fa-facebook {
  background: #3B5998;
  color: white;
}

/* Twitter */
.fa-instagram {
  background: #55ACEE;
  color: white;
}

/* Responsive design */
@media (max-width: 768px) {
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #0c2340;
    width: 200px;
    display: none;
    flex-direction: column;
    padding: 1rem;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .site-nav li {
    margin-bottom: 0.75rem;
  }
  .nav-toggle {
    display: block;
  }
  .highlights {
    flex-direction: column;
  }
  .logo {
    width: 80%;
  }
  .roster-card h3 {
    font-size: 1.05rem;
    color: #0c2340;
    margin-bottom: 0.25rem;
  }
  .roster-card p {
    font-size: 0.9rem;
    color: #555;
  }
  .grid-container {
    display: grid;
    /*grid-template-columns: 1fr 2fr;*/
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    align-items: center;
    justify-items: center;
    justify-content: center;
    
  }
}