/* =========================================
   1. GENEL AYARLAR VE RENK PALETİ
   ========================================= */
:root {
    /* --- ZEMİN RENKLERİ --- */
    --bg-main: #141414;       /* Ana Arka Plan: Parlak/Yumuşak Siyah */
    --bg-anthracite: #050505; /* Detaylar (Kartlar, Footer): Ultra Koyu Antrasit */
    
    /* --- ÇİZGİ VE VURGU --- */
    --line-color: rgba(255, 255, 255, 0.7); /* İnce, zarif beyaz çizgiler */
    --accent: #ffffff;        /* Vurgu Rengi: Beyaz */
    
    /* --- METİN RENKLERİ --- */
    --text-main: #ffffff;     /* Ana Metinler */
    --text-muted: #b0bec5;    /* İkincil/Silik Metinler */
    
    /* --- DİĞER --- */
    --transition: all 0.3s ease-in-out; /* Animasyon hızı */
}

/* Sıfırlama */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { 
    scroll-behavior: smooth; /* Yumuşak kaydırma */
    scroll-padding-top: 110px; /* Header altı payı */
}

body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: var(--bg-main); 
    color: var(--text-main); 
    line-height: 1.6; 
    overflow-x: hidden; 
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* =========================================
   2. HEADER (ÜST MENÜ)
   ========================================= */
header {
    height: 100px;
    display: flex; align-items: center;
    position: fixed; top: 0; width: 100%; z-index: 1000;
    
    /* Hafif transparan koyu zemin */
    background: rgba(5, 5, 5, 0.95); 
    /* Altına boydan boya beyaz çizgi */
    border-bottom: 1px solid var(--line-color); 
    
    backdrop-filter: blur(10px); /* Arka planı bulanıklaştır */
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

/* Sayfa aşağı kayınca header küçülür (JS ile tetiklenir) */
header.scrolled { height: 80px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.navbar { display: flex; justify-content: space-between; align-items: center; }

/* --- LOGO TASARIMI --- */
.logo-wrapper { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-box { 
    display: flex; align-items: center; 
    border: 2px solid var(--text-main); 
    padding: 8px 15px;
    background: rgba(255,255,255,0.02);
}
.logo-title {
    font-size: 24px; font-weight: 900; letter-spacing: -1px; line-height: 1;
    border-right: 2px solid var(--text-main); padding-right: 12px; margin-right: 12px;
    color: var(--text-main);
}
.logo-subtitle {
    display: flex; flex-direction: column; font-size: 10px; font-weight: 700; 
    letter-spacing: 2px; line-height: 1.2; color: var(--text-muted);
}

/* --- MENÜ LİNKLERİ --- */
.nav-links { display: flex; gap: 20px; margin: 0 20px; }
.nav-links a { 
    font-weight: 600; font-size: 13px; text-transform: uppercase; 
    color: var(--text-main); position: relative; letter-spacing: 0.5px;
    white-space: nowrap; 
}
.nav-links a:hover { color: var(--text-muted); }
/* Link altı çizgi animasyonu */
.nav-links a::after { 
    content: ''; position: absolute; width: 0; height: 1px; bottom: -5px; left: 0; 
    background-color: var(--text-main); transition: 0.3s; 
}
.nav-links a:hover::after { width: 100%; }

/* --- SAĞ TARAF (BUTON & TELEFON) --- */
.header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; flex-wrap: nowrap; }

/* Telefon Numarası */
.header-phone {
    font-weight: 800; font-size: 18px; color: var(--text-main);
    letter-spacing: 1px; display: flex; align-items: center; gap: 8px;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(255,255,255,0.1);
}
.header-phone i { color: var(--text-main); font-size: 20px; }

/* İletişim Butonu */
.btn-contact { 
    background: var(--bg-anthracite); 
    color: var(--text-main); 
    padding: 10px 25px; font-weight: 700; font-size: 13px; 
    border-radius: 2px; 
    border: 1px solid var(--line-color); 
    white-space: nowrap; transition: 0.3s;
}
.btn-contact:hover { 
    background: var(--text-main); 
    color: #000; 
    border-color: var(--text-main);
}

.hamburger { display: none; font-size: 24px; cursor: pointer; color: var(--text-main); }

/* =========================================
   3. GENEL BÖLÜM YAPISI
   ========================================= */
section { 
    position: relative; width: 100%; 
    /* Her bölümün altına ince beyaz çizgi */
    border-bottom: 1px solid var(--line-color); 
}

.section-padding { padding: 100px 0; }

/* Koyu arka planlı bölümler (Hizmetler vb.) */
.bg-anthracite { 
    background-color: #080808; 
    border-top: 1px solid var(--line-color); 
    border-bottom: 1px solid var(--line-color); 
}

.sub-heading { color: var(--text-muted); font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 10px;}
.section-heading { color: var(--text-main); font-size: 36px; font-weight: 800; margin-bottom: 40px; }

/* =========================================
   4. SLIDER (ANASAYFA)
   ========================================= */
.hero-slider { height: 100vh; position: relative; overflow: hidden; background: #000; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 0; }
.slide.active { opacity: 1; z-index: 1; } /* Aktif slayt görünür */

/* Slayt üzerindeki karartma perdesi */
.hero-overlay-dark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.9)); z-index: 1; }

