/* Gallery Page Stylesheet */

/* Grid and Cards */
.gallery-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(13, 110, 70, 0.05);
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.gallery-img-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 76, 46, 0.95) 0%, rgba(5, 76, 46, 0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0.92;
    transition: var(--transition);
    color: var(--white);
    z-index: 2;
}

.gallery-card:hover .gallery-item-overlay {
    background: linear-gradient(to top, rgba(139, 19, 34, 0.95) 0%, rgba(5, 76, 46, 0.45) 75%, transparent 100%);
}

.gallery-item-overlay h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    transform: translateY(0);
    transition: var(--transition);
}

.gallery-item-overlay p {
    font-size: 13px;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-play-indicator {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 5;
    transition: var(--transition);
}

.gallery-card:hover .gallery-play-indicator {
    background-color: var(--white);
    color: var(--primary);
    transform: scale(1.1);
}

/* Responsive Gallery */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}