﻿

.gallery-section {
    width: 100%;
    padding: 80px 5%;
    background: #111;
}

.gallery-title {
    text-align: center;
    color: white;
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: bold;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-card {
    background: #1c1c1c;
    border-radius: 18px;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

    .gallery-card:hover {
        transform: translateY(-10px);
    }

    .gallery-card img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        display: block;
    }

.gallery-content {
    padding: 25px;
}

    .gallery-content h3 {
        color: white;
        margin-bottom: 15px;
        font-size: 24px;
    }

    .gallery-content p {
        color: #cfcfcf;
        line-height: 1.6;
        font-size: 15px;
    }
/* LIGHTBOX */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

    .lightbox img {
        max-width: 85%;
        max-height: 85%;
        border-radius: 20px;
        animation: zoomIn 0.4s ease;
    }

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}