/* ==============================================================
 * AntalyaApart.tr — Master Stylesheet
 * Google Poppins Typography & UI/UX Pro Max Architecture
 * Referans: minaemlak.com & Houzez Real Estate Engine
 * ============================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Renk Paleti */
    --primary: #1a365d;         /* Gece Laciverti - Güven & Kurumsallık */
    --primary-hover: #10243e;
    --secondary: #0077b6;       /* Akdeniz Mavisi */
    --secondary-light: #e0f2fe;
    --accent: #f65416;          /* Houzez Aksiyon Turuncusu */
    --accent-hover: #e04407;
    
    --success: #28a745;         /* Öne Çıkanlar Yeşili */
    --dark: #1e293b;
    --slate: #475569;
    --muted: #64748b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    
    /* Gölgeler & Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(26, 54, 93, 0.08);
    --shadow-lg: 0 10px 30px rgba(26, 54, 93, 0.12);
    --shadow-hover: 0 15px 35px rgba(26, 54, 93, 0.16);
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sıfırlama & Temel */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: var(--font-primary);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

input, textarea, select, button {
    font-family: var(--font-primary) !important;
    font-size: inherit;
    line-height: inherit;
}

/* Modern Form Giriş Elemanları */
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea {
    width: 100%;
    font-family: var(--font-primary) !important;
    font-size: 14px;
    font-weight: 400;
    color: var(--dark);
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    outline: none;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.form-control:hover,
input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
textarea:hover {
    border-color: #cbd5e1;
    background-color: #ffffff;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: var(--secondary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(0, 119, 182, 0.14);
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: #94a3b8;
    font-family: var(--font-primary) !important;
    font-weight: 400;
    opacity: 0.9;
}

textarea.form-control,
textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
    border-radius: var(--radius-md);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==============================================================
   ÜST BİLGİ & HEADER / NAVBAR
   ============================================================== */
.topbar {
    background: #0f233d;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-info {
    display: flex;
    gap: 20px;
    align-items: center;
}
.topbar-info a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
}
.topbar-info a:hover {
    color: var(--accent);
}
.topbar-social {
    display: flex;
    gap: 12px;
}
.topbar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 13px;
}
.topbar-social a:hover {
    background: var(--accent);
}

/* Ana Navbar */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}
.navbar-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    height: auto;
    padding: 10px 0;
    gap: 20px;
}
.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}
.site-brand .brand-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 119, 182, 0.25);
}
.site-brand .brand-text span {
    color: var(--accent);
}
.site-brand .brand-sub {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.5px;
    margin-top: -3px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.site-nav a {
    font-weight: 500;
    color: var(--dark);
    font-size: 15px;
    position: relative;
    padding: 6px 0;
}
.site-nav a:hover,
.site-nav a.active {
    color: var(--secondary);
}
.site-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-whatsapp {
    background: #25d366;
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover {
    background: #1ebd56;
    color: #fff;
    transform: translateY(-1px);
}

/* Modern Hamburger Toggle Butonu */
.mobile-toggle {
    display: none;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}
.mobile-toggle:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}
.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    position: relative;
}
.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hamburger-icon span:nth-child(2) {
    width: 75%;
}
.mobile-toggle:hover .hamburger-icon span {
    background-color: var(--accent);
    width: 100%;
}

/* Mobil Drawer Menü (Off-Canvas Çekmece) */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}
.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 86%;
    max-width: 340px;
    height: 100%;
    height: 100dvh;
    background: #ffffff;
    z-index: 3000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    overflow-y: auto;
}
.mobile-drawer.open {
    transform: translateX(0);
}
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}
.drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.drawer-close:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fecaca;
    transform: rotate(90deg);
}
.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 18px;
}
.drawer-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s ease;
}
.drawer-nav a i {
    font-size: 19px;
    color: #94a3b8;
    transition: color 0.2s ease;
}
.drawer-nav a:hover {
    background: #f8fafc;
    color: var(--secondary);
}
.drawer-nav a:hover i {
    color: var(--secondary);
}
.drawer-nav a.active {
    background: #e0f2fe;
    color: var(--secondary);
    font-weight: 600;
}
.drawer-nav a.active i {
    color: var(--secondary);
}
.drawer-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-drawer-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--primary);
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-drawer-phone:hover {
    background: #e2e8f0;
    color: var(--secondary);
}
.btn-drawer-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    transition: all 0.2s ease;
}
.btn-drawer-whatsapp:hover {
    background: #1ebd56;
    transform: translateY(-1px);
}
.drawer-meta {
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* ==============================================================
   HERO & GELİŞMİŞ HOUZEZ ARAMA FİLTRESİ
   ============================================================== */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(10, 25, 47, 0.55), rgba(10, 25, 47, 0.75)), 
                url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    padding: 90px 0 110px;
    color: #fff;
    text-align: center;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
}
.hero-title span {
    color: #f7b733;
}
.hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
    margin: 0 auto 35px;
}

