/**
 * Gallery Page Styles
 *
 * External stylesheet for page-gallery.php template
 * Layout styles moved to gallery-lightbox.css
 *
 * @package Sports_Legacy
 */

/* Page Hero */
.page-hero-section {
    padding: 80px 20px;
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

.page-hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color, #8CC63F);
}

/* Modern Gallery Section Container */
.modern-gallery-section {
    padding: 60px 20px;
    background: white;
}

/* 
 * NOTE: Gallery layout styles (.gallery-masonry, .gallery-mosaic, 
 * .gallery-layout-grid, .gallery-layout-justified) are now in 
 * gallery-lightbox.css to prevent conflicts
 */

/* Legacy gallery-overlay styles for backwards compatibility */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 600;
    margin: 0;
}


/* Gallery Stats Section */
.gallery-stats-section {
    padding: 80px 20px;
    background: #f5f5f5;
}

.gallery-stats-section h2 {
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 50px;
}

.stats-grid {
    margin: 0 -15px;
}

.stat-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color, #8CC63F);
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* Page Content */
.page-content-section {
    padding: 60px 20px;
    background: white;
}

.page-entry-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero-content h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .gallery-item-large {
        grid-column: span 1;
        aspect-ratio: 1;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}
