﻿/* ============================================================
   TOBB ETÜ Kişisel Web Sitesi — Ana Stil Dosyası
   Renk Paleti:
   - Lacivert     : #1B2A4E
   - Lacivert Koyu: #0F1B33
   - Sarı         : #FFD100
   - Kırmızı      : #C8102E
   - Beyaz        : #FFFFFF
   - Gri          : #F5F5F5
   ============================================================ */

:root {
    --lacivert: #1B2A4E;
    --lacivert-koyu: #0F1B33;
    --sari: #FFD100;
    --kirmizi: #C8102E;
    --kirmizi-koyu: #8B0000;
    --beyaz: #FFFFFF;
    --gri: #F5F5F5;
    --gri-koyu: #E0E0E0;
    --metin: #1a1a1a;
    --metin-acik: #6b7280;
    --golge: 0 4px 15px rgba(0, 0, 0, 0.07);
    --golge-buyuk: 0 15px 35px rgba(27, 42, 78, 0.15);
}

/* ==================== RESET ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--metin);
    background: var(--gri);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--kirmizi); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--kirmizi-koyu); }

img { max-width: 100%; height: auto; display: block; }

/* ==================== NAVBAR ==================== */
.navbar {
    background: var(--lacivert);
    color: var(--beyaz);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--beyaz) !important;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.brand-mg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--sari);
    color: var(--lacivert);
    font-weight: 900;
    border-radius: 10px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--beyaz);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-links a:hover {
    background: rgba(255, 209, 0, 0.15);
    color: var(--sari);
}

.btn-admin {
    background: var(--kirmizi) !important;
    color: var(--beyaz) !important;
}

.btn-admin:hover {
    background: var(--kirmizi-koyu) !important;
    color: var(--beyaz) !important;
}

/* ==================== HERO ==================== */
.hero {
    background: linear-gradient(135deg, var(--lacivert) 0%, var(--lacivert-koyu) 100%);
    color: var(--beyaz);
    padding: 100px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 209, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: var(--sari);
    color: var(--lacivert);
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== BUTONLAR ==================== */
.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    font-family: inherit;
    line-height: 1.4;
}

.btn-sari {
    background: var(--sari);
    color: var(--lacivert);
}

.btn-sari:hover {
    background: #e6bc00;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 209, 0, 0.3);
    color: var(--lacivert);
}

.btn-kirmizi {
    background: var(--kirmizi);
    color: var(--beyaz);
}

.btn-kirmizi:hover {
    background: var(--kirmizi-koyu);
    color: var(--beyaz);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--beyaz);
    border: 2px solid var(--beyaz);
}

.btn-outline:hover {
    background: var(--beyaz);
    color: var(--lacivert);
}

.btn-outline-koyu {
    background: transparent;
    color: var(--lacivert);
    border: 2px solid var(--lacivert);
}

.btn-outline-koyu:hover {
    background: var(--lacivert);
    color: var(--beyaz);
}

.btn-full { width: 100%; }

/* ==================== BÖLÜMLER ==================== */
.bolum {
    padding: 80px 30px;
    background: var(--gri);
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.bolum-baslik,
.sayfa-baslik {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--lacivert);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    line-height: 1.2;
}

.bolum-baslik::after,
.sayfa-baslik::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 5px;
    background: linear-gradient(90deg, var(--sari), var(--kirmizi));
    border-radius: 3px;
}

/* ==================== ÇALIŞMA KARTLARI ==================== */
.calisma-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
}

.calisma-kart {
    background: var(--beyaz);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--golge);
    transition: all 0.3s ease;
    color: var(--metin) !important;
    display: flex;
    flex-direction: column;
}

.calisma-kart:hover {
    transform: translateY(-6px);
    box-shadow: var(--golge-buyuk);
    color: var(--metin) !important;
}

.kart-gorsel {
    width: 100%;
    height: 220px;
    background: var(--lacivert);
    overflow: hidden;
    flex-shrink: 0;
}

