/* ==========================================================================
   PREMIUM DARK TEMA - YÖNETİM DOSYASI
   ========================================================================== */

:root {
    --primary-color: #d4af37; /* Lüks vurgular için Premium Altın rengi */
    --primary-hover: #b5952f; /* Altın renginin tıklama tonu */
    --secondary-color: #f1f5f9; /* Başlıklar için parlak beyaz/gri */
    --text-color: #94a3b8; /* Göz yormayan gövde metni rengi (Açık Gri) */
    --bg-color: #0f172a; /* Çok derin, asil gece mavisi/siyah arka plan */
    --card-bg: #1e293b; /* Kartlar ve formlar için bir tık açık ön plan */
    --border-color: #334155; /* Zarif ve belirgin olmayan kenarlıklar */
    --success-color: #10b981; /* Fiyatlar için parlak neon yeşil */
}

/* GENEL SIFIRLAMA VE TİPOGRAFİ */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Body'yi Flex yaparak tüm ekranı kaplamasını sağlıyoruz */
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background-color: var(--bg-color); 
    color: var(--text-color); 
    line-height: 1.6; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; /* Ekranın en az %100'ünü kapla */
}

/* İçerik alanının esneyip footer'ı en alta itmesini sağlar */
main, #main-content {
    flex: 1;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; display: block; }

/* HEADER VE MENÜ */
header { background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; }
header .container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo a { font-size: 1.8rem; font-weight: 800; color: var(--secondary-color); text-decoration: none; letter-spacing: 1px; }
.logo a span { color: var(--primary-color); } 
.menu { list-style: none; display: flex; gap: 30px; }
.menu a { text-decoration: none; color: var(--secondary-color); font-weight: 600; font-size: 1.05rem; transition: color 0.3s; }
.menu a:hover { color: var(--primary-color); }

/* ANASAYFA: HERO SLIDER */
.hero-slider { width: 100%; height: 75vh; min-height: 500px; position: relative; }
.swiper-slide { position: relative; height: 100%; width: 100%; overflow: hidden; }
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; position: absolute; z-index: 1; transform: scale(1.05); transition: transform 6s ease; }
.swiper-slide-active img { transform: scale(1); }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.4) 100%); z-index: 2; }

