/* =====================================================
   ADVANCED TECHNOLOGY - style.css v21.0
   Design: Desktop 480px Logo & Final Mobile Contact Fix
===================================================== */

:root {
    --primary: #2196f3;
    --accent: #42b8ff;
    --accent-glow: rgba(66, 184, 255, 0.3);
    --dark: #05070b;
    --glass: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.12);
    --header-height: 140px;
}

/* Temel Ayarlar */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Inter', sans-serif; 
    background: var(--dark); 
    color: #fff; 
    line-height: 1.6; 
    overflow-x: hidden; 
}

/* Başlıklar */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.5px; }
.section-header { margin-bottom: 50px; text-align: center; position: relative; z-index: 2; }
.section-header h2 { font-size: 42px; text-transform: uppercase; margin-bottom: 10px; }
.line { width: 80px; height: 4px; background: var(--primary); margin: 0 auto; border-radius: 2px; }
.badge { background: var(--primary); color: #fff; padding: 5px 15px; font-size: 12px; font-weight: 700; border-radius: 20px; margin-bottom: 15px; display: inline-block; }

/* --- HEADER & LOGO --- */
header {
    position: fixed; top: 0; width: 100%; height: var(--header-height);
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%; background: rgba(5, 7, 11, 0.95); backdrop-filter: blur(20px);
    z-index: 1000; border-bottom: 1px solid var(--border);
}
.logo-link { text-decoration: none; color: inherit; display: flex; align-items: center; transition: 0.3s; }
.logo { display: flex; align-items: center; gap: 20px; }
.logo img { height: 480px; width: auto; filter: drop-shadow(0 0 15px var(--accent-glow)); }
.logo-text span { font-size: 32px; font-weight: 800; display: block; line-height: 1; letter-spacing: 2px; }
.logo-text small { color: var(--accent); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; }

/* Navigasyon */
.menu-toggle { display: none; font-size: 28px; cursor: pointer; color: var(--accent); z-index: 1100; }
nav { display: flex; align-items: center; }
nav a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; text-transform: uppercase; margin-left: 25px; transition: 0.3s; }
nav a:hover { color: var(--accent); }

.lang-switch {
    display: inline-flex; align-items: center; gap: 8px; margin-left: 30px;
    background: rgba(255,255,255,0.08); padding: 6px 16px; border-radius: 25px; border: 1px solid var(--border);
}
.lang-switch button { background: none; border: none; color: #888; cursor: pointer; font-weight: 800; font-size: 13px; }
.lang-switch button.active { color: var(--accent); }

/* --- SAYFA YAPISI --- */
.full-page {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; padding: 120px 0; background-size: cover; background-position: center; background-attachment: fixed;
}
.full-page::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 7, 11, 0.7); z-index: 1;
}
.container { position: relative; z-index: 2; width: 92%; max-width: 1300px; margin: 0 auto; }

