<?php
header('Content-Type: text/css; charset=UTF-8');

// Renk ve transparanlık ayarlarını hesapla
$header_bg_color = "rgba(" . implode(',', array_map('hexdec', str_split(substr($ayarlar['header_bg_color'], 1), 2))) . ",{$ayarlar['header_bg_opacity']})";
$manset_bg_color = "linear-gradient({$ayarlar['manset_bg_angle']}deg, {$ayarlar['manset_bg_color1']}, {$ayarlar['manset_bg_color2']})";
$site_bg_color = "rgba(" . implode(',', array_map('hexdec', str_split(substr($ayarlar['site_bg_color'], 1), 2))) . ",{$ayarlar['site_bg_opacity']})";
?>

/* Genel Stil Ayarları (Tüm sayfa için temel stiller) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: <?= htmlspecialchars($site_bg_color) ?>;
    color: #1f2937;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Bölümü (Üst kısım için stil) */
header {
    background: <?= htmlspecialchars($header_bg_color) ?>;
    padding: 1rem 0;
}

/* Manşet Bölümü (Manşet Slider ve içeriği) */
.manset-section {
    background: <?= htmlspecialchars($manset_bg_color) ?>;
    padding: 1rem 0;
}

.manset-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.swiper-container {
    flex: 1;
    max-width: <?= $ayarlar['sag_haber_goster'] ? 'calc(100% - 360px)' : '100%' ?>;
    min-width: 0;
}

.swiper {
    max-width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.swiper-slide {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio for landscape */
}

.swiper-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    image-rendering: auto;
}

.swiper-slide:hover img {
    transform: scale(1.05);
}

.swiper-slide .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 70%, transparent);
    color: #fff;
    transition: background 0.3s ease;
}

.swiper-slide .caption:hover {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 70%, transparent);
}

.swiper-slide .caption-content {
    padding: 1rem 1.5rem;
    position: absolute;
    bottom: 45px;
    left: 0;
    right: 0;
}

.swiper-slide .caption .etiket {
    display: inline-block;
    background: #facc15;
    color: #1f2937;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
    transition: background 0.3s ease;
}

.swiper-slide .caption .etiket:hover {
    background: #eab308;
}

.swiper-slide .caption h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.swiper-slide .caption h2:hover {
    color: #facc15;
}

.swiper-button-prev,
.swiper-button-next {
    color: #fff;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
}

.swiper-pagination {
    position: absolute;
    bottom: 5px;
    text-align: center;
    padding: 0.5rem;
    z-index: 10;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.swiper-pagination-bullet {
    width: 2rem;
    height: 2rem;
    background: #fff;
    opacity: 0.7;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0 0.25rem;
    transition: all 0.3s;
    cursor: pointer;
}

.swiper-pagination-bullet-active {
    background: #1e3a8a;
    color: #fff;
    opacity: 1;
}

/* Sağ Haberler Bölümü (Manşet yanındaki haber kartları) */
.sag-haberler {
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sag-haber-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 241px;
    display: flex;
    flex-direction: column;
}

.sag-haber-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.sag-haber-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.sag-haber-card .content {
    padding: 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.sag-haber-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2rem;
    max-height: 2.4rem;
    min-height: 2.4rem;
}

/* Trend Haberler Bölümü */
.trend-haberler-section {
    padding: 2.5rem 0;
    background: linear-gradient(135deg, #ffffff, #f3f4f6);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.trend-haberler-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.trend-haberler-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-left: 5px solid #e63946;
    padding-left: 1rem;
    transition: transform 0.3s ease;
}

.trend-haberler-header h2 i {
    font-size: 1.75rem;
    color: #e63946;
    transition: transform 0.3s ease, color 0.3s ease;
}

.trend-haberler-header h2:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #ff6b6b;
}

.tabs {
    display: flex;
    gap: 0.75rem;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tab {
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #4b5563;
    background: transparent;
}

.tab:hover {
    background: #e63946;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(230,57,70,0.3);
}

.tab.active {
    background: #e63946;
    color: #fff;
    box-shadow: 0 4px 12px rgba(230,57,70,0.4);
    transform: translateY(-2px);
}

.tab-content {
    display: none;
    animation: slideIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

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

.trend-haberler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.trend-haber-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    position: relative;
}

.trend-haber-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

.trend-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 16px 16px 0 0;
    transition: transform 0.4s ease;
}

.trend-haber-card:hover .trend-image {
    transform: scale(1.05);
}

.content {
    padding: 1.25rem;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
}

.category {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e63946;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(230,57,70,0.1);
    border-radius: 8px;
}

.trend-haber-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.trend-haber-card:hover h3 {
    color: #e63946;
}

.rank {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #e63946, #ff6b6b);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.no-content {
    font-size: 0.9rem;
    color: #6b7280;
    text-align: center;
    padding: 1.5rem;
}

/* Öne Çıkan Haberler Bölümü */
.onecikan-section {
    padding: 3rem 0;
}

.onecikan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.onecikan-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.onecikan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.onecikan-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.onecikan-card .content {
    padding: 1.25rem;
}

.onecikan-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.onecikan-card p {
    font-size: 0.875rem;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Yayındaki Haberler Bölümü */
.haberler-section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-left: 5px solid #facc15;
    padding-left: 0.75rem;
}

.haber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.haber-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.haber-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.haber-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.haber-card .content {
    padding: 1.25rem;
}

.haber-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.haber-card p {
    font-size: 0.875rem;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Köşe Yazarları Bölümü */
.kose-section {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.kose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0 0 L50 100 L100 0 Z" fill="rgba(255,255,255,0.1)"/></svg>') no-repeat center/cover;
    opacity: 0.5;
}

.kose-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.kose-header a {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e3a8a;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    z-index: 11;
}

.kose-header a:hover {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59,130,246,0.2);
}

.yazar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
}

