/* GENEL */
body.bg-body {
    background:#f5f5f7;
    color:#222;
}

a {
    color:inherit;
}

/* HEADER */
.main-header .navbar {
    position:sticky;
    top:0;
    z-index:50;
    backdrop-filter:blur(12px);
}

/* Ana nav */
.main-nav-list .nav-link {
    font-size:.9rem;
    font-weight:500;
    padding-right:.7rem;
    padding-left:.7rem;
}

/* ANA YERLEŞİM */
.main-layout {
    padding-bottom:2.5rem;
}

/* === TOP SLIDER === */



.main-carousel {
    border-radius:20px;
    overflow:hidden;
}

.slider-card {
    position:relative;
    min-height:280px;
    background:#111;
    color:#fff;
}

.slider-bg {
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    transform:scale(1.03);
    filter:brightness(0.75);
}

.slider-overlay {
    position:absolute;
    inset:0;
    background:linear-gradient(120deg, rgba(0,0,0,0.7), rgba(0,0,0,0.25));
}

.slider-content {
    position:relative;
    z-index:2;
    padding:1.8rem 1.9rem;
    max-width:640px;
}

.slider-meta {
    display:flex;
    align-items:center;
    gap:.6rem;
    font-size:.78rem;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-bottom:.4rem;
}

.slider-category {
    padding:2px 9px;
    border-radius:999px;
    background:#fbbf24;
    color:#111;
    text-decoration:none;
    font-weight:600;
}

.slider-date {
    padding:2px 7px;
    border-radius:999px;
    background:rgba(255,255,255,0.1);
}

.slider-title {
    font-size:1.7rem;
    line-height:1.25;
    margin-bottom:.6rem;
}

.slider-title a {
    text-decoration:none;
    color:#fff;
}

.slider-title a:hover {
    text-decoration:underline;
}

.slider-excerpt {
    font-size:.95rem;
    max-width:540px;
    opacity:.92;
    margin-bottom:1.1rem;
}

.slider-readmore {
    display:inline-flex;
    align-items:center;
    font-size:.88rem;
    padding:.45rem 1rem;
    border-radius:999px;
    border:1px solid rgba(255,255,255,0.6);
    text-decoration:none;
    color:#fff;
}

.slider-readmore:hover {
    background:#fff;
    color:#111;
}

/* Carousel okları */
.main-carousel .carousel-control-prev,
.main-carousel .carousel-control-next {
    width:8%;
}

/* Slider yanında manşet liste */
.side-highlight {
    background:#ffffff;
    border-radius:18px;
    padding:1rem 1.1rem;
    border:1px solid #e5e5e5;
}

.side-highlight-title {
    font-size:1rem;
    font-weight:600;
    margin-bottom:.6rem;
}

.side-highlight-list {
    list-style:none;
    margin:0;
    padding:0;
}

.side-highlight-list li + li {
    margin-top:.4rem;
}

.side-highlight-list li a {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.5rem;
    text-decoration:none;
    font-size:.9rem;
}

.side-highlight-list .title {
    flex:1;
}

.side-highlight-list .date {
    font-size:.78rem;
    color:#999;
}

.side-highlight-list .empty {
    font-size:.86rem;
    color:#777;
}


.section-heading h2 {
    font-size:1.1rem;
    font-weight:600;
    margin-bottom:.7rem;
}

