/* ===== TEMEL AYARLAR VE PROFESYONELLEŞTİRME ===== */
:root {
    --primary-color: #004a99; /* Kurumsal Ana Mavi */
    --secondary-color: #003366; /* Kurumsal Koyu Mavi */
    --accent-color: #d9a400;  /* Vurgu Rengi (Altın/Sarı) */
    --text-dark: #333;
    --text-light: #f9f9f9;
    --background-light: #f7f9fc; /* Saf beyaz yerine hafif kirli beyaz */
    --container-width: 1100px;
    --border-radius: 8px;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 25px rgba(0, 74, 153, 0.07);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light); /* Güncellendi */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER VE NAVİGASYON (Geliştirildi) ===== */
header {
    background: #fff;
    box-shadow: var(--shadow-light); /* Güncellendi */
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
header .logo:hover {
    color: var(--secondary-color);
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    padding: 10px 15px; /* Padding artırıldı */
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    position: relative;
}

header nav ul li a:hover {
    background: var(--primary-color);
    color: #fff;
}
header nav ul li a.active {
    background: var(--primary-color);
    color: #fff;
}

/* ===== SLIDER BÖLÜMÜ (Aynı) ===== */
.slider-container {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    background: #eee;
}
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1s ease-in-out;
}
.slide.active { opacity: 1; }
.slide-content {
    position: absolute;
    bottom: 10%;
    left: 5%;
    max-width: 600px;
    background: rgba(0, 51, 102, 0.8); /* Daha kurumsal bir koyu mavi transparan */
    color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.slide-content h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.slide-content p { font-size: 1rem; margin-bottom: 1rem; }
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 22px; /* Düğme büyütüldü */
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px); /* Hafif kalkma efekti */
}
.slider-control {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3); color: #fff; border: none;
    font-size: 2rem; padding: 10px 15px; cursor: pointer; z-index: 10;
    border-radius: var(--border-radius);
}
.slider-control.prev { left: 10px; }
.slider-control.next { right: 10px; }
.slider-control:hover { background: rgba(0, 0, 0, 0.7); }

/* ===== GÜNCEL AÇIKLAMA BÖLÜMÜ (Geliştirildi) ===== */
.guncel-aciklama {
    padding: 4rem 0;
    background: var(--background-light);
}
.guncel-aciklama h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.aciklama-box {
    background: #fff;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-medium); /* Gölge güncellendi */
}
.aciklama-box p { margin-bottom: 1rem; }
.aciklama-box p:last-child { margin-bottom: 0; }

