/* =========================================================
   SİSTEM YAPI METAL — MODERN THEME CSS
   Prefix: .mx-*
   Tasarım: Next.js/Tailwind referans tasarımının PHP'e taşınmış hali.
   ========================================================= */

:root {
    --mx-brand-50:  #eef2ff;
    --mx-brand-100: #e0e7ff;
    --mx-brand-200: #c7d2fe;
    --mx-brand-300: #a5b4fc;
    --mx-brand-600: #2d3fb8;
    --mx-brand-700: #1E3A8A;
    --mx-brand-800: #172554;
    --mx-brand-900: #0f172a;

    --mx-ink:       #1F2937;
    --mx-ink-soft:  #374151;
    --mx-ink-mute:  #6B7280;
    --mx-ink-faint: #9ca3af;

    --mx-cloud:      #F3F4F6;
    --mx-cloud-soft: #F9FAFB;
    --mx-border:     rgba(17, 24, 39, 0.08);
    --mx-border-strong: rgba(17, 24, 39, 0.14);

    --mx-radius: 12px;
    --mx-radius-lg: 16px;
    --mx-radius-xl: 22px;
    --mx-radius-full: 9999px;

    --mx-shadow-sm:   0 1px 2px rgba(17, 24, 39, 0.06);
    --mx-shadow:      0 4px 20px -8px rgba(17, 24, 39, 0.12);
    --mx-shadow-md:   0 10px 25px -12px rgba(30, 58, 138, 0.18);
    --mx-shadow-lg:   0 20px 45px -18px rgba(30, 58, 138, 0.35);

    --mx-trans: 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Scope reset (yalnızca modern sayfalarda aktif) ---- */
body.mx-modern {
    font-family: 'Inter', 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--mx-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "cv11","ss01";
}

body.mx-modern,
body.mx-modern * {
    box-sizing: border-box;
}

body.mx-modern img,
body.mx-modern svg {
    max-width: 100%;
    display: block;
}

body.mx-modern a {
    color: inherit;
    text-decoration: none;
    transition: color var(--mx-trans);
}

body.mx-modern h1,
body.mx-modern h2,
body.mx-modern h3,
body.mx-modern h4 {
    font-family: inherit;
    margin: 0;
    letter-spacing: -0.015em;
    color: var(--mx-ink);
    line-height: 1.15;
}

body.mx-modern p { margin: 0; }
body.mx-modern ul { list-style: none; margin: 0; padding: 0; }
body.mx-modern button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }

html { scroll-behavior: smooth; }

/* Mevcut #sayfa/#ust/#alt stillerini nötrle (style.css body kuralları etkilemez) */
body.mx-modern #sayfa { width: auto; margin: 0; min-height: auto; background: transparent; }

/* ---- Container ---- */
.mx-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .mx-container { padding: 0 32px; }
}

/* ---- Section paddings ---- */
.mx-section { padding: 64px 0; position: relative; }
@media (min-width: 768px) { .mx-section { padding: 96px 0; } }
@media (min-width: 1024px) { .mx-section { padding: 112px 0; } }

.mx-section--cloud { background: var(--mx-cloud-soft); }
.mx-section--cloud-gradient {
    background-image:
        radial-gradient(1200px 600px at 80% -10%, rgba(30, 58, 138, 0.08), transparent 60%),
        radial-gradient(800px 500px at -10% 20%, rgba(30, 58, 138, 0.05), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

/* ---- Pill / eyebrow ---- */
.mx-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--mx-brand-700);
    background: var(--mx-brand-50);
    border: 1px solid rgba(30, 58, 138, 0.15);
    border-radius: var(--mx-radius-full);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---- Typography helpers ---- */
.mx-h1 {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
}
.mx-h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-top: 16px;
}
.mx-lead {
    margin-top: 16px;
    font-size: 16px;
    color: var(--mx-ink-mute);
}
@media (min-width: 768px) { .mx-lead { font-size: 18px; } }

.mx-accent { color: var(--mx-brand-700); }

/* ---- Buttons (eski style.css 'a' override'larını engellemek için body scope + !important) ---- */
body.mx-modern .mx-btn,
body.mx-modern a.mx-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: var(--mx-radius);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    transition: all var(--mx-trans);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none !important;
    border: 0 solid transparent;
    background-image: none !important;
}
body.mx-modern .mx-btn--primary,
body.mx-modern a.mx-btn--primary {
    background: var(--mx-brand-700) !important;
    background-color: var(--mx-brand-700) !important;
    color: #ffffff !important;
    box-shadow: var(--mx-shadow-md);
}
body.mx-modern .mx-btn--primary:hover,
body.mx-modern a.mx-btn--primary:hover {
    background: var(--mx-brand-800) !important;
    background-color: var(--mx-brand-800) !important;
    color: #ffffff !important;
    box-shadow: var(--mx-shadow-lg);
    transform: translateY(-1px);
}
body.mx-modern .mx-btn--ghost,
body.mx-modern a.mx-btn--ghost {
    background: rgba(255,255,255,0.06) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.28) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
body.mx-modern .mx-btn--ghost:hover,
body.mx-modern a.mx-btn--ghost:hover {
    background: rgba(255,255,255,0.16) !important;
    color: #ffffff !important;
}
body.mx-modern .mx-btn--white,
body.mx-modern a.mx-btn--white {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: var(--mx-brand-800) !important;
    box-shadow: var(--mx-shadow-lg);
}
body.mx-modern .mx-btn--white:hover,
body.mx-modern a.mx-btn--white:hover {
    background: var(--mx-brand-50) !important;
    color: var(--mx-brand-800) !important;
}
body.mx-modern .mx-btn--outline,
body.mx-modern a.mx-btn--outline {
    background: #ffffff !important;
    color: var(--mx-ink) !important;
    border: 1px solid var(--mx-border-strong) !important;
}
body.mx-modern .mx-btn--outline:hover,
body.mx-modern a.mx-btn--outline:hover {
    border-color: var(--mx-brand-700) !important;
    color: var(--mx-brand-700) !important;
}
body.mx-modern .mx-btn .lucide,
body.mx-modern .mx-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- Icon chip ---- */
.mx-icon-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--mx-radius);
    background: var(--mx-brand-50);
    color: var(--mx-brand-700);
    box-shadow: inset 0 0 0 1px rgba(30, 58, 138, 0.1);
}
.mx-icon-chip .lucide { width: 24px; height: 24px; stroke-width: 1.6; }

