/* --- Genel Sıfırlama ve Temel Stiller --- */
:root {
    --primary-color: #2c3e50; /* Ana Renk - Koyu Lacivert/Antrasit */
    --secondary-color: #3498db; /* İkincil Renk - Canlı Mavi (Eskiden ana renkti) */
    --accent-color: #f1c40f;   /* Vurgu Rengi - Altın Sarısı */
    --light-bg-color: #f4f7fa; /* Çok Açık Gri Arka Plan */
    --dark-text-color: #34495e; /* Koyu Metin Rengi */
    --light-text-color: #7f8c8d; /* Açık Metin Rengi */
    --success-color: #27ae60;  /* Başarı Rengi - Yeşil */
    --danger-color: #e74c3c;   /* Hata/Silme Rengi - Kırmızı */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4; /* Sayfanın genel arka plan rengi */
    color: #333;
}

a {
    text-decoration: none;
    color: inherit; /* Bağlantıların rengi, bulunduğu elementin rengiyle aynı olsun */
}

ul {
    list-style-type: none; /* Madde işaretlerini kaldır */
}


/* --- Hero (Karşılama) Alanı --- */
.hero-section {
    height: 100vh; /* Ekran yüksekliğinin %100'ünü kapla */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/images/background.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    flex-direction: column;
}


/* --- Navigasyon Menüsü --- */
nav {
    display: flex;
    justify-content: space-between; /* Logo ve menüyü iki uca yasla */
    align-items: center;
    padding: 20px 50px;
    width: 100%;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
}

.nav-links {
    display: flex;
}

.nav-links li {
    padding: 0 15px;
}

.nav-links a {
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f39c12; /* Vurgu rengi - Değiştirebilirsiniz */
}


/* --- Hero (Karşılama) İçeriği --- */
.hero-content {
    flex-grow: 1; /* Kalan tüm boşluğu doldur */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
}


/* --- Arama Formu --- */
.search-form {
    display: flex;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    gap: 10px; /* Elemanlar arasına boşluk koy */
}

.search-form input,
.search-form select,
.search-form button {
    border: none;
    padding: 15px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    border-radius: 5px;
}

.search-form input[type="text"] {
    width: 300px;
    color: #555;
}

.search-form select {
    width: 180px;
    color: #555;
}

