/***
=============================================
Gallery One
=============================================
***/
.gallery-one {
    position: relative;
    display: block;
    padding: 120px 0px 90px;
    background: var(--logistiq-white);
}

.gallery-one__single {
    position: relative;
    display: block;
    margin-bottom: 30px;
}

.gallery-one__img {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 5px;
}

.gallery-one__img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-one__content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(var(--logistiq-black-rgb), 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.gallery-one__single:hover .gallery-one__content {
    opacity: 1;
    visibility: visible;
}

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

.gallery-one__content-shape {
    position: absolute;
    top: 20px;
    left: 20px;
    bottom: 20px;
    right: 20px;
    border: 2px solid rgba(var(--logistiq-base-rgb), 0.5);
    border-radius: 5px;
}

.gallery-one__zoom {
    position: relative;
    display: block;
    margin-bottom: 20px;
    z-index: 2;
}

.gallery-one__zoom a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--logistiq-base);
    border-radius: 50%;
    color: var(--logistiq-white);
    font-size: 20px;
    transition: all 0.3s ease;
}

.gallery-one__zoom a:hover {
    background: var(--logistiq-white);
    color: var(--logistiq-base);
    transform: scale(1.1);
}

.gallery-one__content-text {
    position: relative;
    display: block;
    text-align: center;
    z-index: 2;
}

.gallery-one__content-text h4 {
    color: var(--logistiq-white);
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .gallery-one {
        padding: 80px 0px 50px;
    }
    
    .gallery-one__img img {
        height: 250px;
    }
    
    .gallery-one__single {
        margin-bottom: 25px;
    }
}

@media (max-width: 767px) {
    .gallery-one {
        padding: 60px 0px 30px;
    }
    
    .gallery-one__img img {
        height: 220px;
    }
    
    .gallery-one__content-text h4 {
        font-size: 16px;
    }
    
    .gallery-one__zoom a {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .gallery-one__single {
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .gallery-one {
        padding: 40px 0px 20px;
    }
    
    .gallery-one__img img {
        height: 200px;
    }
    
    .gallery-one__content-text h4 {
        font-size: 14px;
    }
    
    .gallery-one__zoom a {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .gallery-one__single {
        margin-bottom: 15px;
    }
    
    .gallery-one__content-shape {
        top: 15px;
        left: 15px;
        bottom: 15px;
        right: 15px;
    }
}