/* ==========================================================================
   BEST PARIS CAB - GALLERY PAGE STYLESHEET (gallery.css)
   ========================================================================== */

.gallery-section {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 40, 76, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #ffb703;
    font-size: 32px;
}

/* CARDS STYLING FOR GALLERY PAGE CARDS */
.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-body h3 {
    text-align: left;
}

/* DESTINATION GALLERY BOX STYLING */
.destination-gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    background: #000000;
}

.destination-gallery-box img {
    object-fit: cover;
    height: 250px;
    width: 100%;
    display: block;
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.45s ease;
}

.destination-gallery-box:hover img {
    transform: scale(1.1) !important;
    opacity: 0.85;
}

.destination-gallery-box .icon-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 40, 76, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 5;
}

.destination-gallery-box:hover .icon-box {
    opacity: 1 !important;
}

.destination-gallery-box .icon-box a {
    background: #ffb703;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #000000;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.destination-gallery-box .icon-box a:hover {
    background-color: #ffffff !important;
    color: #0d2b4f !important;
    transform: scale(1.18) !important;
}

/* GALLERY PAGE HELPER CLASSES */
.gallery-section-wrap {
    padding: 80px 0 !important;
}

.gallery-title-box {
    margin-bottom: 50px !important;
}

.gallery-sec-subtitle {
    color: #555555 !important;
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.6 !important;
    text-transform: none;
}

@media screen and (max-width: 767px) {
    .gallery-section-wrap {
        padding: 60px 0 !important;
    }
}