.search-form button {
    background-color: #2980b9; /* Ana Renk - Mavi */
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: #3498db; /* Butonun üzerine gelinceki renk */
}
/* --- Vitrin İlanları Bölümü --- */
.featured-listings {
    padding: 60px 50px;
    background-color: #fff; /* Veya #f4f4f4 gibi açık bir gri */
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.section-title p {
    font-size: 16px;
    color: #777;
}

.listings-container {
    display: grid;
    /* Kartların genişliğine göre otomatik sığdır, en az 350px olsun */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px; /* Kartlar arasındaki boşluk */
}


/* --- İlan Kartı Tasarımı --- */
.listing-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* Taşan resimleri gizle (köşeler için) */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.listing-card:hover {
    transform: translateY(-5px); /* Kartın yukarı doğru hafifçe kalkması */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover; /* Resmin kutuya sığarken oranını korumasını sağlar */
    display: block;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2C3E50; /* Koyu mavi */
}

.card-content .location {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-footer .price {
    font-size: 22px;
    font-weight: 700;
    color: #2980b9; /* Ana Mavi Rengi */
}

.card-footer .btn-details {
    background-color: #2980b9;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.card-footer .btn-details:hover {
    background-color: #3498db;
}
/* Genel Container Stili */
.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Header'ı hero-section'dan ayırmak için yeni stil */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
}
.main-header .logo a { color: #2C3E50; }
.main-header .nav-links a { color: #555; }
.main-header .nav-links a:hover { color: #2980b9; }


/* İlan Detay Sayfası Stilleri */
.detail-container h1 { font-size: 36px; color: #2C3E50; margin-bottom: 5px; }
.detail-location { font-size: 18px; color: #777; margin-bottom: 25px; }

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.detail-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.description { flex: 2; min-width: 300px; }
.description h2 { margin-bottom: 15px; border-bottom: 2px solid #eee; padding-bottom: 10px; }
.description p { line-height: 1.8; color: #555; }

.info-box {
    flex: 1;
    min-width: 280px;
    background-color: #f4f7fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
}
.info-box h3 { margin-top: 0; margin-bottom: 20px; }
.info-box ul { list-style: none; padding: 0; }
.info-box ul li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e1e8ed;
}
.info-box ul li:last-child { border-bottom: none; }
.info-box ul li strong { color: #555; }
.info-box ul li span { font-weight: 600; color: #2980b9; }
.info-box ul li span:first-child { color: #333; } /* Fiyat için özel renk */
/* --- YENİ HEADER STİLLERİ --- */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px; /* Linkler arası boşluk */
}

.nav-links a {
    color: #555;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2980b9;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #2980b9;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Aktif sayfa linki için stil */
.nav-links a.active {
    color: #2980b9;
    font-weight: 700;
}
.nav-links a.active::after {
    width: 100%;
}

/* Hamburger Menü (başlangıçta gizli) */
.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%; /* Başlangıçta ekranın dışında */
        top: 70px; /* Header'ın bittiği yerde başla */
        background-color: #fff;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 20px;
        display: block;
        border-bottom: 1px solid #f2f2f2;
    }
     .nav-links a:hover::after {
        width: 0; /* Mobilde alt çizgiyi kaldır */
    }

    .nav-links.nav-active {
        left: 0; /* Menüyü ekranın içine kaydır */
    }

    .hamburger-menu {
        display: flex;
    }

    /* Tıklandığında hamburger ikonunun X'e dönüşmesi */
    .hamburger-menu.toggle .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .hamburger-menu.toggle .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.toggle .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}
/* İletişim Sayfası Stilleri */
/* ======================================================= */
/* =========== YENİ İLETİŞİM SAYFASI TASARIMI ============ */
/* ======================================================= */
.contact-page .section-title {
    margin-top: 50px;
}
.contact-top-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}
.contact-form-wrapper {
    flex: 2; /* Formun daha geniş olmasını sağlar */
    min-width: 300px;
}
.contact-info-wrapper {
    flex: 1;
    min-width: 300px;
}

/* Form İçi İki Sütunlu Yapı */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* İletişim Bilgileri Kutusu */
.contact-info-wrapper h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}
.contact-details-list {
    list-style: none;
    padding: 0;
}
.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}
.contact-details-list i {
    font-size: 22px;
    color: var(--secondary-color);
    margin-top: 5px;
}
.contact-details-list strong {
    font-size: 16px;
    color: var(--dark-text-color);
    display: block;
    margin-bottom: 4px;
}
.contact-details-list p {
    margin: 0;
    color: var(--light-text-color);
    line-height: 1.6;
}
.contact-details-list a {
    color: var(--light-text-color);
    transition: color 0.3s ease;
}
.contact-details-list a:hover {
    color: var(--secondary-color);
}

/* Tam Genişlik Harita */
.contact-map-full-width {
    margin-left: calc(50% - 50vw);
    width: 100vw; /* Ekran genişliği kadar */
}
#contact-map {
    height: 450px;
    width: 100%;
}





/* Form stillerini admin paneliyle ortak kullanabiliriz.
   Eğer zaten varsa eklemeye gerek yok. Yoksa diye ekliyorum. */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #555; }
.form-group input[type="text"],
.form-group input[type="email"],

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}
.submit-btn { background-color: #2980b9; color: #fff; padding: 12px 25px; border: none; border-radius: 5px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color 0.3s; }
.submit-btn:hover { background-color: #3498db; }
.message { padding: 15px; border-radius: 5px; margin-bottom: 20px; border: 1px solid transparent; }
.message.success { background-color: #d4edda; color: #155724; border-color: #c3e6cb; }
.message.error { background-color: #f8d7da; color: #721c24; border-color: #f5c6cb; }
/* Sayfalama (Pagination) Stilleri */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding-bottom: 20px;
}
.pagination {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 8px;
}
.page-item .page-link {
    display: block;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #2980b9;
    background-color: #fff;
    transition: all 0.3s ease;
}
.page-item .page-link:hover {
    background-color: #f4f4f4;
    border-color: #ccc;
}
.page-item.active .page-link {
    background-color: #2980b9;
    color: #fff;
    border-color: #2980b9;
    font-weight: 600;
}
/* Hakkımda Sayfası Stilleri */
.about-container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.about-image {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text h1 {
    margin-top: 0;
    font-size: 36px;
    color: #2c3e50;
}

.about-text h2 {
    font-size: 20px;
    font-weight: 400;
    color: #777;
    margin-top: -10px;
    margin-bottom: 25px;
}

.about-text h3 {
    font-size: 22px;
    color: #2980b9;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-text p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}
/* İnteraktif Galeri Stilleri */
.gallery {
    margin-bottom: 30px;
}

.gallery-main-image {
    width: 100%;
    height: 500px; /* Veya istediğiniz bir yükseklik */
    margin-bottom: 15px;
    background-color: #f4f7fa;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmin oranını koruyarak alana sığdırır */
}

.gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-thumbnails .thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.gallery-thumbnails .thumbnail:hover {
    opacity: 1;
    border-color: #2980b9;
}
/* İnteraktif Galeri Stilleri */
.gallery {
    margin-bottom: 30px;
}

.gallery-main-image {
    width: 100%;
    height: 500px; /* Veya istediğiniz bir yükseklik */
    margin-bottom: 15px;
    background-color: #f4f7fa;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmin oranını koruyarak alana sığdırır */
}

.gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-thumbnails .thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.gallery-thumbnails .thumbnail:hover {
    opacity: 1;
    border-color: #2980b9;
}
/* Gelişmiş Arama Formu Stilleri */
.search-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 900px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.search-form input,
.search-form select {
    border: 1px solid #ddd;
    padding: 15px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    border-radius: 5px;
    width: 100%;
}

.price-row {
    grid-template-columns: 1fr 1fr 0.5fr; /* Butonun daha küçük olması için */
}

.search-form button {
    background-color: #2980b9;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.search-form button:hover {
    background-color: #3498db;
}
/* ================================================= */
/* =========== YENİ INDEX.PHP STİLLERİ ============= */
/* ================================================= */

/* Genel Bölüm Stilleri */
.content-section {
    padding: 80px 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #2c3e50;
}
.section-title p {
    font-size: 18px;
    color: #777;
    max-width: 600px;
    margin: 0 auto;
}

/* YENİ HERO BÖLÜMÜ */
.hero-section-v2 {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?q=80&w=1073&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center/cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.7);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}
.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 700px;
}
.hero-typewriter::after {
    content: '|';
    animation: blink 0.7s infinite;
}
@keyframes blink {
    50% { opacity: 0; }
}

/* ÖNE ÇIKAN İLANLAR CAROUSEL */
.featured-slider-section {
    background-color: #f4f7fa;
}

.carousel-item {
    scroll-snap-align: start;
}
.listing-card .card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(41, 128, 185, 0.9);
    color: #fff;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}


/* NEDEN BİZ? BÖLÜMÜ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-item {
    text-align: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.feature-icon {
    font-size: 40px;
    color: #2980b9;
    margin-bottom: 20px;
}
.feature-item h3 { font-size: 20px; color: #333; margin-bottom: 10px; }
.feature-item p { color: #777; line-height: 1.6; }

/* KATEGORİYE GÖRE SON İLANLAR */
.latest-by-type-section { background-color: #f4f7fa; }
.latest-split-view {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.latest-column { flex: 1; min-width: 300px; }
.latest-column h3 {
    font-size: 24px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.latest-item-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.latest-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
.latest-item-img { width: 100px; height: 75px; flex-shrink: 0; }
.latest-item-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.latest-item-content h4 {
    font-size: 16px;
    margin: 0 0 8px 0;
    color: #333;
}
.latest-item-content .price { font-size: 16px; font-weight: 600; color: #2980b9; }

/* MÜŞTERİ YORUMLARI */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
}
.testimonial-quote {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.testimonial-author h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

/* HAREKETE GEÇİN (CTA) BÖLÜMÜ */
.cta-section {
    background-color: #2c3e50;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 { font-size: 36px; margin: 0 0 15px 0; }
.cta-section p { font-size: 18px; margin: 0 0 30px 0; opacity: 0.9; }
.cta-button {
    background-color: #fff;
    color: #2c3e50;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.cta-button:hover {
    background-color: #f1c40f;
    color: #333;
    transform: translateY(-2px);
}
/* Footer Stilleri */
.main-footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 20px 0;
    margin-top: 40px;
}
.main-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.main-footer a {
    color: #fff;
    font-weight: 500;
    text-decoration: underline;
}
.main-footer a:hover {
    text-decoration: none;
}
/* ================================================= */
/* ====== KAÇIRILAN FIRSATLAR BÖLÜMÜ STİLLERİ ====== */
/* ================================================= */

.missed-opportunities-section {
    background-color: #f4f7fa; /* Arka planı diğerlerinden ayırmak için */
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.sold-card .card-image {
    position: relative; /* Overlay'i konumlandırmak için */
}

.sold-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.7); /* Koyu, yarı şeffaf katman */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Normalde gizli */
    transition: opacity 0.3s ease;
}

.sold-card:hover .sold-overlay {
    opacity: 1; /* Kartın üzerine gelince göster */
}

.sold-overlay span {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
}

.sold-price {
    color: #7f8c8d !important; /* Soluk renk */
    text-decoration: line-through; /* Üzeri çizili */
}

.sold-btn {
    background-color: #95a5a6 !important; /* Soluk renk */
    pointer-events: none; /* Tıklanamaz yap */
}
/* İlan Detayı - Harita Konum Stilleri */
.map-container {
    margin-top: 40px;
}
.map-container h2 {
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}
#listingMap {
    height: 450px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ddd;
}
/* Harita Sayfası Stilleri */
.map-page-container {
    display: flex;
    height: calc(100vh - 70px); /* Header yüksekliği hariç tüm ekran */
}
#map-filters {
    width: 300px;
    flex-shrink: 0;
    padding: 20px;
    background-color: #f4f7fa;
    overflow-y: auto;
    border-right: 1px solid #ddd;
}
#map-filters h3 {
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}
.filter-group {
    margin-bottom: 15px;
}
.filter-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}
.filter-group select, .filter-group input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}
#apply-filters-btn {
    width: 100%;
    padding: 12px;
    background-color: #2980b9;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}
#apply-filters-btn:hover {
    background-color: #3498db;
}

#full-map {
    width: 100%;
    height: 100%;
}

/* Harita Popup Stilleri */
.map-popup img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
}
.map-popup .popup-content {
    padding: 10px;
}
.map-popup h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
}
.map-popup .price {
    font-size: 14px;
    font-weight: 700;
    color: #2980b9;
    margin: 0 0 10px 0;
}
.map-popup a {
    display: block;
    text-align: center;
    background-color: #2c3e50;
    color: #fff;
    padding: 8px;
    border-radius: 5px;
    font-size: 12px;
}
.leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 8px;
}
.leaflet-popup-content {
    margin: 0 !important;
}
/* Açılır Menü (Dropdown) Stilleri */
.nav-links li.has-dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li a {
    padding: 12px 20px;
    display: block;
    width: 100%;
    color: #555;
}
.dropdown-menu li a:hover {
    background-color: #f4f7fa;
}
/* Mobil uyumluluk için dropdown'ları gizle (hamburger menü zaten yönetiyor) */
@media (max-width: 768px) {
    .dropdown-menu { display: none !important; }
}
/* ============================================= */
/* ====== ANA LİSTELEME SAYFASI STİLLERİ ======= */
/* ============================================= */

