/* style.css - Premium Hukuk Tasarımı */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #0a2342; /* Otoriter Lacivert */
    --secondary-color: #0066cc; /* Güven Veren Mavi */
    --bg-light: #f4f7f9;
    --text-dark: #333;
    --text-light: #666;
    --alert-yellow-bg: #fff3cd;
    --alert-yellow-text: #856404;
}

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

/* --- HEADER --- */
header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.logo span { color: var(--secondary-color); }
nav a { color: var(--text-dark); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
nav a:hover { color: var(--secondary-color); }

/* --- HERO SECTION (GİRİŞ) --- */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #001529 100%);
    color: white;
    padding: 60px 0 100px 0;
    text-align: center;
}
.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* --- HESAPLAMA KARTI --- */
.calculator-wrapper {
    max-width: 700px;
    margin: -70px auto 50px auto;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}
.form-group { margin-bottom: 20px; text-align: left; }
.form-label { display: block; font-weight: 600; color: var(--primary-color); margin-bottom: 8px; font-size: 0.95rem; }
.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: 0.2s;
    box-sizing: border-box;
}
.form-control:focus { border-color: var(--secondary-color); outline: none; }
.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 10px;
}
.btn-submit:hover { background: #0056b3; transform: translateY(-2px); }

/* --- SONUÇ ALANI --- */
#sonucAlani {
    display: none; /* Başlangıçta gizli */
    margin-top: 30px;
    background: #f8faff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 25px;
}
.sonuc-satir {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    font-size: 1rem;
}
.sonuc-satir:last-child { border-bottom: none; }
.vurgu { font-weight: 700; color: var(--primary-color); }

/* --- ÖZELLİKLER & BLOG GRID --- */
.main-container {
    max-width: 1100px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    text-align: center;
}
.feature-item h3 { color: var(--primary-color); font-size: 1.1rem; margin-bottom: 5px; }
.feature-item p { color: #666; font-size: 0.9rem; margin: 0; }
.icon-box { font-size: 2rem; margin-bottom: 10px; }

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}
.content-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

/* --- BLOG DETAY SAYFALARI --- */
article h1 { color: var(--primary-color); font-size: 2rem; margin-bottom: 10px; line-height: 1.2; }
.meta-info { color: #888; font-size: 0.85rem; border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 20px; }
article h2 { color: var(--secondary-color); font-size: 1.4rem; margin-top: 30px; }
.sidebar-widget { background: #fff; padding: 20px; border-radius: 12px; margin-bottom: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.widget-title { font-weight: 700; margin-bottom: 15px; color: var(--primary-color); }
.btn-cta { display: block; background: var(--secondary-color); color: white; text-align: center; padding: 12px; border-radius: 6px; text-decoration: none; font-weight: 600; }

/* --- FOOTER --- */
footer {
    background: var(--primary-color);
    color: #aab7c4;
    padding: 40px 0;
    text-align: center;
    font-size: 0.85rem;
    margin-top: auto;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .features-grid, .blog-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.6rem; }
    .calculator-wrapper { margin: -40px 15px 40px 15px; padding: 20px; }
}