/* (Önceki CSS'in üzerine eklenecek veya mevcut entegre edilecekler) */
        .listing-detail { padding: 120px 0 80px; background: #fff; }
        .detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
        
        /* Galeri */
        .main-image { width: 100%; height: 500px; background: #ddd; border-radius: 8px; margin-bottom: 15px; }
        
        /* Sidebar (İletişim Formu) */
        .contact-box { background: var(--bg-light); padding: 30px; border-radius: 8px; position: sticky; top: 100px; }
        .contact-box h4 { margin-bottom: 20px; }
        .form-control { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; }
        
        .price-tag { font-size: 2rem; color: var(--accent-color); font-weight: 700; margin-bottom: 20px; }
        .property-info { margin: 20px 0; }
        .property-info li { padding: 10px 0; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; }

        @media (max-width: 768px) { .detail-grid { grid-template-columns: 1fr; } }   
	
		
	.agent-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #eef0f2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    top: 0px;
    transition: var(--transition);
}

.agent-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.agent-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f39c12; /* Vurgu rengin */
    padding: 3px;
}

.agent-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #2d3436;
}

.verified-icon {
    color: #27ae60;
    font-size: 0.9rem;
}

.agent-title, .agent-company {
    margin: 0;
    font-size: 0.85rem;
    color: #636e72;
}

.agent-stats {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid #f1f2f6;
    border-bottom: 1px solid #f1f2f6;
    margin-bottom: 20px;
}

