:root {
    --primary: #D81E28;      /* AutoTuned Kırmızısı */
    --bg-dark: #0a0a0a;      /* Zemin Rengi */
    --card-bg: #141414;      /* Kart Rengi */
    --text-white: #ffffff;
    --text-muted: #888888;
    --border-color: #2a2a2a;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
}

/* --- 1. NAVIGASYON (HEADER) --- */
.top-nav {
    position: absolute;
    top: 0; left: 0; width: 100%;
    padding: 25px 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex;
    justify-content: center; /* Logoyu ortalar */
    align-items: center;
    position: relative;
}
.nav-logo { height: 35px; }

/* Logoyu Beyaz Yapma Filtresi */
.white-filter { filter: brightness(0) invert(1); }

.back-link {
    position: absolute; right: 20px;
    color: white; text-decoration: none; font-size: 0.9rem;
    opacity: 0.8; transition: 0.3s;
}
.back-link:hover { opacity: 1; color: var(--primary); }


/* --- 2. HERO BÖLÜMÜ --- */
.join-hero {
    height: 70vh; min-height: 500px;
    background: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&q=80') center/cover;
    position: relative;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 20px; }

.tagline { color: var(--primary); letter-spacing: 3px; font-weight: bold; font-size: 0.8rem; }
.join-hero h1 {
    font-family: 'Teko', sans-serif;
    font-size: 5rem;
    margin: 10px 0;
    line-height: 1;
    text-transform: uppercase;
}
.join-hero p { font-size: 1.1rem; color: #ddd; max-width: 600px; margin: 0 auto; }


/* --- 3. BAŞVURU BUTONU (CTA) - DÜZELTİLMİŞ --- */
.cta-button {
    display: inline-block;
    margin-top: 35px;            /* Yazıdan ayır */
    text-decoration: none;
    background-color: var(--primary);
    color: white;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid transparent;
}
.cta-button:hover {
    background-color: white;
    color: black;
    border-color: white;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4); /* Glow efekti */
    transform: translateY(-3px);
}


/* --- 4. PROGRAMLAR (KARTLAR) - KOMPAKT TASARIM --- */
.programs-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px auto; }
.sub-title { color: var(--primary); font-weight: bold; letter-spacing: 2px; font-size: 0.8rem; display: block; margin-bottom: 10px; }
.section-header h2 { font-family: 'Teko', sans-serif; font-size: 3.5rem; margin: 0 0 15px 0; line-height: 1; color: white; }
.section-header p { color: var(--text-muted); }

/* Grid Düzeni */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Kart Stili */
.program-card {
    background: #111;
    border: 1px solid #222;
    padding: 25px;               /* Kompakt boşluk */
    border-radius: 8px;
    transition: 0.3s;
    position: relative;
    display: flex; flex-direction: column;
    min-height: 280px;
}
.program-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(216, 30, 40, 0.15);
}

/* Kart İkonu */
.card-icon {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 15px;
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
}

/* Kart Metinleri */
.program-card h3 { margin: 0 0 10px 0; font-size: 1.3rem; color: white; font-weight: 600; }
.program-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; margin-bottom: 15px; }

