/* Cad Teknoloji – bileşen stilleri (slayt sistemi, animasyon, iletişim, logo) */

/* ---------- Logo, yardımcılar ---------- */
.cad-logo-link { display: inline-flex; line-height: 0; }
/* Genişlik ayarı tam uygulanır; logo büyürse üst menü (min-height) kendiliğinden yükselir */
.site-header .cad-logo-link .cad-logo { width: var(--logo-w, 180px); max-width: none; max-height: none; height: auto; flex-shrink: 0; }
.footer-logo .cad-logo { display: block; width: var(--footer-logo-w, 170px); height: auto; }
@media (max-width: 700px) { .site-header .cad-logo-link .cad-logo { width: var(--logo-w-m, 140px); } }
.custom-logo-link { display: inline-flex; transform: translate(var(--logo-x, 0), var(--logo-y, 0)); }
.site-header .custom-logo-link img { width: var(--logo-w, 180px); max-width: none; max-height: none; height: auto; object-fit: contain; }
.site-header .custom-logo-link { flex-shrink: 0; position: relative; z-index: 2; }
@media (max-width: 700px) { .site-header .custom-logo-link img { width: var(--logo-w-m, 140px); } }
.section-more { text-align: center; margin: 40px 0 0; }
.btn--block { width: 100%; justify-content: center; }
.eyebrow--light { color: var(--accent); }
.req { color: #ef4444; }
.cad-live-btn { position: fixed; left: 20px; bottom: 20px; z-index: 95; background: var(--navy-900); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-lg); }
.cad-live-btn:hover { background: var(--blue-600); color: #fff; }

/* ---------- Slayt sistemi ---------- */
.hero-slider { --slider-h: 560px; }
.hero-slider--h-small { --slider-h: 420px; }
.hero-slider--h-large { --slider-h: 680px; }
.hero-slider--h-full { --slider-h: calc(100vh - var(--header-h)); }
.hero-slider--h-auto { --slider-h: 42vw; }
.hero-slider__track { min-height: var(--slider-h); }
.hero-slide__media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-slide__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider--kenburns .hero-slide.is-active .hero-slide__media img { animation: cad-kenburns 9s ease-out both; }
@keyframes cad-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-slide::before { z-index: 1; }
.hero-slide::after { z-index: 1; }
.hero-slide .container { position: relative; z-index: 2; }
.hero-slide__link { position: absolute; inset: 0; z-index: 2; }
.hero-slider--overlay-none .hero-slide:not(.hero-slide--noimg)::before { background: none; }
.hero-slider--overlay-light .hero-slide::before { opacity: .55; }
.hero-slider--overlay-strong .hero-slide::before { background: linear-gradient(100deg, rgba(7,26,51,.97), rgba(7,26,51,.85)); }
.hero-slide--image::before, .hero-slide--image::after { display: none; }
.hero-slide--text { background: var(--slide-bg, var(--navy-800)); }
.hero-slide--text::before { background: radial-gradient(900px 420px at 80% 10%, rgba(255,255,255,.12), transparent 60%); }
.hero-slide--center .hero-slide__content { margin: 0 auto; text-align: center; }
.hero-slide--center .hero-slide__actions { justify-content: center; }
.hero-slide--center .hero-slide__text { margin-left: auto; margin-right: auto; }
.hero-slide--right .hero-slide__content { margin-left: auto; text-align: right; }
.hero-slide--right .hero-slide__actions { justify-content: flex-end; }
.hero-slide--right .hero-slide__text { margin-left: auto; }
.hero-slide.is-active .hero-slide__eyebrow,
.hero-slide.is-active .hero-slide__title,
.hero-slide.is-active .hero-slide__text,
.hero-slide.is-active .hero-slide__actions { animation: cad-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-slide.is-active .hero-slide__title { animation-delay: .1s; }
.hero-slide.is-active .hero-slide__text { animation-delay: .2s; }
.hero-slide.is-active .hero-slide__actions { animation-delay: .3s; }
@keyframes cad-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Kayarak geçiş */
.hero-slider--slide .hero-slide { opacity: 1; visibility: visible; transform: translateX(100%); transition: transform .8s cubic-bezier(.65,0,.35,1); }
.hero-slider--slide .hero-slide.is-active { transform: translateX(0); }
.hero-slider--slide .hero-slide.is-prev { transform: translateX(-100%); }

/* Noktalar: ilerleme çubuklu */
.hero-slider__dots .container { align-items: center; }
.hero-slider__dots button { position: relative; overflow: hidden; width: 44px; }
.hero-slider__dots button span { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero-slider__dots button.is-active { width: 64px; background: rgba(255,255,255,.35); }
.hero-slider__dots button.is-active span { animation: cad-dot var(--autoplay, 6s) linear forwards; }
.hero-slider.is-paused .hero-slider__dots button.is-active span { animation-play-state: paused; }
.hero-slider[data-autoplay="0"] .hero-slider__dots button.is-active span { animation: none; transform: scaleX(1); }
@keyframes cad-dot { to { transform: scaleX(1); } }
.hero-slider__counter { margin-left: 14px; color: #cbd5e1; font-size: .85rem; letter-spacing: .08em; }
.hero-slider__counter b { color: #fff; }

/* ---------- İletişim sayfası ---------- */
.contact-cards-wrap { margin-top: -40px; position: relative; z-index: 3; }
.contact-cards { gap: 16px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--text); transition: transform .2s, border-color .2s; }
a.contact-card:hover { border-color: var(--blue-600); color: var(--text); transform: translateY(-2px); }
.contact-card small { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-card strong { display: block; font-size: 1rem; line-height: 1.4; margin: 2px 0; }
.contact-card em { font-style: normal; font-size: .85rem; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.contact-side .section-head { margin-bottom: 20px; }
.checklist--compact { gap: 12px; margin: 0 0 28px; }
.checklist--compact li { align-items: center; color: var(--text-2); }
.contact-address p { color: #cbd5e1; }
.contact-address__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.side-card .contact-address__actions .btn { width: auto; margin: 0; }
.form-card .check { margin: 16px 0 6px; }
.form-note { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); margin: 0; }
.region-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 64px 0; }
.region-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.region-band .section-title { color: #fff; }
.region-band .section-lead { color: #cbd5e1; }
.region-band .eyebrow { color: var(--accent); }
.region-band .section-head { margin-bottom: 20px; }
.region-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.region-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-weight: 600; font-size: .9rem; }
.region-chips svg { color: var(--accent); }
.region-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.map-full { position: relative; background: var(--soft); }
.map-full iframe { display: block; width: 100%; border: 0; filter: saturate(.9); }
.map-full__overlay { position: absolute; left: 0; right: 0; bottom: 24px; pointer-events: none; }
.map-full__card { pointer-events: auto; display: inline-flex; align-items: center; gap: 14px; max-width: 560px; padding: 16px 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.map-full__card strong { display: block; font-size: 1rem; }
.map-full__card span { display: block; color: var(--text-2); font-size: .9rem; line-height: 1.4; }
.map-full__card .btn { flex-shrink: 0; }
@media (max-width: 640px) { .map-full__overlay { position: static; padding: 16px 20px; } .map-full__card { display: flex; flex-wrap: wrap; max-width: none; } }
.map-card { margin-top: 20px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: #fff; }
.map-card iframe { display: block; width: 100%; border: 0; }
.map-card__btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; font-weight: 700; border-top: 1px solid var(--border); }
.map-card__btn:hover { background: var(--blue-50); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Diğer ---------- */
.service-faq { margin-top: 48px; }
.service-faq h2 { font-size: 1.6rem; margin-bottom: 20px; }
.service-features li { align-items: center; }
.error-404__code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(120deg, var(--blue-600), var(--navy-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.entry-thumb { position: relative; }
.entry-thumb__credit { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; padding: 3px 8px; border-radius: 6px; }

/* =====================================================================
   Mobil düzeltmeler
   ===================================================================== */
body { overflow-x: clip; }                                  /* istenmeyen yatay kaydırmayı engelle */
.btn { max-width: 100%; overflow-wrap: anywhere; }           /* uzun e-posta/telefon taşmasın */
@media (max-width: 1080px) {
  /* Mobil başlıkta yuvarlak "ara" butonu (telefon numarası görünür kalsın) */
  .header-actions .btn--phone { display: inline-flex; width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
  .header-actions .btn--phone span { display: none; }
}
@media (max-width: 700px) {
  :root { --header-h: 68px; }
  .hero-slider--h-auto .hero-slider__track, .hero-slider--h-small .hero-slider__track { min-height: 480px; }
  .hero-slide__title { font-size: clamp(1.7rem, 7.5vw, 2.2rem); }
  .hero-slide__text { font-size: 1rem; margin-bottom: 24px; }
  .hero-slide__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-slider__dots { bottom: 110px; }
  .trust-bar { margin-top: -56px; }
  .trust-item { padding: 18px; }
  .section-title { font-size: clamp(1.45rem, 6vw, 1.9rem); }
  .page-hero { padding: 44px 0 52px; }
  .page-hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 100%; justify-content: center; }
  .about__placeholder { padding: 24px; gap: 10px; }
  .about__badge { position: relative; right: auto; bottom: auto; margin: -28px 16px 0; }
  .stat__num { font-size: 1.9rem; }
  .faq-item summary { padding: 16px 18px; }
  .faq-item__body { padding: 0 18px 18px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .footer-legal ul { justify-content: center; }
  .cad-live-btn { padding: 9px 13px; font-size: .8rem; left: 12px; bottom: 12px; }
  .map-full iframe { height: 320px !important; }
}
@media (max-width: 520px) {
  .wa-chat__input input { font-size: 16px; }                 /* iOS'ta yakınlaşmayı engeller */
  .cad-form input, .cad-form select, .cad-form textarea { font-size: 16px; }
}

/* =====================================================================
   Çerez onayı (KVKK)
   ===================================================================== */
.cc-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; display: flex; justify-content: center; }
.cc-banner[hidden], .cc-modal[hidden] { display: none; }
.cc-banner__inner { width: 100%; max-width: 1100px; display: flex; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; box-shadow: 0 20px 50px -15px rgba(7, 26, 51, .35); }
.cc-banner__text { flex: 1; }
.cc-banner__text strong { display: block; margin-bottom: 4px; }
.cc-banner__text p { margin: 0; color: var(--text-2); font-size: .9rem; line-height: 1.55; }
.cc-banner__text a { font-weight: 600; }
.cc-banner__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; flex-shrink: 0; }
/* "Kabul" ve "Reddet" aynı boyut ve görünürlükte (KVKK rehberi: yanıltıcı arayüz olmamalı) */
.cc-btn { min-width: 150px; padding: 11px 18px; border-radius: 10px; font: 700 .9rem var(--font); cursor: pointer; border: 2px solid var(--navy-800); }
.cc-btn--solid { background: var(--navy-800); color: #fff; }
.cc-btn--solid:hover { background: var(--blue-600); border-color: var(--blue-600); }
.cc-btn--outline { background: #fff; color: var(--navy-800); }
.cc-btn--link { min-width: 0; border-color: transparent; background: none; color: var(--blue-600); text-decoration: underline; padding: 11px 8px; }
.cc-modal { position: fixed; inset: 0; z-index: 210; background: rgba(7, 26, 51, .55); display: grid; place-items: center; padding: 16px; }
.cc-lock, .cc-lock body { overflow: hidden; }
.cc-modal__box { width: 100%; max-width: 620px; max-height: 90vh; overflow: auto; background: #fff; border-radius: 18px; padding: 24px; box-shadow: var(--shadow-lg); }
.cc-modal__head { display: flex; justify-content: space-between; align-items: center; }
.cc-modal__head h2 { margin: 0; font-size: 1.3rem; }
.cc-modal__close { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); }
.cc-modal__lead { color: var(--text-2); font-size: .92rem; }
.cc-cat { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.cc-cat__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cc-cat p { margin: 6px 0 0; font-size: .87rem; color: var(--text-2); }
.cc-switch { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-switch span { width: 44px; height: 24px; border-radius: 999px; background: #cbd5e1; position: relative; transition: background .2s; }
.cc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cc-switch input:checked + span { background: var(--green); }
.cc-switch input:checked + span::after { transform: translateX(20px); }
.cc-switch input:disabled + span { opacity: .6; }
.cc-switch input:focus-visible + span { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.cc-switch em { font-style: normal; font-size: .75rem; color: var(--muted); }
.cc-modal__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.cc-modal__actions .cc-btn { flex: 1 1 160px; }
/* Onay bekleyen gömülü içerik (harita) */
.cc-embed { position: relative; background: var(--soft); }
.cc-embed__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 20px; background: repeating-linear-gradient(45deg, #eef3fa, #eef3fa 12px, #f6f8fc 12px, #f6f8fc 24px); }
.cc-embed__ph p { margin: 0; max-width: 420px; color: var(--text-2); font-weight: 600; }
.cc-embed.is-allowed .cc-embed__ph { display: none; }
.cc-embed iframe:not([src]) { visibility: hidden; }
@media (max-width: 760px) {
  .cc-banner { left: 8px; right: 8px; bottom: 8px; }
  .cc-banner__inner { flex-direction: column; align-items: stretch; padding: 16px; gap: 12px; }
  .cc-banner__actions { justify-content: stretch; }
  .cc-banner__actions .cc-btn--solid { flex: 1 1 45%; min-width: 0; }
  .cc-banner__actions .cc-btn--link { flex: 1 1 100%; }
}
/* Çerez bandı açıkken WhatsApp butonu bandın üstünde kalsın */
html:has(.cc-banner:not([hidden])) .wa-launcher { bottom: 150px; }
@media (max-width: 760px) { html:has(.cc-banner:not([hidden])) .wa-launcher { bottom: 250px; } }
