/* --- TEMEL AYARLAR --- */
:root {
    --bg-dark: #0b1121;
    --bg-panel: #151e32;
    --primary: #3b82f6;
    --accent: #06b6d4;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #1e293b;
    --code-bg: #1e293b;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.mono { font-family: 'Roboto Mono', monospace; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* Header & Nav */
header {
    position: fixed;
    top: 0; width: 100%;
    padding: 20px 8%;
    background: rgba(11, 17, 33, 0.98);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.5px; }
.logo span { color: var(--primary); }

nav ul { display: flex; gap: 20px; }
nav a { 
    font-size: 0.95rem; font-weight: 500; color: var(--text-muted);
    cursor: pointer; padding: 5px 10px; border-radius: 6px;
}
nav a:hover { color: var(--text-main); background: rgba(255,255,255,0.05); }
nav a.active { color: white; background: var(--primary); }

/* Layout Main Container */
.main-container {
    padding-top: 80px; /* Header payı */
    flex: 1;
}

/* Ortak Bileşenler */
.page-header { margin-bottom: 50px; border-bottom: 1px solid var(--border); padding-bottom: 20px; text-align: center; margin-top: 40px;}
.page-header h1 { font-size: 2.5rem; color: white; }
.page-header p { color: var(--text-muted); }

.btn-main {
    display: inline-block; padding: 15px 40px; background: var(--primary);
    color: white; font-weight: 600; border-radius: 8px; font-size: 1.1rem;
}
.btn-main:hover { background: #2563eb; transform: translateY(-2px); }

.btn-back { display: inline-flex; align-items: center; margin-bottom: 20px; color: var(--accent); font-weight: 600; cursor: pointer; }
.btn-back i { margin-right: 8px; }

/* Footer */
footer { margin-top: auto; text-align: center; padding: 20px; border-top: 1px solid var(--border); color: #475569; font-size: 0.85rem; background-color: #05080f; }

/* Diğer Sayfa Özelleri (Hero, Gridler vb.) */
.hero-section {
    min-height: 70vh; display: flex; flex-direction: column; justify-content: center;
    align-items: center; text-align: center;
    background: radial-gradient(circle at center, #172554 0%, transparent 50%);
    border-bottom: 1px solid var(--border); margin-bottom: 60px;
}
.hero-title { font-size: 4rem; line-height: 1.1; margin-bottom: 25px; font-weight: 800; background: linear-gradient(to bottom right, #fff, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.3rem; color: var(--text-muted); max-width: 700px; margin-bottom: 40px; }

/* Grid Sistemleri */
.projects-grid, .services-grid, .blog-list { 
    display: grid; gap: 30px; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1200px; margin: 0 auto; padding: 0 5%;
}

/* Kart Tasarımları */
.card-base { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: 0.3s; cursor: pointer; display: flex; flex-direction: column; }
.card-base:hover { border-color: var(--primary); transform: translateY(-5px); }

.card-img { height: 200px; background: #1e293b; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); }
.card-body { padding: 25px; }
.tech-tag { font-size: 0.75rem; padding: 3px 8px; background: rgba(59, 130, 246, 0.1); color: var(--primary); border-radius: 4px; margin-right: 5px; font-family: 'Roboto Mono', monospace; }

/* Detay Sayfası Konteyneri */
.detail-view { display: none; max-width: 1000px; margin: 0 auto; padding: 40px 5%; }
.detail-view.active { display: block; }
.list-view { display: block; }
.list-view.hidden { display: none; }

/* About & Contact Specifics */
.about-container { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.contact-wrapper { max-width: 600px; margin: 0 auto; background: var(--bg-panel); padding: 40px; border-radius: 12px; border: 1px solid var(--border); }
.form-control { width: 100%; padding: 12px; background: var(--bg-dark); border: 1px solid var(--border); color: white; border-radius: 6px; margin-bottom: 20px; }
.btn-submit { width: 100%; padding: 14px; background: var(--primary); color: white; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; }

/* Mobile */
@media (max-width: 768px) {
    .about-container { grid-template-columns: 1fr; }
    header { padding: 15px 5%; }
    nav ul { gap: 10px; }
    nav a { font-size: 0.8rem; padding: 5px 8px; }
} 
