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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* HEADER */
.header {
    background-color: #fff;
    border-bottom: 3px solid #d32f2f;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

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

.logo {
    font-family: 'Lora', serif;
    font-size: 32px;
    font-weight: 700;
    color: #d32f2f;
    text-decoration: none;
    letter-spacing: -1px;
}

.header-meta {
    text-align: right;
    font-size: 13px;
}

.header-time {
    font-size: 18px;
    font-weight: 700;
    color: #d32f2f;
    display: block;
    margin-bottom: 5px;
}

.header-weather {
    color: #666;
    font-size: 12px;
}

/* NAVIGATION */
.nav {
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.nav::-webkit-scrollbar {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-item {
    border-right: 1px solid #e0e0e0;
}

.nav-item:last-child {
    border-right: none;
}

.nav-link {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: #fafafa;
    color: #d32f2f;
    border-bottom-color: #d32f2f;
}

.nav-link.active {
    color: #d32f2f;
    border-bottom-color: #d32f2f;
    background-color: #fff5f5;
}

/* MAIN CONTENT */
.main {
    margin: 30px auto;
}

/* ERROR MESSAGE */
.error-box {
    background: white;
    padding: 40px;
    border-radius: 4px;
    text-align: center;
    color: #666;
}

.error-box h2 {
    color: #d32f2f;
    margin-bottom: 10px;
}

/* MANŞET (FEATURED) */
.featured {
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #d32f2f;
    margin-bottom: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.featured:hover {
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15);
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
}

.featured-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.featured-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fafafa;
}

.featured-label {
    background-color: #d32f2f;
    color: white;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.featured-title {
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.featured:hover .featured-title {
    color: #d32f2f;
}

.featured-desc {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.featured-meta {
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    font-size: 12px;
    color: #999;
}

.featured-time {
    font-weight: 600;
}

/* NEWS GRID */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.news-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 3px solid #d32f2f;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.news-card:hover {
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15);
    transform: translateY(-2px);
}

.news-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.news-card:hover .news-title {
    color: #d32f2f;
}

.news-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    flex-grow: 1;
}

.news-time {
    font-size: 11px;
    color: #999;
    font-weight: 600;
}

/* PAGINATION */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid #d32f2f;
    background: white;
    color: #d32f2f;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.page-btn:hover {
    background-color: #d32f2f;
    color: white;
}

.page-btn.active {
    background-color: #d32f2f;
    color: white;
    border-color: #d32f2f;
}

/* FOOTER */
.footer {
    background-color: #212121;
    color: #999;
    padding: 40px 0;
    margin-top: 50px;
    border-top: 3px solid #d32f2f;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-section p, .footer-section li {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #d32f2f;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo {
        font-size: 24px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-link {
        padding: 12px 15px;
        font-size: 13px;
    }
}