/* Donations Page Specific Styles */

/* Hero Section */
.hero-donations {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(52, 73, 94, 0.85)), 
                url('../assets/images/backgrounds/baseball-donations.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: var(--space-16) 0;
}

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

.hero-donations .hero-title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-6);
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hero-donations .hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-8);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: var(--font-weight-medium);
}

.hero-donations .hero-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-donations .btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.section-header h2 {
    margin: 0;
}

/* Tabs */
.tabs {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
    border-bottom: 2px solid var(--color-border);
}

.tab-btn {
    padding: var(--space-3) var(--space-6);
    background: transparent;
    border: none;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-tertiary);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition-base);
}

.tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab-btn:hover {
    color: var(--color-primary);
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Buttons */
.btn-small {
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-size-sm);
    border-radius: var(--border-radius-sm);
}


/* Hero section mobile adjustments */
    .hero-donations {
        min-height: 50vh;
        background-attachment: scroll;
    }
    
    .hero-donations .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-donations .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
.hero-donations .hero-actions {
    flex-direction: column;
    align-items: center;
}


    /* Hero section small mobile adjustments */
    .hero-donations {
        min-height: 40vh;
        padding: var(--space-12) 0;
    }
    
    .hero-donations .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-donations .hero-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: var(--space-6);
    }


/* Public Donations Page Styles */

/* Hero Actions - Side by Side Buttons */
.hero-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.hero-actions .btn {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

/* Dashboard Button Container */
.dashboard-btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.team-only-text {
    font-size: var(--font-size-sm);
    color: var(--color-primary);
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-style: italic;
    font-weight: var(--font-weight-medium);
}

/* Local Businesses Section */
.local-businesses {
    background: var(--color-gray-50);
    padding: var(--space-16) 0;
    text-align: center;
}

.business-logos-container {
    margin-top: var(--space-8);
    overflow: hidden;
    width: 100%;
}

.business-logos-slider {
    display: flex;
    animation: scrollRight 20s linear infinite;
    gap: var(--space-8);
}

.business-logo {
    flex-shrink: 0;
    text-align: center;
    min-width: 200px;
}

.business-logo img {
    width: 150px;
    height: 100px;
    object-fit: contain;
    background: white;
    padding: var(--space-4);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-gray-200);
}

.business-logo p {
    margin-top: var(--space-2);
    font-weight: var(--font-weight-medium);
    color: var(--color-gray-700);
}

@keyframes scrollRight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Tournaments Section */
.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-8);
}

.tournament-card {
    background: #000000;
    color: white;
    border: 3px solid var(--color-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(75, 156, 211, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.tournament-card:hover {
    background: var(--color-primary);
    color: white;
    border-color: #000000;
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.tournament-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tournament-content {
    padding: var(--space-6);
}

.tournament-content h3 {
    color: white;
    margin-bottom: var(--space-3);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
}

.tournament-card:hover .tournament-content h3 {
    color: white;
}

.tournament-date, .tournament-location {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

.tournament-card:hover .tournament-date,
.tournament-card:hover .tournament-location {
    color: rgba(255, 255, 255, 0.95);
}

.tournament-description {
    margin-bottom: var(--space-4);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.tournament-card:hover .tournament-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Tournament Card Button Styling */
.tournament-card .btn {
    background: white;
    color: #000000;
    border: 2px solid white;
    font-weight: var(--font-weight-semibold);
}

.tournament-card:hover .btn {
    background: #000000;
    color: white;
    border-color: white;
}

.tournament-card .btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-color: white !important;
}

/* Past Events Section */
.past-events {
    background: var(--color-white);
    color: black;
    padding: var(--space-16) 0;
    text-align: center;
}

.past-events h2 {
    color: black;
}

.past-events .section-subtitle {
    color: var(--color-gray-700);
}

.photo-slider {
    max-width: 800px;
    margin: var(--space-8) auto 0;
    position: relative;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: var(--space-8) var(--space-6) var(--space-6);
    text-align: left;
}

.slide-caption h4 {
    margin-bottom: var(--space-2);
    font-size: var(--font-size-lg);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: (#fefefe);
    border: none;
    cursor: pointer;
    padding: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: var(--font-size-lg);
    font-weight: bold;
    color: var(--color-gray-800);
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: black;
}

.slider-btn.prev {
    left: var(--space-4);
}

.slider-btn.next {
    right: var(--space-4);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}

/* Fundraisers Section */
.upcoming-fundraisers {
    padding: var(--space-16) 0;
    text-align: center;
}

.fundraisers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-8);
}

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

.fundraiser-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.fundraiser-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
}

.fundraiser-card h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-3);
    font-size: var(--font-size-xl);
}

.fundraiser-date {
    color: var(--color-secondary);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-3);
}

.fundraiser-card p {
    color: var(--color-gray-700);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

/* Mobile Responsiveness for New Sections */
@media (max-width: 768px) {
    .tournaments-grid {
        grid-template-columns: 1fr;
    }
    
    .fundraisers-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .business-logo {
        min-width: 150px;
    }
    
    .business-logo img {
        width: 120px;
        height: 80px;
    }
    
    .slider-wrapper {
        height: 300px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base);
    }
    
    .dashboard-btn-container {
        gap: var(--space-1);
    }
    
    .team-only-text {
        font-size: var(--font-size-xs);
    }
}
