/* İlan fotoğraf galerisi */
.listing-intro-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    background: #f5f5f5;
}

.gallery-item .popup-image {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}

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

.gallery-item .gal-link {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -40%);
    transition: all 0.35s ease;
}

.gallery-item .popup-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    transition: background 0.35s ease;
}

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

.gallery-item:hover .popup-image::after {
    background: rgba(0, 0, 0, 0.25);
}

.gallery-item:hover .gal-link {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* İlan özellikleri */
.property-features {
    margin: 0;
    padding: 0;
    list-style: none;
}

.property-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    padding: 0 15px;
    font-size: 15px;
}

.property-features li i {
    width: 22px;
    margin-top: 4px;
    font-size: 17px;
    text-align: center;
    color: #3270fc;
    flex-shrink: 0;
}

.property-features li span {
    display: block;
    text-align: left;
}

/* LightGallery popup görünümü */
.lg-outer .lg {
    width: 96vw;
    max-width: 1320px;
    height: 90vh;
    max-height: 912px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.lg-outer .lg-inner {
    border-radius: 0;
    overflow: visible;
    background: transparent;
}

.lg-outer .lg-img-wrap {
    padding: 55px 40px 35px;
}

.lg-outer .lg-image {
    width: auto !important;
    height: auto !important;
    max-width: calc(96vw - 80px) !important;
    max-height: min(822px, calc(90vh - 90px)) !important;
    object-fit: contain !important;
}

.lg-outer .lg-toolbar {
    border-radius: 0;
    background: transparent;
}

.lg-outer .lg-fullscreen {
    display: none !important;
}

.lg-outer .lg-actions .lg-prev {
    left: 8%;
}

.lg-outer .lg-actions .lg-next {
    right: 8%;
}

.lg-backdrop {
    background-color: rgba(0, 0, 0, 0.72);
}

/* Mobil galeri ayarları */
@media (max-width: 767px) {
    .gallery-item img {
        height: 220px;
    }

    .lg-outer .lg {
        width: 94vw;
        height: 76vh;
        max-height: none;
    }

    .lg-outer .lg-img-wrap {
        padding: 50px 15px 25px;
    }

    .lg-outer .lg-image {
        max-width: calc(94vw - 30px) !important;
        max-height: calc(76vh - 75px) !important;
    }

    .lg-outer .lg-actions .lg-prev {
        left: 8px;
    }

    .lg-outer .lg-actions .lg-next {
        right: 8px;
    }
}
