/* =========================================
   1. GENEL AYARLAR & SIFIRLAMA
   ========================================= */
:root {
    --primary-color: #000000;
    --text-color: #333333;
    --bg-light: #f9f9f9;
    --border-color: #eeeeee;
}

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

body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    /* Header fixed (sabit) olduğu için içeriği aşağı itiyoruz */
    padding-top: 80px; 
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* İçerik Sınırlayıcı (Ortalamak için) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. HEADER & NAVİGASYON
   ========================================= */
header {
    background: #fff;
    height: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 150px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000;
}

.nav-links li a:hover { color: #666; }

.lang-switch {
    font-size: 14px;
    font-weight: 600;
    margin-left: 10px;
    border-left: 1px solid #ddd;
    padding-left: 15px;
}
.lang-switch span.active { color: #000; }
.lang-switch a { color: #999; }

/* Hamburger Menü (Masaüstünde Gizli) */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    margin-left: 20px;
}

/* =========================================
/* =========================================
   3. PREMIUM PROJECT SLIDER (YENİ HERO)
/* =========================================
   3.1. GİRİŞ BÖLÜMÜ (LOREM IPSUM + SKETCH)
   (Bu bölümü geri getirdik)
   ========================================= */
.hero {
    position: relative;
    height: 80vh; /* Ekranın %80'i */
    /* Orijinal mimari çizim burada duracak */
    background: url('../img/hero-sketch.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Parallax efekt */
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Kutuyu sağa yasla */
    padding-right: 10%;
}

.hero-content {
    background: #fff;
    padding: 60px;
    max-width: 550px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); /* Daha yumuşak gölge */
    position: relative;
    z-index: 2;
}

.hero-content h1 { 
    font-size: 42px; 
    margin-bottom: 25px; 
    color: #000; 
    font-weight: 600;
    font-family: 'Times New Roman', serif; /* Kurumsal font */
}

.hero-content p { 
    color: #555; 
    font-size: 16px; 
    line-height: 1.8; 
}

/* Otonom Özellik: Aşağı Kaydır İkonu */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #000;
    font-size: 24px;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}


/* =========================================
   3.2. PREMIUM PROJECT SLIDER (VİTRİN)
   (Bu bölüm Hero'nun altına gelecek)
   ========================================= */
.hero-slider-area {
    position: relative;
    height: 90vh; /* Vitrin yüksekliği */
    width: 100%;
    overflow: hidden;
    background: #fff; /* Arka planı temiz beyaz yaptık */
    display: flex;
    align-items: center;
    border-top: 1px solid #f0f0f0; /* Üstteki bölümden ayıran çizgi */
}

/* Slayt Kapsayıcısı */
.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* --- SLIDER İÇERİK DÜZENİ --- */
.slide-content {
    width: 45%;
    background: #fff; /* Temiz beyaz zemin */
    padding: 0 5% 0 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.slide-category {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #b71c1c; 
    margin-bottom: 20px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.6s ease 0.2s;
}

.slide-title {
    font-size: 64px;
    font-family: 'Times New Roman', serif;
    color: #000;
    line-height: 1.1;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-50px);
    transition: 0.8s ease 0.4s;
}

.slide-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    max-width: 450px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.6s ease 0.6s;
}

