/* CSS Variables for Color Scheme */
:root {
    --navy-blue: #1e3a8a;
    --columbia-blue: #87ceeb;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --dark-gray: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: var(--navy-blue) !important;
    font-size: 1.5rem;
    font-weight: 700;
    max-height: 50px;
    text-decoration: none !important;
}

.nav-logo span {
    color: var(--navy-blue) !important;
    text-decoration: none !important;
    font-weight: 700;
}

.nav-logo:hover, .nav-logo:focus {
    color: var(--columbia-blue) !important;
}

.nav-logo-img-bubble {
    background: var(--white);
    border-radius: 14px;
    padding: 0;
    margin-right: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px #c9daf766;
    height: 55px;
    width: 55px;
    overflow: hidden;
}

.nav-logo img.nav-logo-img {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block;
    margin: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: var(--white) !important;
    font-size: 1.5rem;
    font-weight: 700;
    max-height: 50px;
    text-decoration: none !important;
}

.nav-logo span {
    color: var(--white) !important;
    text-decoration: none !important;
    font-weight: 700;
}

.nav-logo i {
    margin-right: 0.5rem;
    color: var(--columbia-blue);
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo i {
    margin-right: 0.5rem;
    color: var(--columbia-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

/* Only show underline for nav-link items within nav-menu */
.nav-menu .nav-link {
    color: var(--white);
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
    color: var(--columbia-blue);
}

.nav-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--columbia-blue);
    transition: var(--transition);
}

.nav-menu .nav-link:hover::after,
.nav-menu .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

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

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

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

/* Pages */
.page {
    display: none;
    min-height: 100vh;
    padding-top: 70px;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

/* Home Page */
#home {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.stat-item i {
    font-size: 2rem;
    color: var(--columbia-blue);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.btn i {
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--navy-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--columbia-blue);
    color: var(--navy-blue);
}

.btn-secondary:hover {
    background: #5bc0de;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hero-image {
    animation: slideInRight 1s ease;
    position: relative;
}

.team-photo {
    width: 100%;
    max-width: 480px;
    max-height: 440px;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 1.5rem;
    color: var(--columbia-blue);
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 3rem;
    color: var(--columbia-blue);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--navy-blue);
    font-weight: 500;
}

.feature-highlight i {
    color: var(--columbia-blue);
    font-size: 1rem;
}

/* Page Headers */
.page-header {
    text-align: center;
    padding: 4rem 2rem 2rem;
    background: var(--white);
    color: var(--navy-blue);
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--navy-blue);
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: var(--navy-blue);
}

/* Loading Screen Styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--navy-blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20000;
}

.spinner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 25px;
    background: conic-gradient(
        from 0deg,
        var(--columbia-blue),
        #6fb3f2,
        var(--columbia-blue)
    );
    animation: spin 1.5s linear infinite;
    filter: drop-shadow(0 0 4px rgba(30, 58, 138, 0.6));
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-bar-container {
    width: 220px;
    height: 14px;
    background: #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 6px #e2e8f0;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 10px 0 0 10px;
    box-shadow: 0 0 10px #3b82f6;
    transition: width 0.5s ease-out;
}

/* Players Page */
.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.player-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.player-image {
    height: 250px;
    overflow: hidden;
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.player-card:hover .player-image img {
    transform: scale(1.05);
}

.player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.player-card:hover .player-overlay {
    opacity: 1;
}

.player-overlay i {
    font-size: 3rem;
    color: var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.player-info {
    padding: 1.5rem;
    text-align: center;
}

.player-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.player-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--columbia-blue);
    font-weight: 500;
}

.player-stats i {
    font-size: 0.9rem;
}

.player-info h3 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.position {
    color: var(--columbia-blue);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.number {
    background: var(--navy-blue);
    color: var(--white);
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
}

/* Coaches Page */
.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.coach-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease;
}

.coach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.coach-image {
    height: 300px;
    overflow: hidden;
}

.coach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.coach-card:hover .coach-image img {
    transform: scale(1.05);
}

.coach-info {
    padding: 2rem;
}

