/* Kılıç Spot tema katmanı — Yankare Medya, 2026-11-02.
   En son yüklenir; custom.css / responsive-premium.css üzerine yazar.
   Animasyonlu öğeler js/mg-motion.js ile .mg-reveal alır (JS yoksa içerik görünür kalır). */

:root {
  --mg-ink: #16181d;
  --mg-muted: #5b6577;
  --mg-brand: #d92316;
  --mg-brand-dark: #a3170d;
  --mg-accent: #f59e0b;
  --mg-gold: #c59b52;
  --mg-teal: #1f2937;
  --mg-soft: #f4f6f9;
  --mg-line: #e3e8ef;
  --mg-paint: linear-gradient(100deg, #1f2937 0%, #d92316 38%, #c59b52 70%, #f59e0b 100%);
  --mg-shadow: 0 18px 44px rgba(22,24,29, .10);
  --mg-shadow-sm: 0 8px 22px rgba(22,24,29, .07);
  --mg-ease: cubic-bezier(.22, .8, .24, 1);
  --mg-radius: 16px;
}

/* ---------- Tipografi ---------- */
body,
.button, .btn, input, select, textarea,
h1, h2, h3, h4, h5, h6,
#primary-menu ul li > a, .menu-link,
.heading-block h1, .heading-block h2, .heading-block h3,
.fancy-title h3, .pricing-title h3, .feature-box h3 {
  font-family: "Manrope", "Lato", system-ui, -apple-system, "Segoe UI", sans-serif !important;
}
body { color: var(--mg-ink); -webkit-font-smoothing: antialiased; }
.mg-sr {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Kaydırma ilerleme çubuğu ---------- */
.mg-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 10100;
  background: var(--mg-paint);
  transform-origin: 0 50%; transform: scaleX(var(--mg-p, 0));
  pointer-events: none;
}

/* ---------- Header ---------- */
#header.mg-scrolled #header-wrap,
#header.mg-scrolled {
  background: rgba(22,24,29, .86) !important;
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
#header { transition: background-color .3s, box-shadow .3s; }
#primary-menu .menu-container > .menu-item > .menu-link > div {
  position: relative;
  font-weight: 700;
  letter-spacing: .06em;
}
@media (min-width: 992px) {
  #primary-menu .menu-container > .menu-item > .menu-link > div::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
    background: var(--mg-paint); border-radius: 2px;
    transform: scaleX(0); transform-origin: 0 50%;
    transition: transform .35s var(--mg-ease);
  }
  #primary-menu .menu-container > .menu-item:hover > .menu-link > div::after { transform: scaleX(1); }
  #primary-menu .sub-menu-container {
    border-radius: 12px; overflow: hidden; border: 0 !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
  }
}

/* ---------- Bölüm başlıkları ---------- */
.heading-block h2, #content .center > h2 {
  font-weight: 800 !important;
  letter-spacing: -.01em !important;
  color: var(--mg-ink) !important;
}
.heading-block.title-center:after,
.heading-block.title-center::after {
  width: 72px !important; height: 4px !important; border-radius: 4px;
  background: var(--mg-paint) !important; border: 0 !important;
  margin: 22px auto 0 !important;
}
.mg-reveal.heading-block.title-center::after,
.mg-reveal .heading-block.title-center::after { transform: scaleX(0); transition: transform .9s .25s var(--mg-ease); }
.mg-in.heading-block.title-center::after,
.mg-in .heading-block.title-center::after { transform: scaleX(1); }
.divider.divider-short i { color: var(--mg-accent); }

/* ---------- Butonlar ---------- */
.button, button.button, .btn {
  position: relative; overflow: hidden;
  border-radius: 999px !important;
  font-weight: 700;
  letter-spacing: .04em;
  text-shadow: none !important;
  transition: transform .3s var(--mg-ease), box-shadow .3s, background-color .3s !important;
}
.button-3d { border-bottom: 0 !important; }
.button::after, .btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); transition: left .7s var(--mg-ease); pointer-events: none;
}
.button:hover::after, .btn:hover::after { left: 130%; }
.button:hover, .btn:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(217,35,22, .28); }

/* ---------- Hero: logo + 5 buton ---------- */
.mg-home #section-home { margin-bottom: 26px; }
.mg-home #section-home h1 img { width: min(300px, 70vw); height: auto; }
.mg-home #section-home h1 { animation: mg-rise 1s var(--mg-ease) both; }
.mg-home #section-home + .center .button {
  margin: 6px !important;
  padding: 0 28px !important;
  background: #fff !important;
  color: var(--mg-ink) !important;
  border: 1px solid var(--mg-line) !important;
  box-shadow: var(--mg-shadow-sm);
  animation: mg-rise .8s var(--mg-ease) both;
}
.mg-home #section-home + .center .button i { color: var(--mg-brand) !important; transition: transform .4s var(--mg-ease); }
.mg-home #section-home + .center .button:hover { background: var(--mg-ink) !important; color: #fff !important; border-color: var(--mg-ink) !important; }
.mg-home #section-home + .center .button:hover i { color: var(--mg-gold) !important; transform: rotate(-12deg) scale(1.15); }
.mg-home #section-home + .center .button:nth-child(1) { animation-delay: .15s; }
.mg-home #section-home + .center .button:nth-child(2) { animation-delay: .23s; }
.mg-home #section-home + .center .button:nth-child(3) { animation-delay: .31s; }
.mg-home #section-home + .center .button:nth-child(4) { animation-delay: .39s; }
.mg-home #section-home + .center .button:nth-child(5) { animation-delay: .47s; }

