/* Tema Değişkenleri */
:root {
    /* Tema 1 - Mor */
    --tema-1-primary: #1a237e;
    --tema-1-secondary: #303f9f;
    --tema-1-accent: #3949ab;
    --tema-1-text: #333;
    --tema-1-light-bg: #f5f5f5;
    --tema-1-border: #e0e0e0;

    /* Tema 2 - Kırmızı */
    --tema-2-primary: #b71c1c;
    --tema-2-secondary: #c62828;
    --tema-2-accent: #d32f2f;
    --tema-2-text: #333;
    --tema-2-light-bg: #f5f5f5;
    --tema-2-border: #e0e0e0;

    /* Tema 3 - Turuncu */
    --tema-3-primary: #ff6f00;
    --tema-3-secondary: #ffa040;
    --tema-3-accent: #c62828;
    --tema-3-text: #333;
    --tema-3-light-bg: #fff8e1;
    --tema-3-border: #ffe0b2;

    /* Aktif Tema (Varsayılan: Tema 1) */
    --primary-color: var(--tema-1-primary);
    --secondary-color: var(--tema-1-secondary);
    --accent-color: var(--tema-1-accent);
    --text-color: var(--tema-1-text);
    --light-bg: var(--tema-1-light-bg);
    --border-color: var(--tema-1-border);
}

/* Tema 2 için Sınıf */
.tema-2 {
    --primary-color: var(--tema-2-primary);
    --secondary-color: var(--tema-2-secondary);
    --accent-color: var(--tema-2-accent);
    --text-color: var(--tema-2-text);
    --light-bg: var(--tema-2-light-bg);
    --border-color: var(--tema-2-border);
}

/* Tema 3 için Sınıf */
.tema-3 {
    --primary-color: var(--tema-3-primary);
    --secondary-color: var(--tema-3-secondary);
    --accent-color: var(--tema-3-accent);
    --text-color: var(--tema-3-text);
    --light-bg: var(--tema-3-light-bg);
    --border-color: var(--tema-3-border);
}

/* Genel Stiller */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
}

/* Header Stili */
header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2rem;
    margin: 0;
    color: white;
}

header .nav-link {
    color: rgba(255,255,255,0.9) !important;
    transition: color 0.3s;
    font-weight: 500;
}

header .nav-link:hover {
    color: white !important;
}

/* Manşet Stili */
.manset-container {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
}

.manset {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.manset-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.manset-slide.active {
    opacity: 1;
}

.manset-resim {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manset-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26,35,126,0.9), rgba(26,35,126,0.4));
    color: white;
    padding: 20px;
}

/* Tema 2 için manşet overlay */
.tema-2 .manset-overlay {
    background: linear-gradient(to top, rgba(183,28,28,0.9), rgba(183,28,28,0.4));
}