.kart-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.calisma-kart:hover .kart-gorsel img { transform: scale(1.08); }

.kart-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
    color: var(--sari);
    background: linear-gradient(135deg, var(--lacivert), var(--lacivert-koyu));
}

.kart-icerik {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kart-kategori {
    display: inline-block;
    background: var(--sari);
    color: var(--lacivert);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.kart-icerik h3 {
    font-size: 1.15rem;
    color: var(--lacivert);
    font-weight: 700;
    line-height: 1.3;
}

/* ==================== ÖZ GEÇMİŞ ==================== */
.ozgecmis-liste {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.ozgecmis-kart {
    background: var(--beyaz);
    padding: 30px;
    border-radius: 14px;
    box-shadow: var(--golge);
    display: flex;
    gap: 25px;
    border-left: 5px solid var(--sari);
    transition: all 0.3s ease;
    align-items: flex-start;
}

.ozgecmis-kart:hover {
    border-left-color: var(--kirmizi);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(27, 42, 78, 0.12);
}

.ozgecmis-ikon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: var(--gri);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ozgecmis-icerik {
    flex: 1;
    min-width: 0;
}

.ozgecmis-icerik h3 {
    color: var(--lacivert);
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.icerik-metin { color: var(--metin); line-height: 1.7; }
.icerik-metin p { margin-bottom: 10px; }
.icerik-metin p:last-child { margin-bottom: 0; }

/* ==================== FİLTRELER ==================== */
.filtreler {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
    width: 100%;
}

.filtre {
    padding: 9px 20px;
    background: var(--beyaz);
    color: var(--lacivert);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filtre:hover {
    border-color: var(--sari);
    color: var(--lacivert);
}

.filtre.aktif {
    background: var(--lacivert);
    color: var(--beyaz);
    border-color: var(--lacivert);
}

/* ==================== ÇALIŞMA DETAY ==================== */
.geri-link {
    display: inline-block;
    color: var(--metin-acik);
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 0.95rem;
}

.geri-link:hover { color: var(--kirmizi); }

.kategori-rozet {
    display: inline-block;
    background: var(--sari);
    color: var(--lacivert);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detay-gorsel {
    background: var(--beyaz);
    padding: 15px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    width: 100%;
}

.detay-gorsel img {
    width: 100%;
    border-radius: 8px;
}

.detay-icerik {
    background: var(--beyaz);
    padding: 35px;
    border-radius: 14px;
    box-shadow: var(--golge);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 30px;
    width: 100%;
}

.dosya-baslik {
    color: var(--lacivert);
    font-size: 1.5rem;
    margin: 30px 0 20px;
    font-weight: 700;
}

.dosya-listesi {
    list-style: none;
    background: var(--beyaz);
    border-radius: 14px;
    padding: 10px;
    box-shadow: var(--golge);
    width: 100%;
}

.dosya-listesi li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--gri-koyu);
    flex-wrap: wrap;
}

.dosya-listesi li:last-child { border-bottom: none; }

.dosya-adi {
    flex: 1;
    font-weight: 600;
    color: var(--lacivert);
    font-size: 1rem;
    word-break: break-word;
    min-width: 200px;
}

.dosya-boyut {
    color: var(--metin-acik);
    font-size: 0.9rem;
    white-space: nowrap;
}

.dosya-listesi .btn-kirmizi {
    padding: 9px 22px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* ==================== İLETİŞİM ==================== */
.iletisim-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    width: 100%;
}

.iletisim-bilgi {
    background: var(--lacivert);
    color: var(--beyaz);
    padding: 35px;
    border-radius: 14px;
    height: fit-content;
}

.iletisim-bilgi h3 {
    color: var(--sari);
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.iletisim-bilgi p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    word-break: break-word;
}

.iletisim-bilgi a { color: var(--sari); }
.iletisim-bilgi a:hover { color: var(--beyaz); }

.iletisim-form {
    background: var(--beyaz);
    padding: 35px;
    border-radius: 14px;
    box-shadow: var(--golge);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.iletisim-form label,
.form-kutu label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 600;
    color: var(--lacivert);
    font-size: 0.95rem;
}

.iletisim-form input,
.iletisim-form textarea,
.form-kutu input,
.form-kutu textarea,
.form-kutu select {
    padding: 13px 16px;
    border: 2px solid var(--gri-koyu);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    background: var(--beyaz);
    color: var(--metin);
}

.iletisim-form input:focus,
.iletisim-form textarea:focus,
.form-kutu input:focus,
.form-kutu textarea:focus,
.form-kutu select:focus {
    outline: none;
    border-color: var(--sari);
    box-shadow: 0 0 0 3px rgba(255, 209, 0, 0.2);
}

.iletisim-form textarea { resize: vertical; min-height: 120px; }

.iletisim-form .btn { align-self: flex-start; }

/* ==================== FLASH MESAJLARI ==================== */
.flash {
    max-width: 1200px;
    margin: 15px auto 0;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    animation: slideDown 0.4s ease;
    width: calc(100% - 60px);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.flash-basari {
    background: #d4edda;
    color: #155724;
    border-left: 5px solid #28a745;
}

.flash-hata {
    background: #f8d7da;
    color: #721c24;
    border-left: 5px solid var(--kirmizi);
}

.flash-uyari {
    background: #fff3cd;
    color: #856404;
    border-left: 5px solid var(--sari);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--lacivert-koyu);
    color: var(--beyaz);
    margin-top: auto;
    padding: 60px 30px 20px;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-col h3,
.footer-col h4 {
    color: var(--sari);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    word-break: break-word;
}

.footer-col a:hover { color: var(--sari); }

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== LOGIN ==================== */
.login-body {
    background: linear-gradient(135deg, var(--lacivert) 0%, var(--lacivert-koyu) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-kutu {
    background: var(--beyaz);
    padding: 50px 40px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 420px;
}

.login-logo {
    width: 70px;
    height: 70px;
    background: var(--lacivert);
    color: var(--sari);
    font-weight: 900;
    font-size: 1.6rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.login-kutu h1 {
    text-align: center;
    color: var(--lacivert);
    margin-bottom: 30px;
    font-size: 1.6rem;
}

.login-kutu form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-kutu label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 600;
    color: var(--lacivert);
    font-size: 0.95rem;
}

.login-kutu input[type="text"],
.login-kutu input[type="password"] {
    padding: 13px 16px;
    border: 2px solid var(--gri-koyu);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-kutu input:focus {
    outline: none;
    border-color: var(--sari);
    box-shadow: 0 0 0 3px rgba(255, 209, 0, 0.2);
}

.checkbox-label {
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    font-weight: 500 !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: var(--kirmizi);
    cursor: pointer;
}

/* ==================== ADMIN PANEL ==================== */
.admin-body {
    display: flex;
    background: var(--gri);
    min-height: 100vh;
    width: 100%;
}

.sidebar {
    width: 260px;
    background: var(--lacivert);
    color: var(--beyaz);
    padding: 25px 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    flex-shrink: 0;
    overflow-y: auto;
    z-index: 50;
}

.sidebar-brand {
    padding: 0 25px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.sidebar-nav a {
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    display: block;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover {
    background: rgba(255, 209, 0, 0.15);
    color: var(--sari);
}

.sidebar-nav hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

.sidebar-nav .cikis-link { color: #ff6b6b; }
.sidebar-nav .cikis-link:hover { background: rgba(255, 107, 107, 0.15); }

.admin-main {
    flex: 1;
    padding: 30px 40px;
    width: calc(100% - 260px);
    min-width: 0;
    box-sizing: border-box;
    margin-left: 260px;
    overflow-x: hidden;
}

.admin-main h1 {
    color: var(--lacivert);
    font-size: 2rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

.stat-kart {
    background: var(--beyaz);
    padding: 30px 20px;
    border-radius: 14px;
    box-shadow: var(--golge);
    text-align: center;
    border-bottom: 4px solid var(--sari);
    transition: all 0.3s ease;
}

.stat-kart:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(27, 42, 78, 0.12);
}

.stat-sayi {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--lacivert);
    line-height: 1;
}

.stat-etiket {
    display: block;
    color: var(--metin-acik);
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hizli-linkler {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}

/* Sayfa üst */
.sayfa-ust {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
}

.sayfa-ust h1 {
    margin-bottom: 0;
}

/* Tablo */



























.satir-yeni { background: #fff8e1 !important; }

/* Form kutusu */
.form-kutu {
    background: var(--beyaz);
    padding: 35px;
    border-radius: 14px;
    box-shadow: var(--golge);
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 900px;
}

.form-kutu h3 {
    color: var(--lacivert);
    margin: 15px 0 5px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sari);
    font-size: 1.15rem;
}

.form-kutu h3:first-child { margin-top: 0; }

.form-kutu input[type="file"] {
    padding: 10px;
    background: var(--gri);
    cursor: pointer;
}

.form-kutu textarea { resize: vertical; min-height: 100px; }

.form-kutu small {
    color: var(--metin-acik);
    font-size: 0.85rem;
    font-weight: 400;
}

.form-kutu .btn { align-self: flex-start; }

/* Küçük görsel */
.mini-gorsel {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.onizleme {
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
}

/* Küçük butonlar */
.btn-mini {
    padding: 7px 15px;
    background: var(--lacivert);
    color: var(--beyaz);
    border-radius: 7px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    font-family: inherit;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-mini:hover { background: var(--lacivert-koyu); color: var(--beyaz); }

.btn-mini-kirmizi { background: var(--kirmizi); }
.btn-mini-kirmizi:hover { background: var(--kirmizi-koyu); }

/* Rozetler */
.rozet {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.rozet-yesil { background: #d4edda; color: #155724; }
.rozet-kirmizi { background: #f8d7da; color: #721c24; }
.rozet-gri { background: var(--gri-koyu); color: var(--metin-acik); }

/* Mesaj detay */
.mesaj-detay {
    background: var(--beyaz);
    padding: 30px;
    border-radius: 14px;
    box-shadow: var(--golge);
    width: 100%;
    max-width: 900px;
    margin-bottom: 20px;
}

.mesaj-detay p { margin-bottom: 10px; }

.mesaj-icerik {
    margin-top: 20px;
    padding: 20px;
    background: var(--gri);
    border-radius: 10px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Boş mesaj */
.bos-mesaj {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--metin-acik);
    font-size: 1.1rem;
    background: var(--beyaz);
    border-radius: 14px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .admin-main { padding: 25px 25px; }
    .footer-container { gap: 30px; }
}

@media (max-width: 900px) {
    .footer-container { grid-template-columns: 1fr; gap: 30px; }
    .iletisim-grid { grid-template-columns: 1fr; }
    .nav-container { flex-direction: column; gap: 15px; padding: 15px 20px; }
    .nav-links { justify-content: center; }
    .hero h1 { font-size: 2rem; }
    .hero { padding: 60px 20px; }
    .bolum { padding: 50px 20px; }
    .bolum-baslik, .sayfa-baslik { font-size: 1.6rem; }
    .ozgecmis-kart { flex-direction: column; padding: 20px; }
    .admin-body { flex-direction: column; }
    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        padding: 15px 0;
    }
    .admin-main {
        width: 100%;
        margin-left: 0;
        padding: 20px 15px;
    }}
    .sidebar-nav a {
        white-space: nowrap;
        padding: 10px 14px;
        margin-bottom: 0;
        font-size: 0.9rem;
    }
    .sidebar-nav hr { display: none; }
    .admin-main { padding: 20px 15px; }
    
    .tablo th, 
    .form-kutu { padding: 20px; }
    .stat-sayi { font-size: 2rem; }
    .hizli-linkler { flex-direction: column; }
    .hizli-linkler .btn { width: 100%; }
    .dosya-listesi li { padding: 12px; }
    .detay-icerik { padding: 20px; }
    .detay-gorsel { padding: 10px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .nav-links a { padding: 6px 10px; font-size: 0.85rem; }
    .brand-text { display: none; }
    .iletisim-bilgi, .iletisim-form { padding: 20px; }
    .login-kutu { padding: 30px 20px; }
    .flash { width: calc(100% - 30px); padding: 12px 18px; }
}


/* ==================== YATAY KAYDIRMA ONLEME ==================== */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.admin-body {
    overflow-x: hidden;
    max-width: 100vw;
}


/* ==================== TABLO (KESIN COZUM) ==================== */
.tablo {
    width: 100%;
    background: var(--beyaz);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--golge);
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    margin: 0;
}

.tablo thead {
    background: var(--lacivert);
}

.tablo thead tr {
    background: var(--lacivert);
}

.tablo th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: var(--lacivert);
    color: var(--beyaz);
    white-space: nowrap;
    border: none;
}

.tablo td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--gri);
    font-size: 0.95rem;
    vertical-align: middle;
    word-break: break-word;
    background: var(--beyaz);
    color: var(--metin);
}

.tablo tbody tr:last-child td {
    border-bottom: none;
}

.tablo tbody tr:hover td {
    background: #fafafa;
}

.tablo th:nth-child(1), .tablo td:nth-child(1) { width: 15%; }
.tablo th:nth-child(2), .tablo td:nth-child(2) { width: 30%; }
.tablo th:nth-child(3), .tablo td:nth-child(3) { width: 15%; }
.tablo th:nth-child(4), .tablo td:nth-child(4) { width: 15%; }
.tablo th:nth-child(5), .tablo td:nth-child(5) { width: 10%; }
.tablo th:nth-child(6), .tablo td:nth-child(6) { width: 15%; }


/* ==================== YENI HERO TASARIMI ==================== */
.hero-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

/* Ismet Ozel sozu */
.hero-soz {
    position: relative;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--sari);
    padding-left: 50px;
    margin-bottom: 10px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-soz .soz-isaret {
    position: absolute;
    left: 0;
    top: -25px;
    font-size: 5rem;
    color: var(--sari);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.hero-soz .soz-yazar {
    display: block;
    font-style: normal;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--beyaz);
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-align: left;
}

.hero-text .hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-align: left;
}

.hero-text .hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* Hero gorseli */
.hero-gorsel {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gorsel-cerceve {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    background: rgba(255, 209, 0, 0.05);
    border: 2px dashed rgba(255, 209, 0, 0.3);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: yumusakDonus 30s linear infinite;
}

@keyframes yumusakDonus {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.gorsel-cerceve img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gorsel-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gorsel-placeholder svg {
    width: 100%;
    height: 100%;
}

/* Hero Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2rem;
        text-align: center;
    }
    .hero-text .hero-subtitle {
        text-align: center;
    }
    .hero-text .hero-buttons {
        justify-content: center;
    }
    .hero-soz {
        font-size: 1rem;
        text-align: left;
    }
    .gorsel-cerceve {
        max-width: 280px;
        animation: none;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }
    .hero-soz .soz-isaret {
        font-size: 3.5rem;
        top: -15px;
    }
    .gorsel-cerceve {
        max-width: 220px;
    }
}


/* ==================== TOAST BILDIRIMLERI ==================== */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 380px;
    width: calc(100% - 40px);
}

.toast {
    background: var(--beyaz);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15),
                0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
    pointer-events: auto;
    animation: toastGiris 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 5px solid var(--lacivert);
    position: relative;
    overflow: hidden;
}

.toast.toast-kayboluyor {
    animation: toastCikis 0.4s ease forwards;
}

@keyframes toastGiris {
    from {
        opacity: 0;
        transform: translateX(400px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastCikis {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(400px);
    }
}

.toast-ikon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    font-weight: 700;
}

.toast-icerik {
    flex: 1;
    min-width: 0;
}

.toast-baslik {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--lacivert);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toast-mesaj {
    color: var(--metin);
    font-size: 0.95rem;
    line-height: 1.4;
    word-break: break-word;
}

.toast-kapat {
    background: none;
    border: none;
    color: var(--metin-acik);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-family: inherit;
    line-height: 1;
}

.toast-kapat:hover {
    background: var(--gri);
    color: var(--metin);
}

/* Toast turleri */
.toast-basari {
    border-left-color: #28a745;
}
.toast-basari .toast-ikon {
    background: #d4edda;
    color: #155724;
}

.toast-hata {
    border-left-color: var(--kirmizi);
}
.toast-hata .toast-ikon {
    background: #f8d7da;
    color: #721c24;
}

.toast-uyari {
    border-left-color: var(--sari);
}
.toast-uyari .toast-ikon {
    background: #fff3cd;
    color: #856404;
}

.toast-bilgi {
    border-left-color: #17a2b8;
}
.toast-bilgi .toast-ikon {
    background: #d1ecf1;
    color: #0c5460;
}

/* Ilerleme cubugu */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.4;
    animation: toastProgress linear forwards;
}

.toast-basari .toast-progress { background: #28a745; }
.toast-hata .toast-progress { background: var(--kirmizi); }
.toast-uyari .toast-progress { background: var(--sari); }
.toast-bilgi .toast-progress { background: #17a2b8; }

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Mobil */
@media (max-width: 480px) {
    .toast-container {
        top: 80px;
        right: 10px;
        left: 10px;
        max-width: none;
        width: auto;
    }
    .toast {
        padding: 14px 16px;
    }
    .toast-ikon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
}


/* ==================== SILME ONAY MODAL ==================== */
.onay-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 27, 51, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: overlayGiris 0.25s ease;
}

@keyframes overlayGiris {
    from { opacity: 0; }
    to { opacity: 1; }
}

.onay-overlay.kapaniyor {
    animation: overlayCikis 0.2s ease forwards;
}

@keyframes overlayCikis {
    from { opacity: 1; }
    to { opacity: 0; }
}

.onay-modal {
    background: var(--beyaz);
    border-radius: 18px;
    padding: 0;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: modalGiris 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes modalGiris {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.onay-baslik-alani {
    background: var(--lacivert);
    color: var(--beyaz);
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.onay-ikon {
    width: 48px;
    height: 48px;
    background: var(--kirmizi);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.onay-baslik {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.onay-alt-baslik {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 3px;
    font-weight: 400;
}

.onay-icerik {
    padding: 28px 30px 20px;
    color: var(--metin);
    font-size: 1rem;
    line-height: 1.6;
}

.onay-icerik strong {
    color: var(--lacivert);
    font-weight: 700;
}

.onay-butonlar {
    padding: 0 30px 28px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.onay-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    justify-content: center;
}

.onay-btn-iptal {
    background: var(--gri);
    color: var(--lacivert);
}

.onay-btn-iptal:hover {
    background: var(--gri-koyu);
    transform: translateY(-2px);
}

.onay-btn-sil {
    background: var(--kirmizi);
    color: var(--beyaz);
}

.onay-btn-sil:hover {
    background: var(--kirmizi-koyu);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.3);
}

.onay-btn-sil:active,
.onay-btn-iptal:active {
    transform: translateY(0);
}

/* Mobil */
@media (max-width: 480px) {
    .onay-baslik-alani {
        padding: 20px 22px;
    }
    .onay-icerik {
        padding: 22px 22px 15px;
        font-size: 0.95rem;
    }
    .onay-butonlar {
        padding: 0 22px 22px;
        flex-direction: column-reverse;
    }
    .onay-btn {
        width: 100%;
    }
}