/* ===== FOOTER (Geliştirildi) ===== */
footer {
    background: var(--secondary-color);
    color: #ccc; /* Beyazdan bir ton kısık */
    padding: 3rem 0;
    text-align: center;
    margin-top: 3rem;
    border-top: 5px solid var(--primary-color);
}
.social-icons { margin-bottom: 1.5rem; }
.social-icons a {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 12px;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    color: var(--primary-color);
    background: white;
    border-radius: var(--border-radius);
    transform: translateY(-5px); /* İkon kalkma efekti */
}
/* ===== SOSYAL MEDYA SAYFASI (Eski Tasarıma Dönüş) ===== */
.social-media-page {
    padding: 1rem 0 3rem 0;
    text-align: center;
}
.youtube-focus {
    background: #fff;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    display: inline-block;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    transition: all 0.3s ease;
}
.youtube-focus:hover {
    box-shadow: 0 15px 35px rgba(255,0,0,0.1);
}
.youtube-focus a {
    text-decoration: none;
    color: var(--text-dark);
}
.youtube-focus i.fa-youtube {
    font-size: 10rem;
    color: #FF0000;
    transition: transform 0.3s ease;
}
.youtube-focus:hover i.fa-youtube {
    transform: scale(1.05);
}
.youtube-focus h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 1rem 0;
}
.other-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.social-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    transition: all 0.3s ease;
}
.social-link:hover {
    transform: translateY(-3px);
}
.social-link i {
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Renkler */
.social-link.instagram { background: #E4405F; }
.social-link.facebook { background: #1877F2; }
.social-link.x-twitter { background: #000; }
.social-link.whatsapp { background: #25D366; }
/* ===============================================
YENİ SAYFALARIN STİLLERİ
===============================================
*/

/* ===== Ortak Sayfa Başlığı (Yeni) ===== */
.page-header {
    background: var(--primary-color);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    margin-bottom: 3rem;
}
.page-header h1 {
    font-size: 2.5rem;
}

/* ===== VİDEOLAR SAYFASI (Yeni) ===== */
.video-gallery {
    padding-bottom: 3rem;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.video-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden; /* iframe'in köşelerini yuvarlatmak için */
    transition: all 0.3s ease;
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}
.video-embed {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}
.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    padding: 1rem;
}

/* ===== SOSYAL MEDYA SAYFASI (Yeni) ===== */
.social-media-page {
    padding: 1rem 0 3rem 0;
    text-align: center;
}
.youtube-focus {
    background: #fff;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    display: inline-block;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    transition: all 0.3s ease;
}
.youtube-focus:hover {
    box-shadow: 0 15px 35px rgba(255,0,0,0.1);
}
.youtube-focus a {
    text-decoration: none;
    color: var(--text-dark);
}
.youtube-focus i.fa-youtube {
    font-size: 10rem;
    color: #FF0000;
    transition: transform 0.3s ease;
}
.youtube-focus:hover i.fa-youtube {
    transform: scale(1.05);
}
.youtube-focus h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 1rem 0;
}
.other-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.social-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    transition: all 0.3s ease;
}
.social-link:hover {
    transform: translateY(-3px);
}
.social-link i {
    font-size: 1.5rem;
    margin-right: 10px;
}
.social-link.twitter { background: #1DA1F2; }
.social-link.instagram { background: #E4405F; }
.social-link.linkedin { background: #0A66C2; }

/* ===== DOSYA VE DÖKÜMANLAR SAYFASI (Yeni) ===== */
.dosyalar-layout .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.dosya-kategori {
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}
.dosya-kategori h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--background-light);
    margin-bottom: 1.5rem;
}
.dosya-kategori h3 i {
    margin-right: 10px;
}
.dosya-listesi {
    list-style: none;
}
.dosya-listesi li {
    margin-bottom: 1rem;
}
.dosya-listesi a {
    display: flex;
    flex-direction: column; /* İkon ve metni dikey hizala */
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}
.dosya-listesi a:hover {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: var(--shadow-light);
    transform: translateX(5px);
}
.dosya-listesi a span {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px; /* Başlık ve tarih arası boşluk */
}
.dosya-listesi a small {
    font-size: 0.85rem;
    color: #777;
}
.dosya-listesi a i { /* Dosya ikonu */
    align-self: flex-start; /* İkonu en başa al */
    font-size: 1.5rem;
    margin-bottom: 10px; /* İkon ve başlık arası boşluk */
}
/* İkon Renkleri */
.icon-pdf { color: #E61B1B; }
.icon-word { color: #2B579A; }
.icon-excel { color: #1D6F42; }
.icon-zip { color: #f9c113; }

/* ===== MOBİL UYUMLULUK (Geliştirildi) ===== */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    header nav { margin-top: 10px; }
    header nav ul {
        flex-direction: column;
        align-items: center;
    }
    header nav ul li { margin: 5px 0; }

    .slider-container { height: 400px; }
    .slide-content {
        bottom: 5%; left: 5%; right: 5%;
        max-width: 90%; padding: 1rem;
    }
    .slide-content h2 { font-size: 1.5rem; }
    
    .aciklama-box { padding: 1.5rem; }

    /* Yeni Sayfalar Mobil Uyumluluk */
    .page-header h1 { font-size: 2rem; }

    .video-grid {
        grid-template-columns: 1fr; /* Mobilde videolar alt alta */
    }

    .dosyalar-layout .container {
        grid-template-columns: 1fr; /* Mobilde sütunlar alt alta */
    }
}
/* ===============================================
YENİ EKLENEN ANİMASYON STİLLERİ
===============================================
*/

/* ===== 1. Sayfa Yüklenme Animasyonu ===== */
body {
    /* ... (mevcut body ayarlarınız) ... */
    animation: none;
}

@keyframes pageFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* ===== 2. Scroll (Kaydırma) Animasyonu Hazırlığı ===== */

/* Bu, animasyonun başlangıç durumu (gizli ve aşağıda) */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px); /* 30px aşağıdan başlasın */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Bu, JavaScript tarafından eklenecek ve animasyonu tetikleyecek */
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================================
MEVCUT STİLLERİN GÜNCELLENMESİ (Hover Efektleri)
===============================================
*/

/* ===== Gelişmiş Kart Hover Efekti ===== */
.video-card {
    /* ... (mevcut video-card stilleri) ... */
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    /* 'all' yerine spesifik geçişler daha performanslıdır */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-card:hover {
    /* Kartı daha fazla kaldır ve gölgeyi büyüt */
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 74, 153, 0.12); /* Gölge daha belirgin */
}

/* ===== Gelişmiş Dosya Listesi Hover Efekti ===== */
.dosya-listesi a {
    /* ... (mevcut dosya-listesi a stilleri) ... */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dosya-listesi a:hover {
    /* Sadece sağa kaymasın, hafifçe büyüsün ve gölgesi artsın */
    transform: translateX(8px) scale(1.01);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
    background: #fff;
}
