
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Gallery */
.gallery {
    padding: 60px 0;
    background:  white;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    aspect-ratio: 4/3;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

/* Modal */
.modal {
    display: none;
    position:  fixed;
    z-index:  1000;
    left:  0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight:  bold;
    cursor: pointer;
    z-index: 1001;
}

.close:hover {
    color:  #4CAF50;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery h2 {
        font-size:  2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}