/* ===== GENEL AYARLAR ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0f0f13;
    /* Modern Koyu Arka Plan */
    color: #e5e7eb;
    line-height: 1.6;
}

/* ===== YENİ ÜST MENÜ (NAVBAR) ===== */
.site-header {
    background-color: rgba(15, 15, 19, 0.95);
    border-bottom: 1px solid #27272a;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px 20px;
}

.brand {
    font-size: 22px;
    font-weight: 700;
    color: #f8fafc;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-links li a {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease-in;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #f8fafc;
    background-color: #27272a;
}

.nav-links li a.cv-btn {
    background-color: #3b82f6;
    /* Modern Mavi Buton */
    color: white;
    font-weight: 600;
}

.nav-links li a.cv-btn:hover {
    background-color: #2563eb;
}

/* ===== SAYFA İÇERİK ALANI ===== */
.content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.content h2 {
    color: #f8fafc;
    border-bottom: 2px solid #27272a;
    padding-bottom: 10px;
}

.content h3 {
    color: #e5e7eb;
}

.content p {
    line-height: 1.6;
    font-size: 16px;
    color: #d4d4d8;
}

/* Listeler */
.content ul,
.content ol {
    margin-left: 20px;
    line-height: 1.6;
}

/* Resim ayarları */
.resim-basligi {
    margin-top: 30px;
}

.ana-resim {
    width: 100%;
    /* İçeriğe göre resmi tam boyut sığdırıyor. */
    max-width: 500px;
    height: 400px;
    /* Sabit bir yükseklik ile kırpmak için eklendi */
    object-fit: cover;
    /* Resmi ezmeden ortalayarak alt-üst kırpar */
    object-position: top;
    /* Fotoğrafın üstünden (yüz / setup üst kısmından başlar) gösterir */
    border: 3px solid #bdc3c7;
    /* resim çerçevesi */
    border-radius: 4px;
    display: block;
    margin: 20px auto;
    /* Resmi ortalamak için margins auto yapıldı */
}

/* Tablo Ayarları (Eğitim Sayfası için) */
table.egitim-tablo {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    color: #e5e7eb;
}

table.egitim-tablo th,
table.egitim-tablo td {
    border: 1px solid #3f3f46;
    padding: 12px;
    text-align: left;
}

table.egitim-tablo th {
    background-color: #18181b;
    color: #f8fafc;
}

table.egitim-tablo tr:nth-child(even) {
    background-color: #27272a;
}

/* Beceriler Kutusu */
.yetenek-kutusu {
    background-color: #18181b;
    border: 1px solid #27272a;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.yetenek-kutusu h4 {
    margin-top: 0;
    color: #3b82f6;
}

/* Form Ayarları (İletişim Sayfası İçin) */
.iletisim-formu input[type="text"],
.iletisim-formu input[type="email"],
.iletisim-formu textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0 20px 0;
    display: inline-block;
    background-color: #18181b;
    color: #e5e7eb;
    border: 1px solid #3f3f46;
    border-radius: 6px;
    box-sizing: border-box;
    /* padding'i boyuta dahil eder */
}

.iletisim-formu input[type="submit"] {
    width: 100%;
    background-color: #3b82f6;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.iletisim-formu input[type="submit"]:hover {
    background-color: #2563eb;
}

/* Alt Kısım (Footer) */
.footer {
    background-color: #18181b;
    color: white;
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
    margin-top: 60px;
    border-top: 1px solid #27272a;
}

.footer p {
    margin: 5px 0;
}

.footer-linkler {
    margin: 15px 0;
}

.footer-linkler a {
    color: #3b82f6;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
}

.footer-linkler a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.footer .copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #bdc3c7;
}

/* Linkler */
.content a {
    color: #3b82f6;
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
    color: #2563eb;
}

/* ===== YENİ KAHRAMAN (HERO) BÖLÜMÜ ===== */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.hero-text {
    flex: 1;
}

.meta {
    font-size: 13px;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 42px;
    margin: 0 0 10px 0;
    color: #f8fafc;
}

.hero-subtitle {
    font-size: 18px;
    color: #3b82f6;
    /* Dikkat çekici bir açık mavi */
    margin: 0 0 20px 0;
    font-weight: 500;
}

.tagline {
    font-size: 18px;
    color: #d4d4d8;
    margin-bottom: 15px;
}

.hero-desc {
    color: #a1a1aa;
    margin-bottom: 25px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.chip {
    background-color: #27272a;
    color: #e5e7eb;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* BUTONLAR */
.hero-actions {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #f8fafc;
    color: #0f0f13;
}

.btn-primary:hover {
    background-color: #d4d4d8;
}

.btn-secondary {
    background-color: transparent;
    color: #f8fafc;
    border: 1px solid #3f3f46;
}

.btn-secondary:hover {
    border-color: #71717a;
    background-color: #27272a;
}

/* HERO FOTOĞRAF */
.hero-image-wrapper {
    flex-shrink: 0;
}

.hero-portrait {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #27272a;
}

/* PANEL (Kutu Tasarımları) */
.panel {
    background-color: #18181b;
    border: 1px solid #27272a;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.list-clean {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-clean li {
    padding: 10px 0;
    border-bottom: 1px solid #27272a;
}

.list-clean li:last-child {
    border-bottom: none;
}

/* GRID VE KART YAPILARI */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

/* ÖZEL BENTO (ASİMETRİK) TASARIM */
.bento-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.bento-layout .card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(145deg, #18181b, #0f0f13);
    border-top: 3px solid #6366f1;
    /* Mor - Ekstra Premium Logo Hissi */
}

.bento-layout .card:nth-child(2) {
    grid-column: span 1;
}

.bento-layout .card:nth-child(3) {
    grid-column: span 1;
}

.bento-layout .card:nth-child(4) {
    grid-column: span 3;
    /* Son kartı boydan boya uzatarak eşsizleştir */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bento-layout .card:nth-child(4) .tags {
    margin-bottom: 0;
}

.card {
    background: linear-gradient(145deg, #18181b, #121214);
    border: 1px solid #27272a;
    border-top: 3px solid #3b82f6;
    /* Dikkat çekici üst mavi çizgi */
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    /* Üzerine gelince geçen parlama (shine) efekti */
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 60px;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    transform: skewX(-20deg);
    transition: right 0.5s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(59, 130, 246, 0.15);
    /* Mavi bir parlama/gölge Glow efekti */
    border-color: #3f3f46;
}

.card:hover::before {
    right: 120%;
    /* Parlamayı soldan sağa kaydırır */
}

.card h4 {
    margin-top: 0;
    font-size: 20px;
    color: #f8fafc;
    margin-bottom: 10px;
}

.card p {
    color: #a1a1aa;
    font-size: 15px;
    margin-bottom: 20px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background-color: #27272a;
    color: #cbd5e1;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #3f3f46;
}

.rivalabs-banner {
    background: linear-gradient(135deg, #1e1e24 0%, #171720 100%);
    border: 1px solid #3b82f6;
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.rivalabs-banner h3 {
    color: #f8fafc;
    margin-top: 0;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .bento-layout {
        grid-template-columns: 1fr;
    }

    .bento-layout .card:nth-child(1),
    .bento-layout .card:nth-child(2),
    .bento-layout .card:nth-child(3),
    .bento-layout .card:nth-child(4) {
        grid-column: span 1;
        grid-row: auto;
        display: block;
    }

    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-portrait {
        width: 200px;
        height: 250px;
    }

    .hero-actions {
        justify-content: center;
    }

    .chips {
        justify-content: center;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
}