/* ===== GALLERY SECTION ===== */
.gallery-section {
    background-color: var(--Dark-Gray);
    padding: 80px 0;
    text-align: center;
    color: var(--White-Color);
}

.gallery-section .gallery-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--Gold-Color);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.gallery-section .gallery-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background-color: var(--Gold-Color);
    margin: 15px auto 0;
    border-radius: 3px;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

/* ===== OVERLAY EFFECT ===== */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===== TITLE ON IMAGE ===== */
.gallery-item h3 {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--White-Color);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 2;
    transition: color 0.3s ease;
}

.gallery-item:hover h3 {
    color: var(--Gold-Color-Light);
}

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

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

    .gallery-section .gallery-title {
        font-size: 2rem;
    }
}
