/* ===================================
   Waukee Waves Basketball - Styles
   =================================== */

/* Google Fonts Import - Sports Font */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;500;600;700&display=swap');

/* CSS Variables - Ocean Waves Color Palette */
:root {
    /* Primary Colors - Teal/Cyan Wave Theme */
    --primary-color: #1b7e82;        /* Main teal - the wave color */
    --secondary-color: #0d9488;      /* Lighter teal for hover states */
    --accent-color: #f59e0b;         /* Warm amber/gold - vibrant contrast */

    /* Neutral Colors */
    --dark-color: #0f4c5c;           /* Deep ocean blue-teal for text/headers */
    --light-color: #f0fdfa;          /* Very light teal tint for backgrounds */
    --text-color: #134e4a;           /* Dark teal for body text */
    --border-color: #ccfbf1;         /* Light teal for borders */

    /* Status Colors */
    --success-color: #10b981;        /* Green for success messages */
    --warning-color: #f59e0b;        /* Amber for warnings */
    --error-color: #ef4444;          /* Red for errors */

    /* Effects */
    --shadow: 0 4px 6px rgba(27, 126, 130, 0.1);
    --shadow-lg: 0 10px 25px rgba(27, 126, 130, 0.15);
    --transition: all 0.3s ease;
}

/* Highlight for last paragraph in Our History */
.history-highlight {
    background: var(--light-color);
    color: var(--primary-color);
    border-left: 6px solid var(--accent-color);
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 1.15em;
    font-weight: 600;
    padding: 1em 1.5em;
    margin-top: 1.2em;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--dark-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.nav-brand a:hover {
    transform: translateY(-2px);
    color: var(--accent-color);
}

.nav-brand h1 {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
    color: inherit;
}

/* Navigation Logo - Commented out (replaced with text logo)
.nav-logo {
    height: 50px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}
*/

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: white;
    font-weight: 500;
    padding: 0.75rem .5rem;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

/* Video link coloer */
.vid_link {
    color: #f59e0b;
}

/* Modern hover effect - Sliding bottom border */
.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a:hover::before {
    width: 100%;
}

/* Active state - Bold bottom border */
.nav-menu a.active {
    color: var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section - Basketball Court Theme */
.hero {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Basketball court pattern overlay with texture - Realistic proportions */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 940 500"><defs><style>.court-line{fill:none;stroke:rgba(255,255,255,0.15);stroke-width:3}</style></defs><rect x="10" y="10" width="920" height="480" class="court-line"/><circle cx="470" cy="250" r="64" class="court-line"/><line x1="470" y1="10" x2="470" y2="490" class="court-line"/><rect x="10" y="149" width="202" height="202" class="court-line"/><circle cx="212" cy="250" r="64" class="court-line"/><path d="M 47 229 A 21 21 0 0 1 47 271" class="court-line"/><rect x="728" y="149" width="202" height="202" class="court-line"/><circle cx="728" cy="250" r="64" class="court-line"/><path d="M 893 229 A 21 21 0 0 0 893 271" class="court-line"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 1;
}

/* Animated wave overlay - Ocean Waves theme */
.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 250px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 150"><path d="M0,75 Q150,45 300,75 T600,75 T900,75 T1200,75 L1200,150 L0,150 Z" fill="rgba(255,255,255,0.08)"/><path d="M0,90 Q150,60 300,90 T600,90 T900,90 T1200,90 L1200,150 L0,150 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 1200px 100%;
    background-repeat: repeat-x;
    background-position: 0 0;
    animation: waveFlow 15s linear infinite;
}

/* Wave animation - seamless loop */
@keyframes waveFlow {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1200px 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

/* Page Header - Modern Dynamic Design */
.page-header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 50%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    overflow: hidden;
}

/* Layered wave pattern overlay */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200"><path d="M0,100 Q300,50 600,100 T1200,100 L1200,200 L0,200 Z" fill="rgba(255,255,255,0.03)"/><path d="M0,120 Q300,80 600,120 T1200,120 L1200,200 L0,200 Z" fill="rgba(255,255,255,0.02)"/></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 1;
}

/* Diagonal stripe pattern for depth */
.page-header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.02) 40px,
        rgba(255, 255, 255, 0.02) 80px
    );
    pointer-events: none;
    animation: subtleShift 20s linear infinite;
}

