/* ==========================================================================
   KONESOB Modern Ana CSS Dosyası
   Tüm sitede ortak kullanılan stiller ve WYSIWYG editör içerik tasarımları.
   ========================================================================== */

/* Yazı Tipi ve Temel Ayarlar */
:root {
    --renk-yesil: #014A42;
    --renk-yesil-koyu: #00352E;
    --renk-yesil-acik: #0E7C7C;
    --renk-altin: #91681A;
    --renk-altin-koyu: #805A13;
    --renk-panel: #F8FAFC;
    --renk-cizgi: #E8ECF1;
    --renk-metin: #334155;
    --renk-metin-soluk: #5C6875;
    --renk-hata: #DC2626;
    --r-6: 6px;
    --r-8: 8px;
    --r-12: 12px;
    --r-full: 999px;
    --gol-kart: 0 12px 34px rgba(0, 89, 89, 0.10);
    --gol-kart-hover: 0 18px 44px rgba(0, 89, 89, 0.14);
    --h-fontu: 'Inter', sans-serif;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F8F9FA;
    color: #2C3E50;
}

/* Navigasyon Elemanları */
.nav-item {
    position: relative;
    transition: color 0.2s ease-in-out;
}

.nav-item:hover {
    color: #91681A; /* Altın/Sarı (SEO kontrastı 4.5:1 üzerine çıkarıldı) */
}

/* Hero (Giriş) Bölümü Görsel ve Efektleri */
.hero-bg {
    background-image: url('../../images/slider-1.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(230,239,241,0.80) 0%, rgba(230,239,241,0.50) 45%, rgba(230,239,241,0.02) 100%);
}

/* Alt Kısım (Footer) Harita Arka Planı */
.map-bg {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23ffffff" opacity="0.1"><path d="M50 0 L100 50 L50 100 L0 50 Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
}

/* ==========================================================================
   İç Sayfa WYSIWYG Editör İçerik Tasarımları
   CMS üzerinden gelen ham HTML içeriklerinin şık görüntülenmesini sağlar.
   ========================================================================== */
.editor-icerik {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

.editor-icerik p {
    margin-bottom: 1.25rem;
}

.editor-icerik p:last-child {
    margin-bottom: 0;
}

/* Başlıklar */
.editor-icerik h1, 
.editor-icerik h2, 
.editor-icerik h3, 
.editor-icerik h4, 
.editor-icerik h5, 
.editor-icerik h6 {
    color: #014A42; /* KONESOB Koyu Yeşil */
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.editor-icerik h1 { font-size: 1.75rem; }
.editor-icerik h2 { font-size: 1.5rem; }
.editor-icerik h3 { font-size: 1.25rem; }
.editor-icerik h4 { font-size: 1.1rem; }

/* Linkler */
.editor-icerik a {
    color: #CD9A35;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.15s ease;
}

.editor-icerik a:hover {
    color: #014A42;
}

/* Listeler */
.editor-icerik ul, 
.editor-icerik ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.editor-icerik ul {
    list-style-type: disc;
}

.editor-icerik ol {
    list-style-type: decimal;
}

.editor-icerik li {
    margin-bottom: 0.5rem;
}

/* Tablolar */
.editor-icerik table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    font-size: 0.9rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.editor-icerik th, 
.editor-icerik td {
    padding: 0.75rem 1rem;
    border: 1px solid #E2E8F0;
    text-align: left;
}

.editor-icerik th {
    background-color: #F8FAFC;
    color: #014A42;
    font-weight: 600;
}

.editor-icerik tr:nth-child(even) {
    background-color: #F8FAFC;
}

/* Blok Alıntılar */
.editor-icerik blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #CD9A35;
    background-color: #F8FAFC;
    color: #475569;
    font-style: italic;
    border-radius: 0 0.375rem 0.375rem 0;
}

/* Görseller */
.editor-icerik img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Yatay Çizgi */
.editor-icerik hr {
    border: 0;
    border-top: 1px solid #E2E8F0;
    margin: 2rem 0;
}

/* Kod ve Vurgular */
.editor-icerik strong, 
.editor-icerik b {
    color: #014A42;
    font-weight: 700;
}
