/* css/stats-gallery.css */

.stats-gallery-section {
    background-color: #fff;
}

/* --- Top Area: Stats --- */
.stats-bg-image img {
    filter: grayscale(100%); /* Optional: Matches the sleek, desaturated look in screenshot */
}

/* The Circular Borders */
.stat-circle {
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Hover Effect for Stats */
.stat-circle:hover {
    border-color: var(--primary-red);
    transform: scale(1.05);
    background: rgba(0,0,0,0.3); /* Slight dimming inside circle */
}

/* Large Number Styling */
.stat-circle h2 {
    font-size: 4rem; /* Match the large scale in screenshot */
    line-height: 1;
}

/* --- Bottom Area: Gallery --- */
.gallery-strip {
    /* No padding, full width handled by container-fluid logic in parent if needed, 
       but here strictly relying on w-100 of section */
}

.gallery-item {
    height: 250px; /* Fixed height for the strip row */
    cursor: pointer;
    background-color: #fff;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

/* Dark Overlay on Gallery Items (fade out on hover) */
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    background: rgba(233, 33, 38, 0.2); /* Slight Red Tint on Hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-gallery-section {
        padding: 40px 0 !important;
    }
    
    .stat-circle {
        width: 150px;
        height: 150px;
    }
    .stat-circle h2 {
        font-size: 2.5rem;
    }
    .gallery-item {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .stats-gallery-section {
        padding: 30px 0 !important;
    }
    
    .stat-circle {
        width: 120px;
        height: 120px;
    }
    
    .stat-circle h2 {
        font-size: 2rem;
    }
    
    .stat-circle p {
        font-size: 12px;
    }
    
    .gallery-item {
        height: 150px;
    }
    
    .stats-gallery-section h3 {
        font-size: 1.5rem !important;
    }
    
    .stats-gallery-section .small {
        font-size: 11px !important;
    }
}