/* Slider Güncel (tc_hero_flash) — "Işıltıyla değişim": önce görseli, ışıltı patlamasıyla sonra görseline döner. */
.tcfx {
  --tcfx-ease: cubic-bezier(.22, 1, .36, 1);
  --tcfx-t: 2.2s;          /* ışıltının başladığı an */
  --tcfx-dur: 7500ms;      /* slayt süresi (ilerleme çubuğu) */
  --tcfx-bg1: #174b51;
  --tcfx-bg2: #0F2E2E;
  --tcfx-bg3: #0a1e20;
  --tcfx-floor: #081a1c;
  --tcfx-halo: rgba(255, 180, 130, .16);
  --tcfx-accent: #FF9D76;
  --tcfx-bar: #FF8A5C;
  --tcfx-bar-bg: rgba(255, 255, 255, .18);
  position: relative;
  width: 100%;
  --tcfx-pad: clamp(20px, 6.95vw, 100px); /* site menüsüyle aynı yan boşluk: yazı logoyla hizalı başlar */
  --tcfx-py: clamp(40px, 4.5vw, 72px);
  --tcfx-ftop: 24px;       /* görselin üstte bıraktığı boşluk */
  --tcfx-fbot: 5cqh;       /* görselin altta bıraktığı boşluk (sahne yüksekliğine göre) */
  display: flex;
  flex-direction: column;
  /* Yükseklik içerikten gelir; ekran genişliğiyle orantılı büyür ama ekranı (menü hariç) aşmaz. */
  min-height: min(clamp(500px, 36vw, 760px), calc(100vh - var(--tcfx-top, 0px)));
  min-height: min(clamp(500px, 36vw, 760px), calc(100svh - var(--tcfx-top, 0px)));
  overflow: hidden;
  color: #fff;
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(90% 85% at 72% 42%, var(--tcfx-bg1) 0%, var(--tcfx-bg2) 52%, var(--tcfx-bg3) 100%);
  touch-action: pan-y;
}
.tcfx *, .tcfx *::before, .tcfx *::after { box-sizing: border-box; }
.tcfx__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(to top, var(--tcfx-floor), transparent); pointer-events: none; }
.tcfx__grid { position: relative; z-index: 2; flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); width: 100%; margin: 0 auto; padding: var(--tcfx-py) var(--tcfx-pad); }
/* Tüm slayt metinleri aynı hücrede üst üste: blok en uzun metin kadar yer kaplar. */
.tcfx__copy { position: relative; align-self: center; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.tcfx__stage { position: relative; min-height: 0; margin: calc(-1 * var(--tcfx-py)) 0; container-type: size; }

/* Metin */
.tcfx__tx { position: relative; grid-area: 1 / 1; visibility: hidden; }
.tcfx__tx.is-on { visibility: visible; }
.tcfx__tx.is-on > * { animation: tcfx-up .7s var(--tcfx-ease) both; }
.tcfx__tx.is-on > *:nth-child(2) { animation-delay: .08s; }
.tcfx__tx.is-on > *:nth-child(3) { animation-delay: .16s; }
.tcfx__tx.is-on > *:nth-child(4) { animation-delay: .24s; }
@keyframes tcfx-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.tcfx .tcfx__eb { display: flex; align-items: center; gap: 12px; margin: 0; font-family: inherit; font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tcfx-accent); }
.tcfx .tcfx__eb i { font-style: normal; font-size: 15px; color: #CFE3E0; letter-spacing: .1em; }
.tcfx .tcfx__eb::after { content: ""; flex: 0 0 42px; width: 42px; height: 1px; background: currentColor; opacity: .6; }
.tcfx .tcfx__h { font-family: inherit; font-size: 64px; line-height: 1.02; font-weight: 800; letter-spacing: -.025em; margin: 16px 0; color: #fff; }
.tcfx .tcfx__p { font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .76); max-width: 440px; margin: 0; }

/* Butonlar */
.tcfx__ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.tcfx .tcfx__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.tcfx .tcfx__btn .ic, .tcfx .tcfx__btn i, .tcfx .tcfx__btn svg { width: 1.25em; height: 1.25em; font-size: 1.25em; flex: 0 0 auto; fill: currentColor; }
.tcfx .tcfx__btn--whatsapp { background: #25D366; color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .35), inset 0 -3px 0 rgba(0, 0, 0, .14); }
.tcfx .tcfx__btn--whatsapp:hover { background: #20c35d; color: #fff; }
.tcfx .tcfx__btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; background: transparent; }
.tcfx .tcfx__btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.tcfx .tcfx__btn--primary { background: var(--tcfx-bar); color: #0B2A30; }
.tcfx .tcfx__btn--primary:hover { filter: brightness(1.06); color: #0B2A30; }
.tcfx .tcfx__btn.has-bg { background-color: var(--hb-bg) !important; }
.tcfx .tcfx__btn.has-bd { border-color: var(--hb-bd) !important; }
.tcfx .tcfx__btn.has-tx, .tcfx .tcfx__btn.has-tx .ic, .tcfx .tcfx__btn.has-tx i { color: var(--hb-tx) !important; }
.tcfx .tcfx__btn.has-tx svg, .tcfx .tcfx__btn.has-tx svg path { fill: var(--hb-tx) !important; }
.tcfx .tcfx__btn.has-ic .ic, .tcfx .tcfx__btn.has-ic i { color: var(--hb-ic) !important; }
.tcfx .tcfx__btn.has-ic svg, .tcfx .tcfx__btn.has-ic svg path { fill: var(--hb-ic) !important; }
.tcfx .tcfx__btn.has-hbg:hover { background-color: var(--hb-hbg) !important; }
.tcfx .tcfx__btn.has-hbd:hover { border-color: var(--hb-hbd) !important; }
.tcfx .tcfx__btn.has-htx:hover, .tcfx .tcfx__btn.has-htx:hover .ic, .tcfx .tcfx__btn.has-htx:hover i { color: var(--hb-htx) !important; }
.tcfx .tcfx__btn.has-htx:hover svg, .tcfx .tcfx__btn.has-htx:hover svg path { fill: var(--hb-htx) !important; }

/* Alt kontroller: sayaç + ilerleme çubukları + oklar */
.tcfx__nav { position: relative; grid-area: 2 / 1; margin-top: clamp(28px, 3vw, 48px); display: flex; align-items: center; gap: 18px; }
.tcfx__ct { font-weight: 800; font-size: 20px; letter-spacing: .08em; min-width: 84px; color: #fff; }
.tcfx__ct span { color: rgba(255, 255, 255, .4); }
.tcfx__bars { display: flex; gap: 6px; flex: 1; }
.tcfx .tcfx__bar { flex: 1; position: relative; height: 28px; background: none !important; border: 0 !important; padding: 0 !important; margin: 0; min-height: 0; cursor: pointer; box-shadow: none !important; }
.tcfx__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 3px; border-radius: 3px; background: var(--tcfx-bar-bg); }
.tcfx__bar i { position: absolute; left: 0; top: 13px; height: 3px; width: 0; border-radius: 3px; background: var(--tcfx-bar); }
.tcfx__bar.is-on i { animation: tcfx-fill var(--tcfx-dur) linear forwards; }
.tcfx__bar.done i { width: 100%; }
.tcfx.is-static .tcfx__bar.is-on i { animation: none; width: 100%; }
@keyframes tcfx-fill { to { width: 100%; } }
.tcfx .tcfx__ar { width: 46px; height: 46px; min-height: 0; padding: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; }
.tcfx .tcfx__ar:hover, .tcfx .tcfx__ar:focus { background: rgba(255, 255, 255, .1); color: #fff; }
.tcfx .tcfx__ar svg { width: 18px; height: 18px; }
.tcfx__bar:disabled, .tcfx__ar:disabled { cursor: default; opacity: .5; }

/* Görsel sahnesi */
.tcfx.no-halo .tcfx__halo { display: none; }
.tcfx__halo { position: absolute; left: 50%; top: 46%; width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%; background: radial-gradient(circle, var(--tcfx-halo), transparent 62%); pointer-events: none; }
.tcfx__sl { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.tcfx__sl.is-active { opacity: 1; visibility: visible; }
.tcfx__fig { position: absolute; left: 50%; bottom: var(--tcfx-fbot, 92px); width: 560px; max-width: 100%; aspect-ratio: 721 / 738; transform: translateX(-50%); }
.tcfx__sl.is-on .tcfx__fig { animation: tcfx-rise 1s var(--tcfx-ease) both; }
@keyframes tcfx-rise { from { transform: translateX(-50%) translateY(40px); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
.tcfx__fig img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: contain; display: block; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.tcfx__lay { position: absolute; inset: 0; }

/*
 * Değişim: ışıltı patlaması en parlak anındayken (t + .35s) önce görseli KAPANIR ve sonra görseli
 * AÇILIR — aynı anda. (Tasarımda sonra görseli önce yalnızca daire içinde açılıyor, önce görseli
 * 1 sn kadar arkada kalıyordu; sonra görseli saydam olduğu için eski burun arkadan görünüp geç siliniyordu.)
 */
.tcfx__fa { opacity: 0; }
.tcfx__sl.is-on .tcfx__fa { animation: tcfx-in .14s linear calc(var(--tcfx-t) + .35s) forwards; }
.tcfx__sl.is-on .tcfx__fb { animation: tcfx-out .14s linear calc(var(--tcfx-t) + .35s) forwards; }
@keyframes tcfx-in { to { opacity: 1; } }
@keyframes tcfx-out { to { opacity: 0; } }

.tcfx__burst { position: absolute; left: var(--fx); top: var(--fy); width: calc(var(--rs) * 3.2); aspect-ratio: 1; transform: translate(-50%, -50%) scale(.2); border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(255, 240, 222, .95) 18%, rgba(255, 200, 150, .55) 40%, rgba(255, 150, 100, 0) 68%); mix-blend-mode: screen; opacity: 0; pointer-events: none; }
.tcfx__sl.is-on .tcfx__burst { animation: tcfx-burst 1.1s cubic-bezier(.2, .8, .3, 1) var(--tcfx-t) forwards; }
@keyframes tcfx-burst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  30% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
  45% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.25); }
}
.tcfx__rays { position: absolute; left: var(--fx); top: var(--fy); width: calc(var(--rs) * 4.4); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: repeating-conic-gradient(rgba(255, 236, 214, .55) 0 2deg, transparent 2deg 18deg); -webkit-mask-image: radial-gradient(circle, #000 15%, transparent 62%); mask-image: radial-gradient(circle, #000 15%, transparent 62%); mix-blend-mode: screen; opacity: 0; pointer-events: none; }
.tcfx__sl.is-on .tcfx__rays { animation: tcfx-rays 1.2s ease calc(var(--tcfx-t) + .05s) forwards; }
@keyframes tcfx-rays {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(0) scale(.6); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(40deg) scale(1.2); }
}
.tcfx__glint { position: absolute; left: var(--fx); top: var(--fy); width: 26px; height: 26px; margin: -13px 0 0 -13px; color: #fff; filter: drop-shadow(0 0 6px #fff); opacity: 0; pointer-events: none; }
.tcfx__sl.is-on .tcfx__glint { animation: tcfx-spark 1.4s ease-in-out calc(var(--tcfx-t) + 1s) 2; }
.tcfx__glint svg, .tcfx__spark svg { display: block; width: 100%; height: 100%; fill: currentColor; }

/* Ekstra parıltı (ör. diş): maskeli parlama + kayan ışık + yıldızlar */
.tcfx__mk { position: absolute; inset: 0; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.tcfx__tglow { position: absolute; inset: 0; background: rgba(255, 255, 255, .45); mix-blend-mode: screen; opacity: 0; }
.tcfx__sl.is-on .tcfx__tglow { animation: tcfx-tglow 2.6s ease-in-out calc(var(--tcfx-t) + 1.4s) infinite alternate; }
@keyframes tcfx-tglow { 0% { opacity: 0; } 100% { opacity: .85; } }
.tcfx__gleam { position: absolute; top: 0; bottom: 0; width: 10%; left: calc(var(--fx) - 11%); background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .95) 50%, transparent); mix-blend-mode: screen; opacity: 0; }
.tcfx__sl.is-on .tcfx__gleam { animation: tcfx-gleam 1.2s ease-in-out calc(var(--tcfx-t) + 1.4s) 2; }
@keyframes tcfx-gleam { 0% { transform: translateX(0); opacity: 1; } 100% { transform: translateX(220%); opacity: 1; } }
.tcfx__spark { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; opacity: 0; color: #fff; filter: drop-shadow(0 0 4px #fff); pointer-events: none; }
.tcfx__sl.is-on .tcfx__spark { animation: tcfx-spark 1.8s ease-in-out infinite; }
.tcfx__spark--1 { left: calc(var(--fx) - 4%); top: calc(var(--fy) - .5%); }
.tcfx__spark--2 { left: calc(var(--fx) + 4.5%); top: calc(var(--fy) + .5%); }
.tcfx__spark--3 { left: var(--fx); top: calc(var(--fy) + 1.5%); }
.tcfx__sl.is-on .tcfx__spark--1 { animation-delay: calc(var(--tcfx-t) + 1.6s); }
.tcfx__sl.is-on .tcfx__spark--2 { animation-delay: calc(var(--tcfx-t) + 2.1s); }
.tcfx__sl.is-on .tcfx__spark--3 { animation-delay: calc(var(--tcfx-t) + 2.7s); }
@keyframes tcfx-spark { 0%, 100% { opacity: 0; transform: scale(.2) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* Sonra görseli yoksa: değişim efektleri çalışmaz, görsel olduğu gibi durur. */
.tcfx__fig.is-single .tcfx__fb { animation: none !important; opacity: 1; }

.tcfx.no-nav .tcfx__nav { display: none; }
.tcfx.no-num .tcfx__eb i { display: none; }
.tcfx.no-line .tcfx__eb::after { display: none; }

/* Yan boşluk site menüsüyle birebir aynı kırılımlarda değişir (tc-site.css) */
@media (max-width: 1080px) { .tcfx { --tcfx-pad: 20px; } }
@media (min-width: 2200px) { .tcfx { --tcfx-pad: calc((100% - 1320px) / 2); } }

/* Tablet */
@media (max-width: 1024px) {
  .tcfx__fig { width: 440px; }
  .tcfx .tcfx__h { font-size: 48px; }
  .tcfx__halo { width: 500px; height: 500px; margin: -250px 0 0 -250px; }
}

/* Mobil: görsel üstte, metin altta; görsel kalan alanı doldurur, bölüm ekrana (menü hariç) sığar. */
@media (max-width: 767px) {
  /* Görsel alanı genişlikten hesaplanır: görselin üstünde fazladan boşluk kalmaz. */
  .tcfx { --tcfx-py: 0px; --tcfx-ftop: 12px; min-height: 0; }
  .tcfx__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; padding: 0 var(--tcfx-pad) 24px; }
  .tcfx__stage { grid-row: 1; margin: 0; height: var(--tcfx-stage-h, min(calc(100vw - 2 * var(--tcfx-pad)), 56svh)); }
  .tcfx__copy { grid-row: 2; align-self: end; }
  .tcfx .tcfx__eb { font-size: 11px; gap: 10px; letter-spacing: .14em; }
  .tcfx .tcfx__eb::after { flex-basis: 28px; width: 28px; }
  .tcfx .tcfx__h { font-size: 34px; line-height: 1.05; margin: 10px 0; }
  .tcfx .tcfx__p { font-size: 15px; line-height: 1.55; }
  .tcfx__ctas { margin-top: 18px; gap: 10px; flex-wrap: nowrap; }
  .tcfx .tcfx__btn { flex: 1 1 0; justify-content: center; min-height: 48px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
  .tcfx__ctas--column { flex-direction: column; align-items: stretch; }
  .tcfx__nav { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); gap: 12px; }
  .tcfx__ct { font-size: 15px; min-width: 58px; }
  .tcfx .tcfx__ar { width: 40px; height: 40px; }
  .tcfx__halo { width: 380px; height: 380px; margin: -190px 0 0 -190px; }
}
@media (max-width: 359px) {
  .tcfx .tcfx__h { font-size: 30px; }
  .tcfx__ctas { flex-wrap: wrap; }
}

/* Büyük ekranlar: yazılar ekranla büyür */
@media (min-width: 1440px) {
  .tcfx .tcfx__h { font-size: clamp(64px, 4.3vw, 92px); }
  .tcfx .tcfx__p { font-size: 17px; max-width: 500px; }
}
@media (min-width: 1920px) {
  .tcfx .tcfx__p { font-size: 18px; max-width: 540px; }
  .tcfx .tcfx__eb { font-size: 13px; }
}

/* Görsel, sahnenin yüksekliğine göre ölçeklenir: her ekranda tamamı görünür ve alanı doldurur. */
/* Başlık her slaytta tek satır ve aynı boyutta: boyut metin sütununun genişliğinden gelir (sayfa kaymaz).
   Çok uzun bir başlık girilirse JS hepsini birlikte küçültür (--tcfx-hfit). */
.tcfx .tcfx__h { white-space: nowrap; }
@supports (width: 1cqi) {
  .tcfx__copy { container-type: inline-size; }
  .tcfx .tcfx__h { font-size: calc(min(88px, 9cqi) * var(--tcfx-hfit, 1)); }
}

@supports (width: 1cqh) {
  /* Görsel, üst boşluğa (--tcfx-ftop) kadar büyür; genişliği aşmaz. */
  .tcfx__fig { width: min(96cqw, calc((100cqh - var(--tcfx-ftop) - var(--tcfx-fbot)) * 721 / 738)); }
  .tcfx__halo { width: 108cqh; height: 108cqh; margin: -54cqh 0 0 -54cqh; max-width: 140cqw; max-height: 140cqw; }
}

@media (prefers-reduced-motion: reduce) {
  .tcfx * { animation: none !important; }
  .tcfx__tx.is-on > * { opacity: 1; transform: none; }
  .tcfx__bar.is-on i { width: 100%; }
  .tcfx__sl.is-on .tcfx__fa { opacity: 1; }
  .tcfx__sl.is-on .tcfx__fb { opacity: 0; }
  .tcfx__fig.is-single .tcfx__fb { opacity: 1; }
}

/* v1.11.109: Laptop / masaüstünde sayaç sade: kısa çubuklar, oklar hemen yanında (mobil aynı kalır). */
@media (min-width: 768px) {
  .tcfx__nav { gap: 14px; }
  .tcfx__ct { font-size: 15px; min-width: 0; }
  .tcfx__bars { flex: 0 0 auto; gap: 5px; }
  .tcfx .tcfx__bar { flex: 0 0 36px; width: 36px; }
  .tcfx .tcfx__ar { width: 38px; height: 38px; }
  .tcfx .tcfx__ar svg { width: 16px; height: 16px; }
  .tcfx__bars + .tcfx__ar { margin-left: 6px; }
}

/* v1.11.110 (+v1.11.111 mobil): Oklar her ekranda çerçevesiz ve tek ok: ileri; son slaytta geri işaretine döner (başa sarar). */
@media all {
  .tcfx .tcfx__ar { border: 0 !important; background: transparent !important; width: 32px; height: 32px; border-radius: 6px; opacity: .85; }
  .tcfx .tcfx__ar:hover, .tcfx .tcfx__ar:focus-visible { background: transparent !important; opacity: 1; }
  .tcfx .tcfx__ar:focus-visible { outline: 2px solid rgba(255, 255, 255, .6); outline-offset: 2px; }
  .tcfx .tcfx__ar svg { width: 22px; height: 22px; transition: transform .3s ease; }
  .tcfx .tcfx__ar[data-tcfx-prev] { display: none; }
  .tcfx__bars + .tcfx__ar + .tcfx__ar { margin-left: 2px; }
  .tcfx.is-last .tcfx__ar[data-tcfx-next] svg { transform: rotate(180deg); }
}
@media (prefers-reduced-motion: reduce) { .tcfx .tcfx__ar svg { transition: none; } }
@media (max-width: 767px) { .tcfx .tcfx__ar { width: 44px; height: 44px; margin-right: -10px; } } /* parmakla rahat dokunma alanı */