/* Houzez Arama Konsolu (Screenshot #1 ile birebir eşleşme) */
.search-console-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
.search-filter-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    padding: 16px 20px;
    color: var(--dark);
    text-align: left;
}
.search-filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 100px 140px;
    gap: 12px;
    align-items: center;
}
.filter-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.filter-input-wrap i {
    position: absolute;
    left: 12px;
    color: var(--muted);
    font-size: 16px;
    pointer-events: none;
}
.filter-input-wrap input,
.filter-input-wrap select {
    width: 100%;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0 12px 0 36px;
    font-family: inherit;
    font-size: 14px;
    color: var(--dark);
    background: #fff;
    outline: none;
    transition: var(--transition);
}
.filter-input-wrap select {
    padding-left: 36px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3e%3cpath d='M12 16L6 10H18L12 16Z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
}
.filter-input-wrap input:focus,
.filter-input-wrap select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.12);
}

.btn-filter-clear {
    height: 48px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 14px;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}
.btn-filter-clear:hover {
    background: var(--light);
    color: var(--dark);
}

.btn-filter-search {
    height: 48px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(246, 84, 22, 0.3);
}
.btn-filter-search:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* ==============================================================
   SEKSİYON BAŞLIKLARI
   ============================================================== */
.section-header {
    text-align: center;
    margin-bottom: 45px;
}
.section-tag {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    margin-bottom: 8px;
    display: block;
}
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}
.section-subtitle {
    color: var(--muted);
    font-size: 15px;
    margin-top: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==============================================================
   İLAN KARTLARI (Screenshot #2 ile 1:1 Uyumlu Tasarım)
   ============================================================== */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
}

.property-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: #cbd5e1;
}

/* Fotoğraf ve Rozetler */
.property-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #e2e8f0;
    overflow: hidden;
}
.property-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.property-card:hover .property-media img {
    transform: scale(1.05);
}

.property-badges-left {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}
.badge-featured {
    background: var(--success);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.property-badges-right {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}
.badge-status {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Kart İçeriği */
.property-content {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.property-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.property-title:hover {
    color: var(--secondary);
}

.property-price {
    font-size: 19px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 14px;
}

/* Meta Bilgileri (Yatak, Banyo, Metrekare) */
.property-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    color: var(--slate);
    font-size: 13.5px;
}
.property-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.property-meta i {
    font-size: 16px;
    color: var(--muted);
}

/* ==============================================================
   ÖZELLİKLER & HİZMETLER (Mina Emlak Stili)
   ============================================================== */
.features-section {
    padding: 80px 0;
    background: #fff;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature-box {
    background: var(--light);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.feature-box:hover {
    background: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--secondary-light);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}
.feature-box h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
}
.feature-box p {
    color: var(--slate);
    font-size: 14.5px;
    line-height: 1.6;
}

/* ==============================================================
   GOOGLE YORUMLARI & GÜVEN PANELİ
   ============================================================== */
.reviews-section {
    padding: 80px 0;
    background: var(--light);
}
.google-rating-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto 40px;
    box-shadow: var(--shadow-sm);
}
.google-rating-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.google-icon-circle {
    width: 50px;
    height: 50px;
    background: #ea4335;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
.google-score {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}
.google-stars {
    color: #fbbc04;
    font-size: 18px;
    margin-top: 4px;
}
.google-review-count {
    color: var(--muted);
    font-size: 13px;
    margin-top: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-item {
    background: #fff;
    padding: 26px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.review-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}
.review-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--dark);
}
.review-text {
    font-size: 14px;
    color: var(--slate);
    font-style: italic;
    line-height: 1.6;
}