.listings-page-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Filtreleme Kenar Çubuğu */
.filters-sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 100px; /* Header yüksekliği + boşluk */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.filters-sidebar h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* Ana İçerik Alanı */
.listings-main-content {
    flex-grow: 1;
}
.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.sort-form select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Liste Öğesi Kart Tasarımı */
.listing-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.listing-list-item {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.listing-list-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.list-item-image {
    width: 250px;
    flex-shrink: 0;
}
.list-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.list-item-content {
    padding: 20px;
    flex-grow: 1;
}
.list-item-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
}
.list-item-specs {
    display: flex;
    gap: 20px;
    color: #555;
    margin: 15px 0;
}
.list-item-specs span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.list-item-content .description {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}
.list-item-price-section {
    width: 200px;
    flex-shrink: 0;
    padding: 20px;
    border-left: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 15px;
}
.list-item-price-section .price {
    font-size: 24px;
    font-weight: 700;
}
/* ============================================= */
/* ====== ANA LİSTELEME SAYFASI STİLLERİ ======= */
/* ============================================= */

/* Sayfanın genel iki sütunlu yapısı */
.listings-page-container {
    display: flex;
    flex-wrap: wrap; /* Küçük ekranlar için */
    gap: 30px;
    align-items: flex-start;
}

/* Filtreleme Kenar Çubuğu (Sol Sütun) */
.filters-sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky; /* Sayfa kaydırıldığında sabit kalması için */
    top: 100px; /* Header yüksekliği + boşluk */
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.filters-sidebar h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    color: #2c3e50;
}