.slide-btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #000;
    color: #000;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: 0.3s;
    width: fit-content;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease, opacity 0.6s ease 0.8s, transform 0.6s ease 0.8s;
}
.slide-btn:hover { background: #000; color: #fff; }

/* Aktif Slayt Animasyonları */
.slide.active .slide-category,
.slide.active .slide-title,
.slide.active .slide-desc,
.slide.active .slide-btn {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- SAĞ TARAF (GÖRSEL) --- */
.slide-image {
    width: 55%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 6s ease;
}
.slide.active .slide-image img { transform: scale(1); }

/* Perde Efekti */
.slide-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #fff;
    transform: translateX(0);
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 5;
}
.slide.active .slide-image::after { transform: translateX(100%); }

/* --- NAVİGASYON --- */
.slider-controls {
    position: absolute;
    bottom: 60px;
    left: 10%;
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 20;
}

.slider-arrows button {
    background: transparent;
    border: 1px solid #ddd;
    width: 50px; height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
    color: #000;
}
.slider-arrows button:hover { border-color: #000; background: #000; color: #fff; }

.slider-counter { font-size: 24px; font-family: 'Times New Roman', serif; color: #000; }
.slider-counter span { font-size: 14px; color: #999; font-family: 'Inter', sans-serif; }

.progress-bar {
    position: absolute;
    bottom: 0; left: 0;
    height: 5px;
    background: #b71c1c;
    width: 0%;
    z-index: 30;
}

/* --- RESPONSIVE AYARLAR --- */
@media (max-width: 768px) {
    .hero { height: auto; padding: 120px 5% 60px; justify-content: center; }
    .hero-content { width: 100%; padding: 30px; }
    
    .hero-slider-area { height: auto; min-height: 80vh; }
    .slide { flex-direction: column-reverse; }
    .slide-content { width: 100%; padding: 40px 20px 100px; text-align: center; align-items: center; }
    .slide-image { width: 100%; height: 40vh; }
    .slide-title { font-size: 32px; }
    .slider-controls { left: 50%; transform: translateX(-50%); bottom: 30px; }
    .slide-image::after { display: none; }
}
/* =========================================
/* =========================================
   4. PROJELER GRID & FILTRELEME (NİHAİ LOGO DÜZELTME)
   ========================================= */
#projects { padding: 60px 0; }

/* Filtre Butonları */
.filters {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.filter-btn {
    border: none;
    background: none;
    margin: 0 15px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #999;
    text-transform: uppercase;
    padding-bottom: 5px;
    transition: 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    color: #000;
    border-bottom: 2px solid #000;
}

/* Grid Yapısı */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.project-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

.project-img-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 8px; /* Köşeleri yumuşat */
}

/* Ana Proje Resmi Ayarları */
.project-img-wrapper > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

/* --- HOVER EFEKTLERİ (DÜZELTİLDİ) --- */

/* KRİTİK DÜZELTME: ">" işareti ile sadece ana resmi hedefle, logoyu değil */
.project-card:hover .project-img-wrapper > img {
    transform: scale(1.1); /* Büyüt */
    filter: blur(4px);     /* Sadece arkadaki resmi bulanıklaştır */
}

.hover-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Koyu perde */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    /* Logoyu içeri itmek için güvenli alan */
    padding: 30px; 
    box-sizing: border-box;
}

.project-card:hover .hover-overlay { opacity: 1; }

.hover-logo {
    /* Logo Ayarları (Keskin kalacak) */
    width: auto !important; 
    height: auto !important;
    
    /* Maksimum sınırlar */
    max-width: 90%; 
    max-height: 80px; /* Logolar çok büyümesin */
    
    object-fit: contain; 
    display: block;
    
    /* JPG logolar için hafif gölge ve köşe yumuşatma */
    border-radius: 4px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); /* Blur yerine gölge ver ki öne çıksın */
}

.project-info {
    text-align: center;
    padding-top: 15px;
}
.project-info h3 { font-size: 15px; font-weight: 600; color: #000; }


/* =========================================
   5. PROJE DETAY SAYFASI
   ========================================= */
.breadcrumb {
    padding: 20px 0;
    font-size: 13px;
    color: #888;
    background: #f9f9f9;
}
.breadcrumb .container { display: flex; align-items: center; }
.breadcrumb a { font-weight: 600; color: #000; }
.breadcrumb span { margin: 0 8px; }

.project-detail-header { padding: 50px 0; }
.project-title { font-size: 32px; font-weight: 300; margin-bottom: 20px; }

.project-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.meta-item strong { display: block; font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 1px; }
.meta-item span { font-size: 15px; font-weight: 500; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding-bottom: 60px;
}
.gallery-item {
    height: 200px;
    overflow: hidden;
    cursor: zoom-in;
    border-radius: 4px;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: 0.4s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* Lightbox (Tam Ekran Galeri) */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}
.lightbox.active { display: flex; }
.lightbox-img { max-width: 90%; max-height: 90vh; box-shadow: 0 0 30px rgba(0,0,0,0.5); }
.lightbox-close {
    position: absolute; top: 30px; right: 40px;
    color: #fff; font-size: 40px; cursor: pointer;
}

/* =========================================
   6. İLETİŞİM SAYFASI
   ========================================= */
.contact-container {
    display: flex;
    gap: 50px;
    margin: 50px auto;
}
.contact-info, .contact-form-wrapper { flex: 1; }

.info-item { display: flex; gap: 15px; margin-bottom: 25px; }
.info-item i { color: #000; font-size: 18px; margin-top: 5px; }

.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 600; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px;
    border: 1px solid #ddd; border-radius: 4px;
}
.submit-btn {
    background: #000; color: #fff;
    padding: 15px 30px; border: none;
    cursor: pointer; font-weight: 600; width: 100%;
}

/* =========================================
   7. FOOTER (SİYAH TASARIM)
   ========================================= */
footer {
    background-color: #0d0d0d;
    color: #fff;
    padding: 70px 0 30px;
    margin-top: 50px;
    font-size: 14px;
    position: relative;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid #222;
}

.footer-col { flex: 1; min-width: 250px; margin-bottom: 30px; }

.footer-logo { height: 115px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.slogan { color: #888; font-size: 13px; }

.contact-col h4 { color: #fff; margin-bottom: 20px; font-size: 14px; letter-spacing: 1px; }
.contact-row { display: flex; gap: 15px; margin-bottom: 15px; color: #ccc; }
.contact-row i { color: #b71c1c; margin-top: 5px; }

.footer-bottom { margin-top: 30px; font-size: 12px; color: #555; }
.bottom-flex { display: flex; justify-content: space-between; }

/* Sabit Butonlar */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background: #25d366; color: #fff;
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.scroll-top-btn {
    position: absolute; bottom: 40px; right: 100px;
    background: #b71c1c; color: #fff;
    width: 40px; height: 40px; border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
}

/* =========================================
   8. RESPONSIVE (MOBİL UYUMLULUK)
   ========================================= */
@media (max-width: 1024px) {
    /* Tablette Grid 2'ye düşsün */
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* HEADER MOBİL */
    .hamburger { display: block; }
    
    .nav-links {
        position: absolute;
        top: 80px; left: 0; width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none; /* JS ile açılacak */
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
    .lang-switch { margin: 15px 0 0; padding: 0; border: none; }

    /* HERO MOBİL */
    .hero { height: auto; padding: 100px 5% 50px; justify-content: center; }
    .hero-content { width: 100%; text-align: center; }

    /* PROJELER MOBİL */
    .projects-grid { grid-template-columns: 1fr; } /* Tek sütun */
    .filters { display: flex; flex-direction: column; gap: 10px; }
    .filter-btn { border-bottom: 1px solid #eee; padding: 10px; margin: 0; }

    /* FOOTER MOBİL */
    .footer-content { flex-direction: column; gap: 20px; }
    .scroll-top-btn { right: 20px; bottom: 90px; } /* WhatsApp'ın üstüne al */
    .contact-container { flex-direction: column; }
    
    .project-meta { flex-direction: column; gap: 15px; }
}
/* =========================================
   6. İLETİŞİM SAYFASI (DETAYLI TASARIM)
   ========================================= */

/* Ana Kapsayıcı: Flexbox ile Yan Yana */
.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 60px auto; /* Üstten/Alttan boşluk */
    padding: 0 20px;
    gap: 60px; /* Sol ve Sağ blok arasındaki boşluk */
}

/* --- SOL TARA (BİLGİ & HARİTA) --- */
.contact-info {
    flex: 1; /* Alanı eşit paylaş */
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 300; /* İnce font, minimalist hava */
    margin-bottom: 20px;
    color: #000;
}

.info-text {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 15px;
}

/* İkonlu Bilgi Satırları */
.info-item {
    display: flex;
    align-items: flex-start; /* İkon ile yazıyı üstten hizala */
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 20px;
    color: #b71c1c; /* Footer'daki kırmızının aynısı (Kurumsal bütünlük) */
    margin-top: 5px; /* İkonu biraz aşağı it */
}

.info-item strong {
    display: block;
    color: #000;
    font-size: 14px;
    margin-bottom: 2px;
}

.info-item div {
    font-size: 14px;
    color: #444;
}

/* Harita Çerçevesi */
.map-wrapper {
    margin-top: 40px;
    border-radius: 8px; /* Köşeleri yumuşat */
    overflow: hidden;
    height: 300px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); /* Hafif gölge */
    border: 1px solid #eee;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* --- SAĞ TARAF (FORM ALANI) --- */
.contact-form-wrapper {
    flex: 1;
    background: #f8f8f8; /* Formu ayırmak için hafif gri zemin */
    padding: 40px;
    border-radius: 8px;
    height: fit-content; /* İçerik kadar yükseklik */
}

.contact-form-wrapper h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #000;
}

/* Form Elemanları */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    color: #555;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Tıklayınca (Focus) Oluşan Efekt */
.form-group input:focus, 
.form-group textarea:focus {
    border-color: #000; /* Siyah çerçeve */
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

/* Gönder Butonu */
.submit-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 16px 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #333; /* Hover rengi */
}

/* Başarı / Hata Mesajları */
.alert {
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- RESPONSIVE (MOBİL AYARLAR) --- */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* Alt alta diz */
        gap: 40px;
        margin-top: 40px;
    }

    .contact-form-wrapper {
        padding: 25px; /* Mobilde paddingi azalt */
    }

    .map-wrapper {
        height: 250px;
    }
}

/* =========================================
   7. FOOTER (GÜNCELLENMİŞ PREMIUM TASARIM)
   ========================================= */
footer {
    /* Eski düz renk yerine, Resim + Siyah Perde karışımı */
    background: linear-gradient(rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.96)), url('../img/hero-sketch.jpg');
    background-size: cover;      /* Resmi alana yay */
    background-position: center; /* Ortala */
    background-attachment: fixed; /* OTONOM ÖZELLİK: Parallax Efekti (Aşağıda açıkladım) */
    
    color: #fff;
    padding: 70px 0 30px;
    margin-top: 50px;
    font-size: 14px;
    position: relative;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Çizgiyi daha silik yaptık */
}

.footer-col { flex: 1; min-width: 250px; margin-bottom: 30px; }

/* Logoyu beyaza çevir ve biraz parlaklık ver */
.footer-logo { 
    height: 35px; 
    margin-bottom: 20px; 
    filter: brightness(0) invert(1); 
    opacity: 0.9; 
}

.slogan { color: #888; font-size: 13px; }

.contact-col h4 { color: #fff; margin-bottom: 20px; font-size: 14px; letter-spacing: 1px; }

/* İletişim satırlarını biraz daha belirginleştirdik */
.contact-row { display: flex; gap: 15px; margin-bottom: 15px; color: #ccc; }
.contact-row i { color: #b71c1c; margin-top: 5px; }

.footer-bottom { margin-top: 30px; font-size: 12px; color: #666; }
.bottom-flex { display: flex; justify-content: space-between; }

/* WhatsApp Butonu (Aynen kalıyor) */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background: #25d366; color: #fff;
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Yukarı Çık Butonu (Kırmızı) */
.scroll-top-btn {
    position: absolute; bottom: 100px; right: 50px;
    background: #b71c1c; color: #fff;
    width: 40px; height: 40px; border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s;
}
.scroll-top-btn:hover { background: #900; }
