/* style.css - Cyber-Tech Sidebar Tema */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-dark: #0f172a;       /* Derin Gece Mavisi */
    --bg-card: rgba(30, 41, 59, 0.7); /* Yarı saydam kart */
    --primary: #22d3ee;       /* Neon Cyan */
    --text-white: #f1f5f9;
    --text-gray: #94a3b8;
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glow: 0 0 20px rgba(34, 211, 238, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at top right, #1e293b 0%, #0f172a 60%);
    color: var(--text-white);
    line-height: 1.6;
    display: flex;
    min-height: 100vh;
}

/* --- SOL MENÜ (SIDEBAR) --- */
nav {
    width: 280px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    border-right: var(--glass-border);
    position: fixed;
    left: 0;
    top: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    margin-bottom: 60px;
    letter-spacing: -1px;
    position: absolute; /* Logoyu en üste sabitle */
    top: 40px;
}

.logo span { color: var(--primary); }

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 1.1rem;
    font-weight: 600;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-radius: 12px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--bg-dark);
    background: var(--primary);
    box-shadow: var(--glow);
    transform: translateX(10px); /* Sağa kayma efekti */
}

/* --- ANA İÇERİK ALANI --- */
main {
    margin-left: 280px; /* Sidebar kadar boşluk bırak */
    padding: 60px 80px;
    flex: 1;
    width: calc(100% - 280px);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    display: block;
}

/* --- CAM KARTLAR (GLASS CARDS) --- */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 35px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--primary);
    opacity: 0.5;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.card h3 {
    color: var(--text-white);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* --- PROJE GRID YAPISI --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* Timeline (Eğitim için) */
.timeline-item {
    border-left: 2px solid var(--primary);
    padding-left: 25px;
    margin-bottom: 30px;
    position: relative;
}
.timeline-item::after {
    content: '';
    position: absolute;
    left: -6px; top: 0;
    width: 10px; height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

/* --- RESPONSIVE (MOBİL) --- */
@media (max-width: 900px) {
    body { flex-direction: column; }
    
    nav {
        width: 100%;
        height: auto;
        position: relative;
        padding: 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-right: none;
        border-bottom: var(--glass-border);
    }
    
    .logo { position: static; margin: 0; font-size: 1.4rem; }
    
    .nav-links {
        flex-direction: row;
        gap: 10px;
    }
    
    .nav-links span { display: none; } /* Mobilde yazıları gizle, sadece ikon kalsın */
    .nav-links a { padding: 10px; justify-content: center; }

    main {
        margin-left: 0;
        width: 100%;
        padding: 40px 20px;
    }
    
    .grid-2 { grid-template-columns: 1fr; }
}