/* ============================================================
   Site Şablonu — Genel CSS (Açık Tema)
   ============================================================ */

:root {
    --primary:   #1e3a5f;
    --secondary: #2563eb;
    --accent:    #0ea5e9;
    --text:      #111827;
    --text-2:    #4b5563;
    --text-3:    #9ca3af;
    --bg:        #ffffff;
    --bg-2:      #f8fafc;
    --bg-3:      #f1f5f9;
    --border:    #e2e8f0;
    --shadow:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,.1);
    --container: 1120px;
    --font:      'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; }
a:hover { color: var(--primary); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
    background: var(--primary);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 32px;
}

.site-brand { display: flex; align-items: center; gap: 10px; color: #fff; flex-shrink: 0; }
.site-brand:hover { color: rgba(255,255,255,.85); }

.site-logo { width: 36px; height: 36px; object-fit: contain; }

.site-name { font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.nav-link {
    color: rgba(255,255,255,.8);
    font-size: .9rem;
    font-weight: 500;
    padding: 6px 14px;
    transition: all .15s;
    border-bottom: 2px solid transparent;
}
.nav-link:hover,
.nav-link.active { color: #fff; border-bottom-color: rgba(255,255,255,.5); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: all .2s; }

/* ============================================================
   Hero
   ============================================================ */
.site-hero {
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 48px 0;
    text-align: center;
}

.site-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -.03em;
    margin-bottom: 12px;
}

.site-hero p {
    font-size: 1.05rem;
    color: var(--text-2);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   Reklam Alanı
   ============================================================ */
.partners-section {
    background: var(--bg-3);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.partners-section-title {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-3);
    text-align: center;
    margin-bottom: 14px;
}

/* Masaüstü + tablet: 2 sütun / Mobil: 1 sütun */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* ── Reklam Kartı ── */
.partner-card {
    display: flex;
    align-items: stretch;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
    transition: filter .15s, transform .15s, box-shadow .15s;
    min-height: 68px;
}

.partner-card:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
}

/* Logo — çerçevesiz, tam kanama */
.partner-logo {
    display: block;
    width: auto;
    max-width: 130px;
    min-width: 80px;
    height: 68px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}

/* Metin — ortalı */
.partner-text {
    flex: 1;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.35;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* CTA — sağda sabit */
.partner-cta {
    flex-shrink: 0;
    font-size: .78rem;
    font-weight: 700;
    padding: 0 16px;
    background: rgba(0,0,0,.2);
    white-space: nowrap;
    display: flex;
    align-items: center;
    border-left: 1px solid rgba(255,255,255,.1);
}

/* ============================================================
   Ana İçerik
   ============================================================ */
.site-main { padding: 56px 0; background: var(--bg); }
.site-main .container { max-width: 860px; }

.content h2 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; margin-top: 32px; letter-spacing: -.02em; }
.content h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; margin-top: 24px; color: var(--text); }
.content p  { margin-bottom: 16px; color: var(--text-2); }
.content ul,
.content ol { padding-left: 20px; margin-bottom: 16px; color: var(--text-2); }
.content li { margin-bottom: 6px; }
.content strong { color: var(--text); }
.content a { color: var(--secondary); }
.content a:hover { text-decoration: underline; }

/* ============================================================
   İletişim
   ============================================================ */
.contact-section { padding: 56px 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.contact-section .container { max-width: 620px; }

.contact-title    { font-size: 1.5rem; font-weight: 800; color: var(--primary); letter-spacing: -.02em; margin-bottom: 8px; }
.contact-subtitle { color: var(--text-2); margin-bottom: 32px; }

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: .95rem;
    border-radius: 0;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.form-control:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form-control::placeholder { color: var(--text-3); }
textarea.form-control { resize: vertical; min-height: 120px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 28px; font-family: var(--font); font-size: .95rem; font-weight: 600; border-radius: 0; cursor: pointer; border: none; transition: all .15s; }
.btn-primary       { background: var(--secondary); color: #fff; }
.btn-primary:hover { background: var(--primary); color: #fff; }
.btn-full          { width: 100%; justify-content: center; }

.form-alert { padding: 12px 16px; margin-bottom: 16px; border-left: 3px solid; font-size: .9rem; }
.form-alert.success { background: #f0fdf4; border-color: #22c55e; color: #166534; }
.form-alert.error   { background: #fef2f2; border-color: #ef4444; color: #991b1b; }

.g-recaptcha { margin-bottom: 16px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--primary); color: rgba(255,255,255,.8); padding: 32px 0 0; }

.footer-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    flex-wrap: wrap;
}

.footer-brand  { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
.footer-logo   { width: 28px; height: 28px; object-fit: contain;}
.footer-links  { display: flex; gap: 20px; margin-left: auto; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .9rem; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 14px; }
.footer-social a       { color: rgba(255,255,255,.6); transition: color .15s; }
.footer-social a:hover { color: #fff; }
.footer-bottom { padding: 16px 0; font-size: .82rem; color: rgba(255,255,255,.5); text-align: center; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 640px) {
    .partners-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-inner { gap: 16px; }

    .site-nav {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--primary);
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0;
        box-shadow: 0 4px 16px rgba(0,0,0,.25);
        z-index: 99;
    }
    .site-nav.open { display: flex; }

    .nav-link { padding: 12px 24px; border-bottom: none; border-left: 3px solid transparent; }
    .nav-link.active { border-left-color: rgba(255,255,255,.5); border-bottom: none; }
    .nav-toggle { display: flex; }

    .site-hero { padding: 32px 0; }
    .site-main  { padding: 36px 0; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .footer-links { margin-left: 0; flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
}