.yazar-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 2px solid transparent;
    position: relative;
    text-align: center;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    width: 100%;
    height: 360px;
}

.yazar-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 1.5rem auto 0.75rem;
    border: 3px solid #e2e8f0;
}

.yazar-card .content {
    padding: 0 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - 156px);
}

.yazar-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yazar-card .son-yazi {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 0.75rem;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yazar-card .son-yazi:hover {
    color: #1e3a8a;
}

.yazar-card p {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.yazar-card .read-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 2rem;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    box-shadow: 0 2px 8px rgba(59,130,246,0.2);
}

.yazar-card .read-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

/* Vefatlar Bölümü */
.vefatlar-section {
    padding: 3rem 0;
}

.vefatlar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.vefatlar-header a {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e3a8a;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.vefatlar-header a:hover {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59,130,246,0.2);
}

.vefat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.vefat-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.vefat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.vefat-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.vefat-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    padding: 1rem;
}

/* YouTube Videolar Bölümü */
.youtube-section {
    padding: 3rem 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin: 1rem 0;
}

.youtube-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.youtube-main {
    flex: 2;
    min-width: 0;
}

.youtube-main iframe {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    border: none;
}

.youtube-main h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.youtube-main h3:hover {
    color: #e63946;
}

.youtube-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 340px;
}

.youtube-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.youtube-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.youtube-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.youtube-card .content {
    padding: 0.5rem;
}

.youtube-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2rem;
    max-height: 2.4rem;
}

.youtube-card:hover h4 {
    color: #e63946;
}

/* Mobil Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0.5rem 0;
    border-top: 1px solid #e2e8f0;
}

.mobile-bottom-nav .nav-buttons {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-bottom-nav .nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #1f2937;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-bottom-nav .nav-button i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    transition: transform 0.3s ease;
}

.mobile-bottom-nav .nav-button span {
    display: block;
}

.mobile-bottom-nav .nav-button:hover,
.mobile-bottom-nav .nav-button:focus {
    color: #3b82f6;
    transform: translateY(-2px);
}

.mobile-bottom-nav .nav-button:hover i,
.mobile-bottom-nav .nav-button:focus i {
    transform: scale(1.1);
}

.mobile-bottom-nav .whatsapp {
    color: #25D366;
}

.mobile-bottom-nav .whatsapp:hover,
.mobile-bottom-nav .whatsapp:focus {
    color: #1ebe57;
}

/* Responsive Tasarım: 1024px ve altı */
@media (max-width: 1024px) {
    /* Manşet Bölümü */
    .swiper-container {
        max-width: <?= $ayarlar['sag_haber_goster'] ? 'calc(100% - 300px)' : '100%' ?>;
    }

    .sag-haberler {
        width: 280px;
    }

    .sag-haber-card {
        height: 220px;
    }

    .sag-haber-card img {
        height: 150px;
    }

    .sag-haber-card h3 {
        line-height: 1.2rem;
        max-height: 2.4rem;
        min-height: 2.4rem;
    }

    .swiper-slide .caption {
        height: 120px;
    }

    .swiper-slide .caption-content {
        bottom: 40px;
        padding: 1rem 1.5rem;
    }

    .swiper-slide .caption h2 {
        font-size: 1.25rem;
    }

    /* Haber ve Vefat Grid */
    .haber-grid,
    .vefat-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    /* Öne Çıkan Haberler */
    .onecikan-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Yazarlar */
    .yazar-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .yazar-card {
        height: 340px;
    }

    .yazar-card img {
        width: 110px;
        height: 110px;
    }

    /* Trend Haberler */
    .trend-haberler-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .trend-image {
        height: 120px;
    }

    /* YouTube Videolar */
    .youtube-main iframe {
        height: 300px;
    }

    .youtube-sidebar {
        max-width: 280px;
    }

    .youtube-card img {
        height: 80px;
    }
}