/* Haber kartları */
.news-card {
    border-radius:18px;
    overflow:hidden;
    background:#fff;
    border:1px solid #e9e9ea;
    display:flex;
    flex-direction:column;
    transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.news-card:hover {
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(15,23,42,0.12);
    border-color:#ddd;
}

.news-thumb-link {
    display:block;
    position:relative;
    padding-top:60%;
}

.news-thumb {
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
}

.news-body {
    padding:.9rem 1rem 1rem;
}

.news-meta {
    font-size:.8rem;
    color:#777;
    margin-bottom:.2rem;
}

.news-meta .cat {
    text-decoration:none;
}

.news-meta .cat:hover {
    text-decoration:underline;
}

.news-title {
    font-size:1.02rem;
    margin-bottom:.3rem;
}

.news-title a {
    text-decoration:none;
}

.news-title a:hover {
    text-decoration:underline;
}

.news-excerpt {
    font-size:.9rem;
    color:#555;
}

/* === SIDEBAR === */
.sidebar-block {
    background:#fff;
    border-radius:18px;
    border:1px solid #e7e7e8;
    padding:1rem 1.1rem;
}

.sidebar-title {
    font-size:1rem;
    font-weight:600;
    margin-bottom:.6rem;
}

/* Kategori kartları */
.cat-card {
    position:relative;
    display:block;
    overflow:hidden;
    border-radius:14px;
    min-height:90px;
    text-decoration:none;
    color:#fff;
}

.cat-bg {
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    transform:scale(1.03);
    filter:brightness(0.8);
}

.cat-overlay {
    position:absolute;
    inset:0;
    background:linear-gradient(145deg, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
}

.cat-content {
    position:relative;
    z-index:2;
    padding:.7rem .75rem;
}

.cat-name {
    display:block;
    font-size:.9rem;
    font-weight:600;
}

.cat-last {
    display:block;
    margin-top:2px;
    font-size:.78rem;
    opacity:.9;
}

/* Son eklenenler listesi */
.sidebar-latest-list {
    list-style:none;
    margin:0;
    padding:0;
}

.sidebar-latest-list li + li {
    margin-top:.3rem;
}

.sidebar-latest-list li a {
    display:flex;
    justify-content:space-between;
    align-items:center;
    text-decoration:none;
    font-size:.9rem;
}

.sidebar-latest-list .date {
    font-size:.78rem;
    color:#999;
}

.sidebar-latest-list .empty {
    font-size:.85rem;
    color:#777;
}

/* FOOTER */
footer {
    font-size:.85rem;
    color:#777;
    background:#ffffff;
}

/* RESPONSIVE */
@media (max-width: 767.98px) {
    .slider-card {
        min-height:230px;
    }
    .slider-content {
        padding:1.3rem 1.3rem;
    }
    .slider-title {
        font-size:1.35rem;
    }
}

/* ===========================
   POST SAYFASI
=========================== */

.post-page {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

/* Breadcrumb */
.post-breadcrumb {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.7rem;
}
.post-breadcrumb a {
    text-decoration: none;
    color: #555;
}
.post-breadcrumb a:hover {
    text-decoration: underline;
}
.post-breadcrumb span {
    margin: 0 3px;
}
.post-breadcrumb .current {
    color: #111;
}

/* Başlık ve meta */
.post-header {
    margin-bottom: 1rem;
}
.post-category-badge {
    display: inline-block;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.4rem;
}
.post-title-main {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.post-meta-bar {
    font-size: 0.85rem;
    color: #777;
}
.post-meta-bar .meta-item {
    display: inline-block;
}
.post-meta-bar .meta-sep {
    margin: 0 4px;
}

/* Kapak */
.post-cover {
    margin: 1rem 0 1.2rem;
}

/* Paylaşım barı */
.post-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .6rem .8rem;
    border-radius: 999px;
    border: 1px solid #e2e2e3;
    background: #fff;
    margin-bottom: 1rem;
}
.post-share-bar.bottom {
    margin-top: 1.4rem;
}
.post-share-bar .share-label {
    font-size: 0.85rem;
    color: #555;
    white-space: nowrap;
}
.post-share-list {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.post-share-list li {
    margin: 0;
    padding: 0;
}

/* Küçük yuvarlak ikonlar */
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 600;
}

/* Renkler (istersen sonra marka renklerine göre değiştirebiliriz) */
.share-fb {
    background: #1877f2;
    color: #fff;
}
.share-x {
    background: #111;
    color: #fff;
}
.share-li {
    background: #0a66c2;
    color: #fff;
}
.share-wa {
    background: #25d366;
    color: #fff;
}

/* İçerik tipografisi */
.post-content {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.2rem 1.4rem;
    border: 1px solid #e5e5e7;
    font-size: 0.98rem;
    color: #222;
}
.post-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
}
.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 1.4rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}
.post-content ul,
.post-content ol {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}
.post-content blockquote {
    border-left: 3px solid #111;
    padding-left: 0.8rem;
    margin-left: 0;
    color: #555;
    font-style: italic;
}
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Benzer yazılar */
.related-posts-block .related-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.related-posts-list li + li {
    margin-top: 0.4rem;
}
.related-posts-list li a {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    text-decoration: none;
    font-size: 0.9rem;
}
.related-posts-list .date {
    font-size: 0.8rem;
    color: #999;
}

/* Mobil ayarları */
@media (max-width: 767.98px) {
    .post-title-main {
        font-size: 1.5rem;
    }
    .post-share-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}
.side-highlight-list li a.manset-item {
    cursor: pointer;
}

.side-highlight-list li a.manset-item.active {
    font-weight: 600;
    color: #111;
}

.side-highlight-list li a.manset-item.active .date {
    color: #555;
}
/* Manşet küçük slider geliştirme */
.headline-excerpt {
    font-size: .8rem;
    margin-top: .35rem;
    color: #f6f6f6;
    line-height: 1.4;
    max-height: 3.1em;        /* 2 satır civarı */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sayfalama */
.pagination-wrapper {
    margin-top: 1.5rem;
}

.pagination .page-link {
    border-radius: 999px !important;
    padding: 6px 12px;
    font-size: 0.9rem;
}

.pagination .page-item.active .page-link {
    background-color: #111;
    border-color: #111;
}

.pagination .page-link:focus {
    box-shadow: none;
}

/* ===========================
   MANŞET SLIDER KARTI
=========================== */

.headline-carousel {
    position: relative;
}

.headline-carousel .carousel-inner {
    border-radius: 16px;
    overflow: hidden;
}

/* Kartın kendisi */
.headline-card {
    position: relative;
    display: block;
    min-height: 180px;
    color: #fff;
    text-decoration: none;
    z-index: 1;              /* Kart okların altında kalsın */
}

/* Arka plan kapak görseli */
.headline-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: brightness(0.7);
}

/* Üstüne karanlık overlay */
.headline-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(0,0,0,0.85), rgba(0,0,0,0.35));
}

