 /* General gallery container styles */
 .gallery-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

/* Tab buttons styling */
.gallery-tabs {
    text-align: center;
    margin-bottom: 20px;
}

.tab-link {
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border: none;
    background-color: #f1f1f1;
    transition: background-color 0.3s;
}

.tab-link.active {
    background-color: #ddd;
}

/* Gallery section styling */
.gallery-section {
    display: none;
}

.gallery-section.active {
    display: block;
}

.gallery-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* Image responsiveness */
.responsive-image {
    width: 100%;
    max-width: 393px;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s;
}

.responsive-image:hover {
    transform: scale(1.05);
}

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

/* Modal content responsiveness */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    height: auto;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

/* Close button */
.close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover, .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .gallery-row {
        flex-direction: column;
    }

    .responsive-image {
        max-width: 100%;
    }

    .modal-content {
        width: 90%;
    }

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

@media (max-width: 480px) {
    .modal-content {
        width: 100%;
    }

    .close {
        font-size: 25px;
    }
}