@keyframes mg-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Hero video + yazı ---------- */
.mg-hero-video {
  position: relative; overflow: hidden;
  border-radius: 24px;
  height: clamp(420px, 62vh, 620px) !important;
  box-shadow: 0 30px 70px rgba(22,24,29, .28);
  animation: mg-rise 1s .35s var(--mg-ease) both;
}
.mg-hero-video .video-wrap { background: #16181d url("/images/placeholder-hero.jpg") center / cover no-repeat; }
@keyframes mg-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.mg-hero-video .video-overlay {
  background: linear-gradient(90deg, rgba(14,15,18, .82) 0%, rgba(14,15,18, .55) 45%, rgba(14,15,18, .05) 100%) !important;
}
.mg-hero-copy {
  position: absolute; z-index: 5; left: clamp(22px, 6vw, 72px); top: 50%;
  transform: translateY(-50%);
  max-width: 560px; color: #fff; text-align: left;
}
.mg-eyebrow {
  display: inline-block; margin-bottom: 16px; padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.mg-hero-title {
  margin: 0 0 14px !important; color: #fff !important;
  font-size: clamp(30px, 4.6vw, 56px); line-height: 1.08 !important; font-weight: 800; letter-spacing: -.02em;
}
.mg-hero-title em {
  position: relative; isolation: isolate; font-style: normal; color: #fff;
}
.mg-hero-title em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .16em;
  border-radius: 99px; background: #f59e0b; opacity: .85; z-index: -1;
  transform: scaleX(0); transform-origin: 0 50%;
  animation: mg-stroke .9s 1.3s var(--mg-ease) forwards;
}
@keyframes mg-stroke { to { transform: scaleX(1); } }
.mg-hero-lead { margin: 0 0 26px !important; color: rgba(255, 255, 255, .86) !important; font-size: 17px; line-height: 1.6; max-width: 460px; }
.mg-hero-copy > * { animation: mg-rise .9s var(--mg-ease) both; }
.mg-hero-copy > :nth-child(1) { animation-delay: .6s; }
.mg-hero-copy > :nth-child(2) { animation-delay: .72s; }
.mg-hero-copy > :nth-child(3) { animation-delay: .84s; }
.mg-hero-copy > :nth-child(4) { animation-delay: .96s; }
.mg-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.mg-btn {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none !important;
  transition: transform .3s var(--mg-ease), background-color .3s, color .3s, box-shadow .3s;
}
.mg-btn-light { background: #fff; color: var(--mg-ink) !important; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.mg-btn-light svg { color: #f59e0b; }
.mg-btn-light:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, .32); }
.mg-btn-ghost { color: #fff !important; border: 1px solid rgba(255, 255, 255, .45); }
.mg-btn-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }

/* ---------- Kartlar (hizmet adımları, USP, iletişim kutuları) ---------- */
#section-features ~ .col_one_third .feature-box,
.feature-box.fbox-small,
.feature-box.fbox-bg {
  position: relative;
  height: 100%;
  padding: 28px 26px 26px !important;
  background: #fff;
  border: 1px solid var(--mg-line) !important;
  border-radius: var(--mg-radius) !important;
  box-shadow: var(--mg-shadow-sm);
  transition: transform .45s var(--mg-ease), box-shadow .45s var(--mg-ease), border-color .45s;
}
#section-features ~ .col_one_third .feature-box::before,
.feature-box.fbox-small::before,
.feature-box.fbox-bg::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px;
  border-radius: 0 0 3px 3px; background: var(--mg-paint);
  transform: scaleX(0); transition: transform .5s var(--mg-ease);
}
#section-features ~ .col_one_third .feature-box:hover,
.feature-box.fbox-small:hover,
.feature-box.fbox-bg:hover {
  transform: translateY(-6px);
  box-shadow: var(--mg-shadow);
  border-color: transparent !important;
}
#section-features ~ .col_one_third .feature-box:hover::before,
.feature-box.fbox-small:hover::before,
.feature-box.fbox-bg:hover::before { transform: scaleX(1); }

/* İkon yazının üstüne binmesin: absolute yerine akışta */
#section-features ~ .col_one_third .feature-box .fbox-icon,
.feature-box.fbox-small .fbox-icon {
  position: static !important;
  display: block;
  width: 56px !important; height: 56px !important;
  margin: 0 0 16px !important;
  text-align: left;
}
#section-features ~ .col_one_third .feature-box .fbox-icon img {
  width: 56px; height: 56px; border-radius: 50%;
  transition: transform .5s var(--mg-ease);
}
#section-features ~ .col_one_third .feature-box:hover .fbox-icon img { transform: rotate(-10deg) scale(1.1); }
#section-features ~ .col_one_third .feature-box h3,
.feature-box.fbox-small h3 {
  margin: 0 0 8px !important; padding: 0 !important;
  font-size: 15px !important; font-weight: 800 !important; letter-spacing: .04em !important;
  color: var(--mg-ink) !important;
}
#section-features ~ .col_one_third .feature-box p,
.feature-box.fbox-small p {
  margin: 0 !important; padding: 0 !important;
  color: var(--mg-muted) !important; font-size: 14.5px; line-height: 1.65;
}
#section-features ~ .col_one_third { margin-bottom: 30px; }
@media (min-width: 768px) {
  #section-features ~ .col_one_third .feature-box { min-height: 236px; }
}

