/* Photo Gallery Styles */

.gallery-section {
    background: var(--bg-dark);
    padding: 80px 0;
}

.gallery-section .subtitle {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.gallery-section h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.gallery-section p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
    margin-bottom: 3rem;
}

/* Photo Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* Hide extra photos initially */
.gallery-item.hidden {
    display: none;
}

/* View More Button */
.view-more-btn {
    text-align: center;
    margin-top: 40px;
}

.view-more-btn .btn-main {
    display: inline-block;
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(188, 151, 97, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* GLightbox custom styling */
.glightbox-clean .gslide-description {
    background: rgba(0, 36, 59, 0.95);
    color: #fff;
    font-family: var(--body-font);
}

.glightbox-clean .gslide-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
}

.glightbox-clean .gslide-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

/* Loading animation */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(188, 151, 97, 0.1),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.gallery-item:hover::after {
    transform: translateX(100%);
}

/* Impact metrics section */
.impact-metrics {
    background: linear-gradient(135deg, rgba(188, 151, 97, 0.15) 0%, rgba(59, 110, 84, 0.15) 100%);
    border: 2px solid rgba(188, 151, 97, 0.3);
    border-radius: 12px;
    padding: 40px;
    margin: 60px 0;
}

.metric-item {
    text-align: center;
    padding: 20px;
}

.metric-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.metric-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .metric-number {
        font-size: 36px;
    }

    .impact-metrics {
        padding: 30px 20px;
    }
}
