.text-about {
    padding-top: 1rem;
    font-size: 18px;
    width: 60%;
    text-align: center;
}

@media (max-width: 1024px) {
    .text-about {
        width: 95%;
        font-size: 16px;
        text-align: center;
    }
}

.gallery-grid {
    display: grid;
    gap: 2rem 5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    padding: 2rem 4rem;
}

.gallery-grid>div {
    border-radius: 10px;
    height: 250px;
}

.gallery-grid>div>p {
    width: 100%;
    height: 100%;
    background-color: #444444;
    opacity: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    padding: 10PX;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.defult-style {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}

.gallery-grid>div:hover p {
    opacity: 0.65;
    transition: all 300ms ease-in;
}

@media (min-width: 1024px) {


    .gallery-grid>div.hide-text p {
        opacity: 0 !important;
    }
}

/* استایل پاپ‌آپ */
.popup {
    display: none;
    /* مخفی به صورت پیش‌فرض */
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    /* بک‌گراند نیمه‌شفاف */
}

/* تصویر داخل پاپ‌آپ */
.popup-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* دکمه بستن */
#close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

#close-btn:hover {
    color: #ff4444;
}