/* =========================================================
   HEADER / NAVBAR
   ========================================================= */
.mx-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(255,255,255,0.62);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all var(--mx-trans);
}
.mx-header.is-scrolled {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 1px 0 var(--mx-border);
}
.mx-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
@media (min-width: 768px) { .mx-header__inner { height: 80px; } }

.mx-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-width: 0;
}
/* Yatay/geniş logo görseli (gerçek marka logosu) */
.mx-logo--image .mx-logo__img {
    display: block;
    height: 44px;
    max-height: 44px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    object-position: left center;
    background: transparent;
    padding: 0;
    margin: 0;
}
@media (min-width: 768px) {
    .mx-logo--image .mx-logo__img { height: 52px; max-height: 52px; max-width: 260px; }
}
@media (min-width: 1024px) {
    .mx-logo--image .mx-logo__img { height: 56px; max-height: 56px; max-width: 300px; }
}
/* Logo yoksa "SY" + isim + slogan fallback */
.mx-logo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--mx-brand-700);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.03em;
    box-shadow: var(--mx-shadow-md);
    flex-shrink: 0;
}
.mx-logo__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.mx-logo__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--mx-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mx-logo__slogan {
    font-size: 11px;
    color: var(--mx-ink-mute);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}
@media (min-width: 768px) { .mx-logo__name { font-size: 17px; } .mx-logo__slogan { font-size: 12px; } }

/* Footer logo */
.mx-footer__logo { display: inline-block; max-width: 220px; }
.mx-footer__logo img {
    height: 56px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    /* Beyaz/açık zeminli logoları koyu footer'da görünür kıl */
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* =========================================================
   DESKTOP NAV (Üst menü)
   Modern pill-hover, altı çizili animasyon, şık dropdown.
   ========================================================= */
.mx-nav { display: none; align-items: center; }
@media (min-width: 1024px) { .mx-nav { display: flex; } }

.mx-nav .menu {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    background: rgba(243, 244, 246, 0.55);
    border: 1px solid rgba(30, 58, 138, 0.06);
    border-radius: var(--mx-radius-full);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.mx-nav .menu li { list-style: none; position: relative; }

/* 1. seviye link — pill tarzı */
.mx-nav a,
.mx-nav .menu > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--mx-ink-soft);
    border-radius: var(--mx-radius-full);
    transition: color var(--mx-trans), background var(--mx-trans), transform var(--mx-trans);
    white-space: nowrap;
}

/* Alt çizgi animasyonu */
.mx-nav .menu > li > a::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px;
    bottom: 6px;
    height: 2px;
    background: linear-gradient(90deg, var(--mx-brand-700), #3b82f6);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--mx-trans);
}
.mx-nav .menu > li:hover > a::after,
.mx-nav .menu > li.current-menu-item > a::after,
.mx-nav .menu > li.current-menu-parent > a::after,
.mx-nav .menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }

/* Hover + aktif durum */
.mx-nav .menu > li:hover > a,
.mx-nav .menu > li.current-menu-item > a,
.mx-nav .menu > li.current-menu-parent > a,
.mx-nav .menu > li.current-menu-ancestor > a {
    color: var(--mx-brand-800);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Alt menü olan link'e chevron ekle */
.mx-nav .menu > li.menu-item-has-children > a::before {
    content: "";
    display: inline-block;
    width: 10px; height: 10px;
    margin-right: -2px;
    background: currentColor;
    opacity: 0.6;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") center/contain no-repeat;
    order: 2;
    transition: transform var(--mx-trans);
}
.mx-nav .menu > li.menu-item-has-children:hover > a::before { transform: rotate(180deg); }

/* Dropdown menü */
.mx-nav .menu li ul {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 240px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(30, 58, 138, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.22), 0 8px 20px -10px rgba(15, 23, 42, 0.10);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms var(--mx-trans), transform 220ms var(--mx-trans), visibility 0s 220ms;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.mx-nav .menu li ul::before {
    content: "";
    position: absolute;
    top: -6px; left: 50%;
    width: 12px; height: 12px;
    background: inherit;
    border-left: 1px solid rgba(30, 58, 138, 0.08);
    border-top: 1px solid rgba(30, 58, 138, 0.08);
    transform: translateX(-50%) rotate(45deg);
}
.mx-nav .menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 200ms var(--mx-trans), transform 260ms var(--mx-trans), visibility 0s 0s;
}

.mx-nav .menu li ul li { display: block; position: relative; }
.mx-nav .menu li ul a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--mx-ink-soft);
    transition: background var(--mx-trans), color var(--mx-trans), padding var(--mx-trans);
}
.mx-nav .menu li ul a::after {
    content: "→";
    margin-left: auto;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity var(--mx-trans), transform var(--mx-trans);
    color: var(--mx-brand-700);
    font-weight: 600;
}
.mx-nav .menu li ul a:hover {
    background: var(--mx-brand-50);
    color: var(--mx-brand-800);
    padding-left: 18px;
}
.mx-nav .menu li ul a:hover::after { opacity: 1; transform: translateX(0); }

/* Sticky header durumunda pill arka planı gizle (daha temiz görünüm) */
.mx-header.is-scrolled .mx-nav .menu {
    background: transparent;
    border-color: transparent;
}

.mx-header__cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Mobil (<768px): telefon + teklif butonları gizli, burger'a yer açılır.
   .mx-btn { display: inline-flex !important } kuralını ezmek için !important gerekiyor. */
body.mx-modern .mx-header__phone,
body.mx-modern a.mx-header__phone { display: none !important; }
body.mx-modern .mx-header__teklif,
body.mx-modern a.mx-header__teklif { display: none !important; }

