.gallery-item {
    position: relative;
    height: 260px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    transform-style: preserve-3d;
    background: #fff;
}

.gallery-item img {
    width: 100%;
    transition: transform 0.45s ease;
}

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

/* Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.gallery-overlay i {
    font-size: 25px;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 18px 18px;
    border-radius: 50%;
    backdrop-filter: blur(3px);
    transition: 0.3s ease;
    display: inline-table;
}

.gallery-overlay i:hover {
    background: rgba(255, 255, 255, 0.4);
}

.fade-up {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp 0.7s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   HIGH PRIORITY RESPONSIVE FIXES
   Added: 2025-11-30
   ======================================== */

/* FIX #4: Gallery Grid Spacing Mobile */
.gallery-col {
    margin-bottom: 20px;
}

@media only screen and (max-width: 767px) {
    .gallery-col {
        padding-left: 10px;
        padding-right: 10px;
    }

    .gallery-item {
        margin-bottom: 15px;
        height: 220px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .gallery-col {
        width: 50% !important;
        float: left;
    }
}

/* Banner Responsive */
.banner-modern {
    min-height: 400px;
    position: relative;
}

.banner-modern .overlay {
    background: rgba(0, 0, 0, 0.5);
}

@media only screen and (max-width: 767px) {
    .banner-modern {
        min-height: 250px;
    }

    .banner-modern .overlay {
        background: rgba(0, 0, 0, 0.4);
    }

    .banner-content h1 {
        font-size: 32px;
    }

    .breadcrumb-modern {
        font-size: 14px;
    }
}

@media only screen and (max-width: 480px) {
    .banner-modern {
        min-height: 200px;
    }

    .banner-content h1 {
        font-size: 28px;
    }
}
