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

:root {
    --primary-color: #FFD700;
    --dark-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #121212;
    --border-color: #dee2e6;
    --anthracite: #2b2d42;
}

[data-bs-theme="dark"] {
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
    --text-color: #f8f9fa;
    --border-color: #333333;
    --anthracite: #000000;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg) !important;
    color: var(--text-color);
    transition: all 0.3s ease;
}
/* Hero Section - Arka Plan Resmi */
.hero-section {
    min-height: 60vh; /* Yüksekliği biraz daha ideal hale getirdim */
    
    /* Resmin üzerine hafif siyah perde çekiyoruz ki yazılar okunsun */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?q=80&w=1920&auto=format&fit=crop');
    
    background-size: cover;      /* Resmi kutuya yay */
    background-position: center; /* Resmi ortala */
    background-attachment: fixed; /* Sayfa kayarken resim sabit kalsın (Parallax efekti) */
    display: flex;
    align-items: center;
    position: relative;
}
.navbar {
    background-color: #121212 !important; 
    border-bottom: 3px solid var(--primary-color);
}

.navbar-brand, .nav-link {
    color: #ffffff !important;
}

/* --- GALERİ DÜZELTMESİ BURADA --- */
.galeri-thumb {
    border: 3px solid transparent; /* Varsayılan çerçeve şeffaf olsun */
    border-radius: 8px;
    opacity: 0.6;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Resim seçildiğinde (active) bu özellikler geçerli olacak */
.galeri-thumb.active {
    opacity: 1 !important;
    border-color: var(--primary-color) !important; /* SARI ÇERÇEVE */
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.galeri-thumb:hover {
    opacity: 1;
}

/* Diğer Kart Stilleri */
/* --- DANIŞMAN KARTI (GÜNCELLENDİ) --- */
.advisor-card {
    background-color: #ffffff !important; /* Gündüz: Beyaz Zemin */
    color: #000000 !important;            /* Gündüz: Siyah Yazı */
    border-radius: 20px;
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

/* Gece Modunda Danışman Kartı */
[data-bs-theme="dark"] .advisor-card {
    background-color: #2b2d42 !important; /* Gece: Antrasit Zemin */
    color: #ffffff !important;            /* Gece: Beyaz Yazı */
    border: none;
    border-top: 5px solid var(--primary-color);
}

.btn-warning {
    background-color: var(--primary-color) !important;
    border: none;
    font-weight: bold;
    color: #000;
}
/* --- ANASAYFA KART DÜZENLEMESİ --- */
.property-card .img-wrapper {
    height: 250px; /* Sabit yükseklik - Kartlar hep eşit boyda olur */
    width: 100%;
    overflow: hidden; /* Taşmayı engelle */
    position: relative;
}

.property-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kutuya sığdırır, uzatıp basıklaştırmaz */
    transition: transform 0.5s ease;
}

.property-card:hover img {
    transform: scale(1.1); /* Üzerine gelince hafif zoom efekti */
}

/* --- DETAY SAYFASI BAŞLIK RENGİ (DÜZELTME) --- */
.feature-label {
    color: var(--anthracite) !important; /* Koyu Antrasit Rengi */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    display: block;
}

/* Gece modunda bu yazılar okunabilsin diye açık renk yapalım */
[data-bs-theme="dark"] .feature-label {
    color: #cccccc !important;
}
/* Özel Durum Renkleri */
.bg-purple {
    background-color: #6f42c1 !important; /* Mor Renk (Devren için) */
    color: white !important;
}

.badge-durum {
    position: absolute; 
    top: 10px; 
    left: 10px; 
    z-index: 10;
    padding: 6px 12px; 
    border-radius: 4px; 
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
/* --- GOOGLE TRANSLATE ÇUBUĞUNU YOK ETME KODLARI --- */

/* 1. Google'ın tepeden açılan mavi/beyaz barını (iframe) tamamen gizle */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

/* 2. Sayfanın aşağı kaymasını engelle (Çok Önemli) */
body {
    top: 0px !important;
    position: static !important; /* Bazen relative kayma yapar, static en sağlamıdır */
}

/* 3. Orjinal Google Kutusu ve İkonlarını Gizle */
#google_translate_element {
    display: none !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

/* 4. Mouse ile üzerine gelince çıkan "Orjinal metni göster" balonunu gizle */
#goog-gt-tt {
    display: none !important;
    visibility: hidden !important;
}

/* 5. Çevrilen metinlerin üzerindeki mavi vurguyu kaldır */
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
/* --- LÜKS ÜST MENÜ PARLAMA EFEKTİ --- */
.navbar-nav .nav-link {
    color: #e2e8f0 !important;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #FFD700 !important; /* İmza Sarımız */
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.6); /* Hafif ve lüks bir dış ışıma */
}