@media (min-width: 768px) {
    body.mx-modern .mx-header__phone,
    body.mx-modern a.mx-header__phone { display: inline-flex !important; }
}
@media (min-width: 900px) {
    body.mx-modern .mx-header__teklif,
    body.mx-modern a.mx-header__teklif { display: inline-flex !important; }
}

.mx-burger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 10px;
    color: var(--mx-ink);
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: background var(--mx-trans);
    flex-shrink: 0;
}
.mx-burger:hover { background: var(--mx-cloud); }
.mx-burger .lucide { width: 24px; height: 24px; }
@media (min-width: 1024px) { .mx-burger { display: none !important; } }

/* Küçük ekranlarda logo daraltma: her zaman burger sığsın. */
@media (max-width: 480px) {
    .mx-header__inner { height: 60px; }
    .mx-logo--image .mx-logo__img { height: 38px; max-height: 38px; max-width: 150px; }
    .mx-logo__mark { width: 38px; height: 38px; font-size: 13px; border-radius: 10px; }
    .mx-logo__slogan { display: none; }
    .mx-logo__name { font-size: 14px; max-width: 150px; }
    .mx-header__cta { gap: 4px; }
}

/* ---- Mobile overlay menu ---- */
.mx-mobile {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(15, 23, 42, 0.97);
    color: #fff;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--mx-trans), visibility var(--mx-trans);
}
.mx-mobile.is-open { opacity: 1; visibility: visible; }
.mx-mobile__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    height: 64px;
}
.mx-mobile__close {
    width: 44px; height: 44px;
    border-radius: 10px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mx-mobile__close:hover { background: rgba(255,255,255,0.1); }
.mx-mobile__nav { padding: 24px; flex: 1; overflow-y: auto; }
.mx-mobile__nav .menu { display: block; }
.mx-mobile__nav .menu li { display: block; }
.mx-mobile__nav a,
.mx-mobile__nav .menu a {
    display: block;
    padding: 16px 18px;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255,255,255,0.92);
    border-radius: 12px;
    transition: background var(--mx-trans);
    opacity: 0;
    transform: translateY(8px);
}
.mx-mobile.is-open .mx-mobile__nav a {
    animation: mxFadeUp 0.45s ease-out forwards;
}
.mx-mobile__nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.mx-mobile__cta {
    margin-top: 24px;
    display: block;
    padding: 16px;
    text-align: center;
    background: #fff;
    color: var(--mx-brand-800);
    font-weight: 600;
    border-radius: 12px;
}

@keyframes mxFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   HERO SLIDER
   ========================================================= */
.mx-hero {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 560px;
    background: #0f172a;
    overflow: hidden;
    color: #fff;
}
.mx-hero__slides { position: absolute; inset: 0; }
.mx-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 6s ease-out;
}
.mx-hero__slide.is-active { opacity: 1; transform: scale(1.05); }
.mx-hero__slide img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.mx-hero__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.7) 100%),
        radial-gradient(60% 60% at 10% 10%, rgba(30,58,138,0.55), transparent 60%);
}
.mx-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 24px;
    text-align: center !important;
}
.mx-hero__inner {
    width: 100%;
    max-width: 880px;
    margin: 0 auto !important;
    text-align: center !important;
}
/* Eski style.css'deki sol hizalı h1/h2/p kurallarını ez — hero metinleri her zaman merkezde. */
body.mx-modern .mx-hero__inner,
body.mx-modern .mx-hero__inner h1,
body.mx-modern .mx-hero__inner h2,
body.mx-modern .mx-hero__inner h3,
body.mx-modern .mx-hero__inner p,
body.mx-modern .mx-hero__inner span,
body.mx-modern .mx-hero__title,
body.mx-modern .mx-hero__sub {
    text-align: center !important;
    float: none !important;
}
body.mx-modern .mx-hero__sub { margin-left: auto !important; margin-right: auto !important; }
.mx-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: var(--mx-radius-full);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.mx-hero__title {
    margin-top: 20px;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.025em;
}
.mx-hero__title .mx-hero__highlight {
    display: block;
    margin-top: 10px;
    background: linear-gradient(90deg, #ffffff 0%, #c7d2fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.mx-hero__sub {
    margin: 20px auto 0;
    max-width: 620px;
    color: rgba(255,255,255,0.85);
    font-size: 16px;
}
@media (min-width: 768px) { .mx-hero__sub { font-size: 18px; } }

.mx-hero__actions {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.mx-hero__trust {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    flex-wrap: wrap;
}
.mx-hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.mx-hero__trust .lucide { color: #c7d2fe; width: 16px; height: 16px; }

.mx-hero__dots {
    position: absolute;
    bottom: 24px; left: 0; right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.mx-hero__dot {
    width: 10px; height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.4);
    transition: all var(--mx-trans);
    cursor: pointer;
}
.mx-hero__dot.is-active { width: 32px; background: #fff; }

.mx-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background var(--mx-trans);
    z-index: 3;
    cursor: pointer;
}
.mx-hero__arrow:hover { background: rgba(255,255,255,0.22); }
.mx-hero__arrow--prev { left: 16px; }
.mx-hero__arrow--next { right: 16px; }
@media (min-width: 768px) { .mx-hero__arrow { display: inline-flex; } }

/* =========================================================
   SERVICES (Hizmetler)
   ========================================================= */
.mx-services__head { max-width: 640px; }

/* Hizmet alanları — hızlı bakış ikon şeridi */
.mx-services__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}
.mx-service-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: #ffffff;
    border: 1px solid var(--mx-border);
    border-radius: var(--mx-radius-full);
    color: var(--mx-ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: all var(--mx-trans);
    cursor: default;
}
.mx-service-tag:hover {
    border-color: rgba(30, 58, 138, 0.3);
    background: var(--mx-brand-50);
    color: var(--mx-brand-800);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px -8px rgba(30, 58, 138, 0.35);
}
.mx-service-tag .lucide {
    width: 16px; height: 16px;
    color: var(--mx-brand-700);
}
@media (max-width: 640px) {
    .mx-services__tags { gap: 8px; margin-top: 20px; }
    .mx-service-tag { padding: 7px 12px; font-size: 12px; }
    .mx-service-tag .lucide { width: 14px; height: 14px; }
}

.mx-services__grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}
@media (min-width: 640px) { .mx-services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mx-services__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.mx-service {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid var(--mx-border);
    border-radius: var(--mx-radius-lg);
    box-shadow: var(--mx-shadow-sm);
    transition: transform var(--mx-trans), box-shadow var(--mx-trans);
    overflow: hidden;
    text-decoration: none;
}
.mx-service:hover {
    transform: translateY(-6px);
    box-shadow: var(--mx-shadow-lg);
}
.mx-service__image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 16/10;
    background: var(--mx-cloud);
}
.mx-service__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--mx-trans);
}
.mx-service:hover .mx-service__image img { transform: scale(1.06); }

