/* =====================================================================
   GMKC Ltd. - özel stiller (Tailwind CDN'e ek)
   Marka rengi: #FFA800 (logodaki sarı) | Koyu: #23262B
   ===================================================================== */

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { position: relative; overflow-x: clip; }
main, header, footer { position: relative; }
main { z-index: 1; }

/* ---------- Butonlar ---------- */
.btn-brand {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: #FFA800; color: #23262B; font-weight: 700; font-size: .875rem;
  padding: .75rem 1.45rem; border-radius: .75rem; transition: all .25s;
  box-shadow: 0 6px 18px -6px rgba(255,168,0,.7);
}
.btn-brand:hover { background: #E69500; transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 2px solid #FFA800; color: #23262B; font-weight: 700; font-size: .875rem;
  padding: .65rem 1.3rem; border-radius: .75rem; transition: all .25s; background: transparent;
}
.btn-outline:hover { background: #FFA800; }
.btn-outline.light { color: #fff; }
.btn-outline.light:hover { color: #23262B; }
.btn-wa {
  display: inline-flex; align-items: center; gap: .5rem; background: #25D366; color: #fff;
  font-weight: 700; font-size: .875rem; padding: .75rem 1.4rem; border-radius: .75rem; transition: all .25s;
}
.btn-wa:hover { background: #1ebe5b; transform: translateY(-2px); }

/* ---------- Menü ---------- */
.nav-link { padding: .55rem .8rem; border-radius: .5rem; display: inline-flex; align-items: center; gap: .3rem; transition: color .2s, background .2s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: #E69500; background: #FFF6E0; }
.dd { position: relative; }
.dd-menu {
  position: absolute; inset-inline-start: 0; top: 100%; min-width: 19rem; padding: .5rem; background: #fff;
  border-radius: .9rem; box-shadow: 0 20px 40px -12px rgba(0,0,0,.25); border: 1px solid #f1f5f9;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s;
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd.is-closed .dd-menu { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transform: translateY(8px) !important; }
.dd-menu a { display: block; padding: .55rem .8rem; border-radius: .5rem; font-weight: 500; }
.dd-menu a:hover { background: #FFF6E0; color: #E69500; }
.m-link { display: block; padding: .9rem 1.25rem; font-weight: 600; border-bottom: 1px solid #f1f5f9; }
.m-sub a { display: block; padding: .65rem 2rem; font-size: .9rem; color: #475569; background: #f8fafc; border-bottom: 1px solid #eef2f6; }
.foot-h { color: #fff; font-weight: 700; margin-bottom: 1rem; position: relative; padding-bottom: .6rem; }
.foot-h::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 2.5rem; height: 3px; background: #FFA800; border-radius: 3px; }

/* ---------- Dinamik arka plan (liman / vinç / küresel rotalar - logodaki sarıya uyumlu sıcak ton) ---------- */
#bgfx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: radial-gradient(circle at 50% 0%, rgba(255,168,0,.09), rgba(45,40,30,.14)); }
#bgfx > * { position: absolute; will-change: transform; }
.blob { border-radius: 50%; filter: blur(95px); opacity: .22; }
.b1 { width: 34rem; height: 34rem; background: #FFA800; top: -8rem; inset-inline-start: -8rem; }
.b2 { width: 30rem; height: 30rem; background: #8C7A5B; top: 35%; inset-inline-end: -8rem; opacity: .22; }
.b3 { width: 26rem; height: 26rem; background: #FFD066; bottom: -8rem; inset-inline-start: 28%; opacity: .18; }

.routes { inset: 0; width: 100%; height: 100%; opacity: .11; filter: blur(1.5px); }
.route-line { stroke-dashoffset: 0; animation: routeFlow 22s linear infinite; }
.route-line.slow { animation-duration: 34s; animation-direction: reverse; }
@keyframes routeFlow { to { stroke-dashoffset: -400; } }

.crane { color: #23262B; opacity: .07; filter: blur(2px); width: clamp(18rem, 32vw, 32rem); }
.c1 { top: 8%; inset-inline-start: 1%; }
.c2 { top: 52%; inset-inline-end: 1%; width: clamp(16rem, 28vw, 28rem); }

.containers { inset: auto 0 0 0; height: 9rem; display: flex; gap: 1rem; padding: 0 2rem; align-items: flex-end; opacity: .06; filter: blur(2.5px); }
.containers span { flex: 1; background: #23262B; border-radius: 4px; height: 3.2rem; animation: stack 8s ease-in-out infinite; }
.containers span:nth-child(2) { height: 5.5rem; animation-delay: -1.5s; background: #FFA800; }
.containers span:nth-child(3) { height: 4.2rem; animation-delay: -3s; }
.containers span:nth-child(4) { height: 6.4rem; animation-delay: -4.5s; }
.containers span:nth-child(5) { height: 3.8rem; animation-delay: -6s; background: #FFA800; }
.containers span:nth-child(6) { height: 5rem; animation-delay: -7.5s; }
@keyframes stack { 50% { transform: translateY(-14px); } }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: clamp(460px, 76vh, 690px); overflow: hidden; background: #23262B; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; display: block; color: #fff; }
.slide.active { opacity: 1; visibility: visible; z-index: 2; }
.slide .bg { position: absolute; inset: -4%; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 8s ease-out; }
.slide.active .bg { transform: scale(1.14); }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(20,22,26,.92) 15%, rgba(20,22,26,.62) 55%, rgba(20,22,26,.3)); }
[dir="rtl"] .slide::before { background: linear-gradient(260deg, rgba(20,22,26,.92) 15%, rgba(20,22,26,.62) 55%, rgba(20,22,26,.3)); }
.slide .inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.slide .anim { opacity: 0; transform: translateY(24px); transition: all .8s .3s; }
.slide.active .anim { opacity: 1; transform: none; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.45); transition: all .3s; }
.hero-dots button.on { width: 34px; border-radius: 8px; background: #FFA800; }
.hero-arrow { position: absolute; top: 50%; z-index: 5; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; backdrop-filter: blur(6px); display: grid; place-items: center; transition: background .2s; }
.hero-arrow:hover { background: #FFA800; color: #23262B; }
@media (max-width: 640px) {
  .hero-arrow { width: 36px; height: 36px; top: auto; bottom: 1.1rem; transform: none; }
}
[dir="rtl"] .hero-arrow svg, [dir="rtl"] .rtl-flip { transform: scaleX(-1); }

/* ---------- Kartlar / bölümler ---------- */
.sec-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: clamp(1.75rem, 4vw, 2.7rem); line-height: 1.12; }
.sec-bar { width: 64px; height: 4px; background: #FFA800; border-radius: 4px; }
.card { background: #fff; border-radius: 1.1rem; border: 1px solid #e2e8f0; overflow: hidden; transition: all .3s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -18px rgba(35,38,43,.35); border-color: #FFA800; }
.card .thumb { height: 12.5rem; background-size: cover; background-position: center; background-color: #23262B; position: relative; }
.card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,38,43,.05) 35%, rgba(0,0,0,.5)); }
.stats { background: #23262B; color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,168,0,.05) 0 14px, transparent 14px 28px); }
.field { width: 100%; border: 1.5px solid #e2e8f0; border-radius: .75rem; padding: .8rem 1rem; background: #fff; transition: border-color .2s, box-shadow .2s; font-size: .95rem; max-width: 100%; }
.field:focus { outline: none; border-color: #FFA800; box-shadow: 0 0 0 4px rgba(255,168,0,.2); }
.field.err { border-color: #ef4444; }
.chip { display: inline-flex; align-items: center; gap: .4rem; background: #FFF6E0; border: 1px solid #FFE0A0; color: #7a5200; font-weight: 600; font-size: .85rem; padding: .45rem .9rem; border-radius: 999px; }
.li-check { position: relative; padding-inline-start: 1.9rem; }
.li-check::before { content: "✓"; position: absolute; inset-inline-start: 0; top: .1rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #FFA800; color: #23262B; font-weight: 800; font-size: .75rem; display: grid; place-items: center; }
.prose-gm p { margin-bottom: 1rem; line-height: 1.8; color: #475569; }
.prose-gm h3 { font-weight: 700; font-size: 1.15rem; margin: 1.6rem 0 .6rem; color: #23262B; }
.prose-gm table { display: block; width: 100%; overflow-x: auto; }
.page-head { background: #23262B; color: #fff; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; inset-inline-end: -6rem; top: -6rem; width: 22rem; height: 22rem; border-radius: 50%; background: #FFA800; opacity: .18; filter: blur(60px); }

/* ---------- Çözüm ortakları logoları (daha büyük ve belirgin) ---------- */
.partner {
  background: #fff; border: 1.5px solid #e2e8f0; border-radius: 1.15rem;
  padding: 1.5rem 1.75rem; min-height: 145px; flex: 1 1 220px; max-width: 280px;
  display: grid; place-items: center; transition: all .3s;
}
.partner:hover { border-color: #FFA800; transform: translateY(-4px); box-shadow: 0 18px 34px -14px rgba(0,0,0,.28); }
.partner img { max-height: 105px; width: auto; max-width: 100%; object-fit: contain; }
.step-n { font-family: 'Rajdhani'; font-weight: 700; font-size: 3.2rem; color: #FFA800; line-height: 1; }

/* ---------- Referans kaydırıcı ---------- */
.t-track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; }
.t-card { flex: 0 0 min(88%, 24rem); scroll-snap-align: start; background: #fff; border: 1px solid #e2e8f0; border-radius: 1.1rem; padding: 1.6rem; }

/* ---------- WhatsApp & Toast ---------- */
#waFloat { position: fixed; inset-inline-end: 1.25rem; bottom: 1.25rem; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -6px rgba(37,211,102,.7); }
#waFloat::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: ping 2s infinite; z-index: -1; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
#toast { position: fixed; top: 6rem; inset-inline-end: 1rem; z-index: 100; max-width: min(22rem, calc(100vw - 2rem)); background: #23262B; color: #fff; border-inline-start: 5px solid #FFA800; padding: 1rem 1.25rem; border-radius: .8rem; box-shadow: 0 20px 40px -10px rgba(0,0,0,.4); transform: translateY(-20px); opacity: 0; pointer-events: none; transition: all .35s; }
#toast.show { transform: none; opacity: 1; }
#toast.error { border-color: #ef4444; }

/* Sayfa geçiş animasyonu */
.view { animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- AB GDPR Çerez Bannerı ---------- */
#cookieBanner {
  position: fixed; bottom: 1.25rem; inset-inline-start: 1.25rem; z-index: 58;
  width: min(32rem, calc(100vw - 2.5rem));
  background: #23262B; color: #f1f5f9; border: 1px solid rgba(255,168,0,.45);
  border-radius: 1.25rem; padding: 1.25rem 1.35rem;
  box-shadow: 0 24px 50px -12px rgba(0,0,0,.55);
}
@media (max-width: 640px) {
  #cookieBanner { bottom: 5.5rem; inset-inline-start: 1rem; width: calc(100vw - 2rem); }
}
.ck-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.ck-btn {
  flex: 1 1 auto; padding: .6rem .95rem; border-radius: .65rem; font-size: .82rem; font-weight: 700;
  text-align: center; transition: all .2s; cursor: pointer;
}
.ck-accept { background: #FFA800; color: #23262B; }
.ck-accept:hover { background: #E69500; }
.ck-reject { background: #3A3E45; color: #fff; border: 1px solid rgba(255,255,255,.22); }
.ck-reject:hover { background: #4b5059; }
.ck-pref { background: transparent; color: #cbd5e1; border: 1px solid rgba(255,255,255,.2); }
.ck-pref:hover { border-color: #FFA800; color: #FFA800; }
.ck-panel { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: .65rem; }
.ck-row { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; font-size: .78rem; }
.ck-row input[type="checkbox"] { accent-color: #FFA800; width: 1rem; height: 1rem; margin-top: .15rem; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