/* Metin kutusu */
.headline-content {
    position: relative;
    z-index: 2;
    padding: 0.85rem 1rem;
}

/* Tarih & başlık & özet */
.headline-date {
    display: inline-block;
    font-size: .75rem;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(0,0,0,0.6);
    margin-bottom: 4px;
}

.headline-title {
    font-size: .95rem;
    margin: 0;
    line-height: 1.4;
}

.headline-excerpt {
    font-size: .8rem;
    margin-top: .35rem;
    color: #f6f6f6;
    line-height: 1.4;
    max-height: 3.1em;       /* 2 satır civarı görünür */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Küçük slider okları biraz içeri gelsin */
.headline-carousel .carousel-control-prev,
.headline-carousel .carousel-control-next {
    width: 12%;
}

/* ===========================
   YENİ: HOME META / OKUMA SÜRESİ /
   INDICATOR / SAYIM ETİKETLERİ
=========================== */

/* Home genel layout */
.home-layout {
    margin-top: 0.5rem;
}

/* Üstteki özet bar (slider/manşet sayıları) */
.home-top-meta {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Slider içi okuma süresi rozeti */
.slider-readtime-badge {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(248,250,252,0.25);
    font-size: 0.7rem;
    text-transform: none;
    letter-spacing: 0;
}

/* Manşet kartı sağ üstte okuma süresi */
.headline-readtime {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(248,250,252,0.25);
}

/* Ana slider için custom indicators */
.main-carousel .custom-indicators {
    position: absolute;
    bottom: 0.7rem;
    left: 1.8rem;
    right: auto;
    display: flex;
    gap: 4px;
    margin: 0;
}

.main-carousel .custom-indicators button {
    width: 18px;
    height: 4px;
    border-radius: 999px;
    border: 0;
    background: rgba(148,163,184,0.7);
    opacity: 0.8;
}

.main-carousel .custom-indicators button.active {
    width: 26px;
    background: #fbbf24;
    opacity: 1;
}

/* Section heading sağ taraf meta (sayfa X / Y) */
.section-heading-meta {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Sidebar başlıklarda küçük sayaç (X kategori / X haber) */
.sidebar-count {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Benzer yazılar kartlı görünüm */
.related-posts-cards {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.related-card {
    border-radius: 14px;
    background: #fafafa;
    border: 1px solid #ececf0;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.related-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15,23,42,0.08);
    border-color: #ddd;
}

.related-card-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.related-thumb {
    width: 96px;
    min-width: 96px;
    height: 72px;
    background-size: cover;
    background-position: center;
}

.related-body {
    padding: .55rem .75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.related-title {
    font-size: .9rem;
    font-weight: 600;
    margin: 0;
}

.related-meta {
    font-size: .78rem;
    color: #999;
}

.related-excerpt {
    font-size: .8rem;
    color: #555;
    margin: 0;
}

/* Mobilde thumb biraz ufalsın */
@media (max-width: 767.98px) {
    .related-thumb {
        width: 80px;
        min-width: 80px;
        height: 60px;
    }
}

.navbar-logo {
    height: 32px;
    max-height: 36px;
    width: auto;
    display: block;
}

/* ===========================
   FOOTER
=========================== */

.site-footer {
    font-size: .85rem;
    color: #777;
    background: #ffffff;
}

.footer-logo-img {
    max-height: 40px;
    width: auto;
    display: inline-block;
}

.footer-heading {
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .06em;
    color: #555;
    margin-bottom: .55rem;
}

.footer-list li + li {
    margin-top: .25rem;
}

.footer-link {
    text-decoration: none;
    color: #6b7280;
}

.footer-link:hover {
    color: #111;
    text-decoration: underline;
}

.footer-contact-label {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9ca3af;
    display: block;
    margin-bottom: 2px;
}

.footer-bottom {
    border-top: 1px solid #f1f1f2;
    padding-top: .75rem;
    margin-top: .25rem;
}

.ad-slot-desktop { display:block; }
.ad-slot-mobile { display:none; }

@media (max-width: 767.98px) {
    .ad-slot-desktop { display:none; }
    .ad-slot-mobile { display:block; }
}

/* ==== HEADER YENİ TASARIM ==== */
.main-header .top-bar {
    background: #21007a;
    color: #fff;
    font-size: 13px;
    padding: 4px 0;
}

.top-bar .top-link {
    color: #fff;
    text-decoration: none;
    margin-right: 18px;
    opacity: .9;
}

.top-bar .top-link:hover {
    opacity: 1;
}

.top-bar .top-social {
    color: #fff;
    text-decoration: none;
    margin-left: 12px;
    font-size: 16px;
    opacity: .9;
}

.top-bar .top-social:hover {
    opacity: 1;
}

/* Ana nav */
.main-nav-bar {
    padding-top: 12px;
    padding-bottom: 12px;
}

.navbar-logo {
    max-height: 42px;
    width: auto;
}

.site-name-text {
    font-size: 22px;
    color: #111827;
}

.main-nav-list .nav-link {
    font-weight: 500;
    font-size: 15px;
    color: #27303f;
    margin: 0 8px;
}

.main-nav-list .nav-link:hover,
.main-nav-list .nav-link:focus {
    color: #ff6a21;
}

/* Arama alanı */
.header-search-form {
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 2px;
}

.header-search-input {
    border: none;
    outline: none;
    font-size: 14px;
    padding: 2px 4px;
    width: 140px;
}

.header-search-input::placeholder {
    color: #9ca3af;
}

.header-search-btn {
    border: none;
    background: transparent;
    padding-left: 4px;
    cursor: pointer;
    color: #4b5563;
}

/* Mobilde arama alanını genişletme */
@media (max-width: 991.98px) {
    .header-search-form {
        margin-top: 8px;
        width: 100%;
    }
    .header-search-input {
        width: 100%;
    }
}

/* =========================
   İLETİŞİM SAYFASI
========================= */
.contact-layout {
    padding-bottom: 40px;
}

.contact-hero {
    padding: 24px 0 12px;
    border-bottom: 1px solid #f3f4f6;
    background: #ffffff;
}

.contact-header .contact-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-header .contact-subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.contact-body {
    padding-top: 24px;
    padding-bottom: 24px;
}

.contact-info-card,
.contact-form-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 20px 20px 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.contact-info-card h2,
.contact-form-card h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-info-card p {
    font-size: 14px;
    color:#4b5563;
}

.contact-info-list .info-item {
    margin-top: 12px;
    font-size: 14px;
}

.contact-info-list .info-label {
    display:block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color:#9ca3af;
    margin-bottom: 2px;
}

.contact-info-list a {
    color:#111827;
    text-decoration:none;
}

.contact-info-list a:hover {
    text-decoration:underline;
}

.contact-social {
    margin-top: 16px;
}

.contact-social-links a {
    display:inline-block;
    font-size: 13px;
    margin-right: 8px;
    margin-bottom: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    color:#374151;
    text-decoration:none;
}

.contact-social-links a:hover {
    border-color:#111827;
    color:#111827;
}

.contact-note {
    margin-top: 16px;
    font-size: 12px;
    color:#9ca3af;
}

.contact-form .form-label {
    font-size: 13px;
    color:#4b5563;
}

.contact-submit-btn {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
}

/* Mobil küçük dokunuş */
@media (max-width: 767.98px) {
    .contact-header .contact-title {
        font-size: 24px;
    }
}

/* ===============================
   HOME SAĞ TARAF - KATEGORİLER BLOĞU
   =============================== */

/* Genel sidebar kartı */
.home-layout .sidebar-block {
    padding: 16px 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

/* Başlık ve sayaç */
.home-layout .sidebar-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.home-layout .sidebar-count {
    padding: 2px 8px;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

/* Kategori kartı (sağdaki küçük kutucuklar) */
.home-layout .cat-card {
    position: relative;
    display: block;
    width: 100%;
    min-height: 110px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #f9fafb;
    background: #020617;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .25);
    transition: transform .18s ease-out, box-shadow .18s ease-out;
}

.home-layout .cat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .35);
}

/* Arkaplan görseli */
.home-layout .cat-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.03);
    filter: brightness(.55);
    transition: transform .25s ease-out, filter .25s ease-out;
}

.home-layout .cat-card:hover .cat-bg {
    transform: scale(1.08);
    filter: brightness(.8);
}

/* Üstte hafif gradient */
.home-layout .cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(15, 23, 42, .05) 0%,
        rgba(15, 23, 42, .65) 45%,
        rgba(15, 23, 42, .95) 100%
    );
}

/* İçerik alanı */
.home-layout .cat-content {
    position: relative;
    z-index: 2;
    padding: 10px 11px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
}

/* Kategori adı */
.home-layout .cat-name {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .85);
    border: 1px solid rgba(148, 163, 184, .7);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Son yazı başlığı */
.home-layout .cat-last {
    font-size: 11px;
    color: #e5e7eb;
    line-height: 1.3;
    max-height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 2 satırda kırp */
}

/* Daha sıkı grid; mobilde tam genişlik */
.home-layout .sidebar-block .row.g-3 {
    --bs-gutter-x: .75rem;
    --bs-gutter-y: .75rem;
}

@media (max-width: 991.98px) {
    .home-layout .sidebar-block .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ===============================
   HOME SAĞ TARAF - SON EKLENENLER
   =============================== */

.home-layout .sidebar-latest-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.home-layout .sidebar-latest-list li + li {
    border-top: 1px solid #e5e7eb;
}

.home-layout .sidebar-latest-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    font-size: 13px;
    text-decoration: none;
    color: #111827;
}

.home-layout .sidebar-latest-list a:hover .title {
    text-decoration: underline;
}

.home-layout .sidebar-latest-list .title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-layout .sidebar-latest-list .date {
    font-size: 11px;
    color: #9ca3af;
}

.home-layout .sidebar-latest-list .empty {
    padding: 6px 0;
    font-size: 12px;
    color: #9ca3af;
}
/* SEARCH PAGE */
.search-layout .search-header h1 {
    font-weight: 600;
}

.search-layout .search-form .form-control {
    font-size: 0.9rem;
    border-radius: 999px 0 0 999px;
}

.search-layout .search-form .btn {
    border-radius: 0 999px 999px 0;
    font-size: 0.9rem;
}

.search-layout .search-result-card {
    border-radius: 18px;
}
/* Post alt grid alanı */
.post-bottom-grid {
    border-top: 1px solid #e5e7eb;
    padding-top: 18px;
    margin-top: 12px;
}

/* İçerik içindeki benzer haber kartları */
.post-related-card {
    border-radius: 18px;
}

/* Alt kategori çipleri */
.post-bottom-cats {
    margin-top: 8px;
}

.post-cat-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-cat-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    transition: background .15s ease, color .15s ease, transform .12s ease;
}

/* Sağ kolon küçük kartlar */
.home-right-column .side-highlight-compact {
    padding: 10px 14px;
}

/* PİYASALAR KARTI */
.home-ticker-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
}