.mx-service__corner {
    position: absolute;
    top: 22px; right: 22px;
    color: var(--mx-ink-faint);
    transition: color var(--mx-trans);
}
.mx-service:hover .mx-service__corner { color: var(--mx-brand-700); }
.mx-service__corner .lucide { width: 20px; height: 20px; }

.mx-service__title {
    margin-top: 18px;
    font-size: 18px;
    font-weight: 600;
    color: var(--mx-ink);
}
.mx-service__desc {
    margin-top: 8px;
    font-size: 14px;
    color: var(--mx-ink-mute);
    line-height: 1.55;
}
.mx-service__more {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mx-brand-700);
}
.mx-service__more .lucide { width: 16px; height: 16px; transition: transform var(--mx-trans); }
.mx-service:hover .mx-service__more .lucide { transform: translate(2px, -2px); }

/* =========================================================
   PRODUCTS & GALLERY
   ========================================================= */
.mx-products__head {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (min-width: 768px) {
    .mx-products__head {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}
.mx-products__head p { max-width: 380px; color: var(--mx-ink-mute); }

.mx-products__grid {
    margin-top: 40px;
    display: none;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}
@media (min-width: 768px) { .mx-products__grid { display: grid; } }
.mx-products__item {
    position: relative;
    border-radius: var(--mx-radius-lg);
    overflow: hidden;
    background: #0f172a;
    cursor: zoom-in;
}
.mx-products__item img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--mx-trans);
}
.mx-products__item:hover img { transform: scale(1.06); }
.mx-products__item::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.65) 100%);
    pointer-events: none;
}
.mx-products__label {
    position: absolute;
    left: 18px; right: 18px; bottom: 16px;
    color: #fff;
    z-index: 2;
}
.mx-products__label .cat {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.78);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.mx-products__label .ttl {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 600;
}
.mx-products__zoom {
    position: absolute;
    top: 14px; right: 14px;
    width: 38px; height: 38px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--mx-trans);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 2;
}
.mx-products__item:hover .mx-products__zoom { opacity: 1; }
.mx-products__zoom .lucide { width: 16px; height: 16px; }

/* spans for masonry */
.mx-span-2x2 { grid-column: span 2 / span 2; grid-row: span 2 / span 2; }
.mx-span-2   { grid-column: span 2 / span 2; }

/* =========================================================
   PRODUCTS MARQUEE (Ürünler & Galeri — sonsuz kayan şerit)
   ========================================================= */
.mx-products__marquee-wrap {
    margin-top: 48px;
}
.mx-products__marquee-wrap::before {
    background: linear-gradient(90deg, #ffffff, transparent) !important;
}
.mx-products__marquee-wrap::after {
    background: linear-gradient(-90deg, #ffffff, transparent) !important;
}
.mx-products__marquee {
    gap: 20px;
    animation-duration: 50s;
}
@media (max-width: 767px) {
    .mx-products__marquee { animation-duration: 35s; gap: 14px; }
}

.mx-products__card {
    position: relative;
    flex: 0 0 auto;
    width: 320px;
    height: 240px;
    border-radius: var(--mx-radius-lg);
    overflow: hidden;
    background: #0f172a;
    cursor: zoom-in;
    box-shadow: var(--mx-shadow-sm);
    transition: transform var(--mx-trans), box-shadow var(--mx-trans);
}
@media (max-width: 767px) {
    .mx-products__card { width: 240px; height: 200px; }
}
.mx-products__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mx-shadow-lg);
}
.mx-products__card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--mx-trans);
}
.mx-products__card:hover img { transform: scale(1.08); }
.mx-products__card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}
.mx-products__card .mx-products__label {
    position: absolute;
    left: 16px; right: 16px; bottom: 14px;
    color: #fff;
    z-index: 2;
}
.mx-products__card .mx-products__label .cat {
    font-size: 11px; font-weight: 500;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.mx-products__card .mx-products__label .ttl {
    margin-top: 4px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}
.mx-products__card .mx-products__zoom {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--mx-trans);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 2;
}
.mx-products__card:hover .mx-products__zoom { opacity: 1; }
.mx-products__card .mx-products__zoom .lucide { width: 16px; height: 16px; }

/* Mobile: horizontal scroll */
.mx-products__scroll {
    margin-top: 32px;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 6px;
}
.mx-products__scroll::-webkit-scrollbar { display: none; }
.mx-products__scroll .mx-products__item {
    position: relative;
    flex: 0 0 78%;
    aspect-ratio: 4/5;
    scroll-snap-align: start;
}
@media (min-width: 768px) { .mx-products__scroll { display: none; } }

/* Lightbox */
.mx-lightbox {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(0,0,0,0.92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.mx-lightbox.is-open { display: flex; }
.mx-lightbox__img {
    max-width: 92vw;
    max-height: 80vh;
    border-radius: 14px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    object-fit: contain;
    animation: mxPop 0.3s ease-out;
}
@keyframes mxPop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.mx-lightbox__caption {
    margin-top: 16px;
    text-align: center;
    color: rgba(255,255,255,0.85);
}
.mx-lightbox__caption .cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.6);
}
.mx-lightbox__caption h3 { margin-top: 6px; font-size: 18px; color: #fff; }
.mx-lightbox__close,
.mx-lightbox__prev,
.mx-lightbox__next {
    position: absolute;
    width: 46px; height: 46px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--mx-trans);
}
.mx-lightbox__close:hover,
.mx-lightbox__prev:hover,
.mx-lightbox__next:hover { background: rgba(255,255,255,0.22); }
.mx-lightbox__close { top: 20px; right: 20px; }
.mx-lightbox__prev { top: 50%; left: 16px; transform: translateY(-50%); }
.mx-lightbox__next { top: 50%; right: 16px; transform: translateY(-50%); }