/* Ana İçerik Alanı (Sağ Sütun) */
.listings-main-content {
    flex-grow: 1;
    min-width: 0; /* Flexbox'ın daralmasına izin ver */
}
.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.listings-header p {
    margin: 0;
}
.sort-form select {
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

/* Liste Görünümündeki İlan Kartı Tasarımı */
.listing-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.listing-list-item {
    display: flex;
    flex-wrap: wrap; /* Mobil için */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.listing-list-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.list-item-image {
    width: 280px;
    flex-shrink: 0;
    background-color: #eee;
}
.list-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.list-item-content {
    padding: 20px 25px;
    flex-grow: 1;
}
.list-item-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    color: #34495e;
}
.list-item-content .location {
    color: #7f8c8d;
    margin-bottom: 15px;
}
.list-item-specs {
    display: flex;
    gap: 25px;
    color: #555;
    margin: 15px 0;
    flex-wrap: wrap;
}
.list-item-specs span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}
.list-item-content .description {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}
.list-item-price-section {
    width: 220px;
    flex-shrink: 0;
    padding: 20px;
    border-left: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 15px;
    background-color: #f9fbfd;
}
.list-item-price-section .price {
    font-size: 26px;
    font-weight: 700;
    color: #2980b9;
    margin: 0;
}

/* Mobil Cihazlar için Ekran Küçüldüğünde Tasarımı Ayarlama */
@media (max-width: 992px) {
    .filters-sidebar {
        position: static; /* Sabit kalmayı bırak */
        width: 100%;
        margin-bottom: 30px;
    }
}
@media (max-width: 768px) {
    .listing-list-item {
        flex-direction: column; /* Kart elemanlarını alt alta diz */
    }
    .list-item-image, .list-item-price-section {
        width: 100%;
    }
    .list-item-image {
        height: 250px; /* Resim için sabit yükseklik */
    }
    .list-item-price-section {
        border-left: none;
        border-top: 1px solid #f0f0f0;
        flex-direction: row; /* Fiyat ve butonu yan yana getir */
        justify-content: space-between;
    }
}
/* ============================================= */
/* ====== İLANLAR SAYFASI FİLTRE FORMU ======= */
/* ============================================= */