.manset-baslik {
    font-size: 1.6rem;
    font-weight: 500;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.manset-ozet {
    font-size: 0.95rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.manset-nav {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.manset-nav button {
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.manset-nav button:hover {
    background: rgba(255,255,255,0.5);
}

.manset-numbers {
    position: absolute;
    bottom: -40px;
    left: 0;
    display: flex;
    gap: 5px;
    z-index: 10;
}

.manset-number {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.manset-number.active {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Başlık Stilleri */
.baslik-container {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.baslik-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.baslik-container h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.baslik-container h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Yan İçerik Stili */
.yan-icerik {
    height: 400px;
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.yan-icerik-baslik {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    padding: 20px;
    color: white;
    background: var(--primary-color);
    position: relative;
}

.yan-icerik-baslik::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
}

.yan-icerik-liste {
    list-style: none;
    padding: 0;
    margin: 0;
    height: calc(100% - 60px);
    overflow-y: auto;
}

.yan-icerik-liste::-webkit-scrollbar {
    width: 6px;
}

.yan-icerik-liste::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.yan-icerik-liste::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.yan-icerik-liste li {
    margin: 0;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.yan-icerik-liste li:hover {
    background-color: var(--light-bg);
}

.yan-icerik-liste li:last-child {
    border-bottom: none;
}

.yan-icerik-liste a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
    display: block;
    margin-bottom: 5px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.yan-icerik-liste a:hover {
    color: var(--accent-color);
}

.yan-icerik-liste .tarih {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
}

.yan-icerik-liste .tarih::before {
    content: '\F4E5';
    font-family: 'bootstrap-icons';
    margin-right: 5px;
    font-size: 0.9rem;
}

/* Haber Kartları */
.card {
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
}

.card-text {
    color: var(--text-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Yan Menü */
.sidebar .card {
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sidebar .card-header {
    background-color: var(--light-bg);
    border-bottom: none;
    padding: 15px 20px;
}

.sidebar .card-header h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    position: relative;
    padding-left: 15px;
}

.sidebar .card-header h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Footer */
footer {
    margin-top: 50px;
    background-color: var(--primary-color);
    color: white;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
}

footer h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

footer h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: white;
    border-radius: 2px;
}

footer p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    font-size: 0.95rem;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: rgba(255,255,255,0.8);
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .manset {
        height: 300px;
    }
    
    .yan-icerik {
        height: auto;
        margin-top: 50px;
        max-height: 400px;
    }
    
    .yan-icerik-liste {
        height: auto;
        max-height: 340px;
    }
    
    .manset-baslik {
        font-size: 1.2rem;
    }
    
    .manset-ozet {
        font-size: 0.85rem;
    }
    
    .manset-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .card-img-top {
        height: 150px;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
}

/* Haber Detay Sayfası */
.haber-detay img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.haber-detay h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.haber-meta {
    color: #666;
    margin-bottom: 20px;
}

/* Yorumlar Bölümü */
.yorumlar {
    margin-top: 40px;
}

.yorum {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.yorum-meta {
    font-size: 0.9rem;
    color: #666;
}

/* Tema Değiştirme Butonu */
.tema-degistir {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.tema-degistir .btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.05rem;
    outline: none;
}

.tema-degistir .btn:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.tema-degistir .btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(198,40,40,0.2);
}

.tema-degistir .btn svg {
    display: block;
}

.tema-degistir .bi {
    font-size: 1.1rem;
}

/* Hava Durumu Widget */
.hava-durumu {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hava-durumu img {
    width: 45px;
    height: 45px;
}

.hava-durumu .sicaklik {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2px;
}

.hava-durumu .durum {
    font-size: 0.9rem;
    opacity: 0.95;
}

.hava-durumu .bi {
    font-size: 2rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hava-durumu {
        margin-top: 10px;
        text-align: center;
    }
}

.manset-resim-modern {
    border-radius: 10px 10px 0 0 !important;
}
.manset-overlay-modern {
    border-radius: 0 0 0 0 !important;
}
.manset-indicator.num-indicator {
    border-radius: 0 !important;
    margin: 0 !important;
}
.manset-indicators, .manset-indicators-bottom {
    gap: 0 !important;
}
@media (max-width: 768px) {
    .manset-indicator.num-indicator { border-radius: 0 !important; }
}

.manset-slider {
    border-radius: 10px 10px 0 0 !important;
}

.hava-durumu-modern {
    padding: 1px 6px 1px 4px;
    min-width: 110px;
    font-size: 0.92rem;
    gap: 4px;
}
.hava-durumu-modern .weather-icon {
    min-width: 22px;
    min-height: 22px;
    font-size: 1.1rem;
}
.hava-durumu-modern .weather-info-modern .sicaklik {
    font-size: 0.95rem;
}
.hava-durumu-modern .weather-info-modern .sehir,
.hava-durumu-modern .weather-info-modern .durum,
.hava-durumu-modern .weather-info-modern .detay {
    font-size: 0.65rem;
}

.btn-outline-secondary.btn-sm[type="submit"]:hover, .btn-outline-secondary.btn-sm:focus {
    background: rgba(255,255,255,0.2) !important;
    color: var(--text-on-primary) !important;
    border-color: var(--text-on-primary) !important;
}

.navbar {
    background-color: #1a237e;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.navbar-brand {
    color: white !important;
    font-weight: bold;
    font-size: 1.5rem;
}
.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s;
}
.nav-link:hover {
    color: white !important;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}
.manset-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.manset-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.manset-item:hover {
    transform: translateX(10px);
}
.manset-number {
    font-size: 2rem;
    font-weight: bold;
    color: #1a237e;
    min-width: 50px;
    text-align: center;
}
.manset-content {
    flex: 1;
    padding-left: 15px;
}
.manset-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 5px;
}
.manset-text {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}
.manset-date {
    color: #888;
    font-size: 0.8rem;
    margin-top: 5px;
}
.haber-card {
    margin-bottom: 20px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    background: white;
}
.haber-card:hover {
    transform: translateY(-5px);
}
.haber-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.haber-card .card-body {
    padding: 20px;
}
.haber-card .card-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #1a237e;
    font-weight: 600;
}
.haber-card .card-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}
.yazar-card {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}
.yazar-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}
.yazar-card h5 {
    color: #1a237e;
    margin-bottom: 5px;
}
.yazar-card p {
    color: #666;
    font-size: 0.9rem;
}
.sidebar {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.sidebar-title {
    color: #1a237e;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a237e;
}
.page-header {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    padding: 18px 0;
    margin-bottom: 30px;
    border-radius: 0 0 20px 20px;
}
.page-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}
.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 10px 0 0;
}
.custom-indicator {
    width: 36px;
    height: 36px;
    border-radius: 0 !important;
    border: none !important;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #1a237e;
    transition: background 0.2s, color 0.2s;
    margin: 0 !important;
    padding: 0;
}
#customIndicators {
    gap: 0 !important;
}
.custom-indicator.active,
.custom-indicator:hover {
    background: #1a237e !important;
    color: #fff !important;
}

/* --- Inline Style Utility Classes for index.php --- */
.spacer-48 { height: 48px; }
.carousel-850-450 { width: 850px; max-width: 100%; height: 450px; margin-left: 0; }
.carousel-inner-850-450 { width: 850px; max-width: 100%; height: 450px; position: relative; }
.block-full { display: block; width: 100%; height: 100%; text-decoration: none; }
.img-manset { width: 850px; max-width: 100%; height: 450px; object-fit: cover; cursor: pointer; border-radius: 16px 16px 0 0; }
.carousel-caption-left { left: 0; right: auto; text-align: left; }
.custom-indicators-pos { position: relative; top: -10px; }
.mt-4rem { margin-top: 4rem; }
.img-haber-card { width: 100%; height: 200px; object-fit: cover; }
.card-title-custom { font-size: 1.1rem; font-weight: 600; color: #1a237e; }
.card-text-custom { color: #666; font-size: 0.95rem; line-height: 1.5; }
.font-097 { font-size: 0.97rem; }
.img-populer { width: 60px; height: 40px; object-fit: cover; border-radius: 5px; margin-right: 10px; }
.font-092em-gray { font-size: 0.92em; color: #666; } 