/* =========================================================
   ABOUT
   ========================================================= */
.mx-about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
@media (min-width: 1024px) { .mx-about__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.mx-about__visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--mx-radius-xl);
    overflow: hidden;
    background: var(--mx-cloud);
}
.mx-about__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mx-about__visual::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.45) 100%);
}
.mx-about__quote {
    position: absolute;
    left: 24px; right: 24px; bottom: 24px;
    background: rgba(255,255,255,0.96);
    padding: 20px;
    border-radius: 18px;
    box-shadow: var(--mx-shadow-lg);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 2;
}
.mx-about__quote p:first-child { font-size: 13px; color: var(--mx-ink-mute); }
.mx-about__quote p:last-child { margin-top: 4px; font-weight: 600; color: var(--mx-ink); }

.mx-stats {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 640px) { .mx-stats { gap: 20px; } }
.mx-stat {
    padding: 22px;
    background: var(--mx-cloud-soft);
    border: 1px solid var(--mx-border);
    border-radius: var(--mx-radius-lg);
}
.mx-stat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(30,58,138,0.1);
    color: var(--mx-brand-700);
}
.mx-stat__icon .lucide { width: 20px; height: 20px; }
.mx-stat__value { margin-top: 12px; font-size: 28px; font-weight: 700; color: var(--mx-ink); letter-spacing: -0.02em; }
.mx-stat__label { margin-top: 4px; font-size: 13px; color: var(--mx-ink-mute); }

/* =========================================================
   REFERENCES MARQUEE
   ========================================================= */
.mx-refs__head { text-align: center; max-width: 640px; margin: 0 auto; }

.mx-marquee-wrap {
    position: relative;
    margin-top: 48px;
    overflow: hidden;
}
.mx-marquee-wrap::before,
.mx-marquee-wrap::after {
    content: "";
    position: absolute; top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.mx-marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--mx-cloud-soft), transparent); }
.mx-marquee-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--mx-cloud-soft), transparent); }

.mx-marquee {
    display: flex;
    width: max-content;
    animation: mxMarquee 40s linear infinite;
}
.mx-marquee:hover { animation-play-state: paused; }

@keyframes mxMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.mx-logo-pill {
    margin: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    height: 72px;
    padding: 0 24px;
    background: #fff;
    border: 1px solid var(--mx-border);
    border-radius: 14px;
    color: var(--mx-ink-soft);
    font-size: 16px;
    font-weight: 600;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 300ms var(--mx-trans);
}
.mx-logo-pill img {
    max-height: 48px;
    max-width: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.mx-logo-pill:hover {
    filter: grayscale(0);
    opacity: 1;
    border-color: rgba(30,58,138,0.25);
}

/* =========================================================
   PROCESS (Çalışma Sürecimiz)
   ========================================================= */
.mx-process__head { max-width: 640px; }

.mx-process__grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    counter-reset: mxstep;
}
@media (min-width: 640px) { .mx-process__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mx-process__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.mx-step {
    position: relative;
    padding: 32px 24px 28px;
    background: #fff;
    border: 1px solid var(--mx-border);
    border-radius: var(--mx-radius-lg);
    box-shadow: var(--mx-shadow-sm);
    transition: transform var(--mx-trans), box-shadow var(--mx-trans), border-color var(--mx-trans);
    counter-increment: mxstep;
}
.mx-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--mx-shadow-md);
    border-color: rgba(30, 58, 138, 0.18);
}
.mx-step__num {
    position: absolute;
    top: -18px; left: 24px;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--mx-brand-700);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: var(--mx-shadow-md);
}
.mx-step__num::before { content: "0" counter(mxstep); }
.mx-step__icon {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--mx-brand-50);
    color: var(--mx-brand-700);
}
.mx-step__icon .lucide { width: 22px; height: 22px; stroke-width: 1.6; }
.mx-step__title { margin-top: 14px; font-size: 17px; font-weight: 600; color: var(--mx-ink); }
.mx-step__desc { margin-top: 8px; font-size: 14px; color: var(--mx-ink-mute); line-height: 1.55; }

/* Bağlayıcı çizgi (desktop) */
@media (min-width: 1024px) {
    .mx-step:not(:last-child)::after {
        content: "";
        position: absolute;
        right: -16px; top: 28px;
        width: 24px; height: 2px;
        background: linear-gradient(90deg, rgba(30,58,138,0.25), transparent);
    }
}

/* =========================================================
   TESTIMONIALS (Müşteri Yorumları)
   ========================================================= */
.mx-testimonials__head { max-width: 640px; margin: 0 auto; text-align: center; }

.mx-testimonials__grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}
@media (min-width: 768px) { .mx-testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mx-testimonials__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.mx-testimonial {
    position: relative;
    background: #fff;
    border: 1px solid var(--mx-border);
    border-radius: var(--mx-radius-lg);
    padding: 32px 26px 26px;
    box-shadow: var(--mx-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--mx-trans), transform var(--mx-trans);
}
.mx-testimonial:hover { box-shadow: var(--mx-shadow-md); transform: translateY(-3px); }

.mx-testimonial__quote {
    position: absolute;
    top: -14px; left: 22px;
    width: 36px; height: 36px;
    background: var(--mx-brand-700);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: var(--mx-shadow-md);
}
.mx-testimonial__quote .lucide { width: 18px; height: 18px; }

.mx-testimonial__stars {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    margin-bottom: 14px;
    margin-top: 8px;
}
.mx-testimonial__stars .lucide { width: 18px; height: 18px; fill: currentColor; }

.mx-testimonial__text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--mx-ink-soft);
    flex: 1;
}