/* --- HERO & BUTONLAR --- */
.hero-content { position: relative; z-index: 2; width: 100%; text-align: center; padding-top: 60px; }
.hero-tag { color: var(--accent); font-weight: 800; letter-spacing: 3px; display: block; margin-bottom: 20px; }
.hero-content h1 { font-size: clamp(30px, 6vw, 70px); margin-bottom: 25px; line-height: 1.1; }
.hero-subtitle { font-size: 20px; color: #ccc; margin-bottom: 40px; max-width: 800px; margin: 0 auto; }
.hero-buttons { margin-bottom: 50px; position: relative; z-index: 10; }

.btn-primary { background: var(--primary); color: #fff !important; padding: 18px 40px; border-radius: 5px; font-weight: 700; text-decoration: none; margin-right: 15px; display: inline-block; transition: 0.3s; border: none; }
.btn-secondary { border: 1px solid #fff; color: #fff !important; padding: 17px 40px; border-radius: 5px; font-weight: 700; text-decoration: none; display: inline-block; transition: 0.3s; }
.btn-primary:hover { background: var(--accent); transform: translateY(-3px); }
.btn-secondary:hover { background: #fff; color: var(--dark) !important; transform: translateY(-3px); }

/* --- GRID SİSTEMLERİ --- */
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.project-grid-detailed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* Kart Stilleri */
.glass-card, .project-card-v2, .why-card, .stat { 
    background: var(--glass); 
    backdrop-filter: blur(10px); 
    padding: 35px; 
    border-radius: 20px; 
    border: 1px solid var(--border); 
    text-align: left; 
    transition: 0.4s; 
    min-height: 100%;
}
.project-card-v2 { min-height: 220px; margin-bottom: 20px; }
.why-card { min-height: 200px; }
.glass-card { min-height: 380px; }
.glass-card ul { list-style: none; padding-top: 15px; }
.glass-card ul li { margin-bottom: 10px; font-size: 15px; position: relative; padding-left: 20px; }
.glass-card ul li::before { content: "•"; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

/* --- HAKKIMIZDA --- */
.about-wrapper { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-text { text-align: left; }
.about-text p { font-size: 18px; color: #ddd; margin-bottom: 25px; line-height: 1.8; }
.info-card { background: var(--glass); border: 1px solid var(--border); padding: 20px 30px; border-radius: 15px; display: flex; align-items: center; gap: 20px; margin-bottom: 15px; text-align: left; }

/* --- FLAGSHIP TECH --- */
.tech-main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; text-align: left; }
.tech-visual-box { width: 100%; max-height: 450px; overflow: hidden; border-radius: 20px; border: 1px solid var(--border); }
.tech-feature-img { width: 100%; height: 450px; object-fit: cover; display: block; }
.tech-main-grid.reverse { direction: rtl; }
.tech-main-grid.reverse > * { direction: ltr; }
.spec-table { background: rgba(0, 0, 0, 0.5); border-radius: 15px; border: 1px solid var(--border); overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); padding: 20px; }
.accent-text { color: var(--accent); font-weight: 800; text-align: right; }

/* --- CONTACT (İLETİŞİM - DÜZELTİLDİ) --- */
.contact-card-final { 
    display: flex; 
    align-items: center; 
    gap: 60px; 
    background: var(--glass); 
    padding: 60px; 
    border-radius: 40px; 
    border: 1px solid var(--border); 
    max-width: 1100px; 
    margin: 0 auto; 
    text-align: left; 
}
.final-profile { 
    width: 250px; 
    height: 250px; 
    border-radius: 50%; 
    border: 5px solid var(--primary); 
    object-fit: cover; 
    flex-shrink: 0; /* Resmin küçülmesini engeller */
}
.final-details { flex-grow: 1; }
.final-details h2 { font-size: 36px; margin-bottom: 10px; }
.role { font-size: 20px; color: var(--accent); font-weight: 700; margin-bottom: 20px; }
.final-info p { font-size: 17px; margin-bottom: 12px; word-break: break-word; } /* Uzun maillerin taşmasını engeller */
.final-info i { color: var(--primary); margin-right: 12px; }

/* --- FOOTER --- */
footer { padding: 40px 0; border-top: 1px solid var(--border); text-align: center; font-size: 14px; color: #666; width: 100%; background: var(--dark); }

/* =====================================================
   RESPONSIVE DESIGN (FULL MOBİL FIX)
   ===================================================== */

@media (max-width: 1100px) {
    .grid-3, .project-grid-detailed, .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .logo img { height: 250px; } 
    .contact-card-final { gap: 30px; padding: 40px; }
}

@media (max-width: 768px) {
    :root { --header-height: 100px; }
    header { height: var(--header-height); padding: 0 15px; }
    .logo img { height: 240px; } 
    .logo-text span { font-size: 18px; }
    .menu-toggle { display: block; }
    
    nav {
        position: fixed; top: 0; right: -100%; width: 75%; height: 100vh;
        background: rgba(5, 7, 11, 0.98); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; transition: 0.4s ease-in-out;
    }
    nav.active { right: 0; }
    nav a { margin: 15px 0; font-size: 18px; text-align: center; width: 100%; }

    .full-page { padding: 80px 0; background-attachment: scroll; }
    .grid-3, .project-grid-detailed, .hero-stats, .why-grid, .about-wrapper, .tech-main-grid, .tech-main-grid.reverse { grid-template-columns: 1fr; text-align: center; }
    
    /* Mobil İletişim Kartı Düzeltmesi */
    .contact-card-final { 
        flex-direction: column; /* Alt alta diz */
        text-align: center; 
        padding: 30px 20px; 
        gap: 30px; 
        border-radius: 25px;
    }
    .final-profile { width: 180px; height: 180px; }
    .final-details h2 { font-size: 28px; }
    .final-info p { font-size: 15px; }

    .project-card-v2, .glass-card, .why-card { min-height: auto; padding: 25px; }
    .tech-visual-box, .tech-feature-img { height: 300px; }
    .hero-content h1 { font-size: 32px; }
    .btn-primary, .btn-secondary { width: 85%; margin: 5px 0; }
}

/* ARKA PLAN RESİMLERİ */
#hero { background-image: url('images/hero-bg.jpg') !important; }
#about { background-image: url('images/about-bg.jpg') !important; }
#expertise { background-image: url('images/expertise-bg.jpg') !important; }
#projects { background-image: url('images/projects-bg.jpg') !important; }
#flagship, #flagship-trn { background-image: url('images/tech-bg.jpg') !important; }
#why-us { background-image: url('images/why-bg.jpg') !important; }
#contact { background-image: url('images/contact-bg.jpg') !important; }

/* Animasyonlar */
.hidden { opacity: 0; transform: translateY(50px); transition: 1s ease-out; }
.show { opacity: 1; transform: translateY(0); }
