/* Gallery Section */
.gallery-section {
    padding: 40px 20px;
    background-color: #4C0013; /* Black background */
    color: white; /* White text */
    text-align: center;
}

.gallery-heading {
    font-size: 28px;
    color: white; /* Yellow text */
    margin-bottom: 20px;
}

/* Gallery Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    justify-content: center;
}

.gallery-item img {
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05); /* Zoom effect on hover */
}

/* Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.modal-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    text-align: center;
}

.modal-content img {
    width: 100%;
    border-radius: 5px;
}

/* Close Icon */
.close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #f4c60e; /* Yellow color */
    font-size: 30px;
    cursor: pointer;
}

/* Navigation Arrows */
.prev,
.next {
    position: absolute;
    top: 50%;
    color: #f4c60e; /* Yellow arrows */
    font-size: 40px;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover,
.next:hover {
    color: white; /* White on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
    }
    .close {
        font-size: 24px;
    }
    .prev,
    .next {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .gallery-item img {
        border-radius: 3px;
    }
    .close {
        font-size: 20px;
    }
    .prev,
    .next {
        font-size: 24px;
    }
}