.mx-testimonial__author {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--mx-border);
    display: flex;
    align-items: center;
    gap: 12px;
}
.mx-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mx-brand-600), var(--mx-brand-800));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    flex-shrink: 0;
}
.mx-testimonial__name { font-size: 14px; font-weight: 600; color: var(--mx-ink); }
.mx-testimonial__role { font-size: 12px; color: var(--mx-ink-mute); margin-top: 2px; }

/* =========================================================
   GUARANTEE / BG IMAGE BANNER (Kalite & Garanti)
   ========================================================= */
.mx-banner {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    padding: 96px 0;
    background-image:
        linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(30, 58, 138, 0.74) 100%),
        url("https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=2000&q=80");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}
@media (min-width: 1024px) {
    .mx-banner { background-attachment: fixed; padding: 140px 0; }
}
.mx-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 60% at 20% 100%, rgba(30, 58, 138, 0.55), transparent 60%),
        radial-gradient(50% 50% at 100% 0%, rgba(0, 0, 0, 0.35), transparent 70%);
    z-index: -1;
}

.mx-banner__inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.mx-banner h2 {
    color: #fff;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-top: 16px;
}
.mx-banner h2 span { color: #c7d2fe; }
.mx-banner p {
    margin: 18px auto 0;
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    max-width: 580px;
}
@media (min-width: 768px) { .mx-banner p { font-size: 18px; } }

.mx-banner__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--mx-radius-full);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.mx-banner__features {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 640px) { .mx-banner__features { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.mx-banner__feature {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: var(--mx-radius-lg);
    padding: 20px 18px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    text-align: center;
}
.mx-banner__feature .lucide {
    width: 28px; height: 28px;
    color: #ffffff;
    margin: 0 auto 10px;
}
.mx-banner__feature h4 { color: #ffffff; font-size: 15px; font-weight: 600; }
.mx-banner__feature p { font-size: 13px; color: rgba(255,255,255,0.78); margin-top: 4px; line-height: 1.5; }

/* Eski style.css'teki koyu h2/h4 renklerini ez — banner ve contact beyaz kalsın */
body.mx-modern .mx-banner,
body.mx-modern .mx-banner h2,
body.mx-modern .mx-banner h3,
body.mx-modern .mx-banner h4,
body.mx-modern .mx-banner__feature h4,
body.mx-modern .mx-banner p,
body.mx-modern .mx-banner__feature p {
    color: #ffffff !important;
}
body.mx-modern .mx-banner h2 span { color: #ffffff !important; }
body.mx-modern .mx-banner p,
body.mx-modern .mx-banner__feature p {
    color: rgba(255, 255, 255, 0.85) !important;
}

.mx-banner__cta {
    margin-top: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.mx-footer {
    background: var(--mx-brand-900);
    color: rgba(255,255,255,0.78);
    padding: 72px 0 32px;
}
.mx-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 768px) { .mx-footer__grid { grid-template-columns: 1.6fr 1fr 1.3fr; } }
.mx-footer__brand { display: flex; flex-direction: column; gap: 20px; }
.mx-footer__name { color: #fff; font-weight: 600; }
.mx-footer__desc { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.6; max-width: 420px; }
.mx-footer__social { display: flex; gap: 8px; }
.mx-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    transition: background var(--mx-trans);
}
.mx-footer__social a:hover { background: rgba(255,255,255,0.18); }
.mx-footer__social .lucide { width: 18px; height: 18px; }

.mx-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; font-weight: 600; }
.mx-footer a { color: rgba(255,255,255,0.78); font-size: 14px; }
.mx-footer a:hover { color: #fff; }
.mx-footer__links { display: flex; flex-direction: column; gap: 10px; }
.mx-footer__contact { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.mx-footer__contact li { display: flex; align-items: flex-start; gap: 12px; }
.mx-footer__contact .lucide { width: 16px; height: 16px; color: var(--mx-brand-200); flex-shrink: 0; margin-top: 3px; }

.mx-footer__bar {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}
@media (min-width: 640px) { .mx-footer__bar { flex-direction: row; } }

/* =========================================================
   WHATSAPP FAB
   ========================================================= */
.mx-wa {
    position: fixed;
    bottom: 18px; right: 18px;
    z-index: 55;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    box-shadow: var(--mx-shadow-lg);
    transition: transform var(--mx-trans);
}
.mx-wa:hover { transform: scale(1.06); color: #fff; }
.mx-wa::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.5);
    animation: mxPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes mxPing {
    0%   { transform: scale(1);   opacity: 0.8; }
    75%, 100% { transform: scale(1.8); opacity: 0; }
}
.mx-wa svg { width: 28px; height: 28px; position: relative; z-index: 2; }

/* =========================================================
   CONTACT (CTA panel)
   ========================================================= */
.mx-contact {
    padding: 56px 40px;
    background: linear-gradient(135deg, var(--mx-brand-800) 0%, var(--mx-brand-700) 100%);
    border-radius: var(--mx-radius-xl);
    color: #fff;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
    box-shadow: var(--mx-shadow-lg);
    position: relative;
    overflow: hidden;
}
@media (min-width: 900px) { .mx-contact { grid-template-columns: 1.4fr 1fr; padding: 72px 56px; } }
.mx-contact::before {
    content: "";
    position: absolute;
    right: -120px; top: -120px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
    border-radius: 50%;
}
.mx-contact h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); }
.mx-contact p { margin-top: 12px; color: rgba(255,255,255,0.8); max-width: 520px; }

/* Eski theme style.css'in h2 rengini ez — contact CTA tamamen beyaz kalır */
body.mx-modern .mx-contact,
body.mx-modern .mx-contact h1,
body.mx-modern .mx-contact h2,
body.mx-modern .mx-contact h2 span,
body.mx-modern .mx-contact p,
body.mx-modern .mx-contact .mx-pill {
    color: #ffffff !important;
}
body.mx-modern .mx-contact p { color: rgba(255,255,255,0.85) !important; }
.mx-contact__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}
@media (min-width: 900px) { .mx-contact__actions { justify-content: flex-end; } }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.mx-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}
.mx-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .mx-reveal { opacity: 1; transform: none; transition: none; }
    .mx-hero__slide { transition: opacity 0.2s; }
    .mx-marquee { animation-duration: 120s; }
}