.home-ticker-title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #6b7280;
}

.home-ticker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.ticker-inline-item {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.ticker-inline-item .label {
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 10px;
    color: #9ca3af;
}

.ticker-inline-item .value {
    font-size: 11px;
    font-weight: 600;
    color: #16a34a;
}

.ticker-inline-item .dir {
    font-size: 9px;
    margin-top: 1px;
}
.ticker-inline-item .dir.up {
    color: #16a34a;
}
.ticker-inline-item .dir.down {
    color: #b91c1c;
}

/* Hava durumu pill */
.home-ticker-weather {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 10px;
    border-left: 1px solid #e5e7eb;
}

.weather-badge {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 12px;
    font-weight: 600;
    color:#ffffff;
    background: linear-gradient(135deg,#38bdf8,#0f172a);
}
.weather-sunny { background: linear-gradient(135deg,#facc15,#f97316); }
.weather-rain  { background: linear-gradient(135deg,#38bdf8,#0ea5e9); }
.weather-cloudy{ background: linear-gradient(135deg,#9ca3af,#4b5563); }

.home-ticker-weather .weather-info {
    font-size: 10px;
}
.home-ticker-weather .city {
    font-weight: 600;
    color:#111827;
}
.home-ticker-weather .desc {
    color:#6b7280;
}

/* SÜPER LİG KARTI */
.home-standings-card {
    padding: 12px 14px;
    font-size: 11px;
}

.home-standings-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:6px;
}
.home-standings-header .title {
    font-size:12px;
    font-weight:600;
}
.home-standings-header .meta {
    font-size:10px;
    color:#9ca3af;
}

.home-standings-list {
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    overflow:hidden;
    margin-bottom:6px;
}

.standing-row {
    display:grid;
    grid-template-columns: 18px minmax(0,1fr) 24px 24px 28px;
    align-items:center;
    padding:4px 8px;
    border-bottom:1px solid #e5e7eb;
}
.standing-row:last-child {
    border-bottom:none;
}

.standing-row .pos {
    font-weight:600;
    color:#6b7280;
}
.standing-row .team {
    font-weight:500;
    color:#111827;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.standing-row .stat {
    text-align:center;
    color:#6b7280;
}
.standing-row .points {
    text-align:right;
    font-weight:700;
    color:#16a34a;
}

.standings-more-btn {
    width:100%;
    border:none;
    border-radius:999px;
    padding:6px 0;
    font-size:11px;
    font-weight:600;
    background:#16a34a;
    color:#ffffff;
    cursor:pointer;
}
.standings-more-btn:hover {
    background:#15803d;
}

/* Mobilde biraz nefes */
@media (max-width: 991.98px) {
    .home-right-column .side-highlight,
    .home-right-column .side-highlight-compact {
        margin-top:8px;
    }
}

/* Ortak sidebar kart yapısı (Manşet kartına benzer) */
.home-sidebar-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.15);
    margin-top: 14px;
}

/* --- SÜPER LİG --- */

.superlig-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.superlig-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.superlig-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.superlig-subtitle {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 2px;
}

.superlig-legend {
    display: flex;
    gap: 14px;
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    font-weight: 500;
}

/* Liste */

.superlig-table {
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 12px;
    background: #f9fafb;
    overflow: hidden;
}

.superlig-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    font-size: 12px;
    border-top: 1px solid #e5e7eb;
}

.superlig-row:first-child {
    border-top: none;
}

.superlig-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.superlig-rank {
    width: 18px;
    text-align: right;
    font-weight: 600;
    color: #6b7280;
    font-size: 11px;
}

.superlig-team {
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.superlig-stats {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 11px;
    color: #4b5563;
    min-width: 90px;
    justify-content: flex-end;
}

.superlig-points {
    font-weight: 700;
    color: #16a34a;
}

/* Kart altındaki buton */

.superlig-button {
    margin-top: 8px;
    width: 100%;
    border-radius: 999px;
    border: none;
    padding: 8px 12px;
    background: #22c55e;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
    box-shadow: 0 8px 16px rgba(34, 197, 94, 0.35);
}

.superlig-button:hover:not(:disabled) {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.45);
}

.superlig-button:disabled {
    opacity: .5;
    cursor: default;
    box-shadow: none;
}

.superlig-empty {
    font-size: 11px;
    color: #9ca3af;
    margin: 0 0 4px 0;
}

/* Slider + sağ kolon alanının altındaki boşluğu küçült */
.main-layout.home-layout .top-slider-wrapper {
    margin-bottom: 8px !important;  /* 0, 8, 12 vs. deneyebilirsin */
}


/* Son Haberler section’ını normal hizaya çek */
.main-layout.home-layout .content-section {
    margin-top: 0 !important;
    padding-top: 0;
}

/* Manşet widget: background yok, slider gibi */
.headline-widget {
    padding: 0;
}

.headline-widget-title {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #555;
}

.headline-widget-sub {
    font-size: 0.75rem;
}

/* Kart tam slider gibi olsun */
.headline-widget .carousel-inner {
    border-radius: 24px;
    overflow: hidden;
}

.headline-widget .headline-card {
    border-radius: 24px;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}

/* Eski side-highlight stilini diğer box'larda korumak için
   istersen buraya dokunma, sadece headline artık kullanmıyor. */

/* ===============================
   MOBİL BOTTOM BAR MENÜ - PROFESYONEL
   =============================== */

.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    display: none; /* Varsayilan gizli, media query ile acilacak */
    align-items: stretch;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(229, 231, 235, 0.8);
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -4px 30px rgba(15, 23, 42, 0.1);
    transform: translateZ(0); /* GPU hizlandirma */
    will-change: transform;
}

/* Sadece mobilde goster */
@media (max-width: 991.98px) {
    .mobile-bottom-bar {
        display: flex !important;
    }
}

.bottom-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: #6b7280;
    font-size: 10px;
    font-weight: 500;
    padding: 10px 16px;
    flex: 1;
    min-width: 0;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
}

.bottom-bar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    border-radius: 0 0 3px 3px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-bar-item i {
    font-size: 22px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
}

.bottom-bar-item span {
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60px;
}

.bottom-bar-item:hover,
.bottom-bar-item:focus {
    color: #4f46e5;
    background: transparent;
}

.bottom-bar-item:active {
    transform: scale(0.95);
}

.bottom-bar-item.active {
    color: #4f46e5;
}

.bottom-bar-item.active::before {
    transform: translateX(-50%) scaleX(1);
}

.bottom-bar-item.active i {
    transform: scale(1.1);
}

/* Body alt padding - footer ve bottom bar icin */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 75px !important;
    }

    /* Footer alt padding (bottom bar uzerinde kalsin) */
    .modern-footer {
        padding-bottom: 80px !important;
    }

    /* Cerez banner bottom bar ustunde */
    .cookie-consent-bar {
        bottom: 70px !important;
    }
}