/* ==============================================================
   FOOTER (Mina Emlak Uyumlu Derin Gece Mavisi)
   ============================================================== */
.site-footer {
    background: #0f233d;
    color: rgba(255, 255, 255, 0.75);
    padding: 70px 0 20px;
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col h4 {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}
.footer-col p {
    line-height: 1.7;
    margin-bottom: 16px;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}
.footer-contact i {
    font-size: 18px;
    color: var(--accent);
    margin-top: 2px;
}
.footer-bottom {
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

/* ==============================================================
   İLAN DETAY SAYFASI
   ============================================================== */
.detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 36px;
    padding: 40px 0 80px;
}
.detail-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 14px;
    background: #0f172a;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.detail-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.25s ease;
    cursor: zoom-in;
}

/* Galeri Üzeri Kontroller & Sayaç */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    color: var(--primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: var(--transition);
    z-index: 5;
}
.gallery-nav-btn:hover {
    background: #fff;
    color: var(--accent);
    transform: translateY(-50%) scale(1.08);
}
.gallery-nav-prev { left: 16px; }
.gallery-nav-next { right: 16px; }

.gallery-counter-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
}
.gallery-fullscreen-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
    transition: var(--transition);
}
.gallery-fullscreen-btn:hover {
    background: rgba(15, 23, 42, 0.95);
    color: #38bdf8;
}

.detail-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-behavior: smooth;
}
.detail-thumb-item {
    width: 105px;
    height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.65;
    transition: var(--transition);
    flex-shrink: 0;
}
.detail-thumb-item.active,
.detail-thumb-item:hover {
    opacity: 1;
    border-color: var(--secondary);
    transform: translateY(-2px);
}
.detail-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox Modal (Tam Ekran Galeri) */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox-modal.open {
    display: flex;
}
.lightbox-img-wrap {
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-img-wrap img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    transition: var(--transition);
}
.lightbox-close-btn:hover {
    color: var(--accent);
    transform: scale(1.15);
}
.lightbox-counter {
    position: absolute;
    top: 25px;
    left: 25px;
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    font-weight: 500;
}

.detail-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}
.detail-specs-table tr {
    border-bottom: 1px solid var(--border);
}
.detail-specs-table td {
    padding: 12px 14px;
    font-size: 14.5px;
}
.detail-specs-table td:first-child {
    font-weight: 600;
    color: var(--muted);
    width: 40%;
}
.detail-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}
.detail-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--dark);
}
.detail-feature-item i {
    color: var(--success);
    font-size: 18px;
}

.agent-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}
.agent-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.agent-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.btn-block-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    margin-top: 12px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

/* ==============================================================
   RESPONSIVE UYUM (MOBİL & TABLET)
   ============================================================== */
@media (max-width: 1024px) {
    .search-filter-grid {
        grid-template-columns: 1fr 1fr;
    }
    .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-nav,
    .header-actions .btn-whatsapp {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-title {
        font-size: 28px;
    }
    .search-filter-grid {
        grid-template-columns: 1fr;
    }
    .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .google-rating-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .google-rating-left {
        flex-direction: column;
    }
}

/* ==============================================================
 * Canlı Destek & Müşteri Hizmetleri Baloncuğu (Help Desk Widget)
 * ============================================================== */
.helpdesk-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9995;
    font-family: var(--font-primary);
}

/* FAB Butonu */
.helpdesk-fab {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    outline: none;
}

.helpdesk-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.55), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.helpdesk-fab:active {
    transform: scale(0.95);
}

/* Nabız (Pulse) Animasyonu */
.helpdesk-fab-pulse {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #38bdf8;
    animation: helpdeskPulse 2.4s infinite cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    opacity: 0.8;
}

@keyframes helpdeskPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

/* Çevrim İçi Yeşil Rozet */
.helpdesk-fab-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #22c55e;
    border: 2.5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* İkon Geçişleri */
