/* DWT Ajans: WordPress uyumu ve ek bileşenler (site.css üzerine) */

/* Yönetici çubuğu açıkken yapışkan başlık */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
/* 600px altında WordPress yönetici çubuğu sabit değil, sayfayla kayar: başlık en üste yapışmalı */
@media (max-width: 600px) {
  .admin-bar .header { top: 0; }
  #wpadminbar { position: absolute; }
}
/* Mobil menü açıkken yönetici çubuğu menünün üstünü kapatmasın */
.admin-bar .mobile-menu { padding-top: calc(var(--header-h) + 46px + 50px); }
@media (min-width: 783px) { .admin-bar .mobile-menu { padding-top: calc(var(--header-h) + 32px + 50px); } }

/* Blog görselleri: kapak görselleri 16:9, kırpılmadan tam görünsün */
.b-card-media { aspect-ratio: 16 / 9; }
.b-feat { align-items: center; }
.b-feat-media { min-height: 0; aspect-ratio: 16 / 9; margin: clamp(14px, 1.6vw, 22px); border-radius: var(--r); }
.post-cover { aspect-ratio: 16 / 9; max-width: 1040px; margin-left: auto; margin-right: auto; }
@media (max-width: 1100px) { .b-feat-media { min-height: 0; } }
@media (max-width: 720px) { .post-cover { aspect-ratio: 16 / 9; } }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.alignleft { float: left; margin: 0 1.4em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }

/* Marka logoları */
.brand img { height: 40px; max-width: 170px; object-fit: contain; }
.brand:hover img { filter: none; opacity: 1; }

/* 5 adımlı süreç */
.steps-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1240px) { .steps-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1100px) { .steps-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .steps-5 { grid-template-columns: 1fr; } }

/* Fiyat paketleri */
.pricing-promo { display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; margin: 0 auto 36px; padding: 10px 18px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 10%, var(--surface)); color: var(--primary); font-weight: 600; font-size: 14.5px; text-align: center; }
.pricing-promo svg.i { width: 17px; height: 17px; flex: none; }
.plan-delivery { display: flex; align-items: center; gap: 8px; margin: -12px 0 20px; color: var(--muted); font-size: 14px; font-weight: 500; }
.plan-delivery svg.i { width: 16px; height: 16px; color: var(--primary); }
.plan-pop .plan-delivery { color: rgba(255,255,255,.7); }
.custom-plan { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(26px, 3vw, 40px); border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); }
.custom-plan p { margin-top: 8px; }
@media (max-width: 720px) { .custom-plan { flex-direction: column; align-items: flex-start; } }

/* Hizmet detay: kapsam kartları */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0 8px; }
.feat { display: flex; gap: 14px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.feat-ic { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.feat-ic svg.i { width: 17px; height: 17px; }
.feat h3 { font-size: 17px; letter-spacing: -.02em; margin-bottom: 4px; }
.feat p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.detail-main > .h3 { margin-top: 44px; }
.detail-main > .h3:first-of-type { margin-top: 0; }
.detail-main .why-list { margin-top: 20px; }
@media (max-width: 720px) { .feat-grid { grid-template-columns: 1fr; } }

/* Hakkımızda: misyon & vizyon */
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mv-card { padding: clamp(28px, 3vw, 44px); border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); }
.mv-card .value-ic { margin-bottom: 28px; }
.mv-card p { margin-top: 12px; color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.mv-dark { background: var(--dark); color: #fff; border-color: transparent; }
.mv-dark p { color: rgba(255,255,255,.72); }
.mv-dark .value-ic { background: var(--accent); color: var(--on-accent); }
.about-content { margin-top: 48px; }
@media (max-width: 720px) { .mv-grid { grid-template-columns: 1fr; } }

/* Referanslar */
.p-card-media img { object-position: top center; }
.p-card-metric strong svg.i { width: 26px; height: 26px; }
.ref-note { margin-top: 28px; text-align: center; }
.filters-light + .p-grid { margin-top: 8px; }

/* Avatar (baş harf) boyutları */
.cta-faces .avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--dark); margin-left: -10px; }
.cta-faces .avatar:first-child { margin-left: 0; }
.quote figcaption .avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; object-fit: cover; font-size: 15px; }
.post-author .avatar-txt { width: 44px; height: 44px; border-radius: 50%; }