/* iPhone X ve sonrasi icin ekstra guvenli alan */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    @media (max-width: 991.98px) {
        body {
            padding-bottom: calc(75px + env(safe-area-inset-bottom)) !important;
        }
    }
}

/* Dark mode destegi */
@media (prefers-color-scheme: dark) {
    .mobile-bottom-bar {
        background: rgba(15, 23, 42, 0.95);
        border-top-color: rgba(51, 65, 85, 0.8);
    }
    .bottom-bar-item {
        color: #9ca3af;
    }
    .bottom-bar-item:hover,
    .bottom-bar-item.active {
        color: #818cf8;
    }
}

/* Offcanvas kategoriler stili */
#categoriesOffcanvas {
    max-height: 50vh;
    border-radius: 24px 24px 0 0;
}

#categoriesOffcanvas .offcanvas-header {
    border-bottom: 1px solid #e5e7eb;
}

.offcanvas-cat-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.offcanvas-cat-link:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4f46e5;
}

.offcanvas-cat-link i {
    font-size: 16px;
    color: #9ca3af;
}

/* ===============================
   MODERN FOOTER TASARIMI
   =============================== */

.modern-footer {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #e2e8f0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin-top: 3rem;
}

/* Dalga Efekti */
.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    overflow: hidden;
    color: #0f172a;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Ana Footer Alani */
