/* =======================================================
   MASAÜSTÜ TEMA (DARK TACTICAL / AERO-DEFENSE)
   ======================================================= */
:root {
    --bg-base: #03060a;
    --panel-bg: rgba(9, 14, 23, 0.8);
    --grid-color: rgba(0, 255, 204, 0.05);
    --text-main: #e2e8f0;
    --accent-cyan: #00ffcc;
    --font-mono: 'Share Tech Mono', monospace;
    --font-head: 'Syncopate', sans-serif;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-mono);
    overflow-x: hidden;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* CRT Ekran Tarama Çizgisi */
.scanline {
    width: 100%; height: 100vh; position: fixed; top: 0; left: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.2));
    background-size: 100% 4px; pointer-events: none; z-index: 999;
    opacity: 0.3;
}

/* Taktiksel Köşelikler */
.corner-border { position: fixed; width: 40px; height: 40px; border: 2px solid var(--accent-cyan); z-index: 100; pointer-events: none; }
.top-left { top: 20px; left: 20px; border-right: none; border-bottom: none; }
.top-right { top: 20px; right: 20px; border-left: none; border-bottom: none; }
.bottom-left { bottom: 20px; left: 20px; border-right: none; border-top: none; }
.bottom-right { bottom: 20px; right: 20px; border-left: none; border-top: none; }

/* Navbar */
#navbar {
    display: flex; justify-content: space-between; padding: 30px 50px;
    font-size: 0.9rem; letter-spacing: 2px;
}
.status { color: var(--accent-cyan); text-shadow: 0 0 10px var(--accent-cyan); animation: pulse 2s infinite; }
.coordinates { color: #5a6a82; }

@keyframes pulse { 0%, 100% {opacity: 1;} 50% {opacity: 0.5;} }

/* Grid Layout (Terminal Düzeni) */
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; padding: 0 50px 50px 50px;
    max-width: 1600px; margin: 0 auto;
}

/* Paneller */
.panel {
    background: var(--panel-bg);
    border: 1px solid rgba(0, 255, 204, 0.2);
    padding: 30px; position: relative;
    backdrop-filter: blur(5px);
}
.panel::before {
    content: ''; position: absolute; top: -1px; left: -1px;
    width: 10px; height: 10px; background: var(--accent-cyan);
}

.hero-panel { grid-column: 1 / 2; grid-row: 1 / 3; }
.cert-panel { grid-column: 2 / 3; grid-row: 1 / 2; }
.project-panel { grid-column: 2 / 3; grid-row: 2 / 3; }
.contact-panel { grid-column: 1 / 3; text-align: center; }

.panel-header {
    font-size: 0.8rem; color: #5a6a82; margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 5px;
    letter-spacing: 3px;
}

/* Tipografi */
h1 { font-family: var(--font-head); font-size: 3rem; margin-bottom: 10px; color: #fff; letter-spacing: -1px;}
.sub-role { color: var(--accent-cyan); font-size: 1rem; margin-bottom: 30px; letter-spacing: 1px;}
.about-data { color: #8fa0b5; line-height: 1.8; font-size: 0.95rem; margin-top: 30px; border-left: 2px solid var(--accent-cyan); padding-left: 15px;}
.about-data p { text-align: justify; }

/* Etiketler (Tech Stack) */
.tech-item {
    display: inline-block; padding: 5px 10px; margin-right: 10px; margin-bottom: 10px;
    border: 1px solid #5a6a82; color: #8fa0b5; font-size: 0.85rem;
}

/* Veri Listesi (Lisanslar) */
.data-list { list-style: none; }
.data-list li { margin-bottom: 20px; position: relative; padding-left: 20px;}
.data-list li::before { content: '>'; position: absolute; left: 0; color: var(--accent-cyan); }
.data-list strong { display: block; color: #fff; font-size: 1.1rem; }
.data-list span { color: #8fa0b5; font-size: 0.9rem; }

/* Taktiksel Kartlar */
.project-grid-tactical { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.tactical-card { border: 1px solid #2a3441; padding: 20px; transition: all 0.3s; background: rgba(0,0,0,0.5);}
.tactical-card:hover { border-color: var(--accent-cyan); background: rgba(0, 255, 204, 0.05); }
.card-head { color: var(--accent-cyan); font-size: 0.9rem; margin-bottom: 10px; font-weight: bold;}
.card-body { color: #8fa0b5; font-size: 0.85rem; }

/* Askeri Buton */
.tactical-btn {
    display: inline-block; padding: 15px 30px; color: var(--accent-cyan);
    text-decoration: none; font-weight: bold; font-size: 1.2rem;
    border: 1px solid var(--accent-cyan); transition: all 0.2s;
    background: transparent; cursor: crosshair;
}
.tactical-btn:hover { background: var(--accent-cyan); color: #000; box-shadow: 0 0 15px var(--accent-cyan); }

/* Boot Screen (Yükleme Ekranı) */
#boot-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: #03060a; z-index: 10000; display: flex;
    flex-direction: column; justify-content: center; padding-left: 10%;
}
.terminal-text p { color: var(--accent-cyan); font-size: 1.2rem; margin-bottom: 10px; opacity: 0; }
.blink { animation: blinker 1s linear infinite; }
@keyframes blinker { 50% { opacity: 0; } }


/* =======================================================
   MOBİL TEMA (AYDINLIK, MODERN VE KURUMSAL)
   ======================================================= */
@media (max-width: 900px) {
    
    /* 1. Kök Renkleri ve Yazı Tiplerini Değiştir */
    :root {
        --bg-base: #f3f4f6; /* Açık kurumsal gri */
        --panel-bg: #ffffff; /* Bembeyaz paneller */
        --text-main: #1f2937; /* Koyu antrasit metin */
        --accent-cyan: #2563eb; /* Kurumsal kraliyet mavisi */
        /* Askeri font yerine modern telefon fontlarına geçiş */
        --font-mono: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        --font-head: system-ui, -apple-system, sans-serif;
    }

    body {
        background-image: none; /* Arka plandaki taktiksel ızgarayı sil */
    }

    /* 2. Taktiksel Öğeleri (HUD) Tamamen Gizle */
    .scanline, .corner-border {
        display: none !important;
    }

    /* 3. Yükleme Ekranını (Boot) Modern Uygulama Açılışına Çevir */
    #boot-screen { background: #ffffff; padding-left: 5%; padding-right: 5%; }
    .terminal-text p { color: #2563eb; font-size: 1rem; font-family: monospace; font-weight: bold; }

    /* 4. Navbar Modernizasyonu (Beyaz zemin, gölge) */
    #navbar { 
        flex-direction: column; 
        text-align: center; 
        gap: 10px; 
        padding: 20px; 
        background: #ffffff;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        margin-bottom: 15px;
    }
    .status { color: #1