.helpdesk-icon-chat,
.helpdesk-icon-close {
    font-size: 26px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.helpdesk-icon-chat {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.helpdesk-icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
    font-size: 28px;
}

.helpdesk-widget.open .helpdesk-icon-chat {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.helpdesk-widget.open .helpdesk-icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.helpdesk-widget.open .helpdesk-fab-pulse {
    display: none;
}

/* Hover Tooltip */
.helpdesk-fab-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    background: #0f172a;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.helpdesk-fab-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #0f172a;
}

.helpdesk-fab:hover .helpdesk-fab-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.helpdesk-widget.open .helpdesk-fab-tooltip {
    display: none !important;
}

/* Açılır Destek Kartı */
.helpdesk-card {
    position: absolute;
    bottom: calc(100% + 16px);
    right: 0;
    width: 340px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
}

.helpdesk-widget.open .helpdesk-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Kart Header */
.helpdesk-header {
    background: linear-gradient(135deg, var(--primary) 0%, #0077b6 100%);
    color: #ffffff;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.helpdesk-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.helpdesk-avatar {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.helpdesk-online-badge {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 11px;
    height: 11px;
    background: #22c55e;
    border: 2px solid #0077b6;
    border-radius: 50%;
}

.helpdesk-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.helpdesk-status {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
}

.status-pulse-dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 6px #4ade80;
    display: inline-block;
}

.helpdesk-card-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.helpdesk-card-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

/* Kart İçeriği */
.helpdesk-body {
    padding: 18px 18px 14px;
}

.helpdesk-welcome {
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 14px;
    line-height: 1.45;
}

.helpdesk-channels {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* İletişim Maddeleri */
.helpdesk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.helpdesk-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    color: #ffffff;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.helpdesk-item-content {
    flex: 1;
    min-width: 0;
}

.channel-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
}

