:root {
  --primary: #00274D;
  --secondary: #FFCB05;
  --accent: #00274D;
  --light: #f8f9fa;
  --dark: #212529;
}

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

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Updated navbar styles */
header {
  background-color: var(--primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Desktop navigation container */
.desktop-nav {
  display: block;
}

/* Main navbar with centered logo */
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary);
  padding: 10px 15px;
  position: relative;
}

.main-nav ul {
  list-style: none;
  display: flex;
  width: 100%;
  padding: 0;
  margin: 0;
  justify-content: space-between;
  max-width: 1200px;
}

.left-menu, .right-menu {
  display: flex;
  align-items: center;
  flex: 1;
}

.left-menu {
  justify-content: space-evenly;
}

.right-menu {
  justify-content: space-evenly;
}

.logo-container {
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

/* Secondary navbar - IMPROVED LAYOUT */
.secondary-nav {
  display: flex;
  background-color: var(--primary);
  padding: 0 15px;
  justify-content: center;
}

.secondary-nav ul {
  list-style: none;
  display: flex;
  width: 100%;
  padding: 0;
  margin: 0;
  max-width: 1200px;
  justify-content: center;
  align-items: center;
}

/* Create more balanced spacing in secondary nav */
.secondary-nav .left-item {
  margin-right: 30px;
  padding-left: 0;
  position: relative;
}

/* Add a subtle visual separator */
.secondary-nav .left-item:after {
  content: '';
  position: absolute;
  right: -15px;
  top: 50%;
  height: 20px;
  width: 1px;
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-50%);
}

.secondary-nav .right-items {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

/* Common styles for all nav links */
nav ul li a {
  display: block;
  color: var(--light);
  text-decoration: none;
  padding: 15px 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Special styling for Boys Lacrosse to make it more prominent */
.secondary-nav .left-item a {
  font-weight: 700;
  padding-left: 0;
}

nav ul li a:hover, nav ul li a:focus {
  background-color: rgba(255,255,255,0.1);
  color: var(--secondary);
}

/* Mobile menu button */
.hamburger-menu {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-menu.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--light);
  margin: 5px 0;
  transition: 0.4s;
}

/* Mobile menu container */
.mobile-menu-container {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  background-color: var(--primary);
  z-index: 1000;
  overflow-y: auto;
}

.mobile-menu-container.active {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav li.divider {
  height: 10px;
  background-color: rgba(0,0,0,0.2);
  border-bottom: none;
}

.mobile-nav li a {
  display: block;
  color: var(--light);
  text-decoration: none;
  padding: 15px 20px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.mobile-nav li a:hover, .mobile-nav li a:focus {
  background-color: rgba(255,255,255,0.1);
}

/* Prevent scrolling when mobile menu is open */
body.no-scroll {
  overflow: hidden;
}

/* Media queries for responsive navbar */
@media (max-width: 992px) {
  nav ul li a {
      padding: 15px 8px;
      font-size: 12px;
  }
  
  .secondary-nav .right-items {
      gap: 10px;
  }
  
  .secondary-nav .left-item {
      margin-right: 20px;
  }
  
  .secondary-nav .left-item:after {
      right: -10px;
  }
}

@media (max-width: 768px) {
  .hamburger-menu {
      display: block;
  }
  
  .desktop-nav {
      /* Preserve the logo in mobile view */
      height: 60px;
      display: flex;
      justify-content: center;
      align-items: center;
  }
  
  .desktop-nav .main-nav, .desktop-nav .secondary-nav {
      display: none;
  }
  
  .desktop-nav .logo-container {
      display: flex;
      position: static;
  }
}

/* Desktop second navbar alignment */
@media (min-width: 769px) {
  .secondary-nav .right-items li:last-child {
      margin-right: 0;
  }
}




























.section2 {
  min-height: 60vh;
  background-color: white;
  color: #132B67;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.section2-img {
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  transition: transform 0.2s ease-in-out;
  /* place images in a flex row and make them the same visual size */
  flex: 0 1 45%;
  width: 100%;
  height: 420px; /* fixed visual height so both images match */
  max-width: none;
  max-height: none;
  object-fit: cover; /* crop to fill container while keeping aspect */
}

/* ensure both images sit side-by-side with some spacing */
#schedule-pair {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  /* constrain container width for very wide screens */
  max-width: 90vw;
}

/* stack on very small screens */
@media (max-width: 600px) {
  .section2-img {
    /* stack and show full images on small screens */
    flex: 0 1 90%;
    height: auto;
    max-width: 90%;
    object-fit: contain;
  }
  #schedule-pair {
    flex-direction: column;
    align-items: center;
  }
}

/* lightbox/modal for enlarged image on click */
.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

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

.image-modal .modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

.image-modal .modal-content:hover {
  transform: scale(1.01);
}


.section2-img:hover {
  transform: scale(1.01);
  filter: blur(1px);
}

























footer{
  background-color: var(--primary);
}
.footerContainer{
  width: 100%;
  padding: 70px 30px 20px ;
}
.socialIcons{
  display: flex;
  justify-content: center;
}
.socialIcons a{
  text-decoration: none;
  padding:  10px;
  background-color: white;
  margin: 10px;
  border-radius: 50%;
}
.socialIcons a i{
  font-size: 2em;
  color: black;
  opacity: 0,9;
}
/* Hover affect on social media icon */
.socialIcons a:hover{
  background-color: #111;
  transition: 0.5s;
}
.socialIcons a:hover i{
  color: white;
  transition: 0.5s;
}
.footerNav{
  margin: 30px 0;
}
.footerNav ul{
  display: flex;
  justify-content: center;
  list-style-type: none;
}
.footerNav ul li a{
  color:white;
  margin: 20px;
  text-decoration: none;
  font-size: 1.3em;
  opacity: 0.7;
  transition: 0.5s;

}
.footerNav ul li a:hover{
  opacity: 1;
}
.footerBottom{
  background-color: #000000;
  padding: 20px;
  text-align: center;
}
.footerBottom p{
  color: white;
}
.designer{
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  margin: 0px 5px;
}
@media (max-width: 700px){
  .footerNav ul{
      flex-direction: column;
  } 
  .footerNav ul li{
      width:100%;
      text-align: center;
      margin: 10px;
  }
  .socialIcons a{
      padding: 8px;
      margin: 4px;
  }
}