: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: 1400px; /* Increased from 1200px */
    margin: 0 auto;
    padding: 0 10px; /* Reduced padding from 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;
    }
}












































/* UPDATED GALLERY STYLES - WIDER IMAGES */
.gallery-page {
    padding: 40px 0; /* Reduced padding */
    background-color: #f8f9fa;
}

.gallery-page .container {
    max-width: 1600px; /* Wider container specifically for gallery */
    padding: 0 5px; /* Even smaller padding */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px; /* Reduced gap further */
    margin-bottom: 30px;
    width: 100%;
}

.gallery-item {
    height: 320px; /* Increased height */
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background-color: #fff;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    color: white;
    text-align: center;
    z-index: 2;
    background: linear-gradient(transparent, rgba(0,39,77,0.7));
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.filter-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 25px; /* Slightly reduced margin */
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background-color: #00274D;
    color: #f8f9fa;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #FFCB05;
    color: #00274D;
}

/* Responsive adjustments for wider gallery */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item {
        height: 300px;
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .gallery-item {
        height: 350px;
    }
}

.gallery-button-container {
    text-align: center;
    margin-top: 30px;
}















































/* Lightbox styles for gallery */
.lightbox-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    margin: auto;
    position: relative;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-caption {
    padding: 15px;
    color: white;
    background-color: rgba(0, 39, 77, 0.8);
    text-align: center;
    font-weight: 600;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-top: -5px;
    position: relative;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: var(--secondary);
    transform: scale(1.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px 20px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    cursor: pointer;
    background-color: rgba(0, 39, 77, 0.5);
    border-radius: 50%;
    z-index: 2001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

/* Cursor changes to indicate clickable gallery items */
.gallery-item {
    cursor: pointer;
}

/* Add responsiveness to lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        padding: 10px 15px;
        font-size: 24px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-nav {
        padding: 8px 12px;
        font-size: 20px;
    }
}




















































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;
    }
}