/* --- PIXEL ART VARIABLES --- */
:root {
    --bg-color: #212529;        /* Koyu Gri Arka Plan */
    --pixel-bg: #ffffff;        /* Beyaz Panel */
    --primary: #3b82f6;         /* Pixel Mavi */
    --accent: #ef4444;          /* Pixel Kırmızı (Start Button) */
    --success: #22c55e;         /* Pixel Yeşil */
    --warning: #f59e0b;         /* Pixel Sarı */
    --text-color: #212529;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --font-pixel: 'VT323', monospace;
    --max-width: 1000px;
}

/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-pixel);
    line-height: 1.4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Kareli Arka Plan Deseni */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    font-size: 1.2rem;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { 
    width: 100%; height: auto; display: block; 
    /* Pikselleştirme efekti için */
    image-rendering: pixelated; 
}

/* --- PIXEL BORDER MIXIN (CSS Box Shadow ile) --- */
.pixel-box {
    background: var(--pixel-bg);
    position: relative;
    margin: 10px;
    padding: 20px;
    box-shadow:
        -4px 0 0 0 black,
        4px 0 0 0 black,
        0 -4px 0 0 black,
        0 4px 0 0 black;
    margin-bottom: 30px;
}

/* --- HEADER --- */
header {
    background: #000;
    padding: 20px 0;
    border-bottom: 4px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.5rem;
    color: var(--warning);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 4px 4px 0 #000;
}
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 20px; }

.nav-links a {
    color: white;
    font-size: 1.4rem;
    text-transform: uppercase;
    padding: 5px 10px;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--warning);
    text-shadow: 2px 2px 0 #000;
    /* Altına piksel çizgi */
    background-image: linear-gradient(to right, var(--warning) 50%, transparent 50%);
    background-position: bottom;
    background-size: 8px 2px;
    background-repeat: repeat-x;
}

.burger { 
    display: none; 
    cursor: pointer; 
    color: white; 
    font-size: 2rem; 
    background: var(--primary);
    padding: 5px 10px;
    box-shadow: 4px 4px 0 0 black;
}
.burger:active { transform: translate(4px, 4px); box-shadow: none; }

/* --- LAYOUTS --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* --- COMPONENTS --- */
.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    font-family: var(--font-pixel);
    font-size: 1.5rem;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    box-shadow: 
        inset -4px -4px 0px 0px rgba(0,0,0,0.5),
        4px 4px 0px 0px black;
    transition: transform 0.1s;
}

.btn:active {
    transform: translate(4px, 4px);
    box-shadow: inset -4px -4px 0px 0px rgba(0,0,0,0.5);
}

.btn-red { background: var(--accent); }
.btn-green { background: var(--success); }

/* Retro TV Frame for Video */
.tv-frame {
    background: #333;
    padding: 20px;
    border-radius: 20px; /* TV köşesi */
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.8),
        10px 10px 0 black;
    position: relative;
}
.tv-screen {
    border: 4px solid #111;
    border-radius: 50px / 10px; /* Hafif kavisli ekran */
    overflow: hidden;
    position: relative;
}
.tv-screen::after {
    content: "REC ●";
    position: absolute;
    top: 10px; left: 15px;
    color: red;
    font-size: 1.2rem;
    animation: blink 1s infinite;
    pointer-events: none;
}
@keyframes blink { 50% { opacity: 0; } }

/* --- TYPOGRAPHY --- */
h1 { font-size: 3.5rem; line-height: 1; margin-bottom: 20px; color: var(--primary); text-shadow: 3px 3px 0 rgba(0,0,0,0.2); }
h2 { font-size: 2.5rem; margin-bottom: 20px; border-bottom: 4px solid var(--text-color); display: inline-block; }
p { font-size: 1.3rem; margin-bottom: 20px; }

/* --- FORMS --- */
.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 5px; font-size: 1.4rem; color: var(--primary); }
input, textarea, select {
    width: 100%;
    padding: 10px;
    font-family: var(--font-pixel);
    font-size: 1.2rem;
    border: 4px solid black;
    background: #eee;
    outline: none;
}
input:focus, textarea:focus { background: white; border-color: var(--primary); }

/* --- FOOTER --- */
footer {
    background: #000;
    color: white;
    padding: 40px 0;
    margin-top: auto;
    border-top: 4px solid var(--warning);
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.tr-phone {
    font-size: 2rem;
    color: var(--y2k-lime);
    background: #222;
    padding: 5px 15px;
    border: 2px solid white;
}

.copyright { font-size: 1rem; color: #888; margin-top: 20px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute; top: 100%; left: 0; width: 100%;
        background: #000;
        flex-direction: column; padding: 20px; text-align: center;
        border-bottom: 4px solid var(--primary);
    }
    .nav-links.active { display: flex; }
    .burger { display: block; }
    
    .grid-2 { grid-template-columns: 1fr; }
    h1 { font-size: 2.5rem; }
    .footer-content { flex-direction: column; }
}