/* 
 * AĞABEYOĞLU YAZILIM A.Ş.
 * Tema: [Manavgat Üniversitesi Fizibilite Raporu]
 * Sürüm: 1.0.1 (HTML Yapısı İyileştirme)
 * Geliştirici: Ağabeyoğlu® Grup Medya İnşaat Yazılım San. ve Tic. A.Ş.
 * Web: https://agabeyoglu.com
 * Lisans:  ©2025 Özel Kullanım | Tüm Hakları Saklıdır.
*/

:root {
    --primary: #0077b6; /* Ana Mavi */
    --secondary: #0096c7; /* İkincil Mavi */
    --dark: #212529;    /* Koyu Gri/Siyah */
    --light: #f8f9fa;   /* Açık Gri */
    --gray: #6c757d;    /* Orta Gri */
    --white: #ffffff;
    --section-padding: 60px 0;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Fixed header yüksekliği kadar */
}

body {
    color: var(--dark);
    line-height: 1.7;
    background-color: var(--light);
    overflow-x: hidden; /* Yatay kaydırmayı engelle */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- HEADER --- */
header {
    background-color: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
    transition: background-color 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px; /* Logo yüksekliği ayarı */
    margin-right: 10px;
    transition: transform 0.3s ease;
}
.logo:hover img {
    transform: scale(1.05);
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
}

.mobile-menu-btn {
    display: none; /* Başlangıçta gizli */
    font-size: 1.8rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active { /* Aktif link için stil */
    color: var(--primary);
}
nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(0, 119, 182, 0.85), rgba(0, 150, 199, 0.85)), url('hero-bg.jpg'); /* Arka plan resmi ekleyin */
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 160px 0 100px; /* Header yüksekliğini hesaba katın */
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 400;
    opacity: 0.9;
}

/* Yeni Eklendi: Hero Giriş Paragrafı */
.hero .hero-intro {
    font-size: 1.1rem;
    margin: 0 auto 35px auto;
    max-width: 700px;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.6;
    color: var(--white); 
}

/* Yeni Eklendi: Hero Butonları */
.hero .hero-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px; /* Yuvarlak buton */
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    margin: 5px; /* Orijinal margin korundu */
}

/* Yeni Eklendi: Buton İkonları */
.hero .btn i {
    margin-right: 8px;
    vertical-align: middle;
}

.btn:hover {
    background-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* --- GENEL SECTION STYLING --- */
section {
    padding: var(--section-padding);
    background-color: var(--white); /* İçerik alanları beyaz */
    margin-bottom: 1px; /* Bölümler arası ince çizgi */
}
section:nth-child(odd):not(.hero) { /* Tek sayılı bölümler için farklı arka plan */
    background-color: #f1f7fc; /* Çok açık mavi */
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
}

/* --- CONTENT STYLING --- */
.report-section {
    margin-bottom: 40px;
}

/* Ana Bölüm Başlıkları (H2) */
.report-section h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 40px; /* H3/H4 ile karışmaması için boşluk artırıldı */
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary);
    text-align: left; /* Varsayılan sola hizalı */
}

/* Yönetici Özeti Başlığı (H3) */
.report-section h3 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

/* Alt Bölüm Başlıkları (H4) */
.report-section h4 {
    color: var(--primary);
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

/* Daha Alt Başlıklar (H5) */
.report-section h5 {
     color: var(--secondary);
     font-size: 1.2rem;
     margin: 25px 0 10px;
     font-weight: 600;
}

.report-section p {
    margin-bottom: 15px;
    color: var(--gray);
}
.report-section p strong {
     color: var(--dark);
}

.report-section ul, .report-section ol {
    margin-left: 25px;
    margin-bottom: 15px;
    color: var(--gray);
}
.report-section li {
    margin-bottom: 8px;
    padding-left: 5px; /* Liste elemanları için hafif girinti */
}

.report-section li strong { /* Liste maddesi başlıkları için */
    color: var(--dark);
    font-weight: 600;
    margin-right: 5px;
}

/* Misyon, Vizyon, Değerler Bölümü İyileştirmeleri */
#misyon-vizyon {
    background-color: var(--white); /* Arka planı beyaz (eğer bölüm #f1f7fc ise) */
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow); 
    border: 1px solid #e0eaf3; 
    margin-top: 20px;
}

#misyon-vizyon h5 { /* Misyon, Vizyon, Temel Değerler başlıkları */
    font-size: 1.3rem; /* Biraz daha büyük */
    color: var(--primary);
    margin-top: 20px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--secondary);
    display: flex; /* İkon eklemek için */
    align-items: center; /* İkonu dikeyde ortala */
}

#misyon-vizyon h5::before { /* Başlıklara ikon ekleme */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
    font-size: 1.1rem;
    color: var(--secondary);
}

#misyon-vizyon h5:first-of-type { /* İlk başlığın üst boşluğunu kaldır */
    margin-top: 0;
}


/* Misyon başlığına ikon */
#misyon-vizyon h5:nth-of-type(1)::before {
    content: "\f192"; /* fa-bullseye */
}

