.property-detail-section {
    padding: 10px 50px;
}
.detail-container {
    max-width: 1300px; margin: 0 auto; padding: 0 20px;
    display: grid; grid-template-columns: 1.5fr 1fr;
    gap: 50px; align-items: flex-start;
}

/* Sol Sütun: Resim Galerisi */
.detail-gallery { 
    width: 100%; position: sticky; top: 120px;
}
.main-image-wrapper {
    width: 100%; height: 450px; border-radius: 8px;
    margin-bottom: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}
.main-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* SAF CSS KAYDIRILABİLİR GALERİ */
.thumbnail-wrapper {
    position: relative; /* Okları konumlandırmak için */
}
.thumbnail-gallery {
    display: flex; gap: 10px; padding: 10px; background-color: var(--soft-beige);
    border-radius: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-behavior: smooth; /* JavaScript ile kaydırırken yumuşak olması için */
}
.thumbnail-item {
    flex: 0 0 23%; height: 90px; cursor: pointer; border-radius: 6px;
    overflow: hidden; border: 3px solid transparent; transition: border-color 0.3s ease;
    scroll-snap-align: start;
}
.thumbnail-item.active { border-color: var(--primary-blue); }
.thumbnail-item img { width: 100%; height: 100%; object-fit: cover; }
.thumbnail-gallery::-webkit-scrollbar { height: 8px; }
.thumbnail-gallery::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.thumbnail-gallery::-webkit-scrollbar-track { background: transparent; }

/* GALERİ OKLARI */
.thumb-nav-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue); width: 35px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px; cursor: pointer; font-size: 22px;
    font-weight: bold; user-select: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.thumb-nav-arrow:hover { background-color: white; }
.thumb-nav-arrow.prev { left: 15px; }
.thumb-nav-arrow.next { right: 15px; }

/* Sağ Sütun: Bilgiler */
.detail-info { padding: 20px; background-color: var(--soft-beige); border-radius: 8px; }
.detail-info .category { font-size: 13px; font-weight: 700; color: var(--accent-orange); text-transform: uppercase; letter-spacing: 1px; }
.detail-info h1 { font-size: 34px; margin: 10px 0; line-height: 1.3; }
.detail-info .location { font-size: 15px; color: var(--warm-gray); margin-bottom: 25px; }
.detail-info .price { font-size: 28px; font-weight: 700; color: var(--primary-blue); margin-bottom: 30px; }
.detail-info h3 { font-size: 19px; margin-top: 30px; margin-bottom: 20px; }
.section-divider { border-top: 1px solid #eee; margin-top: 30px; padding-top: 30px; }
.section-divider h3 { margin-top: 0; text-align: center; }
.description-text { line-height: 1.7; color: var(--warm-gray); font-size: 15px; }
.features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; padding: 0; }
.features-list li { display: flex; align-items: center; font-size: 14px; }
.features-list li strong { font-weight: 700; margin-right: 6px; color: var(--primary-blue); }
.features-list i { color: var(--accent-orange); font-size: 15px; margin-right: 12px; width: 20px; }
.consultant-info-box { margin-top: 40px; padding: 20px; background-color: white; border-radius: 6px; border: 1px solid #eee; }
.consultant-info-box h4 { font-size: 18px; margin-bottom: 15px; }
.consultant-profile { display: flex; align-items: center; gap: 15px; }
.consultant-profile img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.consultant-details strong { display: block; font-size: 16px; color: var(--primary-blue); }
.consultant-details span { font-size: 14px; color: var(--warm-gray); }
.consultant-details i { margin-right: 5px; }

/* =============================
   İLAN DETAY MOBİL UYUMLULUK
============================= */
@media (max-width: 992px) {
    .detail-container {
        grid-template-columns: 1fr; /* Sütunları alt alta getir */
    }
    .detail-gallery {
        position: static; /* sticky özelliğini kaldır */
    }
    .main-image-wrapper {
        height: 350px;
    }
}
@media (max-width: 576px) {
    .property-detail-section {
        padding: 10px 15px;
    }
    .detail-container {
        padding: 0;
    }
    .features-list {
        grid-template-columns: 1fr; /* Özellikleri tek sütunda göster */
    }
}