.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 0 20px; }
.hero-content h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; line-height: 1.2; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.hero-content .highlight { color: #cfd8dc; border-bottom: 2px solid #fff; }

.btn-hero { background: var(--bg-anthracite); border: 1px solid var(--line-color); color: var(--text-main); padding: 15px 40px; font-weight: 700; border-radius: 2px; margin-top: 20px; display: inline-block; letter-spacing: 1px;}
.btn-hero:hover { background: var(--text-main); color: #000; }

/* =========================================
   5. HAKKIMIZDA & HİZMETLER
   ========================================= */
/* Hakkımızda */
.about-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { color: var(--text-muted); margin-bottom: 20px; }
.about-features li { margin-bottom: 12px; font-weight: 600; display: flex; align-items: center; gap: 10px; color: var(--text-main); }
.about-features i { color: var(--text-main); font-size: 18px; }

/* Hakkımızda Resmi (RENKLİ) */
.about-image img { 
    width: 100%; 
    border-radius: 2px; 
    border: 1px solid var(--line-color); 
    transition: 0.5s; 
}
.about-image img:hover { border-color: var(--text-main); }

/* Hizmetler Kartları */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { 
    background: var(--bg-anthracite); 
    padding: 50px 30px; text-align: center; 
    border: 1px solid var(--line-color); 
    transition: 0.3s; 
}
.service-card:hover { transform: translateY(-10px); background: #111; box-shadow: 0 10px 30px rgba(0,0,0,0.9); }
.icon-box { font-size: 45px; color: var(--text-main); margin-bottom: 25px; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 15px; color: var(--text-main); }
.service-card p { color: var(--text-muted); font-size: 0.9rem; }

/* =========================================
   6. PROJELER (KARTLAR & WATERMARK)
   ========================================= */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 40px; }
.project-item { 
    position: relative; height: 380px; overflow: hidden; border-radius: 2px; cursor: pointer; 
    background: #000; 
    border: 1px solid var(--line-color);
}
.project-thumb-wrapper { position: relative; width: 100%; height: 100%; }

/* Proje Resmi (RENKLİ) */
.project-thumb-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.8s; 
    opacity: 0.9; 
}

/* Watermark (Logo Damgası) */
.watermark-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    background: rgba(0,0,0,0.5); pointer-events: none; z-index: 2;
}
.wm-logo {
    display: flex; align-items: center; justify-content: center;
    border: 3px solid rgba(255,255,255,0.4);
    padding: 15px 30px;
    transform: rotate(-10deg);
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(5px);
}
.wm-title { font-size: 28px; font-weight: 900; color: #fff; border-right: 3px solid #fff; padding-right: 15px; margin-right: 15px; line-height: 1; letter-spacing: -1px; }
.wm-sub { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 3px; line-height: 1.2; display: flex; flex-direction: column; }

.project-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.95), transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; z-index: 3; }
.project-info h3 { color: #fff; font-size: 22px; margin-bottom: 8px; font-weight: 700; }
.status-badge { display: inline-block; padding: 5px 12px; background: var(--bg-anthracite); color: #fff; border: 1px solid #fff; font-size: 11px; border-radius: 2px; text-transform: uppercase; font-weight: 700; letter-spacing: 1px;}

.project-item:hover img { transform: scale(1.1); opacity: 0.6; }

/* Projeler Sayfası Özel */
.projects-full-page { padding-top: 150px; min-height: 100vh; background: var(--bg-main); }

/* =========================================
   7. İLETİŞİM / FOOTER
   ========================================= */
footer { 
    background: var(--bg-anthracite); 
    border-top: 1px solid var(--line-color); 
}
.contact-split-wrapper { display: grid; grid-template-columns: 1fr 1fr; height: 500px; }
.contact-info-side { padding: 50px 80px; display: flex; flex-direction: column; justify-content: center; }
.contact-map-side iframe { width: 100%; height: 100%; filter: grayscale(100%) invert(90%); transition: 0.5s; }
.contact-map-side iframe:hover { filter: grayscale(0%) invert(0%); }

/* Footer içi Logo */
.contact-info-side .logo-title { color: #fff !important; border-color: #fff !important; }
.contact-info-side .logo-subtitle { color: #ccc !important; }
.contact-info-side .logo-box { border-color: #fff !important; }

.contact-list li { margin-bottom: 20px; display: flex; gap: 20px; color: var(--text-muted); align-items: flex-start; }
.contact-list i { color: #fff; font-size: 20px; margin-top: 3px; }

.social-icons a { display: inline-flex; width: 40px; height: 40px; border: 1px solid var(--line-color); color: #fff; justify-content: center; align-items: center; border-radius: 50%; margin-right: 10px; transition: 0.3s; }
.social-icons a:hover { background: #fff; color: #000; border-color: #fff; }

.copyright { margin-top: 30px; font-size: 12px; color: #666; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }

/* =========================================
   8. MODAL (POPUP GALERİ)
   ========================================= */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.95); backdrop-filter: blur(5px); overflow-y: auto; }
.modal-content { background-color: var(--bg-anthracite); margin: 5vh auto; width: 90%; max-width: 1100px; border: 1px solid var(--line-color); border-radius: 2px; overflow: hidden; position: relative; }
.close-btn { position: absolute; right: 20px; top: 15px; font-size: 30px; font-weight: bold; cursor: pointer; z-index: 20; color: #fff; }
.modal-body { display: grid; grid-template-columns: 1.6fr 1fr; min-height: 500px; }
.modal-gallery-container { position: relative; background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden; height: 100%; }
.modal-slide { display: none; width: 100%; height: 100%; object-fit: contain; }
.modal-slide.active-img { display: block; animation: fade 0.5s; }
.prev, .next { cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); padding: 20px; color: white; font-weight: bold; font-size: 24px; background: rgba(0,0,0,0.5); z-index: 10; user-select: none; }
.next { right: 10px; } .prev { left: 10px; }

.modal-text { padding: 50px; overflow-y: auto; color: var(--text-muted); }
.modal-text h2 { font-size: 28px; margin-bottom: 10px; color: var(--text-main); font-weight: 800; }
.modal-desc { margin: 20px 0; color: #aaa; line-height: 1.8; font-size: 15px; }
.modal-details { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line-color); }
.modal-details li { margin-bottom: 15px; display: flex; gap: 15px; color: #fff; font-size: 15px; align-items: center; }
.modal-details i { color: #fff; font-size: 18px; width: 25px; text-align: center; }

@keyframes fade { from {opacity: 0.4} to {opacity: 1} }

/* =========================================
   9. MOBİL UYUMLULUK (RESPONSIVE)
   ========================================= */
@media (max-width: 992px) {
    .header-actions { display: none; } /* Masaüstü butonu gizle */
    .hamburger { display: block; } /* Hamburger menüyü aç */
    
    .nav-links { 
        display: none; position: absolute; top: 100px; right: 0; width: 100%; 
        background: rgba(5,5,5,0.98); flex-direction: column; padding: 30px; 
        border-bottom: 1px solid var(--line-color); border-top: 1px solid var(--line-color);
    }
    .nav-links.nav-active { display: flex; }
    .nav-links a { width: 100%; text-align: center; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
    
    /* Mobil Menü İçine Numara Ekle */
    .nav-links::after {
        content: '0212 813 29 52';
        color: #fff;
        font-weight: 700;
        margin-top: 20px;
        text-align: center;
        font-size: 16px;
    }

    .hero-content h1 { font-size: 2.2rem; }
    .about-wrapper, .modal-body, .contact-split-wrapper { grid-template-columns: 1fr; height: auto; }
    .contact-map-side { height: 350px; }
    .contact-info-side { padding: 40px 20px; }
    .section-padding { padding: 60px 0; }
    
    .wm-title { font-size: 20px; padding-right: 10px; margin-right: 10px; }
    .wm-sub { font-size: 9px; }
    .wm-logo { padding: 10px 20px; }
}