/*
Theme Name: The Teknoloji Ultra
Author: Gemini AI
Description: High-End Technology News Theme
Version: 2.0
*/

/* 1. Global Reset & Fonts */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; 
    background-color: #f8fafc; 
    color: #0f172a;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* 2. Header & Navigation */
header {
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #1e293b;
    text-transform: uppercase;
}

.logo span { color: #2563eb; }

.main-nav ul { display: flex; list-style: none; gap: 25px; }
.main-nav a { font-weight: 600; font-size: 14px; color: #475569; }
.main-nav a:hover { color: #2563eb; }

/* 3. News Grid (Ana Sayfa Düzeni) */
.container { max-width: 1200px; margin: 40px auto; padding: 0 20px; }

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.post-card img { width: 100%; height: 220px; object-fit: cover; }

.post-content { padding: 20px; }

.category-badge {
    background: #eff6ff;
    color: #2563eb;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.post-title {
    font-size: 1.25rem;
    margin: 15px 0 10px;
    font-weight: 800;
    line-height: 1.3;
}

/* 4. Sidebar & Footer Layout */
footer {
    background: #0f172a;
    color: #f8fafc;
    padding: 60px 0 30px;
    margin-top: 100px;
}