/* Filtre formunun genel paneli */
.filters-form {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

/* Filtreleri sıralayan Grid yapısı */
.filters-grid {
    display: grid;
    /* Ekrana sığdığı kadar sütun oluştur, her sütun en az 160px olsun */
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px; /* Kutular arası boşluk */
    align-items: end; /* Tüm elemanları dikeyde en alta hizala (buton için harika) */
}

/* Her bir filtre kutusu (label + input) */
.filter {
    display: flex;
    flex-direction: column;
}

.filter label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.filter select,
.filter input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 5px;
    border: 1px solid #ced4da;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

.filter input::placeholder {
    color: #adb5bd;
}

.filter .btn-primary {
    width: 100%;
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #2980b9;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter .btn-primary:hover {
    background-color: #2c3e50;
}
/* ============================================= */
/* ====== İLANLAR SAYFASI FİNAL TASARIMI ======= */
/* ============================================= */

/* Ana Kapsayıcı */
main.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Sayfa Üstü (Sonuç Sayısı ve Sıralama) */
.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}
.listings-header p {
    margin: 0;
    font-size: 16px;
    color: #555;
}
.sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sort-form label {
    font-weight: 500;
}
.sort-form select {
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ced4da;
}

/* Filtre Formu Paneli */
.filters-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    align-items: end;
}
.filter label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    display: block;
}
.filter select,
.filter input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 14px;
}
.filter button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #2980b9;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.filter button:hover {
    background-color: #2c3e50;
}
/* İlan Kartı Tipi Etiketi (Badge) */
.list-item-image, .card-image {
    position: relative; /* Etiketi konumlandırmak için */
}

.list-item-badge, .card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    background-color: rgba(44, 62, 80, 0.85);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
    z-index: 2;
}
/* ============================================= */
/* =========== SWIPER SLIDER STİLLERİ ========== */
/* ============================================= */

.featured-slider-section .swiper {
    width: 100%;
    height: auto;
    padding-bottom: 50px; /* Alttaki noktalara yer açmak için */
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    padding: 10px; /* Kart gölgelerinin kesilmemesi için */
}

.swiper-slide .listing-card {
    width: 100%;
    margin: 0 !important;
}

/* Navigasyon Okları */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background-color: rgba(0, 128, 255, 0.5);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(41, 128, 185, 0.9);
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: 900;
}

/* Sayfalama Noktaları */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #2980b9; /* Ana mavi rengimiz */
}
/* ================================================= */
/* ======== GOOGLE YORUMLARI BÖLÜMÜ STİLLERİ ======= */
/* ================================================= */

.google-reviews-section {
    background-color: #fff; /* Veya #f4f7fa */
}

.google-reviews-slider {
    width: 100%;
    padding: 10px 10px 50px 10px; /* Alttaki noktalara yer açmak için */
}

.google-review-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    height: 100%; /* Tüm kartların aynı yükseklikte olmasını sağlar */
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.review-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.author-info {
    flex-grow: 1;
}
.author-info h4 {
    margin: 0;
    font-size: 16px;
}
.author-info p {
    margin: 0;
    font-size: 13px;
    color: #777;
}
.google-logo {
    font-size: 24px;
    color: #DB4437; /* Google Kırmızısı */
}

.review-stars {
    margin-bottom: 15px;
    color: #FBC02D; /* Google Yıldız Sarısı */
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    flex-grow: 1; /* Kartın altındaki boşluğu doldurur */
}
/* ============================================= */
/* ====== GELİŞMİŞ HARİTA MARKER STİLLERİ ====== */
/* ============================================= */



/* Satılık İşaretçi (Yeşil) */
.marker-satilik {
    background-color: #27ae60; /* Yeşil */
}
.marker-satilik::after {
    border-top-color: #27ae60;
}

/* Kiralık İşaretçi (Mavi) */
.marker-kiralik {
    background-color: #2980b9; /* Mavi */
}
.marker-kiralik::after {
    border-top-color: #2980b9;
}
/* ============================================= */
/* ====== GELİŞMİŞ HARİTA POPUP STİLLERİ ======= */
/* ============================================= */

.map-popup a {
    text-decoration: none;
}
.map-popup .popup-image-link {
    display: block;
}
.map-popup img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}
.map-popup .popup-content {
    padding: 12px;
}
.map-popup h4 {
    margin: 0 0 8px 0;
    font-size: 15px;
    color: #333;
    white-space: normal; /* Uzun başlıkların sığmasını sağlar */
}
.map-popup .price {
    font-size: 16px;
    font-weight: 700;
    color: #2980b9;
    margin: 0 0 12px 0;
}
.map-popup .popup-button {
    display: block;
    text-align: center;
    background-color: #5a7794;
    color: #fff;
    padding: 8px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}
.map-popup .popup-button:hover {
    background-color: #577390;
}