/* Vizyon başlığına ikon */
#misyon-vizyon h5:nth-of-type(2)::before {
    content: "\f06e"; /* fa-eye */
}

/* Temel Değerler başlığına ikon */
#misyon-vizyon h5:nth-of-type(3)::before {
    content: "\f005"; /* fa-star */
}

#misyon-vizyon p { /* Misyon/Vizyon paragrafları */
    color: var(--dark); /* Daha belirgin metin */
    line-height: 1.8;
}

#misyon-vizyon ul { /* Temel Değerler listesi */
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
    columns: 2; /* Liste 2 sütun olsun (isteğe bağlı, ekran genişliğine göre) */
    column-gap: 30px;
}

#misyon-vizyon ul li {
    position: relative;
    padding-left: 25px; /* İkon için yer aç */
    margin-bottom: 12px;
    color: var(--dark); /* Liste elemanları */
    break-inside: avoid; /* Sütunlarda bölünmeyi engelle */
}

#misyon-vizyon ul li::before { /* Değerler listesi için ikon */
    content: "\f00c"; /* fa-check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--primary);
    font-size: 0.9rem;
}

#misyon-vizyon ul li strong {
    font-weight: 600; /* Liste içindeki vurguları belirginleştir */
}

/* --- İNFOGRAFİK / RESİM YER TUTUCU --- */
.infographic-placeholder {
    width: 100%;
    min-height: 250px; /* Minimum yükseklik */
    background-color: #e9ecef;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    border-radius: var(--border-radius);
    color: var(--gray);
    font-style: italic;
    font-size: 1.1rem;
    border: 1px dashed #ced4da;
    text-align: center;
    padding: 20px;
}

/* --- STATS (İSTATİSTİK KUTULARI) --- */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 25px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 119, 182, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.4);
}

.stat-box i { 
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.stat-box h3 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    color: var(--white);
    font-weight: 700;
     /* Report-section'dan gelen stili sıfırla */
    border-bottom: none;
    padding-bottom: 0;
}

.stat-box p {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
     margin-bottom: 0;
}

/* --- ALINTI (Blockquote) --- */
blockquote {
    background-color: #e7f3f8; /* Açık mavi arka plan */
    border-left: 5px solid var(--secondary);
    padding: 25px;
    margin: 30px 0;
    font-style: italic;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    position: relative;
}

blockquote p {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--dark);
}

blockquote::before { /* Tırnak işareti */
    content: "\f10d"; /* Font Awesome quote-left ikonu */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--secondary);
    position: absolute;
    top: 15px;
    left: 15px;
    opacity: 0.6;
}
blockquote p:first-of-type {
     padding-left: 30px; /* İkona yer aç */
}


blockquote cite {
    display: block;
    font-weight: 600;
    margin-top: 15px;
    font-style: normal;
    color: var(--primary);
    text-align: right;
}

/* --- LAYOUT (SIDEBAR + MAIN CONTENT) --- */
.content-wrapper {
    display: flex;
    flex-direction: row; /* Varsayılan */
    gap: 30px;
}

.main-content-area {
    flex-grow: 1; /* Ana içerik alanı genişlesin */
    min-width: 0; /* Flexbox item'larının küçülmesine izin ver */
}

.sidebar {
    width: 280px; /* Sabit genişlik */
    flex-shrink: 0; /* Kenar çubuğu küçülmesin */
    position: sticky;
    top: 100px; /* Header yüksekliği + boşluk */
    height: calc(100vh - 120px); /* Ekran yüksekliğine göre ayarla */
    overflow-y: auto; /* Gerektiğinde kaydırma çubuğu */
    padding-right: 15px; /* Kaydırma çubuğu için boşluk */
}

/* --- TABLE OF CONTENTS (İÇİNDEKİLER) --- */
.toc {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.toc h3 { /* TOC Başlığı */
    color: var(--primary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    font-size: 1.3rem;
}

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

.toc ul li {
    margin-bottom: 8px;
}

.toc ul li a {
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: block;
}

.toc ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
    font-weight: 500;
}
.toc ul li a.active-toc { /* Aktif TOC linki */
     color: var(--primary);
     font-weight: 600;
}


.toc-level-2 {
    padding-left: 15px;
}
.toc-level-2 a {
     font-size: 0.85rem;
     color: var(--gray);
}
.toc-level-2 a:hover {
    color: var(--secondary);
}
 .toc-level-2 a.active-toc {
     color: var(--secondary);
     font-weight: 600;
}

/* --- SSS (FAQ) --- */
.faq-item {
    margin-bottom: 30px; /* Her SSS öğesi arasına boşluk ekler */
    padding-bottom: 20px; /* Öğelerin altına iç boşluk */
    border-bottom: 1px solid #e0e0e0; /* Öğeler arasına ince bir çizgi ekler (sonuncusu hariç) */
}

.faq-item:last-child {
    margin-bottom: 0; /* Son öğenin altındaki boşluğu kaldırır */
    padding-bottom: 0; /* Son öğenin altındaki iç boşluğu kaldırır */
    border-bottom: none; /* Son öğenin altındaki çizgiyi kaldırır */
}

#sss .faq-item h4 { /* SSS Soru Başlıkları */
    color: var(--primary); /* Diğer h4'lerle aynı */
    font-size: 1.4rem; /* Diğer h4'lerle aynı */
    margin: 0 0 10px 0; /* Alt boşluk ayarlandı */
}

