:root {
    --primary: #005bb5; /* Uzman Doğalgaz Mavi */
    --primary-dark: #004488;
    --accent: #d32f2f; /* Uzman Doğalgaz Kırmızı */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: 0.2s ease-in-out; }
a:hover { color: var(--primary); }

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

/* HEADER */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.header-top {
    background: var(--primary-dark);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}
.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-top a { color: #fff; opacity: 0.9; }
.header-top a:hover { opacity: 1; }

.header-main {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1px;
}
.logo span { color: var(--accent); }

.main-nav {
    display: flex;
    gap: 25px;
    font-weight: 600;
    font-size: 15px;
}
.main-nav a {
    padding: 8px 0;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: 0.3s ease-out;
    border-radius: 3px;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { width: 100%; }

/* HERO BÖLÜMÜ (İç linkleme odaklı) */
.hero-section {
    background: var(--bg-white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}
.hero-main-post {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.hero-main-post img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s;
}
.hero-main-post:hover img { transform: scale(1.03); }
.hero-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px;
    color: #fff;
}
.hero-overlay h2 { font-size: 28px; margin-bottom: 10px; line-height: 1.3; }
.category-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-side-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.side-post {
    display: flex;
    gap: 15px;
    background: var(--bg-main);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.side-post:hover { border-color: rgba(0,91,181,0.4); transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0,0,0,0.04); background: #fff; }
.side-post img {
    width: 100px; height: 100px;
    border-radius: 6px;
    object-fit: cover;
}
.side-post-info h3 { font-size: 16px; margin-bottom: 5px; line-height: 1.4; }
.side-post-info .meta { font-size: 12px; color: var(--text-muted); }

/* KATEGORİ BLOKLARI (SEO Odaklı Bol İç Link) */
.category-blocks {
    padding: 50px 0;
}
.section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 80px; height: 2px;
    background: var(--primary);
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.cat-box {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}
.cat-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.cat-box:hover::before { transform: scaleX(1); }
.cat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,91,181,0.08);
    border-color: rgba(0,91,181,0.2);
}
.cat-box h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.cat-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cat-box ul li {
    /* override padding */
}
.cat-box ul li a {
    display: flex;
    align-items: flex-start;
    padding: 12px 15px;
    background: var(--bg-main);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid transparent;
}
.cat-box ul li a svg {
    flex-shrink: 0;
    margin-right: 12px;
    margin-top: 2px;
    color: var(--primary);
    transition: transform 0.3s ease;
}
.cat-box ul li a:hover { 
    background: #fff;
    color: var(--primary-dark);
    border-color: rgba(0,91,181,0.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    padding-left: 20px;
}
.cat-box ul li a:hover svg {
    transform: translateX(3px);
}

/* FOOTER */
.footer { background: #1e293b; color: #cbd5e1; padding: 60px 0 20px; font-size: 15px; }
.footer h4 { color: #fff; font-size: 18px; margin-bottom: 20px; font-weight: 700; position: relative; padding-bottom: 10px; }
.footer h4:after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--accent); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: #cbd5e1; text-decoration: none; transition: 0.3s; display: inline-flex; align-items: center; }
.footer a:hover { color: var(--accent); transform: translateX(5px); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px; }

@media (max-width: 768px) {
    .header-top-text { display: none; }
    .hide-mobile { display: none; }
}

/* RESPONSIVE */
@media(max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 768px) {
    .header-main { flex-direction: column; gap: 15px; }
    .cat-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}