/* =========================================================
   NEWS SIDE LAYOUT (haberler + ürünler + galeri 3 kolon)
   ========================================================= */
.mx-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 1024px) { .mx-columns { grid-template-columns: 1.3fr 1fr; gap: 40px; } }

.mx-block {
    background: #fff;
    border: 1px solid var(--mx-border);
    border-radius: var(--mx-radius-lg);
    padding: 26px;
    box-shadow: var(--mx-shadow-sm);
}
.mx-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.mx-block__title {
    font-size: 17px;
    font-weight: 600;
    color: var(--mx-ink);
}
.mx-block__all {
    font-size: 13px;
    font-weight: 500;
    color: var(--mx-brand-700);
}

.mx-news { display: grid; gap: 16px; }
@media (min-width: 640px) { .mx-news { grid-template-columns: 1fr 1fr; } }
.mx-news__item {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--mx-cloud-soft);
    transition: transform var(--mx-trans), box-shadow var(--mx-trans);
}
.mx-news__item:hover { transform: translateY(-3px); box-shadow: var(--mx-shadow); }
.mx-news__image { aspect-ratio: 16/10; overflow: hidden; background: var(--mx-cloud); }
.mx-news__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--mx-trans); }
.mx-news__item:hover .mx-news__image img { transform: scale(1.05); }
.mx-news__body { padding: 16px; }
.mx-news__title { font-size: 15px; font-weight: 600; color: var(--mx-ink); line-height: 1.35; }
.mx-news__excerpt { margin-top: 6px; font-size: 13px; color: var(--mx-ink-mute); line-height: 1.5; }
.mx-news__excerpt p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.mx-gal-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mx-gal-mini a {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 10px;
    background: var(--mx-cloud);
}
.mx-gal-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--mx-trans); }
.mx-gal-mini a:hover img { transform: scale(1.08); }

/* =========================================================
   BREADCRUMB / PAGE CONTENT (inner pages)
   ========================================================= */
.mx-page-hero {
    padding: 140px 0 56px;
    background: var(--mx-cloud-soft);
    border-bottom: 1px solid var(--mx-border);
    text-align: center;
}
.mx-page-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: var(--mx-ink);
}
.mx-page-hero p { margin-top: 12px; color: var(--mx-ink-mute); }

/* ---- Helpers ---- */
.mx-grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .mx-grid-2 { grid-template-columns: 1fr 1fr; } }

.mx-text-center { text-align: center; }
.mx-mt-6 { margin-top: 24px; }
.mx-mt-10 { margin-top: 40px; }

/* Focus styles (a11y) */
body.mx-modern a:focus-visible,
body.mx-modern button:focus-visible,
body.mx-modern input:focus-visible,
body.mx-modern textarea:focus-visible,
body.mx-modern select:focus-visible {
    outline: 2px solid var(--mx-brand-700);
    outline-offset: 2px;
    border-radius: 6px;
}

/* =========================================================
   İÇ SAYFA OVERRIDELARI (index/page/single/category)
   Mevcut style.css + modern header uyumu
   ========================================================= */

/* Modern header fixed — iç sayfalarda içerik üstten kapatılmasın */
body.mx-modern.home #mx-main { padding-top: 0; }
body.mx-modern:not(.home) main,
body.mx-modern:not(.home) #icerik,
body.mx-modern:not(.home) #baslik-alan {
    margin-top: 0;
}
body.mx-modern:not(.home) #baslik-alan {
    padding: 140px 20px 56px !important;
    background: var(--mx-cloud-soft) !important;
    border-bottom: 1px solid var(--mx-border);
    text-align: center;
    margin-bottom: 0 !important;
    background-image: none !important;
    height: auto !important;
}
body.mx-modern:not(.home) #baslik-alan h1 {
    font-size: clamp(28px, 4vw, 44px) !important;
    font-weight: 700 !important;
    color: var(--mx-ink) !important;
    text-align: center !important;
    letter-spacing: -0.02em;
}
body.mx-modern:not(.home) #icerik {
    padding: 56px 0 80px !important;
    background: #fff !important;
}
body.mx-modern:not(.home) #icerik .ortala {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

/* Post kartları modernize */
body.mx-modern:not(.home) #icerik .sol-alan .post {
    background: #fff;
    border: 1px solid var(--mx-border);
    border-radius: var(--mx-radius-lg);
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--mx-shadow-sm);
    transition: box-shadow var(--mx-trans), transform var(--mx-trans);
}
body.mx-modern:not(.home) #icerik .sol-alan .post:hover {
    box-shadow: var(--mx-shadow);
    transform: translateY(-2px);
}
body.mx-modern:not(.home) #icerik .sol-alan .post .resim {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}
body.mx-modern:not(.home) #icerik .sol-alan .post .alt .baslik a,
body.mx-modern:not(.home) #icerik .sol-alan .post .alt h2 a {
    color: var(--mx-ink);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.01em;
}
body.mx-modern:not(.home) #icerik .sol-alan .post:hover .alt .baslik a,
body.mx-modern:not(.home) #icerik .sol-alan .post:hover .alt h2 a {
    color: var(--mx-brand-700);
}
body.mx-modern:not(.home) #icerik .sol-alan .post .alt .ozet {
    color: var(--mx-ink-mute);
    line-height: 1.6;
}
body.mx-modern:not(.home) #icerik .sol-alan .post .alt .devam {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--mx-brand-700);
    color: #fff !important;
    border-radius: var(--mx-radius);
    font-weight: 600;
    font-size: 13px;
    border: 0;
    transition: background var(--mx-trans), box-shadow var(--mx-trans);
}
body.mx-modern:not(.home) #icerik .sol-alan .post .alt .devam:hover {
    background: var(--mx-brand-800);
    box-shadow: var(--mx-shadow-md);
}
body.mx-modern:not(.home) #icerik .sol-alan .post .resim .tarih {
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