.coach-info h3 {
    color: var(--columbia-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.coach-name {
    color: var(--navy-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.coach-bio {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Sponsors Page */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.sponsor-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sponsor-logo {
    font-size: 3rem;
    color: var(--columbia-blue);
    margin-bottom: 1rem;
}

.sponsor-card h3 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.sponsor-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light-gray);
    margin: 2rem;
    border-radius: 16px;
}

.sponsor-cta h3 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.sponsor-cta p {
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

/* Store Page */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--columbia-blue);
    margin-bottom: 1rem;
}

/* Schedule Section */
.schedules-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .schedules-wrapper {
        flex-direction: row;
        padding: 0 2rem;
    }
}

.schedule-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex: 1;
}

.schedule-title {
    padding: 1.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
}

@media (min-width: 768px) {
    .schedule-title {
        padding: 2rem;
        font-size: 1.4rem;
    }
}

.schedule-title.varsity {
    background: var(--navy-blue);
}

.schedule-title.jv {
    background: var(--columbia-blue);
    color: var(--navy-blue);
}

/* Enhanced Schedule Table Responsiveness */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 300px; /* Ensure minimum width for readability */
}

@media (min-width: 768px) {
    .schedule-table {
        font-size: 1rem;
        min-width: 400px;
    }
}

/* Ensure table headers are always visible and properly styled */
.schedule-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Refined Table Styling with Smaller Borders */
.schedule-table th {
    background: var(--light-gray);
    font-weight: 600;
    color: var(--navy-blue);
    text-align: left;
    vertical-align: middle;
    padding: 0.75rem;
    border-bottom: 1px solid var(--columbia-blue); /* Smaller border */
}

@media (min-width: 768px) {
    .schedule-table th {
        padding: 1rem;
        border-bottom: 1.5px solid var(--columbia-blue); /* Slightly larger on desktop */
    }
}

.schedule-table td {
    vertical-align: middle;
    border-bottom: 0.5px solid var(--light-gray); /* Much smaller border */
    padding: 0.75rem;
    text-align: left;
}

@media (min-width: 768px) {
    .schedule-table td {
        padding: 1rem;
        border-bottom: 1px solid var(--light-gray); /* Slightly larger on desktop */
    }
}

/* Schedule card styling */
.schedule-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Responsive table container */
.schedule-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Ensure home/away badges are always visible and properly sized */
.home, .away {
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    min-width: 50px;
}

.home {
    background: #10b981;
    color: var(--white);
}

.away {
    background: #f59e0b;
    color: var(--white);
}

/* Home/Away badge styling */
.home, .away {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    min-width: 50px;
}

@media (max-width: 1080px) {
  .schedules-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem 0.5rem 2rem 0.5rem;
  }
}
@media (max-width: 600px) {
  .schedule-card {
    max-width: 100%;
    padding: 1rem 0.3rem 0.5rem 0.3rem;
  }
  .schedule-title {
    font-size: 1.1rem;
    padding: 0.4em 0.5em 0.4em 0.7em;
    margin-bottom: 0.7em;
  }
  .schedules-wrapper {
    padding: 0.5rem 0;
    gap: 1.4rem;
  }
  .schedule-table {
    font-size: 0.95rem;
  }
}