/* 4 yorum varsa 2x2 ızgara */
@media (min-width: 721px) { .quotes:has(> .quote:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }

/* Mobil: iletişim formu kompakt */
@media (max-width: 720px) {
  .contact-card { gap: 22px; padding: 22px 16px 16px; }
  .contact-info .contact-team { display: none; }
  .contact-info .contact-lines { gap: 8px; }
  .contact-form { padding: 16px; gap: 10px; border-radius: 22px; }
  .contact-form .f-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .contact-form .f-row .f-field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .contact-form .f-field input { height: 44px; padding: 0 12px; border-radius: 12px; font-size: 14.5px; }
  .contact-form .f-field textarea { min-height: 76px; padding: 10px 12px; font-size: 14.5px; }
  .contact-form .f-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .contact-form .pick span { width: 100%; justify-content: center; text-align: center; line-height: 1.2; min-height: 34px; height: auto !important; padding: 6px 8px !important; }
  .contact-form .f-chips legend { margin-bottom: 6px; font-size: 12px; }
  .contact-form .pick span { height: 32px; padding: 0 11px; font-size: 12.5px; gap: 5px; }
  .contact-form .pick span svg.i { display: none; }
  .contact-form .pick input:checked + span svg.i { display: inline-block; width: 13px; height: 13px; }
  .contact-form .f-field > span, .contact-form .f-chips legend { font-size: 12px; }
  .contact-form .f-submit { gap: 10px; }
  .contact-form .f-submit .btn { width: 100%; justify-content: center; }
}

/* Bot doğrulaması */
.f-captcha input { max-width: 220px; }
.f-turnstile { min-height: 65px; }
.newsletter .f-captcha-sm { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.newsletter .f-captcha-sm > span { font-size: 12.5px; color: rgba(255,255,255,.6); font-weight: 500; white-space: nowrap; }
.newsletter .f-captcha-sm input { width: 70px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; }
.newsletter .f-captcha-sm.invalid input, .f-captcha.invalid input { border-color: #e5484d; }
.newsletter .f-turnstile { margin-top: 10px; }

/* Sayfa altı tarih */
.page-updated { margin-top: 40px; }

/* Form bildirimleri */
.form-msg:empty { display: none; }

/* ================= SEO içerik bileşenleri ================= */

/* Bağlantı hedefleri sabit başlığın altında kalmasın */
[id] { scroll-margin-top: 110px; }

/* --- Sayfa SEO bölümü (ana sayfa, hakkımızda, fiyatlar, iletişim) --- */
.seo-block { position: relative; }
.seo-wrap { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.seo-wrap-single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.seo-intro { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.seo-intro .h2 { max-width: 18ch; }
.seo-lead p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.seo-lead p + p { margin-top: 12px; }
.seo-lead strong { color: var(--ink); font-weight: 700; }
.seo-lead a, .seo-body a { color: var(--primary); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.seo-lead a:hover, .seo-body a:hover { text-decoration-color: transparent; }
.seo-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.seo-toc > span { width: 100%; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.seo-toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; line-height: 1.3; transition: border-color .25s, color .25s, background .25s; }
.seo-toc a:hover { border-color: var(--primary); color: var(--primary); }
.seo-figure { width: 100%; }
.seo-figure figure { margin: 0; position: relative; }
.seo-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.seo-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.seo-figure figcaption::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--primary); }

.seo-cards { display: grid; gap: 16px; counter-reset: seo; }
.seo-card { position: relative; padding: clamp(24px, 2.6vw, 34px); padding-left: clamp(80px, 7vw, 96px); border-radius: calc(var(--r) + 2px); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.seo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.seo-num { position: absolute; left: clamp(22px, 2.4vw, 32px); top: clamp(24px, 2.6vw, 34px); width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--primary); background: color-mix(in srgb, var(--primary) 11%, var(--surface)); }
.seo-card h3 { font-size: clamp(19px, 1.6vw, 22px); letter-spacing: -.025em; line-height: 1.25; margin: 8px 0 12px; }
.seo-body { color: var(--muted); font-size: 15.5px; line-height: 1.72; }
.seo-body > * + * { margin-top: 12px; }
.seo-body strong { color: var(--ink); }
.seo-body ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.seo-body ul li { position: relative; padding-left: 30px; color: color-mix(in srgb, var(--ink) 82%, transparent); }
.seo-body ul li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 7px; background: color-mix(in srgb, var(--primary) 12%, var(--surface)); }
.seo-body ul li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.seo-body ol { list-style: none; padding: 0; display: grid; gap: 10px; counter-reset: step; }
.seo-body ol li { position: relative; padding: 12px 14px 12px 56px; border-radius: 14px; background: var(--soft); counter-increment: step; color: color-mix(in srgb, var(--ink) 82%, transparent); }
.seo-body ol li::before { content: counter(step); position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; }
.seo-body figure { margin: 6px 0 0; }
.seo-body img { width: 100%; height: auto; border-radius: 14px; }

@media (max-width: 1000px) {
  .seo-wrap { grid-template-columns: 1fr; }
  .seo-intro { position: static; }
  .seo-intro .h2 { max-width: none; }
}
@media (max-width: 720px) {
  .seo-card { padding: 22px 20px; }
  .seo-num { position: static; margin-bottom: 4px; width: 38px; height: 38px; }
  .seo-card h3 { margin-top: 10px; }
  .seo-toc a { font-size: 13px; min-height: 32px; padding: 5px 12px; }
}

/* --- İçindekiler (hizmet ve blog yazıları) --- */
.dwt-toc { margin: 0 0 36px; border-radius: calc(var(--r) + 2px); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s; }
.dwt-toc[open] { box-shadow: var(--shadow); border-color: transparent; }
.dwt-toc summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; user-select: none; }
.dwt-toc summary::-webkit-details-marker { display: none; }
.dwt-toc-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 11%, var(--surface)); color: var(--primary); flex: none; }
.dwt-toc-ic svg.i { width: 17px; height: 17px; }
.dwt-toc-title { font-family: var(--f-head); font-weight: 700; font-size: 17px; letter-spacing: -.02em; color: var(--ink); }
.dwt-toc summary small { margin-left: auto; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.dwt-toc-chev { width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--ease); flex: none; }
.dwt-toc[open] .dwt-toc-chev { transform: rotate(180deg); }
.dwt-toc nav { padding: 0 20px 18px; }
.dwt-toc ul { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; border-top: 1px solid var(--line); padding-top: 14px !important; }
.prose .dwt-toc ul li { padding-left: 0; margin: 0; }
.prose .dwt-toc ul li::before { display: none; }
.dwt-toc a, .prose .dwt-toc a { display: flex; align-items: baseline; gap: 10px; padding: 6px 8px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14.5px; line-height: 1.4; font-weight: 500; transition: background .2s, color .2s; }
.dwt-toc a span { font-family: var(--f-head); font-size: 12px; font-weight: 700; color: var(--primary); min-width: 20px; }
.dwt-toc a:hover { background: var(--soft); color: var(--primary); }
@media (max-width: 720px) { .dwt-toc ul { grid-template-columns: 1fr; } }

