/* Ziyaretçi sitesi. Ana renk --brand, yönetim panelindeki "Ana renk" ayarından gelir. */
:root {
    --brand: #2563eb;
    --ink: #0f172a;
    --muted: #64748b;
    --surface: #ffffff;
    --surface-alt: #f5f7fb;
    --line: #e5e9f0;
    --radius: 14px;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }
a { color: var(--brand); }
.text-brand { color: var(--brand) !important; }

/* Butonlar */
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand); border-color: var(--brand); color: #fff; filter: brightness(.92); }
.btn-outline-brand { border-color: var(--brand); color: var(--brand); }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }

/* Navbar */
.site-nav { background: #0b1220; border-bottom: 1px solid rgba(255, 255, 255, .08); padding: .75rem 0; }
.site-nav .navbar-brand { display: inline-flex; align-items: center; gap: .6rem; }
.site-nav .brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #000)); color: #fff; font-weight: 800; font-size: 1.3rem; box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 40%, transparent); }
.site-nav .brand-text { font-weight: 800; font-size: 1.35rem; color: #fff; letter-spacing: -.02em; }
.site-nav .nav-link { color: rgba(255, 255, 255, .78); font-weight: 500; padding: .5rem .85rem !important; border-radius: 8px; }
.site-nav .nav-link:hover { color: #fff; }
.site-nav .nav-link.active { color: #fff; background: color-mix(in srgb, var(--brand) 45%, transparent); }
.site-nav .social-link { border-color: rgba(255, 255, 255, .2); color: #fff; }

/* Sosyal ikonlar */
.social { display: flex; gap: .4rem; flex-wrap: wrap; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: .15s; }
.social-link:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.site-footer .social-link { border-color: rgba(255, 255, 255, .2); color: #fff; }

/* Açılış alanı */
.hero { background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--brand) 55%, transparent), transparent), #0b1220; color: #fff; padding: 6rem 0 5rem; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hero .lead { color: rgba(255, 255, 255, .78); font-size: 1.2rem; max-width: 640px; }
.hero-img { max-width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }

/* Bölümler */
.section { padding: 5rem 0; }
.section-alt { background: var(--surface-alt); }
.section-eyebrow { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .4rem; }
.section-title { font-weight: 800; letter-spacing: -.02em; margin-bottom: 1rem; }
.section-lead { color: var(--muted); font-size: 1.15rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }

.page-header { background: var(--surface-alt); border-bottom: 1px solid var(--line); padding: 3.5rem 0 3rem; }
.page-header h1 { font-weight: 800; letter-spacing: -.02em; }
.page-header .lead { color: var(--muted); }
.page-header .breadcrumb { font-size: .9rem; margin-bottom: .75rem; }

/* Kartlar */
.content-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: .2s; }
.content-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 23, 42, .08); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.content-card-img { aspect-ratio: 16 / 10; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.content-card-img img { width: 100%; height: 100%; object-fit: cover; }
.content-card-placeholder { font-size: 3rem; font-weight: 800; color: color-mix(in srgb, var(--brand) 40%, transparent); }
.content-card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.content-card-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.content-card-body p { color: var(--muted); margin-bottom: 1rem; }
.content-card-more { margin-top: auto; color: var(--brand); font-weight: 600; font-size: .95rem; }

.reference-logo { display: flex; align-items: center; justify-content: center; height: 110px; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); text-decoration: none; font-weight: 600; text-align: center; transition: .2s; }
.reference-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .2s; }
.reference-logo:hover img { filter: none; opacity: 1; }
a.reference-logo:hover { border-color: var(--brand); }

/* Detay ve zengin metin */
.detail-img { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; }
.rich-text { font-size: 1.075rem; line-height: 1.75; }
.rich-text img { max-width: 100%; height: auto; border-radius: 10px; }
.rich-text h2, .rich-text h3 { font-weight: 700; margin-top: 2rem; }
.rich-text blockquote { border-left: 4px solid var(--brand); padding-left: 1rem; color: var(--muted); }

/* Çağrı alanı */
.cta { background: var(--brand); color: #fff; padding: 4.5rem 0; }
.cta h2 { font-weight: 800; }
.cta .lead { color: rgba(255, 255, 255, .85); }

/* İletişim */
.contact-box { background: var(--surface-alt); border-radius: var(--radius); padding: 1.75rem; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-box iframe { width: 100%; height: 300px; border: 0; display: block; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Alt bilgi */
.site-footer { background: #0b1220; color: rgba(255, 255, 255, .7); padding: 3.5rem 0 1.5rem; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.25rem; }
.footer-title { color: #fff; font-weight: 600; margin-bottom: .75rem; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .875rem; }

@media (max-width: 991.98px) {
    .site-nav .social { margin: .75rem 0 .25rem; }
    .hero { padding: 4rem 0 3.5rem; }
    .section { padding: 3.5rem 0; }
}
.rich-text iframe.ql-video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; }