.footer-main {
    padding: 3.5rem 0 2rem;
}

/* Marka Alani */
.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo-img {
    max-height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: opacity 0.2s ease;
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-brand-text {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.footer-brand-text:hover {
    color: #818cf8;
}

.footer-brand-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    max-width: 320px;
}

/* Sosyal Medya Ikonlari */
.footer-social {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-link:hover {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

/* Widget Basliklari */
.footer-widget {
    margin-bottom: 1.5rem;
}

.footer-widget-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #4f46e5;
    display: inline-block;
}

/* Link Listeleri */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-links a i {
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #818cf8;
    padding-left: 0.3rem;
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}

.empty-text {
    color: #64748b;
    font-size: 0.85rem;
    font-style: italic;
}

/* Iletisim Listesi */
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.contact-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    font-weight: 500;
}

.contact-info a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #818cf8;
}

.contact-text {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Sponsor Linkler (Sureli Satis) */
.footer-sponsored-links {
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

.sponsored-links-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
}

.sponsored-link {
    color: #94a3b8;
    font-size: 0.85rem;
    text-decoration: none;
    padding: 0.25rem 0;
    position: relative;
    transition: color 0.2s ease;
}

.sponsored-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

.sponsored-link:hover {
    color: #e2e8f0;
}

.sponsored-link:hover::after {
    width: 100%;
}

@media (max-width: 767.98px) {
    .sponsored-links-inner {
        gap: 0.5rem 1rem;
    }

    .sponsored-link {
        font-size: 0.8rem;
    }
}

/* Alt Bar (Copyright) */
.footer-bottom-bar {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 0.85rem;
    color: #64748b;
}

.copyright strong {
    color: #e2e8f0;
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #818cf8;
}

/* MOBIL RESPONSIVE */
@media (max-width: 991.98px) {
    .modern-footer {
        margin-top: 2rem;
    }

    .footer-main {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-brand {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-brand-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-widget-title {
        font-size: 0.8rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    /* Bottom bar uzerinde alan birak */
    .modern-footer {
        padding-bottom: 70px;
    }
}

@media (max-width: 575.98px) {
    .footer-wave {
        top: -40px;
        height: 40px;
    }

    .footer-main {
        padding: 2rem 0 1rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .contact-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .footer-bottom-links {
        gap: 1rem;
    }

    .footer-bottom-links a {
        font-size: 0.8rem;
    }
}

/* Eski footer stillerini gizle */
.site-footer {
    display: none;
}

/* ===============================
   TEMA DEGISTIRME BUTONU
   =============================== */

.theme-switcher-wrapper {
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
}

.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.theme-toggle-btn i {
    font-size: 16px;
    transition: all 0.3s ease;
    position: absolute;
}

.theme-toggle-btn .theme-icon-light {
    opacity: 1;
    transform: rotate(0deg);
}

.theme-toggle-btn .theme-icon-dark {
    opacity: 0;
    transform: rotate(-90deg);
}

.theme-toggle-btn.is-dark .theme-icon-light {
    opacity: 0;
    transform: rotate(90deg);
}

.theme-toggle-btn.is-dark .theme-icon-dark {
    opacity: 1;
    transform: rotate(0deg);
}

/* ===============================
   DARK MODE CSS DEGISKENLERI
   =============================== */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
}

[data-theme="dark"],
body.dark-mode {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --card-bg: #1e293b;
}

/* Dark Mode Temel */
body.dark-mode {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary);
}

body.dark-mode .bg-white,
body.dark-mode .bg-body {
    background-color: var(--bg-primary) !important;
}

body.dark-mode .bg-light {
    background-color: var(--bg-secondary) !important;
}

body.dark-mode .text-dark {
    color: var(--text-primary) !important;
}

body.dark-mode .text-muted {
    color: var(--text-muted) !important;
}

body.dark-mode .border,
body.dark-mode .border-top,
body.dark-mode .border-bottom {
    border-color: var(--border-color) !important;
}

/* Header Dark Mode */
body.dark-mode .main-header {
    background-color: var(--bg-primary);
}

body.dark-mode .top-bar {
    background: linear-gradient(90deg, #312e81 0%, #4338ca 100%);
}

body.dark-mode .main-nav-bar {
    background-color: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .navbar-light .navbar-nav .nav-link {
    color: var(--text-secondary);
}

/* Card Dark Mode */
body.dark-mode .card {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

/* Form Dark Mode */
body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

body.dark-mode .form-control::placeholder {
    color: var(--text-muted);
}

/* Bottom Bar Dark Mode */
body.dark-mode .mobile-bottom-bar {
    background: rgba(15, 23, 42, 0.98);
    border-top-color: var(--border-color);
}

body.dark-mode .bottom-bar-item {
    color: var(--text-muted);
}

body.dark-mode .bottom-bar-item:hover,
body.dark-mode .bottom-bar-item.active {
    color: #818cf8;
}

/* Offcanvas Dark Mode */
body.dark-mode .offcanvas {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

/* Basliklar Dark Mode */
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
    color: var(--text-primary);
}

body.dark-mode a:not(.btn):not(.nav-link):not(.top-link):not(.top-social) {
    color: #818cf8;
}