#sss .faq-item p,
#sss .faq-item ul {
    margin-bottom: 0; /* Paragrafın kendi alt boşluğunu kaldırıp .faq-item'a bırakmak için */
    color: var(--gray); /* Diğer paragraflarla aynı */
}

#sss .faq-item ul {
    margin-top: 10px; /* Liste ile önceki metin arasına boşluk */
    margin-left: 25px; /* Diğer listelerle aynı girinti */
}

#sss .faq-item li strong {
    color: var(--dark); /* Diğer strong'lar gibi */
}


/* --- FOOTER --- */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 50px 0 20px;
    margin-top: 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
    font-weight: 600;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-column p,
.footer-column a {
    color: #adb5bd;
    margin-bottom: 10px;
    display: block;
    font-size: 0.9rem;
}

.footer-column a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    font-size: 0.85rem;
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
 .back-to-top:hover {
     background-color: var(--secondary);
     transform: scale(1.1);
 }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }

    .sidebar {
        position: static; /* Sticky özelliğini kaldır */
        width: 100%;
        height: auto; /* Yüksekliği otomatik yap */
        margin-bottom: 30px;
        overflow-y: visible; /* Kaydırmayı kaldır */
        padding-right: 0;
    }
     .toc {
          max-height: 300px; /* TOC için maksimum yükseklik */
          overflow-y: auto;
     }

    .hero h1 {
        font-size: 2.5rem;
    }
    .hero h2 {
        font-size: 1.3rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .report-section h2 { /* Ana bölüm başlıkları responsive */
         font-size: 2rem;
     }

    #misyon-vizyon ul { /* Değerler listesi 992px altında tek sütun */
        columns: 1;
    }

    .logo-text h1 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    html {
         scroll-padding-top: 70px; /* Mobil header yüksekliği */
    }
     header {
         padding: 10px 0;
     }
     .logo img {
          height: 40px;
     }
     .logo-text h1 {
          font-size: 1.2rem;
     }

    .mobile-menu-btn {
        display: block; /* Menü butonunu göster */
    }

    nav {
        position: fixed;
        top: 60px; /* Header yüksekliğine göre ayarla */
        left: -100%; /* Başlangıçta ekranın dışında */
        width: 80%;
        max-width: 300px; /* Maksimum genişlik */
        height: calc(100vh - 60px);
        background-color: var(--white);
        transition: left 0.3s ease-in-out;
        padding: 30px 20px;
        z-index: 999;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    nav.active {
        left: 0; /* Aktif olunca ekranın içine kaydır */
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 15px;
        width: 100%;
    }
     nav ul li a {
         padding: 10px 5px;
         display: block;
         width: 100%;
         font-size: 1rem;
     }
     nav ul li a::after {
          display: none; /* Mobil menüde alt çizgiyi kaldır */
     }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }
    .hero h2 {
        font-size: 1.1rem;
    }
     .hero .hero-intro {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .hero .hero-buttons {
        gap: 10px; /* Mobilde buton arası boşluğu azalt */
    }


    .stats-container {
         grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .footer-column {
        min-width: 100%; /* Footer sütunlarını alt alta getir */
         text-align: center;
    }
     .footer-column h3::after {
          left: 50%;
          transform: translateX(-50%);
     }
     .social-links {
         justify-content: center;
     }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
     .hero h2 {
        font-size: 1rem;
    }

    .hero .hero-buttons .btn {
        width: calc(50% - 10px); /* Küçük ekranlarda butonları 2'li sığdırmak için (gap'ı hesaba kat) */
        padding: 10px 15px; /* Buton iç boşluğunu azalt */
        font-size: 0.85rem;
     }


    .section-title h2 {
        font-size: 1.8rem;
    }

    .report-section h2 { /* Ana bölüm başlıkları responsive */
         font-size: 1.8rem;
     }

    .report-section h3 { /* Yönetici Özeti vb. responsive */
        font-size: 1.5rem;
    }
     .report-section h4 { /* Alt başlıklar responsive */
         font-size: 1.2rem;
     }
      .report-section h5 { /* Daha alt başlıklar responsive */
          font-size: 1.1rem;
      }

     #misyon-vizyon { /* Misyon/Vizyon mobil */
         padding: 20px;
     }

     #misyon-vizyon ul { /* Değerler listesi mobil tek sütun */
         columns: 1;
     }


    .stats-container {
         grid-template-columns: 1fr; /* İstatistikleri tek sütun yap */
         gap: 15px;
    }
     .stat-box {
          padding: 20px 15px;
     }
     .stat-box h3 {
          font-size: 2rem;
     }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
     blockquote {
         padding: 20px;
     }
     blockquote p {
          font-size: 1rem;
     }

     #sss .faq-item h4 { /* SSS Soru Başlıkları responsive */
         font-size: 1.2rem;
     }
}