/* Slider Yazı Ortalama Düzeltmesi */
.slide-content { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; z-index: 3; color: white; width: 100%; max-width: 1200px; padding: 0 20px; animation: fadeInUp 1s ease; }
.slide-content h2 { font-size: 4rem; font-weight: 800; margin-bottom: 15px; line-height: 1.1; text-shadow: 0 4px 15px rgba(0,0,0,0.8); color: #fff; }
.slide-content p { font-size: 1.3rem; margin-bottom: 30px; max-width: 600px; opacity: 0.9; color: #e2e8f0; }

.btn-slider { display: inline-block; padding: 15px 35px; background: var(--primary-color); color: #000; text-decoration: none; border-radius: 30px; font-weight: 800; font-size: 1.1rem; transition: all 0.3s; box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3); }
.btn-slider:hover { background: var(--secondary-color); color: #000; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2); }

/* PORTFÖY KARTLARI (Anasayfa ve Projeler Sayfası Ortak) */
.vitrin-baslik { text-align: center; margin: 80px 0 40px; }
.vitrin-baslik h2 { font-size: 2.5rem; color: var(--secondary-color); }
.vitrin-baslik span { display: block; width: 60px; height: 4px; background: var(--primary-color); margin: 15px auto; border-radius: 2px; }

.portfoy-grid, .projeler-liste-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 35px; max-width: 1300px; margin: 0 auto; padding: 0 20px 80px; }
.proje-premium-kart, .portfoy-kart { background: var(--card-bg); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid var(--border-color); text-decoration: none; display: flex; flex-direction: column; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.proje-premium-kart:hover, .portfoy-kart:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(0,0,0,0.8); border-color: var(--primary-color); }
.kart-medya, .pk-gorsel { width: 100%; height: 250px; position: relative; overflow: hidden; }
.kart-medya img, .pk-gorsel img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; opacity: 0.9; }
.proje-premium-kart:hover .kart-medya img, .portfoy-kart:hover .pk-gorsel img { transform: scale(1.08); opacity: 1; }
.kart-durum-badge, .pk-badge { position: absolute; top: 20px; left: 20px; padding: 6px 14px; border-radius: 30px; font-size: 0.8rem; font-weight: 800; color: #000; z-index: 2; text-transform: uppercase; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.badge-aktif { background: var(--primary-color); }
.badge-pasif { background: #ef4444; color: white; }
.kart-gövde, .pk-icerik { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.kart-gövde h3, .pk-icerik h3 { color: var(--secondary-color); font-size: 1.4rem; margin: 0 0 12px 0; font-weight: 700; line-height: 1.3; }
.kart-lokasyon, .pk-lokasyon { color: var(--text-color); font-size: 0.95rem; margin-bottom: 20px; }
.kart-alt-alan, .pk-alt { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-color); padding-top: 20px; }
.kart-fiyat, .pk-fiyat { color: var(--success-color); font-size: 1.4rem; font-weight: 800; }
.kart-incele-link, .pk-ok { color: var(--primary-color); font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 5px; transition: transform 0.3s; }
.proje-premium-kart:hover .kart-incele-link, .portfoy-kart:hover .pk-ok { transform: translateX(5px); }

/* PROJELER SAYFASI: HERO VE FİLTRELER */
.page-hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); padding: 80px 20px; text-align: center; color: var(--secondary-color); margin-bottom: 50px; position: relative; border-bottom: 1px solid var(--border-color); }
.page-hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -1px; color: #fff; }
.page-hero p { font-size: 1.1rem; opacity: 0.8; max-width: 600px; margin: 0 auto; color: var(--text-color); }
.filtre-konteyner { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; padding: 0 20px; flex-wrap: wrap; }
.filtre-btn { padding: 12px 30px; background: var(--card-bg); color: var(--secondary-color); text-decoration: none; border-radius: 30px; font-weight: 700; font-size: 0.95rem; border: 1px solid var(--border-color); transition: all 0.3s; }
.filtre-btn:hover { border-color: var(--primary-color); color: var(--primary-color); transform: translateY(-2px); }
.filtre-btn.aktif { background: var(--primary-color); color: #000; border-color: var(--primary-color); box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2); }
.bos-durum-kart { grid-column: 1 / -1; text-align: center; padding: 80px 20px; background: var(--card-bg); border-radius: 20px; border: 1px solid var(--border-color); }

/* PROJE DETAY SAYFASI */
.proje-header { position: relative; height: 60vh; min-height: 400px; border-radius: 0 0 30px 30px; margin-bottom: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); background-size: cover !important; background-position: center !important; }
.proje-header::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,1) 0%, rgba(15,23,42,0.3) 50%, rgba(15,23,42,0.8) 100%); border-radius: 0 0 30px 30px; }
.proje-nav { position: absolute; top: 30px; left: 5%; z-index: 10; }
.proje-nav a { color: #fff; text-decoration: none; font-weight: 600; background: rgba(0,0,0,0.4); padding: 10px 20px; border-radius: 30px; backdrop-filter: blur(5px); transition: all 0.3s; border: 1px solid rgba(255,255,255,0.1); }
.proje-nav a:hover { background: var(--primary-color); color: #000; }
.proje-baslik-alani { position: absolute; bottom: 40px; left: 5%; z-index: 10; color: #fff; }
.proje-baslik-alani h1 { font-size: 3.5rem; margin: 10px 0; text-shadow: 0 4px 15px rgba(0,0,0,0.8); color: #fff; }
.badge { background: var(--primary-color); color: #000; padding: 6px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: 800; text-transform: uppercase; }
.detay-grid { display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; max-width: 1300px; margin: 0 auto; padding: 0 20px 80px; }

/* Detay Kartları ve İçerik */
.info-card { background: var(--card-bg); padding: 30px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border: 1px solid var(--border-color); position: sticky; top: 100px; }
.info-item { margin-bottom: 25px; }
.info-item span { display: block; color: var(--text-color); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; margin-bottom: 5px; }
.info-item strong { color: var(--secondary-color); font-size: 1.3rem; }
.fiyat-etiketi { color: var(--success-color) !important; font-size: 1.8rem !important; }

/* Siyah arka planda okunaklı içerik kutusu */
.icerik-alani { background: var(--card-bg); padding: 40px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border: 1px solid var(--border-color); font-size: 1.1rem; line-height: 1.9; color: var(--secondary-color); }
.icerik-alani h2 { color: var(--primary-color) !important; border-bottom: 2px solid var(--border-color) !important; }
.icerik-alani p { color: var(--text-color); }

.galeri-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; margin-top: 30px; }
.galeri-item { height: 200px; border-radius: 12px; overflow: hidden; cursor: pointer; position: relative; border: 1px solid var(--border-color); }
.galeri-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; opacity: 0.8; }
.galeri-item::after { content: '🔍'; position: absolute; inset: 0; background: rgba(212, 175, 55, 0.4); display: flex; align-items: center; justify-content: center; font-size: 2rem; opacity: 0; transition: opacity 0.3s; color: #000; }
.galeri-item:hover img { transform: scale(1.1); opacity: 1; }
.galeri-item:hover::after { opacity: 1; }

/* Buton Düzenlemeleri (Dark temaya uygun) */
.btn { color: #000 !important; font-weight: 800 !important; }

/* WHATSAPP BUTONU */
.whatsapp-btn { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); z-index: 1000; transition: all 0.3s ease; animation: pulse 2s infinite; }
.whatsapp-btn:hover { background-color: #1ebe57; transform: scale(1.1); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ==========================================================================
   FOOTER (ALT BİLGİ) ALANI
   ========================================================================== */
footer { background: #080c16; color: var(--text-color); padding: 60px 0 20px; border-top: 1px solid var(--border-color); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: #fff; margin-bottom: 20px; font-size: 1.2rem; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--primary-color); border-radius: 2px; }
.footer-col p { font-size: 0.95rem; line-height: 1.8; margin-bottom: 10px; color: #94a3b8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #94a3b8; text-decoration: none; transition: all 0.3s; display: flex; align-items: center; gap: 8px; }
.footer-col ul li a:hover { color: var(--primary-color); transform: translateX(5px); }
.footer-bottom { text-align: center; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; color: #64748b; }

/* ==========================================================================
   EVRENSEL TİPOGRAFİ VE LİNK DÜZELTMELERİ
   ========================================================================== */
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--secondary-color); }

/* Dinamik Sayfa İçerikleri (Biz Kimiz, Vizyon vb.) */
.dinamik-icerik-alani { background: var(--card-bg); padding: 50px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); border: 1px solid var(--border-color); margin: 40px auto 80px; max-width: 1000px; }
.dinamik-icerik-alani h1 { color: #fff; font-size: 2.8rem; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); text-align: center; }
.dinamik-icerik-alani h2, .dinamik-icerik-alani h3 { color: var(--primary-color) !important; margin: 30px 0 15px 0; font-size: 1.8rem; }
.dinamik-icerik-alani p { color: var(--text-color); font-size: 1.15rem; line-height: 1.8; margin-bottom: 20px; text-align: justify; }
.dinamik-icerik-alani ul, .dinamik-icerik-alani ol { padding-left: 20px; margin-bottom: 20px; color: var(--text-color); font-size: 1.1rem; line-height: 1.8; }
.dinamik-icerik-alani li { margin-bottom: 10px; }

.oda-kart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.oda-kart { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; transition: 0.3s; }
.oda-kart:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.oda-resim { width: 100%; height: 180px; object-fit: cover; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin-top: 15px; border-radius: 8px; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* --- PROJE DETAY - YAN YANA DAIRE SEÇENEKLERİ STİLLERİ --- */
.alan-baslik { color: #2c3e50; margin-bottom: 20px; border-bottom: 2px solid #f0f0f0; padding-bottom: 10px; }
.bos-aciklama { color: #999; font-style: italic; }
.galeri-alt-bilgi { color: #7f8c8d; font-size: 0.95rem; margin-bottom: 20px; }
.ayirici-cizgi { border: 0; border-top: 1px solid #f0f0f0; margin: 20px 0; }
.iletisim-btn-koyu { display: block; text-align: center; background: #2c3e50; padding: 15px; border-radius: 8px; font-size: 1.1rem; margin-top: 30px; margin-bottom: 10px; color: #fff !important; }
.iletisim-btn-wp { display: block; text-align: center; background: #25d366; padding: 15px; border-radius: 8px; font-size: 1.1rem; color: #fff !important; }

/* Daire Kartları - YAN YANA GRID TASARIMI */
.daireler-grid-kapsayici { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; }
.daire-detay-kart { display: flex; flex-direction: column; background-color: transparent; border: 1px solid rgba(0,0,0,0.06); border-radius: 12px; padding: 15px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.daire-detay-kart:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.05); }

/* Küçük, Tıklanabilir Görsel */
.daire-resim-link { position: relative; width: 100%; display: block; border-radius: 8px; overflow: hidden; background-color: transparent; margin-bottom: 15px; }
.daire-kucuk-resim { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform 0.3s ease; }
.daire-resim-link:hover .daire-kucuk-resim { transform: scale(1.05); }
.buyut-ikon { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; opacity: 0; transition: opacity 0.3s ease; }
.daire-resim-link:hover .buyut-ikon { opacity: 1; }

/* Daire Bilgileri ve Video */
.daire-bilgi-icerik { width: 100%; }
.daire-bilgi-icerik h3 { color: var(--primary-color); margin: 0 0 10px 0; font-size: 1.3rem; }
.daire-bilgi-icerik p { color: inherit; font-size: 0.95rem; line-height: 1.6; margin: 0 0 15px 0; }
.daire-video-alani { position: relative; padding-bottom: 56.25%; height: 0; width: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.daire-video-alani iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ==========================================================================
   RESPONSIVE (MOBİL UYUM) - GÜNCELLENDİ
   ========================================================================== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media(max-width: 992px) {
    .detay-grid { grid-template-columns: 1fr; }
    .proje-baslik-alani h1 { font-size: 2.2rem; }
    .info-card { position: relative; top: 0; }
}

@media(max-width: 768px) {
    /* Header & Menü */
    header .container { flex-direction: column; height: auto; padding: 15px; }
    .menu { margin-top: 15px; flex-wrap: wrap; justify-content: center; gap: 12px; }
    .menu a { font-size: 0.95rem; }
    
    /* Hero Slider */
    .hero-slider { height: 60vh; min-height: 400px; }
    .slide-content h2 { font-size: 1.8rem; margin-bottom: 10px; } /* 4rem ve 2.5rem'den 1.8rem'e düşürüldü */
    .slide-content p { font-size: 1rem; margin-bottom: 20px; }
    .btn-slider { padding: 12px 25px; font-size: 1rem; }

    /* Ortak Başlıklar */
    .vitrin-baslik { margin: 50px 0 30px; }
    .vitrin-baslik h2 { font-size: 1.8rem; } /* 2.5rem'den 1.8rem'e düşürüldü */

    /* Sayfa Hero (Projeler vb.) */
    .page-hero { padding: 50px 20px; margin-bottom: 30px; }
    .page-hero h1 { font-size: 1.8rem; } /* 3rem'den 1.8rem'e düşürüldü */
    .page-hero p { font-size: 1rem; }

    /* Portföy ve Proje Kartları */
    .projeler-liste-grid, .portfoy-grid { gap: 20px; padding: 0 15px 40px; }
    .kart-medya, .pk-gorsel { height: 200px; }
    .kart-gövde, .pk-icerik { padding: 20px 15px; } /* 30px padding daraltıldı */
    .kart-gövde h3, .pk-icerik h3 { font-size: 1.2rem; }
    .kart-fiyat, .pk-fiyat { font-size: 1.2rem; }

    /* Dinamik İçerik (Biz Kimiz, Blog vs.) */
    .dinamik-icerik-alani { padding: 25px 20px; margin: 20px 15px 40px; }
    .dinamik-icerik-alani h1 { font-size: 1.8rem; margin-bottom: 20px; }
    .dinamik-icerik-alani h2, .dinamik-icerik-alani h3 { font-size: 1.4rem; margin: 20px 0 10px; }
    .dinamik-icerik-alani p, .dinamik-icerik-alani ul, .dinamik-icerik-alani ol { font-size: 1rem; text-align: left; } /* Telefondaki justify bozukluklarını engellemek için sola yaslandı */

    /* Proje Detay */
    .proje-header { height: 50vh; min-height: 350px; }
    .proje-baslik-alani { bottom: 20px; left: 20px; }
    .proje-baslik-alani h1 { font-size: 1.8rem; }
    .detay-grid { padding: 0 15px 40px; gap: 25px; }
    .info-card, .icerik-alani { padding: 20px; }
    .icerik-alani { font-size: 1rem; }
    .info-item strong { font-size: 1.1rem; }
    .fiyat-etiketi { font-size: 1.4rem !important; }
    
    /* Daire Seçenekleri (Yan Yana Kartlar) */
    .daireler-grid-kapsayici { grid-template-columns: 1fr; gap: 20px; }
    .daire-bilgi-icerik h3 { font-size: 1.15rem; }
    .daire-bilgi-icerik p { font-size: 0.9rem; }
    .alan-baslik { font-size: 1.3rem; }

    /* WhatsApp Butonu */
    .whatsapp-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .whatsapp-btn svg { width: 26px; height: 26px; }
    
    /* Footer */
    footer { padding: 40px 0 20px; }
    .footer-grid { gap: 30px; }
}