/* Detay etiketleri (badge) */
.popup-details {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.popup-details .badge {
    background-color: #f0f0f0;
    color: #555;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}
.popup-details .badge.type-satılık {
    background-color: #27ae60; /* Yeşil */
    color: #fff;
}
.popup-details .badge.type-kiralık {
    background-color: #2980b9; /* Mavi */
    color: #fff;
}
/* ======================================================= */
/* ====== GELİŞMİŞ İLAN DETAY SAYFASI TASARIMI ========= */
/* ======================================================= */

.detail-page-container {
    max-width: 1200px;
    margin: 30px auto;
}

.detail-page-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

/* Ana İçerik (Sol) */
.detail-main-content {
    flex: 2;
    min-width: 0; /* flex-shrink için gerekli */
}

/* Kenar Çubuğu (Sağ) */
.detail-sidebar {
    flex: 1;
    min-width: 320px;
    position: sticky;
    top: 100px; /* Header yüksekliği + boşluk */
}

.detail-section {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.detail-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}
.description-text {
    line-height: 1.8;
    color: #555;
}

/* Yeni Bilgi Listesi */
.specs-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}
.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e0e0e0;
}
.specs-list li strong { color: #555; }
.specs-list li span { font-weight: 600; text-align: right; }

/* Talep Formu Widget'ı */
.sidebar-widget {
    background: #f4f7fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}
.sidebar-widget h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}
.inquiry-form-widget textarea {
    min-height: 100px;
}

/* Mobilde kenar çubuğu alta geçer */
@media (max-width: 992px) {
    .detail-sidebar {
        position: static;
        width: 100%;
        min-width: 100%;
    }
}
/* ======================================================= */
/* ============= BENZER İLANLAR WIDGET STİLLERİ ========== */
/* ======================================================= */
.similar-listings-widget {
    margin-top: 30px;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.similar-listings-widget h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}
.similar-listings-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.similar-listing-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: opacity 0.3s ease;
}
.similar-listing-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.similar-listing-item:hover {
    opacity: 0.8;
}
.similar-item-image {
    width: 100px;
    height: 75px;
    flex-shrink: 0;
}
.similar-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.similar-item-info h5 {
    font-size: 15px;
    margin: 0 0 8px 0;
    line-height: 1.4;
    color: #34495e;
}
.similar-item-info .price {
    font-size: 16px;
    font-weight: 600;
    color: #2980b9;
}
/* Gelen Mesajlar Sayfası Stilleri */
.message-unread {
    background-color: #f8f9fa;
    font-weight: bold;
}
.message-content {
    max-width: 300px;
    white-space: pre-wrap; /* Uzun mesajların düzgün görünmesi için */
}
.status-okundu {
    background-color: #6c757d; /* Gri */
}
.mark-as-read-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
}
.notification-badge {
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 8px;
    vertical-align: top;
}
/* Isı Haritası Aç/Kapa Düğmesi Stilleri */
.heatmap-toggle-container { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 10px; border-radius: 5px; margin-bottom: 15px; border: 1px solid #ddd;}
.heatmap-toggle-container label { margin-bottom: 0; font-weight: 600; }
.switch { position: relative; display: inline-block; width: 50px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; }
input:checked + .slider { background-color: #27ae60; }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 24px; }
.slider.round:before { border-radius: 50%; }
/* ============================================= */
/* ====== FİNAL HARİTA SAYFASI STİLLERİ ======== */
/* ============================================= */

/* Isı Haritası Aç/Kapa Düğmesi */
.heatmap-toggle-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: #fff; 
    padding: 10px 15px; 
    border-radius: 5px; 
    margin-bottom: 20px; 
    border: 1px solid #ddd;
}
.heatmap-toggle-container label { 
    margin-bottom: 0; 
    font-weight: 600; 
    font-size: 15px;
}
.switch { position: relative; display: inline-block; width: 50px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; }
input:checked + .slider { background-color: #e74c3c; } /* Isı haritası rengi */
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 24px; }
.slider.round:before { border-radius: 50%; }


/* FİNAL HARİTA MARKER TASARIMI */
.map-marker-final {
    background-color: #2c3e50; /* Güven veren koyu lacivert */
    border: 2px solid #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    padding: 8px 12px;
}
.map-marker-final::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #2c3e50;
}
/* =================================================================== */
/* ====== YENİ, PROFESYONEL ANA SAYFA ARAMA FORMU STİLLERİ (V2) ====== */
/* =================================================================== */

.hero-search-form-final {
    background: #ffffff; /* Tam opak beyaz arka plan */
    border-radius: 12px; /* Daha yumuşak köşeler */
    padding: 25px; /* İç boşluğu artırdık */
    width: 100%;
    max-width: 1100px; /* Biraz daha genişlettik */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); /* Daha belirgin ve derin bir gölge */
    border: 1px solid #e9ecef; /* Çok ince bir çerçeve */
}

/* --- Sekmeler (Satılık/Kiralık) --- */
.form-tabs-final {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid #dee2e6; /* Alt çizgiyi belirginleştirdik */
}

.tab-link-final {
    padding: 12px 25px;
    color: #6c757d; /* Pasif sekme rengi soluk */
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-bottom: 3px solid transparent; /* Altta gizli bir border */
    transition: all 0.3s ease;
    margin-bottom: -1px; /* Çizgiye tam oturması için */
}

.tab-link-final:hover {
    color: var(--primary-color); /* Üzerine gelince ana renk */
}

