/* --- TEMEL SIFIRLAMA VE DEĞİŞKENLER --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Merriweather:wght@700&display=swap');

:root {
    --primary: #c92a2a;
    --primary-hover: #a61e1e;
    --dark: #111827;
    --gray-bg: #f3f4f6;
    --border: #e5e7eb;
    --text-main: #1f2937;
    --text-muted: #4b5563;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--gray-bg);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* --- TOPBAR --- */
.topbar {
    background: var(--dark);
    color: #fff;
    font-size: 12px;
    border-bottom: 2px solid var(--primary);
}
.topbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
    gap: 10px;
    flex-wrap: nowrap !important; /* Yazının alt alta kaymasını kesin olarak engeller */
    padding: 5px 0;
}
.breaking-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0; /* Flexbox taşmasını önler */
    overflow: hidden;
}
.ticker-badge {
    background: var(--primary);
    color: #fff;
    padding: 3px 8px;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    border-radius: 3px;
    white-space: nowrap;
}
.ticker-content a { color: #d1d5db; font-size: 12px; }
.ticker-content a:hover { color: #fff; text-decoration: underline; }

.topbar-meta {
    display: flex;
    gap: 12px;
    color: #9ca3af;
    font-size: 11px;
    white-space: nowrap;
}

/* --- HEADER --- */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}
.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.logo h1 {
    font-family: 'Merriweather', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -1px;
}
.logo h1 span { color: var(--primary); }

.header-ad {
    width: 100%;
    max-width: 728px;
    height: 90px;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}
@media(max-width: 768px) {
    .header-ad { display: none; } /* Mobilde reklam alanını gizleyerek tasarımı rahatlatıyoruz */
}

/* --- MENÜ --- */
.main-nav {
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.nav-list {
    display: flex;
    white-space: nowrap;
}
.nav-list li a {
    display: block;
    padding: 12px 16px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: background 0.2s;
}
.nav-list li a:hover, .nav-list li.active a {
    background: var(--primary);
    color: #fff;
}

/* --- ANA YERLEŞİM (GRID) --- */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
}
@media(min-width: 992px) {
    .layout-grid {
        grid-template-columns: 1fr 340px;
        gap: 25px;
        margin: 25px 0;
    }
}

/* --- MANŞET ALANI (SLIDER / GRID) --- */
.hero-slider-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 25px;
}
@media(min-width: 992px) {
    .hero-slider-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.hero-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.hero-card.main { height: 320px; }
.hero-card.sub { height: 152px; }
@media(min-width: 992px) {
    .hero-card.main { height: 420px; }
    .hero-card.sub { height: 202px; }
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.4s ease;
}
.hero-card:hover img { transform: scale(1.03); }

.hero-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 15px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
    color: #fff;
}
.hero-badge {
    background: var(--primary);
    color: #fff;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 6px;
}
.hero-card.main h2 { font-size: 18px; font-weight: 700; line-height: 1.3; }
@media(min-width: 992px) { .hero-card.main h2 { font-size: 22px; } }
.hero-card.sub h3 { font-size: 13px; font-weight: 600; line-height: 1.3; }

/* --- HABER KARTLARI LİSTESİ --- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--dark);
    padding-bottom: 6px;
    margin-bottom: 15px;
}
.section-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--dark);
    color: #fff;
    padding: 4px 12px;
}
.section-link { font-size: 12px; font-weight: 600; color: var(--primary); }

.news-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
}
@media(min-width: 576px) {
    .news-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width: 992px) {
    .news-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.news-thumb { aspect-ratio: 16/10; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 12px; display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1; }
.news-card-title { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.news-card-title:hover { color: var(--primary); }
.news-meta { font-size: 11px; color: var(--text-muted); display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 8px; }

/* --- SIDEBAR --- */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.widget { background: #fff; border-radius: 8px; border: 1px solid var(--border); overflow: hidden; }
.widget-header { background: var(--dark); color: #fff; padding: 10px 15px; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.trending-list { padding: 5px 12px; }
.trending-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.trending-item:last-child { border-bottom: none; }
.trending-number { font-size: 20px; font-weight: 700; color: #9ca3af; min-width: 20px; }
.trending-title { font-size: 12px; font-weight: 600; color: var(--dark); line-height: 1.3; }
.trending-title:hover { color: var(--primary); }

/* --- FOOTER --- */
.site-footer { background: var(--dark); color: #fff; margin-top: 40px; border-top: 4px solid var(--primary); }
.footer-content { padding: 30px 0 20px 0; display: grid; grid-template-columns: 1fr; gap: 25px; }
@media(min-width: 768px) {
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width: 992px) {
    .footer-content { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
}
.footer-about h2 { font-family: 'Merriweather', serif; font-size: 24px; margin-bottom: 10px; }
.footer-about h2 span { color: var(--primary); }
.footer-about p { color: #9ca3af; font-size: 12px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; border-left: 2px solid var(--primary); padding-left: 8px; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { color: #9ca3af; font-size: 12px; }
.footer-bottom { background: #0b0f19; padding: 12px 0; text-align: center; color: #6b7280; font-size: 11px; }

/* --- SON DAKİKA KAYAN YAZI EFEKTİ --- */
.ticker-text-wrap {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
    width: 100%;
}
.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: tickerScroll 25s linear infinite;
}
.ticker-content a {
    display: inline-block;
    padding-right: 80px;
    color: #f8fafc;
    font-size: 12px;
    font-weight: 500;
}
.ticker-content a:hover {
    color: #fff;
    text-decoration: underline;
}
@keyframes tickerScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}/* --- KUSURSUZ SON DAKİKA KAYAN YAZI EFEKTİ --- */
.ticker-text-wrap {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    position: relative;
    height: 24px;
    display: flex;
    align-items: center;
    width: 100%;
}
.ticker-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: tickerScroll 20s linear infinite;
}
.ticker-content a {
    display: inline-block;
    padding-right: 50px;
    color: #f8fafc;
    font-size: 12px;
    font-weight: 500;
}
.ticker-content a:hover {
    color: #fff;
    text-decoration: underline;
}
@keyframes tickerScroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}
