/* -----------------------------------------------------------
   PROJECT 2050: CYBER-ACADEMIC THEME (FINAL STABLE)
   ----------------------------------------------------------- */

:root {
    --bg-deep: #0f172a;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --neon-blue: #38bdf8;
    --neon-purple: #c084fc;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
}

body {
    background-color: var(--bg-deep);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(192, 132, 252, 0.1) 0%, transparent 40%);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

/* --- KESİN KONTRAST FİX --- */
/* Bu blok Giriş, Kayıt ve İletişimdeki tüm yazıları bembeyaz yapar */
input, select, textarea, .form-control, .form-select {
    background-color: rgba(15, 23, 42, 0.9) !important; /* Daha koyu arka plan */
    color: #ffffff !important; /* Bembeyaz yazı */
    border: 1px solid rgba(56, 189, 248, 0.4) !important; /* Neon mavi çerçeve */
    border-radius: 10px !important;
    padding: 10px 15px !important;
}

/* Yazarken veya tıklandığında oluşacak efekt */
input:focus, textarea:focus, select:focus {
    background-color: #1e293b !important;
    color: #ffffff !important;
    border-color: var(--neon-blue) !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.3) !important;
    outline: none !important;
}

/* Form etiketleri (Username, E-posta, Şifre vb.) */
label, .form-label {
    color: var(--neon-blue) !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    text-shadow: 0 0 5px rgba(56, 189, 248, 0.2);
}

/* --- DİĞER TASARIM ÖGELERİ --- */
.navbar {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar-brand {
    font-weight: 800;
    background: linear-gradient(to right, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-blue), #2563eb);
    border: none;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
    font-weight: 600;
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
    transform: translateY(-2px);
}

/* Yardımcı metinler (Örn: "Şifreniz en az 8 karakter olmalı") */
.form-text, .text-muted {
    color: #94a3b8 !important;
    font-size: 0.8rem !important;
}

/* Kaydırma çubuğu */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--neon-blue); border-radius: 10px; }

/* --- FORM KONTRAST VE GÖRÜNÜRLÜK AYARLARI --- */

/* Input ve Textarea Genel Ayarları */
.form-control, .form-select {
    background-color: rgba(15, 23, 42, 0.6) !important; /* Daha koyu, yarı saydam arka plan */
    border: 1px solid rgba(255, 255, 255, 0.2) !important; /* Çerçeveyi belirginleştir */
    color: #ffffff !important; /* Yazı rengi kesinlikle BEYAZ */
    font-weight: 500;
}

/* Tıklanınca (Focus) Neon Parlama Efekti */
.form-control:focus, .form-select:focus {
    background-color: rgba(15, 23, 42, 0.9) !important;
    border-color: var(--neon-blue) !important;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.25) !important;
    color: #ffffff !important;
}

/* Placeholder (İpucu yazısı) Rengi */
::placeholder {
    color: rgba(226, 232, 240, 0.5) !important; /* Soluk beyaz */
    opacity: 1;
}

/* Etiketler (Username, Password vb.) */
label, .form-label, .asteriskField {
    color: var(--neon-blue) !important; /* Neon mavi */
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 0 0 2px rgba(0,0,0,0.5); /* Okunurluk için gölge */
}

/* Tarayıcı Otomatik Doldurma (Autofill) Arka Plan Sorunu Çözümü */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #0f172a inset !important; /* Arka planı koyu yap */
    -webkit-text-fill-color: white !important; /* Yazıyı beyaz yap */
    transition: background-color 5000s ease-in-out 0s;
}

/* --- style.css dosyasının en altına ekleyin --- */

/* 1. Tüm giriş kutularının yazısını zorla BEYAZ yap */
input, select, textarea, .form-control {
    color: #ffffff !important;
    background-color: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* 2. Tıklanınca (Focus) arka planın değişmesini engelle */
.form-control:focus {
    background-color: rgba(15, 23, 42, 0.8) !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5) !important;
}

/* 3. Tarayıcı Otomatik Doldurma (Autofill) Sorunu İçin KESİN ÇÖZÜM */
/* Bu blok, tarayıcının sarı/beyaz arka plan eklemesini engeller */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important; /* Yazı rengi */
    -webkit-box-shadow: 0 0 0px 1000px rgba(15, 23, 42, 0.9) inset !important; /* Arka plan */
    transition: background-color 5000s ease-in-out 0s;
}

/* 4. Etiketlerin (Username, Password) Rengi */
label, .form-label, .asteriskField {
    color: var(--neon-blue) !important;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

/* Giriş kutucuklarını ve etiketlerini hizala */
.login-container {
    max-width: 400px; /* Kartın genişliğini sabitleyelim */
    margin: 0 auto;
}

.login-container .form-group {
    margin-bottom: 1.5rem;
    text-align: left; /* Etiketleri sola yasla */
}

/* Giriş kutucuklarının yapısını eşitle */
.login-container input.form-control {
    width: 100% !important; /* Her iki kutuyu aynı genişliğe zorla */
    display: block;
    height: 50px; /* Yükseklikleri eşitle */
    padding: 0.75rem 1.25rem;
    box-sizing: border-box; /* Padding'in genişliği bozmasını engelle */
}

/* Etiketlerin (Kullanıcı Adı/Şifre) hizası */
.login-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* VİZYON 2050 - LANDING PAGE STİLİ */

/* Hero Alanı (Slogan) */
.hero-section {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at center, #1a1a2e 0%, #000000 100%);
    color: #fff;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
}

/* 3 Büyük Kart (Sections) */
.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-card {
    background: rgba(255, 255, 255, 0.05); /* Cam Efekti */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.section-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.3); /* Neon Parlama */
    border-color: #00d2ff;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #00d2ff;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 0.9rem;
    color: #ccc;
}