/* USP (koyu bölüm) */
.section .feature-box.fbox-small { background: #fff; }
.feature-box.fbox-small .fbox-icon i {
  position: static !important; display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px;
  font-size: 24px !important; line-height: 1 !important;
  background: var(--mg-soft);
  transition: transform .5s var(--mg-ease);
}
.feature-box.fbox-small:hover .fbox-icon i { transform: translateY(-3px) rotate(-8deg); }
.feature-box.fbox-small .fbox-icon i[style*="green"]  { color: #2f9e57 !important; background: #e9f7ee; }
.feature-box.fbox-small .fbox-icon i[style*="red"]    { color: #f59e0b !important; background: #fdf0e8; }
.feature-box.fbox-small .fbox-icon i[style*="aqua"]   { color: #1f2937 !important; background: #e6f3f4; }
.feature-box.fbox-small .fbox-icon i[style*="yellow"] { color: #b88a2e !important; background: #fbf4e4; }

/* USP bölümü iç içe .container yüzünden taşmasın */
#content .container .section > .container { width: auto !important; max-width: none; margin: 0 !important; padding: 0 !important; }

/* İletişim kutuları: ikon kutunun içinde, başlığın üstünde */
.feature-box.fbox-bg { text-align: center; margin-top: 0 !important; }
.feature-box.fbox-bg .fbox-icon {
  position: static !important; margin: 0 auto 14px !important;
  width: 64px !important; height: 64px !important;
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px; background: var(--mg-soft);
}
.feature-box.fbox-bg .fbox-icon i { font-size: 30px !important; line-height: 1 !important; width: auto !important; height: auto !important; }
.feature-box.fbox-bg h3 { margin: 0 !important; font-size: 14px !important; color: var(--mg-ink) !important; }
.feature-box.fbox-bg h3 .subtitle { margin-top: 6px; color: var(--mg-muted); font-weight: 600; letter-spacing: .04em; }
.feature-box.fbox-bg .fbox-icon a,
.feature-box.fbox-bg .fbox-icon > i {
  transition: transform .5s var(--mg-ease);
}
.feature-box.fbox-bg:hover .fbox-icon a,
.feature-box.fbox-bg:hover .fbox-icon > i { transform: scale(1.12); }
.feature-box.fbox-bg h3 { font-weight: 800 !important; letter-spacing: .06em; }

/* ---------- Paketler ---------- */
.pricing-box {
  border-radius: var(--mg-radius) !important;
  border: 1px solid var(--mg-line) !important;
  background: #fff;
  transition: transform .45s var(--mg-ease), box-shadow .45s var(--mg-ease) !important;
}
.pricing-box:hover { transform: translateY(-8px) !important; box-shadow: 0 26px 50px rgba(22,24,29, .14) !important; }
.pricing-title {
  position: relative;
  background: linear-gradient(180deg, #f7f9fc, #fff) !important;
  border-bottom: 1px solid var(--mg-line) !important;
}
.pricing-title::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--mg-paint);
}
.pricing-title h3 { font-weight: 800 !important; letter-spacing: .03em !important; font-size: 15px !important; color: var(--mg-ink) !important; }
.pricing-features li { color: var(--mg-muted); }
.pricing-action .button { background: #25a35a !important; border-color: #25a35a !important; }
.pricing-action .button:hover { background: #1d8549 !important; box-shadow: 0 14px 28px rgba(37, 163, 90, .3); }

/* ---------- Karşılaştırma tablosu ---------- */
.table-responsive { border-radius: var(--mg-radius) !important; overflow: hidden; background: #fff; }
.table-comparison thead th {
  background: var(--mg-ink) !important; color: #fff !important;
  font-size: 12.5px; font-weight: 700; letter-spacing: .03em; vertical-align: middle !important;
  border: 0 !important;
}
.table-comparison tbody tr { transition: background-color .25s; }
.table-comparison tbody tr:hover { background: #f3f7fc; }
.table-comparison td { vertical-align: middle !important; }
.table-comparison td i.icon-ok {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: #e9f7ee; color: #2f9e57 !important;
}
.table-comparison td i.icon-remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fdecea; color: #c0392b !important;
}
/* Mobil: tablo yerine paket kartları (mg-motion.js üretir) */
.mg-compare-cards { display: none; }
@media (max-width: 767px) {
  .table-responsive.mg-has-cards { display: none; }
  .mg-compare-cards { display: grid; gap: 14px; margin-bottom: 30px; }
  .mg-compare-card {
    background: #fff; border: 1px solid var(--mg-line); border-radius: var(--mg-radius);
    box-shadow: var(--mg-shadow-sm); overflow: hidden;
  }
  .mg-compare-card h4 {
    margin: 0; padding: 14px 18px; background: var(--mg-ink); color: #fff;
    font-size: 14px; font-weight: 800; letter-spacing: .03em;
  }
  .mg-compare-card ul { list-style: none; margin: 0; padding: 8px 18px 12px; }
  .mg-compare-card li {
    display: flex; align-items: center; gap: 10px; padding: 7px 0;
    border-bottom: 1px dashed var(--mg-line); font-size: 14px; color: var(--mg-ink);
  }
  .mg-compare-card li:last-child { border-bottom: 0; }
  .mg-compare-card li.mg-no { color: #9aa3b2; text-decoration: line-through; }
  .mg-compare-card li::before {
    content: "✓"; flex: 0 0 22px; height: 22px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; background: #e9f7ee; color: #2f9e57;
  }
  .mg-compare-card li.mg-no::before { content: "✕"; background: #fdecea; color: #c0392b; }
}

/* ---------- Sosyal kartlar ---------- */
.mg-social-card { border-radius: var(--mg-radius) !important; }
.mg-social-card > img, .mg-social-card::before { transition: transform .8s var(--mg-ease); }
.mg-social-card:hover > img, .mg-social-card:hover::before { transform: scale(1.06); }

/* ---------- Görsel + e-bülten ---------- */
.footer-stick .col_half img { border-radius: 20px; box-shadow: var(--mg-shadow); }
.footer-stick .input-group { border-radius: 999px; overflow: hidden; box-shadow: var(--mg-shadow-sm); }

/* ---------- İletişim ---------- */
.mg-location-panel { border-radius: var(--mg-radius) !important; background: linear-gradient(160deg, #f6f8fb, #eef3f9) !important; }
.mg-location-panel > i { animation: mg-bob 2.6s ease-in-out infinite; }
@keyframes mg-bob { 50% { transform: translateY(-6px); } }
.sm-form-control, .form-control, select { border-radius: 12px !important; }

/* ---------- Footer ---------- */
#footer { border-top: 0 !important; position: relative; }
#footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--mg-paint);
}
#footer.dark { background: #0c1626 !important; }
#footer .widget h4 { color: #fff; font-weight: 800; letter-spacing: .06em; }
#footer a { transition: color .25s; }
#footer .widget a:hover { color: var(--mg-gold) !important; }

/* ---------- Kaydırma ile beliren öğeler ---------- */
.mg-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--mg-ease), transform .8s var(--mg-ease);
  transition-delay: var(--mg-d, 0s);
}
.mg-reveal.mg-in { opacity: 1; transform: none; }
.mg-reveal.mg-in.feature-box:hover,
.mg-reveal.mg-in .feature-box:hover { transition-delay: 0s; }

/* ---------- Mobil ---------- */
@media (max-width: 991px) {
  #section-features ~ .col_one_third { margin-bottom: 16px; }
  #section-features ~ .col_one_third .feature-box { height: auto; }
  .col_one_fourth .feature-box.fbox-small { margin-bottom: 16px; }
}
@media (max-width: 767px) {
  .mg-home #section-home + .center { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .mg-home #section-home + .center .button {
    margin: 0 !important; width: 100%; min-width: 0 !important;
    padding: 0 10px !important; font-size: 13px !important;
    letter-spacing: .02em !important; white-space: nowrap !important;
    min-height: 50px !important; line-height: 50px !important;
  }
  .mg-home #section-home + .center .button:last-child { grid-column: 1 / -1; }
  .mg-hero-video { border-radius: 18px; height: 520px !important; }
  .mg-hero-video .video-overlay { background: linear-gradient(0deg, rgba(14,15,18, .9) 0%, rgba(14,15,18, .55) 55%, rgba(14,15,18, .15) 100%) !important; }
  .mg-hero-copy { top: auto; bottom: 26px; transform: none; left: 20px; right: 20px; }
  .mg-hero-lead { font-size: 15px; }
  .mg-btn { min-height: 48px; padding: 0 18px; font-size: 14px; }
  .mg-hero-video .video-wrap video { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mg-reveal { opacity: 1 !important; transform: none !important; }
  .mg-hero-video .video-wrap video, .mg-location-panel > i { animation: none !important; }
  .mg-hero-title em::after { animation: none !important; transform: none; }
}

/* ===== Düzeltmeler 2026-11-02 (2) ===== */

/* Başlık alt çizgisi: sola hizalı başlıklar da boya şeridi */
.heading-block:not(.title-center)::after {
  width: 56px !important; height: 4px !important; border: 0 !important; border-radius: 4px;
  background: var(--mg-paint) !important; margin-top: 18px !important;
}
/* Sosyal kartların kapsayıcısı heading-block: altında boş çizgi çıkmasın */
#section-social.heading-block::after { display: none !important; }
#section-social + .clear + .container > .divider:first-child { margin-top: 10px; }

/* Paket kartları: yazılar kenara yapışmasın */
.pricing-features ul { padding: 6px 18px !important; }
.pricing-features li { padding: 9px 0 !important; line-height: 1.5; border-color: var(--mg-line) !important; }
.pricing-title { padding: 18px 16px !important; }
.pricing-action { padding: 18px 16px 22px !important; }

/* USP ikon kutuları */
.feature-box.fbox-small .fbox-icon i { background-color: var(--mg-soft) !important; border-radius: 16px !important; }
.feature-box.fbox-small .fbox-icon i[style*="green"]  { background-color: #e9f7ee !important; }
.feature-box.fbox-small .fbox-icon i[style*="red"]    { background-color: #fdf0e8 !important; }
.feature-box.fbox-small .fbox-icon i[style*="aqua"]   { background-color: #e6f3f4 !important; }
.feature-box.fbox-small .fbox-icon i[style*="yellow"] { background-color: #fbf4e4 !important; }

/* Görsel + e-bülten: tek kart */
.footer-stick { margin: 30px 0 0 !important; }
.footer-stick > .container {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 28px !important; background: #fff;
  border: 1px solid var(--mg-line); border-radius: 24px; box-shadow: var(--mg-shadow-sm);
}
.footer-stick > .container::before, .footer-stick > .container::after { display: none !important; }
.footer-stick .col_half { float: none !important; width: auto !important; margin: 0 !important; }
.footer-stick .col_half img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: none; }
.footer-stick .heading-block { margin: 0 0 14px !important; }
.footer-stick .heading-block h3 { font-size: clamp(20px, 2.4vw, 26px) !important; line-height: 1.25 !important; }
.footer-stick .subscribe-widget p { color: var(--mg-muted); margin-bottom: 18px; }

/* E-bülten formu: hap şeklinde tek satır */
#widget-subscribe-form3 .input-group {
  display: flex !important; align-items: center; gap: 6px;
  width: 100%; max-width: 440px !important;
  padding: 6px; background: var(--mg-soft);
  border: 1px solid var(--mg-line); border-radius: 999px !important;
  box-shadow: none; overflow: visible;
}
#widget-subscribe-form3 .input-group-addon {
  display: flex !important; align-items: center; justify-content: center;
  flex: 0 0 40px; width: 40px; height: 40px; padding: 0 !important;
  border: 0 !important; border-radius: 50% !important; background: #fff !important; color: var(--mg-brand);
}
#widget-subscribe-form3 .form-control {
  float: none !important; flex: 1 1 auto; width: auto !important; min-width: 0;
  height: 44px !important; min-height: 0 !important; padding: 0 8px !important;
  border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  font-size: 16px; color: var(--mg-ink);
}
#widget-subscribe-form3 .form-control::placeholder { color: #8a93a3; text-transform: none; }
#widget-subscribe-form3 .input-group-btn { display: block !important; flex: 0 0 auto; width: auto !important; }
#widget-subscribe-form3 .input-group-btn .btn {
  height: 44px !important; min-height: 0 !important; line-height: 44px !important;
  margin: 0 !important; padding: 0 20px !important; white-space: nowrap !important;
  border: 0 !important; border-radius: 999px !important; font-size: 13px;
}

/* İletişim kutuları: ikon ile başlık arası */
.feature-box.fbox-bg { padding: 22px 16px !important; }

@media (max-width: 767px) {
  .footer-stick > .container { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 16px !important; border-radius: 20px; }
  .section.nobottommargin { padding-bottom: 30px !important; }
  /* iletişim kutuları 2x2 */
  #section-contact ~ .col_full {
    display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px;
  }
  #section-contact ~ .col_full::before, #section-contact ~ .col_full::after,
  #section-contact ~ .col_full > .clear { display: none !important; }
  #section-contact ~ .col_full .col_one_fourth { float: none !important; width: auto !important; margin: 0 !important; }
  #section-contact ~ .col_full .feature-box.fbox-bg { height: 100%; padding: 18px 10px !important; }
  #section-contact ~ .col_full .feature-box.fbox-bg .fbox-icon { width: 52px !important; height: 52px !important; margin-bottom: 10px !important; }
  #section-contact ~ .col_full .feature-box.fbox-bg .fbox-icon i { font-size: 24px !important; }
  #section-contact ~ .col_full .feature-box.fbox-bg h3 { font-size: 12.5px !important; }
}
@media (max-width: 380px) {
  #widget-subscribe-form3 .input-group-addon { display: none !important; }
  #widget-subscribe-form3 .input-group-btn .btn { padding: 0 14px !important; }
}

/* ===== Giriş / Kayıt (users/login.php, register.php) ===== */
.mg-auth {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: calc(100vh - 60px);
  background: #f4f6f9;
}
.mg-auth-aside {
  position: relative; overflow: hidden; color: #fff;
  background: #16181d url("/images/placeholder-hero.jpg") center / cover no-repeat;
}
.mg-auth-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: mg-zoom 22s ease-in-out infinite alternate; }
.mg-auth-aside::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(14,15,18, .55) 0%, rgba(14,15,18, .78) 55%, rgba(14,15,18, .94) 100%);
}
.mg-auth-aside-in {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(32px, 5vw, 64px);
}
.mg-auth-brand img { width: 128px; height: auto; filter: brightness(0) invert(1); opacity: .95; }
.mg-auth-quote {
  margin: 0 0 26px !important; max-width: 460px; color: #fff !important;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1 !important; font-weight: 800; letter-spacing: -.02em;
  animation: mg-rise .9s .2s var(--mg-ease) both;
}
.mg-auth-quote em { font-style: normal; color: #f0b27a; }
.mg-auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mg-auth-points li {
  display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .86); font-size: 15px;
  animation: mg-rise .8s var(--mg-ease) both;
}
.mg-auth-points li:nth-child(1) { animation-delay: .45s; }
.mg-auth-points li:nth-child(2) { animation-delay: .55s; }
.mg-auth-points li:nth-child(3) { animation-delay: .65s; }
.mg-auth-points li::before {
  content: "✓"; flex: 0 0 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  font-size: 12px; font-weight: 800; color: #f0b27a;
}

.mg-auth-main {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(28px, 5vw, 64px) 20px;
}
.mg-auth-card {
  width: 100%; max-width: 440px;
  padding: clamp(26px, 4vw, 40px);
  background: #fff; border: 1px solid var(--mg-line); border-radius: 24px;
  box-shadow: 0 30px 70px rgba(22,24,29, .10);
  animation: mg-rise .8s var(--mg-ease) both;
}
.mg-auth-head h1 { margin: 0 0 6px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--mg-ink); }
.mg-auth-head p { margin: 0 0 24px; color: var(--mg-muted); font-size: 15px; }
.mg-auth-alert {
  margin-bottom: 18px; padding: 12px 14px; border-radius: 12px;
  background: #fdecea; border: 1px solid #f5c6c0; color: #a52a1f; font-size: 14px;
  animation: mg-shake .45s ease;
}
.mg-auth-alert.mg-auth-ok { background: #e9f7ee; border-color: #bfe5cc; color: #1f6f3d; animation: none; }
@keyframes mg-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.mg-auth-form { display: grid; gap: 16px; }
.mg-field { display: grid; gap: 7px; margin: 0; font-weight: 400; }
.mg-field > span:first-child { font-size: 13px; font-weight: 700; color: var(--mg-ink); letter-spacing: .01em; text-transform: none; }
.mg-field input {
  width: 100%; height: 50px; padding: 0 16px;
  font-size: 16px; color: var(--mg-ink);
  background: #f7f9fc; border: 1.5px solid var(--mg-line); border-radius: 14px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.mg-field input::placeholder { color: #9aa3b2; }
.mg-field input:hover { border-color: #cdd5e1; }
.mg-field input:focus { outline: 0; background: #fff; border-color: var(--mg-brand); box-shadow: 0 0 0 4px rgba(217,35,22, .12); }
.mg-field input.mg-bad { border-color: #e0786b; }
.mg-field input.mg-good { border-color: #4caf74; }
.mg-field-pass { position: relative; display: block; }
.mg-field-pass input { padding-right: 50px; }
.mg-auth-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px;
  background: transparent; color: #8a93a3; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.mg-auth-eye:hover, .mg-auth-eye[aria-pressed="true"] { color: var(--mg-brand); background: #eef3f9; }
.mg-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.mg-strength { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 6px; align-items: center; margin-top: -6px; }
.mg-strength i { height: 5px; border-radius: 5px; background: var(--mg-line); transition: background-color .3s; }
.mg-strength span { min-width: 64px; text-align: right; font-size: 12px; font-weight: 700; color: var(--mg-muted); }
.mg-strength[data-s="1"] i:nth-child(-n+1) { background: #e0786b; }
.mg-strength[data-s="2"] i:nth-child(-n+2) { background: #e3a34a; }
.mg-strength[data-s="3"] i:nth-child(-n+3) { background: #5aa9d6; }
.mg-strength[data-s="4"] i:nth-child(-n+4) { background: #3fa66a; }

.mg-auth-submit {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; margin-top: 4px; border: 0; border-radius: 14px;
  background: var(--mg-ink); color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .01em;
  cursor: pointer; transition: transform .3s var(--mg-ease), box-shadow .3s, background-color .3s;
}
.mg-auth-submit::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--mg-paint);
}
.mg-auth-submit span { transition: transform .3s var(--mg-ease); }
.mg-auth-submit:hover { background: #17294a; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(22,24,29, .25); }
.mg-auth-submit:hover span { transform: translateX(4px); }
.mg-auth-submit[disabled] { opacity: .7; cursor: progress; }
.mg-auth-switch { margin: 22px 0 0 !important; text-align: center; color: var(--mg-muted); font-size: 14.5px; }
.mg-auth-switch a { color: var(--mg-brand); font-weight: 700; }
.mg-auth-back { margin-top: 18px; color: var(--mg-muted) !important; font-size: 14px; }
.mg-auth-back:hover { color: var(--mg-ink) !important; }
.mg-auth-page #footer .footer-widgets-wrap { display: none; }

@media (max-width: 900px) {
  .mg-auth { grid-template-columns: 1fr; min-height: 0; }
  .mg-auth-aside { min-height: 230px; }
  .mg-auth-aside-in { padding: 28px 22px 34px; gap: 18px; }
  .mg-auth-brand { display: none; }
  .mg-auth-quote { font-size: 28px; margin-bottom: 0 !important; }
  .mg-auth-points { display: none; }
  .mg-auth-main { margin-top: -26px; padding: 0 16px 36px; position: relative; z-index: 2; }
  .mg-auth-card { border-radius: 22px; }
  .mg-field-row { grid-template-columns: 1fr; }
  .mg-auth-video { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mg-auth-video { animation: none; }
}

/* ===== Teklif penceresi ===== */
html.mg-lock, html.mg-lock body { overflow: hidden !important; }
.mg-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.mg-modal[hidden] { display: none; }
.mg-modal-backdrop { position: absolute; inset: 0; background: rgba(12,12,14, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.mg-modal-panel {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow: auto;
  background: #fff; border-radius: 24px; box-shadow: 0 40px 90px rgba(12,12,14, .35);
  opacity: 0; transform: translateY(24px) scale(.98);
  transition: opacity .3s var(--mg-ease), transform .4s var(--mg-ease);
}
.mg-modal-panel::before { content: ""; position: sticky; top: 0; display: block; height: 5px; background: var(--mg-paint); z-index: 2; }
.mg-modal.is-open .mg-modal-backdrop { opacity: 1; }
.mg-modal.is-open .mg-modal-panel { opacity: 1; transform: none; }
.mg-modal-x {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--mg-soft); color: var(--mg-ink); font-size: 24px; line-height: 1; cursor: pointer;
  transition: background-color .2s, transform .3s var(--mg-ease);
}
.mg-modal-x:hover { background: #e7ecf3; transform: rotate(90deg); }
.mg-modal-body { padding: 26px 28px 28px; }
.mg-modal-head .mg-eyebrow { color: var(--mg-accent); background: #fdf0e8; border-color: #f6d6c2; backdrop-filter: none; }
.mg-modal-head h2 { margin: 12px 0 6px !important; font-size: 26px !important; font-weight: 800 !important; letter-spacing: -.02em; color: var(--mg-ink) !important; }
.mg-modal-head p { margin: 0 0 20px !important; color: var(--mg-muted); font-size: 15px; }
.mg-teklif-form { display: grid; gap: 14px; }
.mg-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mg-teklif-form select, .mg-teklif-form textarea {
  width: 100%; padding: 12px 16px; font-size: 16px; color: var(--mg-ink);
  background: #f7f9fc; border: 1.5px solid var(--mg-line); border-radius: 14px; min-height: 50px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.mg-teklif-form textarea { min-height: 88px; resize: vertical; }
.mg-teklif-form select:focus, .mg-teklif-form textarea:focus { outline: 0; background: #fff; border-color: var(--mg-brand); box-shadow: 0 0 0 4px rgba(217,35,22, .12); }
.mg-invalid input, .mg-invalid select, .mg-invalid textarea { border-color: #e0786b !important; background: #fff7f6 !important; }
.mg-check.mg-invalid span { color: #c0392b; }
.mg-check { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 0; font-weight: 400; font-size: 13.5px; color: var(--mg-muted); text-transform: none; letter-spacing: 0; cursor: pointer; }
.mg-check input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--mg-brand); }
.mg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mg-form-msg { padding: 11px 14px; border-radius: 12px; background: #fdecea; border: 1px solid #f5c6c0; color: #a52a1f; font-size: 14px; }
.mg-teklif-submit {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 54px; border: 0; border-radius: 14px; overflow: hidden;
  background: var(--mg-ink); color: #fff; font-size: 16px; font-weight: 800; cursor: pointer;
  transition: transform .3s var(--mg-ease), box-shadow .3s, background-color .3s;
}
.mg-teklif-submit::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--mg-paint); }
.mg-teklif-submit:hover { background: #17294a; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(22,24,29, .25); }
.mg-teklif-submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.mg-teklif-alt { margin: 4px 0 0 !important; text-align: center; font-size: 13.5px; color: var(--mg-muted); }
.mg-teklif-alt a { color: var(--mg-brand); font-weight: 700; }
.mg-teklif-ok { text-align: center; padding: 20px 6px 4px; }
.mg-teklif-ok h3 { margin: 16px 0 6px !important; font-size: 24px !important; font-weight: 800 !important; color: var(--mg-ink) !important; }
.mg-teklif-ok p { color: var(--mg-muted); margin-bottom: 22px !important; }
.mg-ok-icon svg { width: 76px; height: 76px; }
.mg-ok-icon circle { stroke: #3fa66a; stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: mg-draw .7s var(--mg-ease) forwards; }
.mg-ok-icon path { stroke: #3fa66a; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: mg-draw .45s .55s var(--mg-ease) forwards; }
@keyframes mg-draw { to { stroke-dashoffset: 0; } }

@media (max-width: 600px) {
  .mg-modal { align-items: flex-end; padding: 0; }
  .mg-modal-panel { max-width: none; max-height: 92vh; border-radius: 24px 24px 0 0; transform: translateY(100%); }
  .mg-modal.is-open .mg-modal-panel { transform: none; }
  .mg-modal-body { padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); }
  .mg-grid2 { grid-template-columns: 1fr; }
  .mg-modal-head h2 { font-size: 23px !important; }
}

/* ===== Mobil alt bar ===== */
.mg-tabbar { display: none; }
@media (max-width: 991px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .mg-tabbar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 9990;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
    height: 64px; padding: 0 4px; border-radius: 22px;
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
    border: 1px solid rgba(22,24,29, .08);
    box-shadow: 0 16px 40px rgba(22,24,29, .18);
    transition: transform .35s var(--mg-ease);
  }
  .mg-tabbar a, .mg-tabbar button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    height: 56px; border: 0; background: transparent; padding: 0;
    color: #5b6577 !important; text-decoration: none !important;
    font-size: 10.5px; font-weight: 700; font-family: inherit; letter-spacing: .01em;
    -webkit-tap-highlight-color: transparent;
  }
  .mg-tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; transition: transform .25s var(--mg-ease); }
  .mg-tabbar a.is-on { color: var(--mg-brand) !important; }
  .mg-tabbar a:active svg, .mg-tabbar button:active svg { transform: scale(.88); }
  .mg-tabbar .mg-tab-wa svg { stroke: #25a35a; }
  .mg-tabbar .mg-tab-main { color: var(--mg-ink) !important; }
  .mg-tabbar .mg-tab-main svg {
    width: 48px; height: 36px; padding: 8px 14px; margin-top: -2px; border-radius: 14px;
    background: var(--mg-ink); stroke: #fff; stroke-width: 2.4;
    box-shadow: 0 8px 18px rgba(22,24,29, .3);
  }
  html.mg-lock .mg-tabbar { transform: translateY(140%); }
  #gotoTop { bottom: calc(90px + env(safe-area-inset-bottom)) !important; }
  .mg-auth-page .mg-tabbar { display: none; }
  .mg-auth-page { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mg-modal-panel, .mg-modal-backdrop { transition: none; }
}

.mg-modal [hidden], .mg-teklif-form[hidden], .mg-teklif-ok[hidden], .mg-form-msg[hidden] { display: none !important; }

/* ===== Canlı ziyaretçi rozeti (yalnız giriş yapmış kullanıcı görür) ===== */
#live-stats.mg-live {
  position: fixed; right: 18px; bottom: 18px; z-index: 9995;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 12px; border-radius: 18px;
  background: rgba(10, 16, 28, .82);
  -webkit-backdrop-filter: saturate(170%) blur(16px); backdrop-filter: saturate(170%) blur(16px);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
  color: #e6ebf3; font: 600 13px/1.15 "Manrope", system-ui, sans-serif !important;
  opacity: 0; transform: translateY(16px) scale(.96);
  transition: opacity .5s var(--mg-ease), transform .6s var(--mg-ease), box-shadow .3s;
  overflow: hidden;
}
#live-stats.mg-live.is-ready { opacity: 1; transform: none; }
#live-stats.mg-live::before { /* ince boya şeridi */
  content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 2px; border-radius: 0 0 2px 2px;
  background: var(--mg-paint); opacity: .9;
}
#live-stats.mg-live:hover { box-shadow: 0 24px 50px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08); }
.mg-live-dot { position: relative; flex: 0 0 12px; width: 12px; height: 12px; }
.mg-live-dot i, .mg-live-dot::before, .mg-live-dot::after { position: absolute; inset: 0; border-radius: 50%; }
.mg-live-dot i { background: #34d399; box-shadow: 0 0 10px rgba(52, 211, 153, .8); }
.mg-live-dot::before, .mg-live-dot::after { content: ""; border: 2px solid rgba(52, 211, 153, .55); animation: mg-live-ring 2.2s cubic-bezier(.2, .6, .3, 1) infinite; }
.mg-live-dot::after { animation-delay: 1.1s; }
@keyframes mg-live-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.8); opacity: 0; } }
.mg-live-main, .mg-live-total { display: flex; flex-direction: column; }
.mg-live b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; display: inline-block; }
.mg-live small { font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: #8d9ab0; margin-top: 2px; }
.mg-live-total { position: relative; padding-left: 20px; }
.mg-live-total svg { position: absolute; left: 0; top: 3px; width: 14px; height: 14px; fill: none; stroke: #f0b27a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mg-live-total b { font-size: 15px; color: #dfe6f1; }
.mg-live-sep { width: 1px; align-self: stretch; margin: 2px 0; background: rgba(255, 255, 255, .1); }
.mg-live-spark { width: 60px; height: 20px; }
.mg-live-spark polyline { fill: none; stroke: #4f8ff7; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(79, 143, 247, .45)); }
.mg-live b.is-bump { animation: mg-live-bump .6s var(--mg-ease); }
@keyframes mg-live-bump { 40% { transform: translateY(-3px); color: #34d399; } }
@media (max-width: 991px) {
  #live-stats.mg-live { right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); padding: 8px 12px 8px 10px; gap: 10px; font-size: 12px !important; }
  .mg-live-spark, .mg-live-sep { display: none; }
  .mg-live b { font-size: 16px; }
  .mg-live-total b { font-size: 13px; }
  html.mg-lock #live-stats.mg-live, html.mgh-lock #live-stats.mg-live { opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mg-live-dot::before, .mg-live-dot::after, .mg-live b.is-bump { animation: none; }
}

/* Teklif penceresi: X her zaman görünür ve basılabilir; sadece içerik kayar (yk 2026-11-03) */
.mg-modal-panel {
  display: flex; flex-direction: column;
  overflow: hidden !important;
  max-height: min(calc(100vh - 40px), calc(100dvh - 40px));
}
.mg-modal-panel::before { position: relative; flex: 0 0 5px; }
.mg-modal-body {
  flex: 1 1 auto; min-height: 0;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
.mg-modal-x {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 44px; height: 44px; font-size: 26px;
  background: rgba(244, 246, 249, .92); box-shadow: 0 4px 14px rgba(22,24,29, .12);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.mg-modal-head { padding-right: 52px; }
@media (max-width: 600px) {
  .mg-modal-panel { max-height: calc(100dvh - 12px); max-height: min(92vh, calc(100dvh - 12px)); }
  .mg-modal-x { top: 12px; right: 12px; }
}

/* ===== Alt şerit (copyrights) + Yankare Medya imzası (yk 2026-11-03) ===== */
#footer #copyrights {
  position: relative;
  padding: 26px 0 30px !important;
  background: #070d18 !important;
  border-top: 1px solid rgba(255, 255, 255, .06) !important;
  color: #aeb8c8 !important;
  font: 500 14px/1.6 "Manrope", system-ui, sans-serif !important;
}
#footer #copyrights a { color: #dfe6f1 !important; }
#footer #copyrights a:hover { color: #fff !important; }
#footer #copyrights .copyright-links i { color: #f0b27a; margin-right: 6px; }
#footer #copyrights .col_half { margin-bottom: 0 !important; }

#footer #copyrights .yk-credit {
  position: relative; overflow: hidden;
  display: inline-flex !important; align-items: center; gap: 12px !important;
  margin-top: 14px !important; padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #e6ebf3 !important; opacity: 1 !important;
  font: 600 13.5px/1 "Manrope", system-ui, sans-serif !important; letter-spacing: .01em;
  text-decoration: none !important;
  transition: transform .35s var(--mg-ease), border-color .3s, box-shadow .3s;
}
#footer #copyrights .yk-credit svg {
  flex: 0 0 34px !important; width: 34px !important; height: 34px !important;
  border-radius: 10px; box-shadow: 0 0 0 1px rgba(217, 255, 67, .25), 0 6px 16px rgba(217, 255, 67, .12);
  transition: transform .5s var(--mg-ease);
}
#footer #copyrights .yk-credit span { color: #aeb8c8; }
#footer #copyrights .yk-credit b { color: #fff; font-weight: 800; margin-left: 2px; }
#footer #copyrights .yk-credit::after { /* ince ışık geçişi */
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(217, 255, 67, .18), transparent);
  transform: skewX(-20deg);
  animation: yk-credit-shine 5.5s ease-in-out 1.5s infinite;
}
@keyframes yk-credit-shine { 0%, 70% { left: -40%; } 100% { left: 130%; } }
#footer #copyrights .yk-credit:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 255, 67, .45);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .45), 0 0 0 4px rgba(217, 255, 67, .08), inset 0 1px 0 rgba(255, 255, 255, .1);
}
#footer #copyrights .yk-credit:hover svg { transform: rotate(-8deg) scale(1.06); }

@media (max-width: 991px) {
  #footer #copyrights { padding: 24px 0 calc(28px + 78px + env(safe-area-inset-bottom)) !important; text-align: center !important; }
  #footer #copyrights .col_half { float: none !important; width: 100% !important; text-align: center !important; }
  #footer #copyrights .col_half + .col_half { margin-top: 16px !important; }
  #footer #copyrights .fright { float: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  #footer #copyrights .yk-credit::after { animation: none; display: none; }
}
