/* net slider image */

.imgAllBox {
    margin-top: 50px;

    h2 {
        text-align: center;
        font-size: 36px;
        font-weight: 600;
    }

    p {
        text-align: center;
        font-size: 14px;
        font-weight: 300;
        color: #777;
        line-height: 22px;
        padding: 10px;
    }
}

.galleryOverlay {
    width: 100%;
    height: 100vh;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 100;
}

.imgBox {
    width: 50%;
    height: 70%;
    left: 25%;
    top: 15%;
    position: fixed;
    background: white;
    transition: 0.5s;
    transform: scale(0);
    z-index: 101;
    /* padding: 20px; */
    text-align: center;
    border-radius: 10px;

    img {
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }
}

.imgBox span.close-btn {
    position: absolute;
    right: 10px;
    font-size: 40px;
    font-weight: 500;
    color: red;
    cursor: pointer;
}

.caption-box {
    position: absolute;
    bottom: 0;
    left: 80px;
    width: 80%;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    font-size: 18px;
    display: block;
}

.prev-arrow,
.next-arrow {
    position: absolute;
    top: 50%;
    font-size: 30px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    cursor: pointer;
    z-index: 102;
}

.prev-arrow {
    left: 10px;
    transform: translateY(-50%);
}

.next-arrow {
    right: 10px;
    transform: translateY(-50%);
}

.imgContainer {
    width: 90%;
    margin: 40px auto 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* .gallery {
    flex-basis: 23%;
    margin: 10px 0;
} */

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

    img {
        width: 100%;
        border-radius: 10px;
        cursor: pointer;
        transition: transform 0.3s;

        &:hover {
            transform: scale(1.1);
        }
    }
}

@media (max-width: 1300px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    } 
}


.galleryOverlayShow {
    display: block;
}

.imgBoxShow {
    transform: scale(1);
}

figure {
    position: relative;
    display: inline-block;
    margin: 10px;
}

figcaption {
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 18px;
    border-radius: 50px;
    width: 90%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 5px;
    font-size: 14px;
}

.figcaptionHide {
    display: none;
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
}

.pagination button:hover {
    background-color: #0056b3;
}

.pagination button:disabled {
    background-color: #585757;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .pagination {
        margin-top: 10px;
    }

    .pagination button {
        padding: 5px 10px;
        margin: 0 1px;
    }

    figure {
        margin: 5px;
    }

    figcaption {
        left: 5px;
        border-radius: 5px;
        width: 90%;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        text-align: center;
        padding: 1px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .imgBox {
        width: 98%;
        height: auto;
        left: 1%;
        top: 35%;

        img {
            width: 100%;
            border-radius: 10px;
        }

        .close-btn {
            padding: 0;
            margin-top: 0;
        }
    }

    .imgContainer {
        width: 100%;
        margin: 10px auto 0;
    }

    .prev-arrow,
    .next-arrow {
        background: none;
        padding: 0 5px;
        border-radius: 50px;
    }

    .caption-box {
        left: 10%;
        border-radius: 3px;
        background-color: rgb(193, 189, 189);
        color: black;
        padding: 3px;
        font-size: 15px;
    }

    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        grid-gap: 0px;
    
        img {
            width: 100%;
            border-radius: 5px;
            cursor: pointer;
            transition: transform 0.3s;
        }
    }

    .imgAllBox {
        margin-top: 50px;
    
        h2 {
            font-size: 20px;
            font-weight: 600;
        }
    
        p {
            font-size: 10px;
            font-weight: 300;
            color: #777;
            line-height: 1.2;
            padding: 10px;
        }
    }
}

/* commentBox */

.comment {
    display: grid;
    width: 90%;
    margin:0 auto 50px;
}


.conShop{
    display: grid;
   margin: 50px 0 0 10px;
}

.commentBox {
    width: 90%;
    border: 1px solid #ccc;
    margin-top: 80px;
    padding: 10px 20px;
}

.commentBox h3 {
    text-align: left;
    font-size: 22px;
}

.commentForm input,
.commentForm textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}

.commentForm button {
    margin: 10px 0;
    color: black;
}


/* Media Query for mobile devices */
@media (max-width: 768px) {
   
    .conShop{
        display: grid;
        width: 80%;
       margin: 50px auto 10px;
    }
}