/* Footer */
.footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--columbia-blue);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--columbia-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--navy-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-item {
        margin: 1rem 0;
    }
    
    .nav-menu .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
        display: block;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .players-grid,
    .coaches-grid,
    .sponsors-grid,
    .store-grid {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about-section {
    background: var(--white);
    padding: 4rem 2rem;
}

/* --- Modern Center-Focus Carousel Styles --- */
/* Photo strip styles for team photo row */
.home-mid-image.photo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: nowrap;
  padding: 110px 0 110px 0;
  min-height: 300px;
  overflow-x: auto;
}
.home-mid-image.photo-strip img {
  max-width: 350px;
  max-height: 250px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 18px #21407517;
  background: #fff;
  object-fit: cover;
  margin: 2px;
  transition: transform 0.17s;
  vertical-align: middle;
  flex-shrink: 0;
}
.home-mid-image.photo-strip img:nth-child(odd) {
  transform: none;
}
.home-mid-image.photo-strip img:nth-child(even) {
  transform: none;
}
.home-mid-image.photo-strip img:hover {
  transform: scale(1.034) translateY(-4px) !important;
  box-shadow: 0 8px 28px #19395b36;
  z-index: 1;
}
@media (max-width: 900px) {
  .home-mid-image.photo-strip {
    flex-wrap: nowrap;
    gap: 20px;
    padding: 80px 0 80px 0;
  }
  .home-mid-image.photo-strip img {
    max-width: 280px;
    max-height: 190px;
  }
}
@media (max-width: 600px) {
  .home-mid-image.photo-strip {
    gap: 15px;
    padding: 60px 0 60px 0;
    min-height: 200px;
  }
  .home-mid-image.photo-strip img {
    max-width: 200px;
    max-height: 140px;
    border-radius: 8px;
  }
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    color: var(--navy-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-content > p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-item {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 16px;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.about-item i {
    font-size: 2.5rem;
    color: var(--columbia-blue);
    margin-bottom: 1rem;
}

.about-item h4 {
    color: var(--navy-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.about-item p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Highlights Section */
.highlights-section {
    background: linear-gradient(135deg, var(--navy-blue), var(--columbia-blue));
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.highlights-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--columbia-blue);
}

.highlight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.highlight-card p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.highlight-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* CTA Section */
.cta-section {
    background: var(--light-gray);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--navy-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: var(--navy-blue);
    border: 2px solid var(--navy-blue);
}

.btn-outline:hover {
    background: var(--navy-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Donation Button Styles */
.btn-donation {
    background: linear-gradient(135deg, #e91e63, #f06292);
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-donation:hover {
    background: linear-gradient(135deg, #c2185b, #e91e63);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.btn-donation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-donation:hover::before {
    left: 100%;
}

/* Navigation Donation Button */


@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .page-header {
        padding: 2rem 1rem 1rem;
    }
    
    .page-header h2 {
        font-size: 2rem;
    }
    
    .players-grid,
    .coaches-grid,
    .sponsors-grid,
    .store-grid {
        padding: 1rem;
    }
}

/* Players photo strip styles */
.players-photo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: nowrap;
  padding: 60px 0;
  overflow-x: auto;
  margin: 3rem 0;
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.players-photo-strip img {
  max-width: 280px;
  max-height: 200px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 18px #21407517;
  background: #fff;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.players-photo-strip img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 28px #19395b36;
}

/* Enhanced Photo Responsiveness */
.home-mid-image.photo-strip img {
    flex-shrink: 0;
    max-width: 350px;
    max-height: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Responsive Photo Scaling */
@media (max-width: 900px) {
    .home-mid-image.photo-strip img {
        max-width: 280px;
        max-height: 190px;
    }
    
    .players-photo-strip img {
        max-width: 220px;
        max-height: 160px;
    }
}

@media (max-width: 600px) {
    .home-mid-image.photo-strip img {
        max-width: 200px;
        max-height: 140px;
    }
    
    .players-photo-strip img {
        max-width: 180px;
        max-height: 130px;
    }
}

@media (max-width: 480px) {
    .home-mid-image.photo-strip img {
        max-width: 160px;
        max-height: 120px;
    }
    
    .players-photo-strip img {
        max-width: 140px;
        max-height: 100px;
    }
}

/* Responsive Utilities */
.hide-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hide-mobile {
        display: block;
    }
    
    .hide-desktop {
        display: none;
    }
}

/* Enhanced Mobile Experience */
@media (max-width: 767px) {
    /* Better touch targets */
    .nav-link,
    .btn,
    .schedule-table th,
    .schedule-table td {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improved spacing for mobile */
    .page {
        padding-top: 60px;
    }
    
    .hero {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Mobile-optimized tables */
    .schedule-table {
        font-size: 0.8rem;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 0.5rem;
        word-break: break-word;
    }
    
    /* Mobile photo strips */
    .home-mid-image.photo-strip,
    .players-photo-strip {
        padding: 40px 0;
        gap: 12px;
    }
    
    .home-mid-image.photo-strip img,
    .players-photo-strip img {
        max-width: 160px;
        max-height: 120px;
    }
    
    /* Mobile page headers */
    .page-header {
        padding: 2rem 1rem;
    }
    
    .page-header h2 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* Mobile sections */
    .about-section,
    .cta-section {
        padding: 2rem 1rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-content > p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Mobile footer */
    .footer {
        padding: 2rem 1rem 1rem;
        margin-top: 2rem;
    }
    
    .footer-content {
        gap: 1.5rem;
        text-align: center;
    }
}

/* Tablet Optimizations */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero {
        padding: 3rem 2rem;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .page-header {
        padding: 3rem 2rem;
    }
    
    .about-section,
    .cta-section {
        padding: 3rem 2rem;
    }
    
    .schedules-wrapper {
        padding: 0 1rem;
    }
    
    .schedule-card {
        margin-bottom: 1rem;
    }
}

/* Large Screen Optimizations */
@media (min-width: 1024px) {
    .hero {
        padding: 5rem 2rem;
        gap: 5rem;
    }
    
    .page-header {
        padding: 5rem 2rem;
    }
    
    .about-section,
    .cta-section {
        padding: 5rem 2rem;
    }
    
    .schedules-wrapper {
        padding: 0 2rem;
        gap: 3rem;
    }
}

/* Home/Away Badge Styling */
.home, .away {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.home {
    background: #10b981;
    color: var(--white);
}

.away {
    background: #f59e0b;
    color: var(--white);
}

/* Mobile Schedule Optimizations */
@media (max-width: 767px) {
    .schedules-wrapper {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .schedule-card {
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    }
    
    .schedule-title {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .schedule-table {
        font-size: 0.75rem;
        min-width: 280px;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 0.5rem 0.4rem;
        word-break: break-word;
        min-width: 0;
    }
    
    /* Ensure table doesn't overflow on mobile */
    .schedule-table {
        table-layout: fixed;
        width: 100%;
    }
    
    /* Column widths for mobile */
    .schedule-table th:nth-child(1),
    .schedule-table td:nth-child(1) {
        width: 20%; /* Date */
    }
    
    .schedule-table th:nth-child(2),
    .schedule-table td:nth-child(2) {
        width: 25%; /* Opponent */
    }
    
    .schedule-table th:nth-child(3),
    .schedule-table td:nth-child(3) {
        width: 25%; /* Location */
    }
    
    .schedule-table th:nth-child(4),
    .schedule-table td:nth-child(4) {
        width: 20%; /* Time */
    }
    
    .schedule-table th:nth-child(5),
    .schedule-table td:nth-child(5) {
        width: 10%; /* Type */
    }
    
    /* Make home/away badges smaller on mobile */
    .home, .away {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
        border-radius: 12px;
        min-width: 40px;
    }
    
    /* Ensure text doesn't overflow */
    .schedule-table td {
        max-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* Allow some columns to wrap on very small screens */
    @media (max-width: 480px) {
        .schedule-table th:nth-child(3),
        .schedule-table td:nth-child(3),
        .schedule-table th:nth-child(4),
        .schedule-table td:nth-child(4) {
            white-space: normal;
            word-break: break-word;
        }
    }
}

/* Additional responsive optimizations for medium screens */
@media (max-width: 900px) {
    .schedule-table {
        font-size: 0.85rem;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 0.6rem 0.5rem;
    }
    
    .schedule-title {
        padding: 1.25rem;
        font-size: 1.3rem;
    }
}

/* ===== MOBILE SCHEDULE - PROPER HORIZONTAL TABLE ===== */
@media (max-width: 767px) {
    .schedules-wrapper {
        gap: 1rem !important;
        padding: 0 0.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .schedule-card {
        border-radius: 12px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
        margin-bottom: 1.5rem !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch !important;
        background: white !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .schedule-title {
        padding: 1rem !important;
        font-size: 1.1rem !important;
        text-align: center !important;
        background: var(--navy-blue) !important;
        color: white !important;
        border-radius: 12px 12px 0 0 !important;
        margin: 0 !important;
        font-weight: 600 !important;
        width: 100% !important;
    }
    
    /* Mobile table - PROPER HORIZONTAL TABLE STRUCTURE */
    .schedule-table {
        font-size: 0.85rem !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        table-layout: auto !important;
        border-collapse: collapse !important;
        background: white !important;
        margin: 0 auto !important;
        border: none !important;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 0.8rem 0.6rem !important;
        line-height: 1.4 !important;
        text-align: left !important;
        vertical-align: middle !important;
        border-bottom: 1px solid #e2e8f0 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        word-break: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }
    
    /* PROPER TABLE COLUMNS - HORIZONTAL LAYOUT */
    .schedule-table th:nth-child(1),
    .schedule-table td:nth-child(1) {
        width: 20% !important; /* Date */
        min-width: 90px !important;
    }
    
    .schedule-table th:nth-child(2),
    .schedule-table td:nth-child(2) {
        width: 25% !important; /* Opponent */
        min-width: 110px !important;
    }
    
    .schedule-table th:nth-child(3),
    .schedule-table td:nth-child(3) {
        width: 25% !important; /* Location */
        min-width: 110px !important;
    }
    
    .schedule-table th:nth-child(4),
    .schedule-table td:nth-child(4) {
        width: 20% !important; /* Time */
        min-width: 90px !important;
    }
    
    .schedule-table th:nth-child(5),
    .schedule-table td:nth-child(5) {
        width: 10% !important; /* Type */
        min-width: 80px !important;
        text-align: center !important;
    }
    
    /* TABLE HEADERS - HORIZONTAL ROW AT TOP */
    .schedule-table thead {
        display: table-header-group !important;
    }
    
    .schedule-table th {
        background: #f1f5f9 !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        border-bottom: 2px solid #cbd5e1 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 10 !important;
        height: 50px !important;
        display: table-cell !important;
    }
    
    /* TABLE ROWS - EACH GAME IN ITS OWN HORIZONTAL ROW */
    .schedule-table tbody {
        display: table-row-group !important;
    }
    
    .schedule-table tbody tr {
        display: table-row !important;
        background: white !important;
        height: auto !important;
        min-height: 50px !important;
    }
    
    .schedule-table tbody tr:nth-child(even) {
        background: #fafafa !important;
    }
    
    .schedule-table tbody tr:hover {
        background: #f8fafc !important;
    }
    
    .schedule-table tbody td {
        display: table-cell !important;
        vertical-align: middle !important;
    }
    
    /* Home/Away badges - PROPER HORIZONTAL DISPLAY */
    .home, .away {
        padding: 0.4rem 0.7rem !important;
        font-size: 0.75rem !important;
        border-radius: 16px !important;
        min-width: 45px !important;
        max-width: 70px !important;
        text-align: center !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px !important;
        display: inline-block !important;
        text-transform: uppercase !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }
    
    .home {
        background: #10b981 !important;
        color: white !important;
        box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2) !important;
    }
    
    .away {
        background: #f59e0b !important;
        color: white !important;
        box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2) !important;
    }
}

/* Very small screens - MAINTAIN HORIZONTAL TABLE STRUCTURE */
@media (max-width: 480px) {
    .schedule-table {
        font-size: 0.8rem !important;
        width: 100% !important;
        min-width: 100% !important;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 0.7rem 0.5rem !important;
        line-height: 1.3 !important;
    }
    
    .schedule-title {
        padding: 0.8rem !important;
        font-size: 1rem !important;
    }
    
    .home, .away {
        padding: 0.35rem 0.6rem !important;
        font-size: 0.7rem !important;
        min-width: 40px !important;
        max-width: 60px !important;
    }
    
    /* Ensure proper centering on very small screens */
    .schedules-wrapper {
        padding: 0 0.25rem !important;
    }
    
    .schedule-card {
        margin: 0 0.25rem 1.5rem 0.25rem !important;
    }
}