/* Kart Listesi */
.features-list { list-style: none; padding: 0; margin: 0 0 20px 0; }
.features-list li { margin-bottom: 6px; color: #ccc; font-size: 0.85rem; display: flex; align-items: center; gap: 8px; }
.features-list li i { color: var(--primary); font-size: 0.7rem; }

/* Kart Rozeti */
.program-card.featured { background: linear-gradient(145deg, #161616, #0f0f0f); border-color: #333; }
.card-badge { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.1); color: white; font-size: 0.65rem; padding: 3px 6px; border-radius: 4px; }

/* Kart Butonu (Glow) */
.glow-btn {
    margin-top: auto;
    display: block; text-align: center;
    padding: 10px;
    background: transparent; color: white;
    text-decoration: none; font-weight: 600;
    border: 1px solid #333; border-radius: 4px;
    transition: 0.3s;
    text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.5px;
}
.glow-btn:hover { background: white; color: black; box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); border-color: white; }
.glow-btn.btn-red { background: var(--primary); border-color: var(--primary); }
.glow-btn.btn-red:hover { background: #ff3b47; box-shadow: 0 0 20px rgba(216, 30, 40, 0.5); color: white; }


/* --- 5. FORM ALANI (Apply Sayfası İçin) --- */
.app-section {
    padding-top: 100px;
    padding-bottom: 0; /* Footer ile boşluk olmasın diye 0 */
    background: linear-gradient(var(--bg-dark), #111);
    display: flex; justify-content: center;
}
.form-wrapper {
    display: flex; width: 100%; max-width: 900px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    margin-bottom: 60px; /* Form ile footer arasına biraz nefes payı */
}

/* Sol Panel */
.form-info {
    width: 35%; background: #1a1a1a; padding: 40px;
    border-right: 1px solid var(--border-color);
    display: flex; flex-direction: column; justify-content: center;
}
.form-info h2 { font-family: 'Teko', sans-serif; font-size: 3rem; line-height: 1; margin-bottom: 40px; color: var(--primary); }
.steps-list { display: flex; flex-direction: column; gap: 20px; }
.step-item { display: flex; align-items: center; opacity: 0.4; transition: 0.3s; }
.step-item.active { opacity: 1; }
.step-item .num { font-weight: bold; margin-right: 15px; font-size: 1.2rem; }
.step-item .text { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.info-note { margin-top: auto; font-size: 0.8rem; color: var(--text-muted); }

/* Sağ Panel (Form) */
.form-content { width: 65%; padding: 40px; position: relative; }
.form-step { display: none; animation: slideIn 0.4s ease; }
.active-step { display: block; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

.form-step h3 { font-size: 1.5rem; margin-top: 0; margin-bottom: 30px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
.input-group { margin-bottom: 25px; }
.input-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-muted); }
.input-group input, .input-group textarea {
    width: 100%; padding: 15px;
    background: #0f0f0f; border: 1px solid var(--border-color);
    color: white; border-radius: 4px; font-family: 'Inter', sans-serif;
    transition: 0.3s; box-sizing: border-box;
}
.input-group input:focus, .input-group textarea:focus { border-color: var(--primary); outline: none; }

/* Rol Seçimi */
.role-selector { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 30px; }
.role-option input { display: none; }
.role-option .box {
    background: #0f0f0f; border: 1px solid var(--border-color);
    padding: 20px 10px; text-align: center; border-radius: 4px;
    cursor: pointer; transition: 0.2s;
}
.role-option .box i { font-size: 1.5rem; display: block; margin-bottom: 10px; color: var(--text-muted); }
.role-option input:checked + .box { border-color: var(--primary); background: rgba(216, 30, 40, 0.05); }
.role-option input:checked + .box i { color: var(--primary); }

/* Form Butonları */
.btn-row { display: flex; justify-content: space-between; margin-top: 30px; }
.btn-row.right { justify-content: flex-end; }
button { padding: 12px 25px; border-radius: 4px; cursor: pointer; font-weight: 600; border: none; }
.next-btn { background: white; color: black; }
.next-btn:hover { background: #ddd; }
.prev-btn { background: transparent; color: var(--text-muted); border: 1px solid var(--border-color); }
.prev-btn:hover { color: white; border-color: white; }
.finish-btn { background: var(--primary); color: white; }

/* Başarı Ekranı */
.success-box { text-align: center; padding: 40px 0; }
.success-box i { font-size: 4rem; color: #2ecc71; margin-bottom: 20px; }
.home-btn { display: inline-block; margin-top: 20px; color: white; text-decoration: none; border-bottom: 1px solid var(--primary); }

/* --- 6. MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    .section-header h2 { font-size: 2.5rem; }
    .join-hero h1 { font-size: 3rem; }
    
    .form-wrapper { flex-direction: column; margin: 0 15px; }
    .form-info { width: 100%; padding: 20px; border-right: none; border-bottom: 1px solid var(--border-color); flex-direction: row; justify-content: space-between; align-items: center; box-sizing: border-box; }
    .form-info h2 { font-size: 2rem; margin: 0; }
    .steps-list { display: none; }
    .form-content { width: 100%; padding: 20px; box-sizing: border-box; }
    
    .back-link span { display: none; }
}