/* =========================================================================
   Main teması — içerik blokları, haberler, iletişim formu
   ========================================================================= */

.blk-container.w-narrow, .template-narrow .blk-container { max-width: 820px; }
.blk-container.w-normal { max-width: 1000px; }

.blk-section { padding: 104px 0; }
.blk-section:not(.blk-soft) + .blk-section:not(.blk-soft) { padding-top: 0; }
.blk-soft { background: var(--soft); }

.blk-head { margin-bottom: 48px; max-width: 780px; }
.blk-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
    font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--primary); background: var(--primary-soft);
}
.blk-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gradient); }
.blk-title { font-size: clamp(32px, 4.6vw, 54px); margin: 0 0 16px; }
.blk-intro { color: var(--muted); font-size: 19px; margin: 0; }
.blk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.blk-actions:empty { display: none; }

/* ---------- Giriş alanı ---------- */
.blk-hero { position: relative; overflow: hidden; display: flex; align-items: center; color: #fff; background: var(--dark); background-size: cover; background-position: center; }
.blk-hero.is-light { background: var(--soft); color: var(--text); }
.blk-hero.is-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 10, 30, .45), rgba(15, 10, 30, .85)); }
.blk-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%); pointer-events: none; }
.blk-hero.is-light::after { display: none; }
.blk-hero.h-compact { min-height: 380px; } .blk-hero.h-normal { min-height: 560px; } .blk-hero.h-large { min-height: 720px; } .blk-hero.h-full { min-height: 100vh; }
.blk-hero-inner { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; padding-top: calc(var(--header-h) + 72px); padding-bottom: 96px; }
.blk-hero-inner.has-image { grid-template-columns: 1fr; }
@media (min-width: 980px) { .blk-hero-inner.has-image { grid-template-columns: 1.1fr 1fr; } }
.blk-hero.align-center .blk-hero-inner { text-align: center; justify-items: center; }
.blk-hero.align-center .blk-actions { justify-content: center; }
.blk-hero-text { max-width: 880px; }
.blk-hero h1 { color: inherit; font-size: clamp(42px, 7.4vw, 92px); line-height: 1; letter-spacing: -.045em; margin: 0 0 24px; }
.blk-hero-inner.has-image h1 { font-size: clamp(40px, 5.4vw, 72px); }
.blk-hero.is-light h1 { color: var(--ink); }
.blk-hero p { font-size: clamp(17px, 1.8vw, 21px); margin: 0 0 36px; opacity: .8; max-width: 640px; }
.blk-hero.align-center p { margin-left: auto; margin-right: auto; }
.blk-hero .blk-eyebrow { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.blk-hero.is-light .blk-eyebrow { background: #fff; color: var(--primary); border-color: var(--line); }
.blk-hero .blk-btn { padding: 17px 34px; font-size: 16px; }
.blk-hero:not(.is-light) .blk-btn.is-primary { background: #fff; color: var(--ink); box-shadow: 0 14px 40px rgba(0, 0, 0, .25); }
.blk-hero:not(.is-light) .blk-btn.is-primary:hover { color: var(--primary); }
.blk-hero:not(.is-light) .blk-btn.is-outline { color: #fff; border-color: rgba(255, 255, 255, .3); }
.blk-hero:not(.is-light) .blk-btn.is-outline:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.blk-hero-media img { width: 100%; display: block; border-radius: var(--radius); box-shadow: 0 40px 100px rgba(0, 0, 0, .35); transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); transition: transform .6s; }
.blk-hero-media:hover img { transform: none; }
.hero-scroll {
    position: absolute; left: 50%; bottom: 28px; z-index: 1; transform: translateX(-50%); width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25); color: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; animation: bob 2.4s ease-in-out infinite;
}
.blk-hero.is-light .hero-scroll { color: var(--ink); border-color: var(--line); }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* ---------- Metin ---------- */
.blk-prose { font-size: 18px; line-height: 1.8; color: #3d3956; }
.blk-prose > :first-child { margin-top: 0; }
.blk-prose > :last-child { margin-bottom: 0; }
.blk-prose h2, .blk-prose h3, .blk-prose h4 { margin: 1.8em 0 .6em; }
.blk-prose h2 { font-size: 32px; } .blk-prose h3 { font-size: 24px; }
.blk-prose ul { list-style: none; padding: 0; }
.blk-prose ul li { position: relative; padding-left: 30px; margin: .55em 0; }
.blk-prose ul li::before { content: "\F26E"; font-family: bootstrap-icons; position: absolute; left: 0; top: 1px; color: var(--primary); font-size: 18px; }
.blk-prose img { border-radius: var(--radius-sm); margin: 1em 0; }
.blk-prose blockquote { margin: 1.6em 0; padding: 28px 32px; border-radius: var(--radius); background: var(--soft); font-size: 21px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.blk-prose a { font-weight: 700; }
.blk-prose .ql-align-center { text-align: center; } .blk-prose .ql-align-right { text-align: right; } .blk-prose .ql-align-justify { text-align: justify; }

/* ---------- Görsel + metin ---------- */
.blk-split { display: grid; gap: 64px; align-items: center; }
@media (min-width: 980px) {
    .blk-split { grid-template-columns: 1fr 1fr; }
    .blk-split.no-media { grid-template-columns: 1fr; }
    .blk-split.img-right .blk-split-media { order: 2; }
}
.blk-split-media { position: relative; }
.blk-split-media img { width: 100%; display: block; border-radius: var(--radius); }
.blk-split-media:has(img)::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius); background: var(--gradient); opacity: .14; z-index: -1; }
.blk-split.img-right .blk-split-media:has(img)::before { inset: 24px 24px -24px -24px; }
.blk-split-text .blk-head { margin-bottom: 20px; }
.blk-split-text .blk-actions { margin-top: 32px; }

/* ---------- Kartlar ---------- */
.blk-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .blk-grid.cols-2, .blk-grid.cols-3, .blk-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .blk-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .blk-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.blk-card {
    position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--radius); background: var(--soft);
    color: inherit; text-decoration: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, background .35s; isolation: isolate; overflow: hidden;
}
.blk-card::before { content: ""; position: absolute; inset: 0; background: var(--gradient); opacity: 0; transition: opacity .35s; z-index: -1; }
.blk-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
a.blk-card:hover::before { opacity: 1; }
a.blk-card:hover h3, a.blk-card:hover p { color: #fff; }
.blk-card-icon {
    width: 58px; height: 58px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 25px;
    background: var(--gradient); color: #fff; margin-bottom: 26px; box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 30%, transparent);
}
a.blk-card:hover .blk-card-icon { background: rgba(255, 255, 255, .2); box-shadow: none; }
.blk-card h3 { font-size: 21px; margin: 0 0 10px; transition: color .35s; }
.blk-card p { margin: 0; color: var(--muted); transition: color .35s; }
a.blk-card::after { content: "\F144"; font-family: bootstrap-icons; position: absolute; right: 26px; top: 30px; font-size: 22px; color: var(--primary); transition: transform .35s, color .35s; }
a.blk-card:hover::after { color: #fff; transform: rotate(45deg); }

/* ---------- CTA ---------- */
.blk-cta { padding: 32px 0; }
.blk-cta-inner {
    position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
    padding: 64px clamp(28px, 5vw, 72px); border-radius: calc(var(--radius) + 8px); background: var(--gradient); color: #fff;
}
.blk-cta-inner::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.blk-cta.is-dark .blk-cta-inner { background: var(--dark); }
.blk-cta.is-light .blk-cta-inner { background: var(--soft); color: var(--text); }
.blk-cta.is-light .blk-cta-inner::after { background: var(--primary-soft); }
.blk-cta-inner > * { position: relative; z-index: 1; }
.blk-cta h2 { color: inherit; margin: 0 0 10px; font-size: clamp(28px, 3.8vw, 44px); }
.blk-cta.is-light h2 { color: var(--ink); }
.blk-cta p { margin: 0; font-size: 18px; opacity: .85; max-width: 600px; }
.blk-cta .blk-btn.is-primary { background: #fff; color: var(--ink); padding: 17px 34px; }
.blk-cta.is-light .blk-btn.is-primary { background: var(--gradient); color: #fff; }

/* ---------- Galeri ---------- */
.blk-gallery { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .blk-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); } .blk-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.blk-gallery figure { margin: 0; }
.blk-gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.blk-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.blk-gallery a:hover img { transform: scale(1.06); }
.blk-gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; font-weight: 600; }

/* ---------- Rakamlar ---------- */
.blk-stats-row { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.blk-stat { padding: 32px 28px; border-radius: var(--radius); background: var(--soft); }
.blk-stat strong { display: block; font-size: clamp(44px, 6vw, 68px); line-height: 1; letter-spacing: -.05em; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.blk-stat span { color: var(--muted); font-weight: 600; }

/* ---------- SSS ---------- */
.blk-faq { border-top: 1px solid var(--line); }
.blk-faq details { border-bottom: 1px solid var(--line); }
.blk-faq summary { cursor: pointer; padding: 26px 60px 26px 0; list-style: none; position: relative; font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -.01em; }
.blk-faq summary::-webkit-details-marker { display: none; }
.blk-faq summary::after {
    content: "\F64D"; font-family: bootstrap-icons; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
    border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: transform .3s, background .3s, color .3s;
}
.blk-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.blk-faq details > div { padding: 0 60px 26px 0; color: var(--muted); font-size: 17px; }

/* ---------- Yorumlar ---------- */
.blk-quote { margin: 0; padding: 36px 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; transition: transform .3s, box-shadow .3s; }
.blk-quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blk-quote::before { content: "\2605\2605\2605\2605\2605"; color: #f59e0b; letter-spacing: 3px; margin-bottom: 16px; font-size: 15px; }
.blk-quote p { margin: 0 0 28px; font-size: 17.5px; color: var(--ink); font-weight: 500; line-height: 1.6; }
.blk-quote footer { display: flex; align-items: center; gap: 14px; }
.blk-quote footer img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.blk-quote footer span { display: flex; flex-direction: column; line-height: 1.35; }
.blk-quote strong { color: var(--ink); }
.blk-quote small { color: var(--muted); }
.blk-soft .blk-quote { border-color: transparent; }

/* ---------- Logolar ---------- */
.blk-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 56px; padding: 8px 0; }
.blk-logos img { max-height: 46px; max-width: 150px; object-fit: contain; transition: filter .3s, opacity .3s; }
.blk-logos.is-gray img { filter: grayscale(1); opacity: .5; }
.blk-logos.is-gray > *:hover img { filter: none; opacity: 1; }

/* ---------- Video ---------- */
.blk-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.blk-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.blk-caption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 16px; }

/* ---------- İletişim bilgileri ---------- */
.blk-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.blk-contact li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--soft); }
.blk-contact .bi { width: 48px; height: 48px; border-radius: 14px; background: var(--gradient); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.blk-contact small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.blk-contact a { color: var(--ink); font-weight: 700; text-decoration: none; }
.blk-contact a:hover { color: var(--primary); }
.blk-map iframe { width: 100%; min-height: 420px; border: 0; border-radius: var(--radius); display: block; }

/* ---------- Boşluk ---------- */
.blk-spacer.s-sm { padding: 12px 0; } .blk-spacer.s-md { padding: 40px 0; } .blk-spacer.s-lg { padding: 80px 0; }
.blk-spacer hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Haberler ---------- */
.news-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.news-card:hover { transform: translateY(-6px); }
.news-card-media { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.news-card:hover .news-card-media img { transform: scale(1.06); }
.news-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 44px; color: #fff; background: var(--gradient); opacity: .9; }
.news-card-body { padding: 20px 4px 8px; }
.news-card h3 { font-size: 21px; line-height: 1.3; margin: 10px 0 8px; }
.news-card h3 a { color: var(--ink); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s; }
.news-card:hover h3 a { background-size: 100% 2px; }
.news-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.news-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.news-cat { padding: 4px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 12.5px; }
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; justify-content: center; }
.news-filter a, .news-pager a { padding: 9px 20px; border-radius: 999px; background: var(--soft); text-decoration: none; color: var(--text); font-size: 14.5px; font-weight: 600; transition: .2s; }
.news-filter a:hover, .news-pager a:hover { color: var(--primary); }
.news-filter a.is-active, .news-pager a.is-active { background: var(--ink); color: #fff; }
.news-pager { display: flex; gap: 6px; justify-content: center; margin-top: 56px; }
.news-empty { color: var(--muted); text-align: center; padding: 48px 0; }
.news-cover { width: 100%; border-radius: var(--radius); margin-bottom: 36px; }
.news-lead { font-size: 22px; line-height: 1.55; color: var(--ink); font-weight: 600; letter-spacing: -.01em; margin: 0 0 28px; }
.news-share { display: flex; align-items: center; gap: 10px; margin-top: 56px; padding: 18px 22px; border-radius: 999px; background: var(--soft); color: var(--muted); font-weight: 700; }
.news-share a { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; transition: .2s; }
.news-share a:hover { background: var(--gradient); color: #fff; }
.news-block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
.news-block-head .blk-head { margin-bottom: 0; }
.news-block-head .blk-btn.is-outline { color: var(--ink); }

/* ---------- İletişim formu ---------- */
.cf { scroll-margin-top: calc(var(--header-h) + 20px); padding: 36px; border-radius: var(--radius); background: var(--soft); }
.cf-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-bottom: 24px; }
@media (min-width: 640px) { .cf-grid { grid-template-columns: 1fr 1fr; } .cf-full { grid-column: 1 / -1; } }
.cf-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.cf-field input, .cf-field select, .cf-field textarea {
    font: inherit; font-weight: 500; font-size: 15.5px; padding: 15px 18px; border: 1.5px solid transparent; border-radius: var(--radius-sm);
    background: #fff; color: var(--text); width: 100%; transition: border-color .2s, box-shadow .2s;
}
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 14%, transparent); }
.cf-error { color: #dc2626; font-weight: 600; font-size: 13px; }
.cf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.cf-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--primary); }
.cf-alert { padding: 15px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-weight: 600; display: flex; gap: 10px; }
.cf-alert.is-success { background: #dcfce7; color: #166534; }
.cf-alert.is-error { background: #fee2e2; color: #991b1b; }
.cf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf .blk-btn { padding: 16px 36px; }
.cf-map { margin-top: 20px; }

/* Bloklar div.blk ile sarıldığı için ardışık beyaz bölümler arasındaki çift boşluğu kaldır */
.blk:has(> .blk-section:not(.blk-soft):not(.blk-stats):not(.px-dark)) + .blk > .blk-section:not(.blk-soft):not(.blk-stats):not(.px-dark) { padding-top: 0; }
