/* ===============================
   FONTLAR (Google Fonts TTF local)
   =============================== */
/* Not: Bu dosyaları /fonts klasörüne sen ekle:
   Inter, Plus Jakarta Sans gibi Google Fonts'tan indirilmiş TTF’ler.
*/

@font-face {
  font-family: "MM-Body";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "MM-Body";
  src: url("../fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "MM-Display";
  src: url("../fonts/PlusJakartaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* ===============================
   RESET & TEMEL
   =============================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.mm-body {
  margin: 0;
  min-height: 100vh;
  font-family: "MM-Body", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top right, #f5f8ff 0, #f0f4ff 22%, #f7f7fb 55%, #fdfdfd 100%);
  color: #111827;
  line-height: 1.6;
}

/* Renk değişkenleri */

:root {
  --mm-page-bg: transparent;
  --mm-page-surface: #ffffff;
  --mm-page-surface-soft: #f6f7ff;
  --mm-accent: #ff8a3d;
  --mm-accent-soft: #ffe3cf;
  --mm-accent-alt: #6366f1;
  --mm-accent-alt-soft: #e0e7ff;
  --mm-border-subtle: rgba(148, 163, 184, 0.35);
  --mm-text-main: #111827;
  --mm-text-soft: #4b5563;
  --mm-radius-xl: 32px;
  --mm-radius-lg: 22px;
  --mm-radius-md: 16px;
  --mm-radius-pill: 999px;
  --mm-shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.10);
  --mm-shadow-small: 0 8px 24px rgba(15, 23, 42, 0.08);
  --mm-header-height: 86px;
  --mm-border-dashed: 1.5px dashed rgba(148, 163, 184, 0.7);
}

/* Global elemanlar */

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

p {
  margin: 0 0 0.75rem;
  color: var(--mm-text-soft);
}

h1,
h2,
h3 {
  font-family: "MM-Display", "MM-Body", system-ui, sans-serif;
  color: var(--mm-text-main);
  margin: 0 0 0.5rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Maksimum 350px genişlik kuralı */
.mm-img {
  max-width: 350px;
  border-radius: var(--mm-radius-md);
  box-shadow: var(--mm-shadow-small);
}

/* Layout helpers */

.mm-main {
  padding-top: var(--mm-header-height);
}

.mm-section {
  padding: 5rem min(5vw, 3.5rem);
}

.mm-section-inner {
  margin: 0 auto;
  max-width: 1160px;
}

.mm-section-header {
  max-width: 760px;
  margin-bottom: 2.75rem;
}

.mm-section-title {
  font-size: 2.2rem;
  letter-spacing: -0.03em;
}

.mm-section-title span {
  color: var(--mm-accent-alt);
}

.mm-section-lead {
  font-size: 1rem;
}

/* ===============================
   HEADER
   =============================== */

.mm-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(238, 242, 255, 0.96));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  transition: box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.mm-header--scrolled {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(228, 233, 255, 0.98));
  transform: translateY(-2px);
}

.mm-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.5rem min(5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.mm-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.mm-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0, #ffedd5 0, #fed7aa 40%, #f97316 100%);
  color: #111827;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.55);
}

.mm-logo-mark--small {
  width: 26px;
  height: 26px;
  font-size: 0.95rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.45);
}

.mm-logo-text {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

/* Nav */

.mm-nav {
  display: flex;
}

.mm-nav-list {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mm-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #4b5563;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mm-nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 14%;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #f97316, #6366f1);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease-out;
}

.mm-nav-link:hover {
  background: rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
  color: #111827;
}

.mm-nav-link:hover::after {
  transform: scaleX(1);
}

.mm-nav-link--active {
  background: linear-gradient(120deg, #f97316, #fbbf24);
  color: #111827;
  box-shadow: 0 14px 32px rgba(248, 113, 22, 0.55);
}

.mm-nav-link--active::after {
  background: rgba(15, 23, 42, 0.18);
  transform: scaleX(0.88);
}

/* Burger */

.mm-burger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: linear-gradient(145deg, #ffffff, #e5edff);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mm-burger:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
}

.mm-burger-line {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.mm-burger-line:nth-child(1) {
  top: 14px;
}

.mm-burger-line:nth-child(2) {
  top: 19px;
}

.mm-burger-line:nth-child(3) {
  bottom: 14px;
}

.mm-burger--active {
  border-color: transparent;
}

.mm-burger--active .mm-burger-line:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.mm-burger--active .mm-burger-line:nth-child(2) {
  opacity: 0;
}

.mm-burger--active .mm-burger-line:nth-child(3) {
  bottom: 19px;
  transform: rotate(-45deg);
}

/* Mobil menü durumu */

.mm-nav--mobile {
  display: none;
}

/* ===============================
   BUTONLAR & ETİKETLER
   =============================== */

.mm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.mm-btn--primary {
  background: linear-gradient(120deg, #f97316, #facc15);
  color: #111827;
  box-shadow: 0 14px 32px rgba(248, 113, 22, 0.55);
}

.mm-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(248, 113, 22, 0.7);
}

.mm-btn--ghost {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(148, 163, 184, 0.7);
  color: #111827;
}

.mm-btn--ghost:hover {
  background: #e5edff;
  border-color: #6366f1;
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.4);
}

.mm-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px dashed rgba(148, 163, 184, 0.8);
  background: rgba(255, 255, 255, 0.85);
}

/* Kısa vurgular */

.mm-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

/* ===============================
   FOOTER
   =============================== */

.mm-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at bottom left, #eef2ff 0, #ffffff 40%);
  margin-top: 2rem;
}

.mm-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2.5rem min(5vw, 3.5rem) 2rem;
}

.mm-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
}

.mm-footer-columns {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.mm-footer-label {
  margin: 0 0 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #111827;
}

.mm-footer-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #4b5563;
  position: relative;
}

.mm-footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #f97316, #6366f1);
  transition: width 0.18s ease;
}

.mm-footer-link:hover::after {
  width: 100%;
}

.mm-footer-text {
  font-size: 0.86rem;
}

.mm-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 1.25rem;
  font-size: 0.82rem;
  color: #6b7280;
}

.mm-footer-top-link {
  font-size: 0.82rem;
}

/* ===============================
   GLOBAL ANİMASYONLAR
   =============================== */

.mm-reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition:
    opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: opacity, transform;
}

.mm-reveal--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Body scroll kilidi (mobil menü açık) */

.mm-body--lock {
  overflow: hidden;
}

/* ===============================
   MEDYA SORGULARI (GENEL)
   =============================== */

@media (max-width: 1024px) {
  .mm-section {
    padding-inline: 1.5rem;
  }

  .mm-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .mm-header-inner {
    padding-inline: 1.25rem;
  }

  .mm-nav {
    position: fixed;
    inset-inline: 1.25rem;
    top: calc(var(--mm-header-height) + 0.5rem);
    background: rgba(248, 250, 252, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.3);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .mm-nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem;
  }

  .mm-nav-link {
    width: 100%;
    justify-content: center;
  }

  .mm-nav--open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mm-burger {
    display: inline-flex;
  }

  .mm-footer-columns {
    grid-template-columns: 1fr;
  }

  .mm-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .mm-section {
    padding: 3.5rem 1.1rem;
  }

  .mm-section-title {
    font-size: 1.6rem;
  }

  .mm-footer-inner {
    padding-inline: 1.1rem;
  }
}
/* ============================
   HORIZONTAL SCROLL FIX
   ============================ */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* режем любые вылезания по X */
}

/* на всякий случай ограничим контент внутри основного контейнера */
.mm-main {
  max-width: 100%;
  overflow-x: hidden;
}