.tab-link-final.active {
    color: var(--primary-color); /* Aktif sekme ana rengimiz */
    border-bottom: 3px solid var(--secondary-color); /* Aktif olduğunu gösteren mavi çizgi */
}

/* --- Form Izgarası ve Elemanlar --- */
.form-grid-final {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr; /* Kelime alanı daha geniş */
    gap: 15px;
    align-items: center;
}

.form-group-final {
    display: flex;
    align-items: center;
    background-color: #f8f9fa; /* Çok açık gri arka plan */
    border: 1px solid #ced4da; /* Belirgin çerçeve */
    border-radius: 8px;
    height: 55px; /* Biraz daha yüksek */
    transition: all 0.3s ease;
}

.form-group-final:focus-within {
    border-color: var(--secondary-color); /* Tıklandığında mavi çerçeve */
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15); /* Tıklandığında hafif parlama */
}

.form-group-final i {
    color: #6c757d;
    margin-left: 15px;
    margin-right: 10px;
    font-size: 16px;
}

.form-group-final input,
.form-group-final select {
    width: 100%;
    height: 100%;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-text-color);
    outline: none;
    padding-right: 15px;
}

.form-group-final select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
}

/* --- Arama Butonu --- */
.search-submit-btn-final {
    height: 55px;
    border: none;
    border-radius: 8px;
    background: var(--secondary-color); /* Canlı mavi ana eylem rengi */
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3); /* Butonun kendi gölgesi */
}