/* Sayfalama */
body.mx-modern:not(.home) #icerik .sol-alan .sayfalama {
    margin-top: 24px;
}
body.mx-modern:not(.home) #icerik .sol-alan .sayfalama li a,
body.mx-modern:not(.home) #icerik .sol-alan .sayfalama li span {
    border-radius: 8px !important;
    border: 1px solid var(--mx-border) !important;
    background: #fff !important;
    transition: all var(--mx-trans);
}
body.mx-modern:not(.home) #icerik .sol-alan .sayfalama li a:hover {
    background: var(--mx-brand-700) !important;
    color: #fff !important;
    border-color: var(--mx-brand-700) !important;
}

/* Sidebar */
body.mx-modern:not(.home) #icerik .sag-alan,
body.mx-modern:not(.home) #icerik aside {
    background: transparent;
}
body.mx-modern:not(.home) #icerik .sag-alan .widget,
body.mx-modern:not(.home) #icerik aside .widget {
    background: var(--mx-cloud-soft);
    border: 1px solid var(--mx-border);
    border-radius: var(--mx-radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}
body.mx-modern:not(.home) #icerik .sag-alan .widget .baslik,
body.mx-modern:not(.home) #icerik aside .widget-title {
    color: var(--mx-ink) !important;
    font-weight: 600;
    font-size: 16px !important;
    margin-bottom: 12px !important;
    background: none !important;
    padding: 0 !important;
}

/* Ürün kategori / single görselleri modern */
body.mx-modern.urunkat #icerik .urun,
body.mx-modern:not(.home).urunkat #icerik .urun {
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: var(--mx-shadow-sm);
    transition: box-shadow var(--mx-trans), transform var(--mx-trans);
}
body.mx-modern.urunkat #icerik .urun:hover {
    transform: translateY(-4px);
    box-shadow: var(--mx-shadow-md);
}

/* Yorumlar — basit modern */
body.mx-modern #comments {
    background: var(--mx-cloud-soft);
    border: 1px solid var(--mx-border);
    border-radius: var(--mx-radius-lg);
    padding: 24px;
    margin-top: 40px;
}

/* Screen reader only */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.skip-link:focus {
    clip: auto !important;
    clip-path: none;
    background-color: var(--mx-brand-700);
    color: #fff;
    display: block;
    font-size: 14px;
    font-weight: 600;
    height: auto;
    left: 12px;
    padding: 12px 18px;
    text-decoration: none;
    top: 12px;
    width: auto;
    z-index: 100000;
    border-radius: 8px;
}

/* Google Translate banner fix (üstteki iframe) */
body.mx-modern.translated-ltr .mx-header,
body.mx-modern.translated-rtl .mx-header {
    top: 40px;
}

/* Çok kısa ekranlar için hero erişilebilirlik */
@media (max-height: 560px) {
    .mx-hero { height: 640px; }
}


/* =========================================================
   MOBIL OPTİMİZASYON (<=640px)
   Küçük telefonlarda taşma, sıkışma ve okunurluk düzeltmeleri.
   ========================================================= */
@media (max-width: 640px) {

    /* Section & container nefes alsın */
    .mx-section { padding: 48px 0; }
    .mx-container { padding: 0 16px; }

    /* Typography ölçekleri */
    .mx-h1 { font-size: clamp(30px, 9vw, 42px); }
    .mx-h2 { font-size: clamp(24px, 7vw, 32px); }
    .mx-lead { font-size: 15px; }

    /* Hero: daha kompakt, dolgun görünür */
    .mx-hero { min-height: 500px; height: 90svh; }
    .mx-hero__content { padding: 16px; }
    .mx-hero__chip { font-size: 11px; padding: 5px 12px; }
    .mx-hero__title { margin-top: 16px; }
    .mx-hero__sub { font-size: 15px; margin-top: 14px; }
    .mx-hero__actions { margin-top: 24px; gap: 10px; }
    .mx-hero__actions .mx-btn { padding: 12px 18px; font-size: 14px; }
    .mx-hero__trust { margin-top: 28px; gap: 16px; font-size: 12px; }
    .mx-hero__dots { bottom: 14px; }

    /* Hizmetler: tek sütun */
    .mx-services__grid { gap: 14px; }

    /* About statistikler 2 sütun daha sıkı */
    .mx-stats { gap: 12px; }

    /* Banner: padding ve CTA yığılması */
    .mx-banner { padding: 64px 0; }
    .mx-banner__cta { flex-direction: column; align-items: stretch; }
    .mx-banner__cta .mx-btn { width: 100%; justify-content: center; }

    /* Testimonials tek sütun — padding azalt */
    .mx-testimonial { padding: 24px 20px; }

    /* İletişim CTA: dikey */
    .mx-contact { padding: 36px 24px; border-radius: 16px; }
    .mx-contact__actions { width: 100%; }
    .mx-contact__actions .mx-btn { width: 100%; justify-content: center; }

    /* Footer daha sıkı */
    .mx-footer { padding: 56px 0 28px; }
    .mx-footer__grid { gap: 32px; }

    /* WhatsApp FAB: ekran kenarlarına daha yakın, sabit butonla çakışmasın */
    .mx-wa { width: 52px; height: 52px; bottom: 14px; right: 14px; }
    .mx-wa svg { width: 26px; height: 26px; }

    /* Ürün marquee kartları — daha küçük ekranda yüksek kalmasın */
    .mx-products__card { width: 220px; height: 180px; }
    .mx-products__card .mx-products__label .ttl { font-size: 14px; }

    /* Sayfa en altında FAB butonların contacts CTA'yı kapatmaması için altta pay */
    main#mx-main { padding-bottom: 8px; }
}


/* Aşırı dar ekranlar (iPhone SE vb.) */
@media (max-width: 380px) {
    .mx-header__inner { height: 56px; }
    .mx-logo--image .mx-logo__img { max-width: 130px; height: 34px; }
    .mx-logo__name { font-size: 13px; max-width: 130px; }
    .mx-logo__mark { width: 34px; height: 34px; font-size: 12px; }
    .mx-hero__sub { font-size: 14px; }
    .mx-products__card { width: 200px; height: 160px; }
}