.stat-item { text-align: center; }
.stat-number { display: block; font-weight: 700; color: #2d3436; }
.stat-label { font-size: 0.75rem; color: #b2bec3; }
.stat-status.online { color: #27ae60; font-size: 0.8rem; font-weight: 600; }

.agent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.action-btn {
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-phone { background: #f8f9fa; color: #2d3436; border: 1px solid #eef0f2; }
.btn-phone:hover { background: #eef0f2; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; }
.qr-card {
    background: #ffffff;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-top: 15px; /* Ana kart ile arasına boşluk koyduk */
}

.qr-header h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2d3436;
    border-bottom: 1px solid #f1f2f6;
    padding-bottom: 8px;
}

.qr-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.qr-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d3436;
    line-height: 1.5;
    margin: 0;
}

.qr-img {
    width: 80px; /* Biraz daha kompakt yaptık */
    height: 80px;
    border: 1px solid #eee;
    padding: 5px;
    border-radius: 6px;
    background: #fff;
}	
		/* Kapsayıcı (Sidebar Kutusu) */
.sidebar-box {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Kartlar arası boşluk */
position: relative; 
    top: 0;
}

/* Kartların her ikisine de uygulanacak ortak temel stil */
.agent-card, .qr-card {
    background: #ffffff;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* İç düzenlemeler zaten önceki adımlarda yapılmıştı, 
   bu kapsayıcı yapısı ile tasarımın daha stabil hale geldi. */
   .share-card {
    background: #ffffff;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-top: 15px;
}

.share-header {
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3436;
    border-bottom: 1px solid #f1f2f6;
    padding-bottom: 8px;
}

.share-buttons {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f8f9fa;
    color: #636e72;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.1rem;
}

/* Renkli hover efektleri ile profesyonel dokunuş */
.share-btn:hover { color: #fff; transform: translateY(-3px); }
.share-btn.facebook:hover { background: #3b5998; }
.share-btn.twitter:hover { background: #1da1f2; }
.share-btn.linkedin:hover { background: #0077b5; }
.share-btn.email:hover { background: #636e72; }
.share-btn.whatsapp:hover { background: #25d366; }
.cta-wrapper {
    padding: 80px 20px;
    /* Logonuzdaki Koyu Lacivert ve Turuncu geçişi */
    background: linear-gradient(135deg, #0b2545 0%, #154360 100%);
    margin: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cta-content {
    max-width: 700px; /* Metnin ekranı tamamen kaplamasını engeller */
}

.cta-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-subtitle {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-cta-primary {
    background-color: #f89406; /* Logonuzdaki Turuncu */
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn-cta-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(248, 148, 6, 0.4);
    color: #ffffff;
}

/* Responsive Düzen */
@media (max-width: 768px) {
    .cta-title { font-size: 1.6rem; }
    .cta-wrapper { padding: 50px 20px; }
}
/* Galeri Kapsayıcı */
.wp-gallery-section { width: 100%; margin-bottom: 30px; }

/* Ana Slider */
.main-slider { height: 450px; width: 100%; border-radius: 12px; overflow: hidden; }
.main-slider .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }

/* Küçük Resimler */
.thumb-slider { height: 100px; margin-top: 10px; box-sizing: border-box; }
.thumb-slider .swiper-slide { 
    width: 25%; height: 100%; opacity: 0.4; cursor: pointer; 
    border-radius: 8px; overflow: hidden; border: 2px solid transparent;
}
/* Seçili olan küçük resim */
.thumb-slider .swiper-slide-thumb-active { opacity: 1; border-color: #f39c12; }
.thumb-slider .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
	
  .mySwiper .swiper-slide-thumb-active {
      opacity: 1 !important;
      border: 2px solid #f39c12;
  }
  .swiper-slide img {
      display: block;
      width: 100%;
  }
  @media screen and (max-width: 992px) {
    /* 1. Ana Grid yapısını iptal et, blok yapısına geç */
    .detail-grid {
        display: block !important;
        width: 100% !important;
    }

    /* 2. Sol içerik ve Sağ Sidebar'ı tam genişlik yap */
    .content, .sidebar-box {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        margin-bottom: 30px;
    }

    /* 3. Swiper'ın dışarı taşmasını engelle */
    .property-gallery-container {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden;
    }

    /* 4. Resimlerin yüksekliğini mobilde sabitle */
    .mainSwiper {
        height: 250px !important; /* Telefonlar için ideal yükseklik */
    }
    
    .mainSwiper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

    /* 5. Sidebar artık yapışkan (sticky) olmasın, aşağı kaysın */
    .sidebar-box {
        position: relative !important;
        top: 0 !important;
    }
}
/* Ana galeri kutusunu sabitle */
.mySwiper2 {
    height: 450px !important; /* Burayı kafandaki yüksekliğe göre ayarla */
    width: 100% !important;
    background-color: #f8f9fa; /* Resim yüklenene kadar gri durur */
}

/* Küçük resim kutusunu sabitle */
.mySwiper {
    height: 100px !important;
    margin-top: 10px !important;
}

/* Resimlerin kutuya tam oturmasını ve bozulmamasını sağlayan sihirli komut */
.swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Resim boyutunu korur, fazlalığı kırpar */
}

/* Başlığın Swiper'a yapışması için */
.property-gallery-container {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

.content h1 {
    margin-top: 15px !important; /* Galeri biter bitmez başlık gelsin */
}

.share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white !important;
    transition: transform 0.3s;
    text-decoration: none;
}
.share-btn:hover { transform: translateY(-3px); }

.facebook { background-color: #3b5998; }
.twitter { background-color: #1da1f2; }
.linkedin { background-color: #0077b5; }
.email { background-color: #7f8c8d; }
.whatsapp { background-color: #25d366; }
/* Ana İletişim Butonu (CTA) */
.btn-cta-primary {
    display: inline-block;
    background-color: #00173c !important; /* Header lacivert tonu */
    color: #ffffff !important;
    padding: 15px 35px;
    border-radius: 50px; /* Daha modern ve davetkar bir görünüm için tam yuvarlak */
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase; /* Yazıları büyük yaparak dikkat çekelim */
    text-decoration: none;
    transition: all 0.4s ease;
    border: 2px solid #00173c;
    box-shadow: 0 10px 20px rgba(0, 23, 60, 0.15); /* Hafif gölge ile butonu öne çıkaralım */
}

/* Üzerine gelince (Hover) */
.btn-cta-primary:hover {
    background-color: #ffffff !important; /* İçi beyaza dönsün */
    color: #00173c !important; /* Yazı lacivert olsun */
    transform: translateY(-5px); /* Hafif yukarı zıplasın */
    box-shadow: 0 15px 25px rgba(0, 23, 60, 0.25);
}
/* Öne Çıkan Etiketi (Label) */
.property-label {
    background-color: #00173c !important; /* Header lacivert tonu */
    color: #ffffff !important; /* Yazı bembeyaz kalsın */
    padding: 5px 15px;
    border-radius: 50px; /* Daha modern, yuvarlak bir görünüm */
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase; /* Yazıları büyük yaparak dikkat çekici kılalım */
    position: absolute; /* Resmin üzerinde durması için */
    top: 15px;
    left: 15px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Hafif gölge ile resimden ayıralım */
}
/* İkonları yazı rengiyle eşitle */
.property-features span i {
    color: inherit !important; /* Yazı rengi neyse ikon da o olsun */
    opacity: 0.8; /* İkonlar yazıya göre bir tık daha hafif dursun istersen */
    margin-right: 6px;
    font-size: 15px;
}

/* Spanların (yazıların) rengini de burdan kontrol edebilirsin */
.property-features span {
    color: #555 !important; /* Yazı rengini buraya yazarsan ikon da bu rengi alır */
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}