.search-submit-btn-final:hover {
    background: #2980b9; /* Hover rengi biraz daha koyu */
    transform: translateY(-2px); /* Hafif yukarı kalkma efekti */
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* --- Mobil Uyumluluk --- */
@media (max-width: 1024px) {
    .form-grid-final {
        /* Tablette 2 sütunlu yapı */
        grid-template-columns: 1fr 1fr;
    }
    /* Kelime arama ve tip tablet boyutunda tam satır kaplasın */
    .form-grid-final .form-group-final:nth-child(1),
    .form-grid-final .form-group-final:nth-child(2) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .form-grid-final {
        /* Mobilde tek sütunlu yapı */
        grid-template-columns: 1fr;
    }
    .hero-search-form-final {
        padding: 20px;
        /* Mobilde gölgeyi azaltalım */
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    }
}
/* İletişim Sayfası Harita Stili */
/* Contact map min boyutu (iletisim.php) */
#contact-map{
  height:360px;
  width:100%;
  border-radius:12px;
  border:1px solid #e1e8ed;
  background:#eef2f7;
  box-shadow:0 2px 12px rgba(0,0,0,.06);
}
@media (max-width:768px){ #contact-map{ height:300px; } }
/* === İlan Detay Sayfası İçin Yeni Stiller === */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    padding-left: 0;
}
.specs-grid li {
    background-color: #f9f9f9;
    padding: 10px 15px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.badge-spec {
    padding: 4px 10px;
    border-radius: 20px;
    color: #fff;
    font-size: 0.9em;
}
.badge-yes { background-color: #27ae60; }
.badge-no { background-color: #c0392b; }

/* Detay Sayfası Sekmeleri */
.tab-nav-detail { list-style: none; padding-left: 0; margin-bottom: 20px; display: flex; border-bottom: 2px solid #eee; }
.tab-nav-detail a { text-decoration: none; color: #555; padding: 10px 20px; display: block; margin-bottom: -2px; border-bottom: 2px solid transparent; }
.tab-nav-detail a.active { color: #2980b9; font-weight: bold; border-bottom-color: #2980b9; }
.tab-content-detail { display: none; }
.tab-content-detail.active { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
/* === KURUMSAL SAYFALAR İÇİN STİLLER === */
.page-container {
    padding-top: 50px;
    padding-bottom: 50px;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.page-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.page-content blockquote {
    border-left: 4px solid #eee;
    padding-left: 20px;
    margin-left: 0;
    font-style: italic;
    color: #555;
}
/* === YENİ İLAN DETAY SAYFASI DÜZENİ === */
.detail-page-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobil için tek sütun */
    gap: 30px;
    padding-top: 20px;
}

/* 992px ve üzeri ekranlar için iki sütun */
@media (min-width: 992px) {
    .detail-page-grid {
        grid-template-columns: 2fr 1fr; /* İçerik alanı daha geniş */
    }
}

.detail-sidebar .sidebar-widget {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.detail-sidebar .sidebar-widget h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2em;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.price-widget h3 {
    font-size: 2.2em;
    color: #2980b9;
    margin: 0;
}
.price-widget p {
    margin: 0 0 5px 0;
    color: #777;
}

.agent-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.agent-photo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.agent-details strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.agent-phone {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}
.agent-phone:hover {
    color: #2980b9;
}
/* ======================================================= */
/* =========== YENİ FOOTER TASARIMI (V2) ================= */
/* ======================================================= */

.main-footer-v2 {
    background-color: var(--primary-color); /* Koyu ana renk */
    color: #bdc3c7; /* Soluk metin rengi */
    padding: 60px 0 0 0; /* Üstten daha fazla boşluk */
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* 3 sütunlu yapı */
    gap: 40px; /* Sütunlar arası boşluk */
    padding-bottom: 40px;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

/* Başlıkların altına ince bir çizgi ekleyelim */
.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color); /* Canlı mavi vurgu rengi */
}

.footer-column.about-column p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-column .footer-logo {
    font-size: 24px;
    font-weight: 700;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color); /* Canlı mavi */
    transform: translateY(-3px);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul a {
    color: #bdc3c7;
    transition: all 0.3s ease;
}

.footer-column ul a:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-column li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.contact-column li i {
    margin-top: 5px;
    color: var(--secondary-color);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.footer-bottom-bar a {
    color: #bdc3c7;
    text-decoration: underline;
}
.footer-bottom-bar a:hover {
    color: #fff;
}


/* --- Footer Mobil Uyumluluk --- */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Tek sütuna düşür */
        text-align: center;
    }
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-links {
        justify-content: center;
    }
    .contact-column li {
        justify-content: center;
        text-align: left; /* Adres vb. sola dayalı kalsın */
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 10px;
    }
}


/* ======================================================= */
/* ====== SABİT WHATSAPP VE ARAMA BUTONLARI STİLLERİ ====== */
/* ======================================================= */

.floating-action-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Butonlar arası boşluk */
}

.fab-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.fab-button:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.fab-button.whatsapp {
    background-color: #25D366; /* WhatsApp Yeşili */
}

.fab-button.phone {
    background-color: #3498db; /* Sitemizin ikincil rengi - Mavi */
}
/* ================================================= */
/* ====== YENİ ANA SAYFA BÖLÜMLERİ (V2) ======= */
/* ================================================= */

/* Daireler ve Arsalar için 3'lü Grid Yapısı */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Hakkımızda Kısa Bölümü */
.about-us-section-mini {
    background-color: #f4f7fa; /* Açık renk arka plan */
}

.about-mini-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-mini-text p {
    line-height: 1.8;
    color: var(--light-text-color);
    margin-bottom: 15px;
}

/* Konumumuz (Harita) Bölümü */
.location-section {
    padding-bottom: 80px;
}
.map-embed-container {
    border-radius: 12px;
    overflow: hidden; /* Iframe'in köşelerini de yuvarlak yapar */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

/* --- Mobil Uyumluluk --- */
@media (max-width: 992px) {
    .listings-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablette 2 sütun */
    }
    .about-mini-grid {
        grid-template-columns: 1fr; /* Tablette tek sütun */
    }
}

@media (max-width: 768px) {
    .listings-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
    }
}
/* HERO başlık ve telefon: dış CSS'den zorla override */
.hero-section .hero-content .agent-name-signature {
    color: #FFFFFF; /* Tam beyaz daha canlı durur */
    font-size: 7em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); /* Yazıya derinlik katan gölge */
}

/* Telefon için hafif gölge */
.hero-section .hero-content .agent-phone-under-signature {
    color: #FFFFFF;
    font-size: 3.2em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
    .hero-section .hero-content .agent-name-signature { font-size: 5em !important; }
    .hero-section .hero-content .agent-phone-under-signature { font-size: 2.4em !important; }
}
/* ============================================= */
/* ====== HARİTA SAYFASI MOBİL FİLTRE STİLLERİ ====== */
/* ============================================= */

/* Mobil Buton (Başlangıçta gizli) */
.map-mobile-button {
    display: none; /* Masaüstünde gizli */
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 1001; /* Diğer her şeyin üstünde */
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: background-color 0.3s;
}

.map-mobile-button:hover {
    background-color: #34495e;
}

.map-mobile-button i {
    margin-right: 8px;
}

/* Arka Plan Karartma Katmanı (Başlangıçta gizli) */
#map-overlay {
    display: none; /* Başlangıçta gizli */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000; /* Filtre panelinin arkasında, haritanın önünde */
}


/* Mobil ve Tablet için Medya Sorgusu (992px altı) */
@media (max-width: 992px) {
    .map-page-container {
        
        display: block;
        position: relative; /* Buton ve panelin konumlanması için */
    }

    #map-filters {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 300px;
        max-width: 85%; /* Ekranın %85'inden fazla yer kaplamasın */
        z-index: 1001; /* En üstte */
        transform: translateX(-100%); /* Başlangıçta ekranın dışında */
        transition: transform 0.3s ease-in-out;
        box-shadow: 5px 0 15px rgba(0,0,0,0.2);
    }
    
    #full-map {
        /* Harita her zaman %100 genişlik ve yükseklikte olacak */
        width: 100%;
        height: 100%;
    }

    /* JavaScript ile eklenecek .filters-open class'ı için stiller */
    .map-page-container.filters-open #map-filters {
        transform: translateX(0); /* Paneli ekranın içine kaydır */
    }

    .map-page-container.filters-open #map-overlay {
        display: block; /* Arka plan katmanını göster */
    }

    /* Mobil filtre butonunu göster */
    .map-mobile-button {
        display: inline-block;
    }
}