.channel-desc {
    display: block;
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.channel-arrow {
    font-size: 18px;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

/* Kanal Özel Renkleri & Hover */
.helpdesk-item.item-whatsapp .helpdesk-item-icon {
    background: #25d366;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
}
.helpdesk-item.item-whatsapp:hover {
    background: #f0fdf4;
    border-color: #86efac;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.15);
}
.helpdesk-item.item-whatsapp:hover .channel-name {
    color: #15803d;
}

.helpdesk-item.item-phone .helpdesk-item-icon {
    background: #0284c7;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}
.helpdesk-item.item-phone:hover {
    background: #f0f9ff;
    border-color: #7dd3fc;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(2, 132, 199, 0.15);
}
.helpdesk-item.item-phone:hover .channel-name {
    color: #0369a1;
}

.helpdesk-item.item-mail .helpdesk-item-icon {
    background: #7c3aed;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.35);
}
.helpdesk-item.item-mail:hover {
    background: #faf5ff;
    border-color: #d8b4fe;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.15);
}
.helpdesk-item.item-mail:hover .channel-name {
    color: #6d28d9;
}

.helpdesk-item:hover .channel-arrow {
    transform: translateX(4px);
    color: var(--dark);
}

.helpdesk-item:hover .helpdesk-item-icon {
    transform: scale(1.05);
}

/* Kart Alt Bilgi (Footer) */
.helpdesk-footer {
    padding: 10px 18px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 11.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.helpdesk-footer i {
    font-size: 14px;
    color: var(--accent);
}

/* Mobil Uyumluluk */
@media (max-width: 576px) {
    .helpdesk-widget {
        bottom: 20px;
        right: 18px;
    }
    .helpdesk-fab {
        width: 54px;
        height: 54px;
    }
    .helpdesk-fab-tooltip {
        display: none !important;
    }
    .helpdesk-card {
        right: 0;
        width: calc(100vw - 36px);
        max-width: 330px;
    }
}

/* ==============================================================
 * Sahibinden Tarzı İlan Kriterleri Tablosu
 * ============================================================== */
.detail-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 6px;
}
.detail-specs-table tr {
    border-bottom: 1px dotted #cbd5e1;
    transition: background 0.15s ease;
}
.detail-specs-table tr:hover {
    background: #f8fafc;
}
.detail-specs-table td {
    padding: 10px 8px;
    font-size: 14px;
    vertical-align: middle;
}
.detail-specs-table td:first-child {
    font-weight: 700;
    color: var(--primary);
    width: 44%;
}
.detail-specs-table td:last-child {
    color: var(--dark);
    font-weight: 500;
}
.detail-specs-table .spec-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.detail-specs-table .spec-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.detail-specs-table tr:hover .spec-icon {
    background: #e2e8f0;
    color: #1e293b;
    transform: scale(1.06);
}

/* ==============================================================
 * KAPSAMLI MOBİL & TABLET RESPONSIVE TASARIM (MEDIA QUERIES)
 * ============================================================== */

/* TABLETLER VE MOBİL (Ekran Genişliği <= 1024px) */
@media (max-width: 1024px) {
    /* Navbar & Hamburger */
    .site-nav {
        display: none !important;
    }
    .mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        background: #f1f5f9 !important;
        border: 1.5px solid #e2e8f0 !important;
        border-radius: 12px !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        z-index: 1001 !important;
    }
    .mobile-toggle:hover {
        background: #e2e8f0 !important;
        border-color: #cbd5e1 !important;
    }
    .hamburger-icon {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 20px !important;
        height: 14px !important;
        pointer-events: none !important;
    }
    .hamburger-icon span {
        display: block !important;
        width: 100% !important;
        height: 2px !important;
        background-color: var(--primary) !important;
        border-radius: 2px !important;
    }
    .hamburger-icon span:nth-child(2) {
        width: 75% !important;
    }
    .mobile-toggle:hover .hamburger-icon span {
        background-color: var(--accent) !important;
        width: 100% !important;
    }
    .d-none-mobile {
        display: none !important;
    }
    .navbar-wrap {
        min-height: 60px !important;
        padding: 6px 0 !important;
    }

    /* Logo Boyutunu Mobilde Otomatik Sınırla */
    .site-brand {
        max-width: calc(100% - 60px) !important;
        overflow: hidden !important;
    }
    .site-brand img,
    .site-logo-img {
        max-width: 180px !important;
        max-height: 44px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* Hero & Arama Filtresi */
    .hero-section {
        padding: 60px 0 80px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .search-filter-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .search-filter-grid > div:first-child {
        grid-column: 1 / -1;
    }
    .search-filter-grid .btn-filter-search {
        grid-column: 1 / -1;
        width: 100%;
        height: 48px;
    }
    .search-filter-grid a.btn-filter-clear {
        grid-column: 1 / -1;
        text-align: center;
    }

    /* İlan Kartları Izgarası */
    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        gap: 20px !important;
    }

    /* İlan Detay Sayfası */
    .detail-layout {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 20px 0 60px !important;
    }

    /* Footer Izgarası */
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
        padding-bottom: 35px;
    }
}

/* KÜÇÜK TABLETLER VE AKILLI TELEFONLAR (Ekran Genişliği <= 768px) */
@media (max-width: 768px) {
    /* Üst Bar (Topbar) Mobilde gizle */
    .topbar {
        display: none !important;
    }

    /* Konteyner Dolguları */
    .container {
        padding: 0 16px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .properties-page-wrap {
        padding: 20px 16px 50px !important;
    }
    .properties-filter-box {
        padding: 14px !important;
        margin-bottom: 24px !important;
    }

    /* Seksiyon Başlıkları */
    .section-header {
        margin-bottom: 30px;
    }
    .section-title {
        font-size: 26px;
    }
    .section-subtitle {
        font-size: 14px;
    }

    /* Hero */
    .hero-section {
        padding: 50px 0 70px;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-tag {
        font-size: 12px;
        padding: 5px 12px;
    }

    /* Arama Filtresi Tek Sütuna Geçiş */
    .search-filter-card {
        padding: 14px;
    }
    .search-filter-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    /* İlan Kartları Tek Sütun */
    .properties-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* İlan Detay Sayfası */
    .detail-gallery-main {
        aspect-ratio: 4 / 3;
    }
    .detail-thumbs {
        gap: 8px;
    }
    .detail-thumb-item {
        width: 85px;
        height: 60px;
    }
    .gallery-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    /* Donanım Özellikleri */
    .detail-features-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Footer Tek Sütun */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    /* İletişim & Sayfa Izgaraları */
    .contact-grid,
    .about-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

/* ÇOK KÜÇÜK MOBİL EKRANLAR (Ekran Genişliği <= 480px) */
@media (max-width: 480px) {
    .property-media {
        aspect-ratio: 16 / 10;
    }
    .hero-title {
        font-size: 24px;
    }
    .mobile-drawer {
        width: 90%;
    }
    .site-brand {
        font-size: 18px;
    }
    .site-brand img,
    .site-logo-img {
        max-width: 140px !important;
        max-height: 38px !important;
    }
}