/* --- Blog galerisi --- */
.dwt-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.8em 0; }
.dwt-gallery figure { margin: 0; }
.dwt-gallery img, .prose .dwt-gallery img { margin: 0 !important; border-radius: 16px; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: top center; border: 1px solid var(--line); }
.dwt-gallery figcaption.blocks-gallery-caption { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 2px; }
.prose figure.wp-block-image img { border: 1px solid var(--line); }
.prose figure.wp-block-image figcaption { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: -8px; }
@media (max-width: 560px) { .dwt-gallery { grid-template-columns: 1fr; } }

/* --- İçerik içi SSS akordeonu --- */
.acc-inline { margin: 18px 0 8px; gap: 10px; }
.acc-inline .acc-h { margin: 0 !important; font-size: inherit; font-family: var(--f-body); letter-spacing: 0; }
.prose .acc-inline .acc-q { font-size: 16.5px; font-weight: 600; color: var(--ink); padding: 18px 20px; text-decoration: none; }
.prose .acc-inline .acc-q span { flex: 1; }
.prose .acc-inline .acc-a p { padding: 0 20px 20px; margin: 0; max-width: none; font-size: 15.5px; }
.prose .acc-inline .acc-q i { width: 34px; height: 34px; }
.prose .acc-inline .acc-q i svg.i { width: 16px; height: 16px; }

/* Galeri: WordPress çekirdek galeri stillerini ez */
.wp-block-gallery.dwt-gallery { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px; flex-wrap: initial; }
.wp-block-gallery.dwt-gallery figure.wp-block-image { width: 100% !important; margin: 0 !important; display: block !important; flex: none !important; }
.wp-block-gallery.dwt-gallery figure.wp-block-image img { height: auto !important; aspect-ratio: 3 / 2; object-fit: cover; flex: none !important; }
@media (max-width: 560px) { .wp-block-gallery.dwt-gallery { grid-template-columns: 1fr; } }