/* Responsive Tasarım: 768px ve altı */
@media (max-width: 768px) {
    /* Manşet Bölümü */
    .manset-container {
        flex-direction: column;
    }

    .swiper-container {
        max-width: 100%;
    }

    .sag-haberler {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .sag-haber-card {
        width: calc(50% - 0.5rem);
        height: 220px;
    }

    .sag-haber-card img {
        height: 140px;
    }

    .sag-haber-card h3 {
        line-height: 1.2rem;
        max-height: 2.4rem;
        min-height: 2.4rem;
    }

    .swiper-slide {
        padding-top: 0;
        display: flex;
        flex-direction: column;
    }

    .swiper-slide img {
        position: static;
        height: auto;
        width: 100%;
        object-fit: contain;
        image-rendering: crisp-edges;
    }

    .swiper-slide .caption {
        position: static;
        height: auto;
        background: #000;
        color: #fff;
        transition: background 0.3s ease;
        padding: 0.75rem;
    }

    .swiper-slide .caption:hover {
        background: #111;
    }

    .swiper-slide .caption-content {
        position: static;
        bottom: auto;
        padding: 0;
    }

    .swiper-slide .caption .etiket {
        display: inline-block;
        background: #facc15;
        color: #1f2937;
        font-size: 0.7rem;
        font-weight: 600;
        padding: 0.2rem 0.6rem;
        border-radius: 9999px;
        margin-bottom: 0.3rem;
        transition: background 0.3s ease;
    }

    .swiper-slide .caption .etiket:hover {
        background: #eab308;
    }

    .swiper-slide .caption h2 {
        font-size: 1.1rem;
        font-weight: 700;
        line-height: 1.3;
        transition: color 0.3s ease;
        color: #fff;
    }

    .swiper-slide .caption h2:hover {
        color: #facc15;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .swiper-pagination {
        position: relative;
        bottom: auto;
        margin-top: 1rem;
        padding: 0.5rem 0;
        background: #f8fafc;
        border-radius: 0.5rem;
    }

    .swiper-pagination-bullet {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.75rem;
        margin: 0 0.125rem;
        border-radius: 0.375rem;
        transition: all 0.3s ease;
    }

    .swiper-pagination-bullet:hover {
        background: #e2e8f0;
    }

    /* Bölüm Başlıkları */
    .section-title {
        font-size: 1.75rem;
    }

    /* Haber, Vefat ve Öne Çıkan Grid */
    .haber-grid,
    .vefat-grid,
    .onecikan-grid {
        grid-template-columns: 1fr;
    }

    /* Trend Haberler */
    .trend-haberler-section {
        padding: 1.5rem 0;
    }

    .trend-haberler-header h2 {
        font-size: 1.25rem;
    }

    .trend-haberler-header h2 i {
        font-size: 1rem;
    }

    .trend-haberler-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0.75rem;
    }

    .trend-image {
        height: 120px;
        object-fit: contain;
    }

    .trend-haber-card h3 {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .category {
        font-size: 0.65rem;
    }

    .rank {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

    .tabs {
        justify-content: center;
        gap: 0.25rem;
    }

    .tab {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    /* Yazarlar */
    .yazar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .yazar-card {
        height: 320px;
    }

    .yazar-card img {
        width: 100px;
        height: 100px;
    }

    .yazar-card h3 {
        font-size: 1.1rem;
    }

    .yazar-card .son-yazi {
        font-size: 0.85rem;
    }

    .yazar-card p {
        font-size: 0.8rem;
    }

    .yazar-card .read-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    /* YouTube Videolar */
    .youtube-container {
        flex-direction: column;
    }

    .youtube-main iframe {
        height: 200px;
    }

    .youtube-sidebar {
        max-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .youtube-card {
        width: calc(50% - 0.25rem);
    }

    .youtube-card img {
        height: 90px;
    }

    /* Mobil Bottom Navigation */
    .mobile-bottom-nav {
        display: block;
    }
}

/* Responsive Tasarım: 480px ve altı */
@media (max-width: 480px) {
    /* Trend Haberler */
    .trend-haberler-grid {
        grid-template-columns: 1fr;
    }

    .trend-image {
        height: 140px;
    }

    /* Yazarlar */
    .yazar-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* YouTube Videolar */
    .youtube-card {
        width: 100%;
    }

    .youtube-card img {
        height: 100px;
    }
}