/* --- Global Ayarlar ve Değişkenler --- */
:root {
    --primary-color: #2563eb; /* Modern Mavi */
    --primary-hover: #1d4ed8;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-color: #f3f4f6;
    --white: #ffffff;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Üst Kısım (Header) --- */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

.subscribe-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.subscribe-btn:hover {
    background-color: var(--primary-hover);
}

/* --- Ana Düzen (Grid) --- */
.main-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* --- Kategori Etiketi --- */
.category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.category-badge.small {
    top: 15px;
    left: 15px;
    font-size: 10px;
    padding: 4px 10px;
}

/* --- Manşet Haber --- */
.featured-news {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.featured-news:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.featured-img-box {
    position: relative;
    height: 350px;
}

.featured-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 30px;
}

.featured-content h1 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.featured-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
}

/* --- Haber Izgarası --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

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

.card-content {
    padding: 20px;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-content p {
    color: var(--text-light);
    font-size: 14px;
}

/* --- Yan Sütun (Sidebar) --- */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.widget h2 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-color);
}

.trending-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--bg-color);
}

.trending-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.trending-list span {
    font-size: 24px;
    font-weight: 800;
    color: #cbd5e1;
}

.trending-list a {
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.trending-list a:hover {
    color: var(--primary-color);
}

.ad-space {
    height: 300px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 600;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--white);
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    color: var(--text-light);
    border-top: 1px solid #e5e7eb;
}

/* --- Mobil Uyum (Responsive) --- */
@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none; /* Mobilde basitlik için menüyü gizledik, hamburger menü eklenebilir */
    }
    
    .news-grid {
        grid-template-columns: 1fr; /* Mobilde haberler alt alta sıralanır */
    }
    
    .featured-content h1 {
        font-size: 22px;
    }
}