/* Subtle animation for dynamic feel */
@keyframes subtleShift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.page-header h1 {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Team Photo Section */
.team-photo-section {
    background-color: white;
}

.team-photo-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.photo-caption {
    background-color: var(--dark-color);
    color: white;
    padding: 1rem;
    text-align: center;
}

/* Welcome Section */
.welcome-section {
    background-color: var(--light-color);
}

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

.welcome-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.welcome-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.card p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

/* Quick Links */
.quick-links {
    background-color: white;
}

/* Content Section */
.content-section {
    background-color: white;
}

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

.content-block p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Mission Section */
.mission-section {
    background-color: var(--light-color);
}

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

.value-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-card p {
    line-height: 1.6;
}

/* Team Standards Section */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.standards-column {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.standards-column h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.standards-column ul {
    list-style: none;
    padding: 0;
}

.standards-column ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    font-size: 1.05rem;
}

.standards-column ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Roster Section */
.roster-section {
    background-color: white;
}

.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.player-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.player-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.player-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.player-position {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.player-year {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Team Records Section */
.records-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.record-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.record-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.record-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.record-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.record-stat {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.record-label {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Blog Section */
.add-post-section {
    background-color: var(--light-color);
    padding: 2rem 0;
}

.post-form {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 1rem;
}

.post-form.hidden {
    display: none;
}

.blog-section {
    background-color: white;
}

.blog-posts {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.post-header h2 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    opacity: 0.8;
}

.post-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container,
.contact-info-container {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
}

.contact-form-container h2,
.contact-info-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
}

.form-message.hidden {
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Cloudflare Turnstile CAPTCHA Styling */
.cf-turnstile {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

/* Contact Info */
.contact-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.info-content p {
    margin-bottom: 0.25rem;
}

.info-content a {
    color: white;
}



/* Donation Info */
.donation-info {
    margin-top: 1rem;
}

.donation-info .info-content .btn {
    margin-top: 1rem;
    display: inline-block;
}

/* Social Links */
.social-links {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.social-links h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    font-size: 2rem;
    transition: var(--transition);
}

.social-icon:hover {
    transform: scale(1.2);
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-color);
}

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

.faq-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.faq-item p {
    line-height: 1.6;
}

/* Media Gallery */
.media-filter {
    background-color: var(--light-color);
    padding: 2rem 0;
}

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

.filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.gallery-section {
    background-color: white;
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.gallery-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-thumbnail::before {
    content: '🖼️';
    font-size: 3rem;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.view-btn {
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: var(--primary-color);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.view-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.gallery-caption {
    padding: 1rem;
    background-color: white;
    text-align: center;
    font-weight: 500;
}

/* Video Section */
.video-section {
    background-color: var(--light-color);
}

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

.video-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #0f4c5c 0%, #1b7e82 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom:3em;
}

.play-button {
    font-size: 3rem;
    color: white;
    opacity: 0.9;
}

.video-item h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.video-item p {
    padding: 0 1rem 1rem;
    color: var(--text-color);
}

.video-item .btn {
    margin: 0 1rem 1rem;
    width: calc(100% - 2rem);
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: #bbb;
}

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

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

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

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

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

.footer-section a {
    color: white;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-brand h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    /* .nav-logo - Commented out (no longer used)
    .nav-logo {
        height: 40px;
    }
    */

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile navigation link styles */
    .nav-menu a {
        padding: 1rem 1.5rem;
        display: block;
        border-bottom: 2px solid transparent;
        border-left: 4px solid transparent;
    }

    .nav-menu a:hover {
        background-color: rgba(27, 126, 130, 0.2);
        border-left: 4px solid var(--accent-color);
    }

    .nav-menu a.active {
        background-color: rgba(27, 126, 130, 0.25);
        border-left: 4px solid var(--accent-color);
        border-bottom: 2px solid var(--accent-color);
    }

    .nav-menu a::before {
        display: none; /* Hide the sliding underline on mobile */
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .roster-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .standards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .records-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-brand h1 {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }

    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .filter-buttons {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }
}

/* ===================================
   The Lab - Training Page Styles
   =================================== */

.training-section {
    margin-bottom: 1rem;
}

.training-section .section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.training-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.training-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(27, 126, 130, 0.2);
}

.training-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.training-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.training-card .key-points {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.training-card .key-points li {
    color: #666;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.training-card .key-points li::before {
    content: '🏀';
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

/* Responsive adjustments for training page */
@media (max-width: 768px) {
    .training-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .training-section .section-title {
        font-size: 2rem;
    }

    .training-card {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

