/* =========================================================================
   APX-TENANT.CSS — Sprint 27 + 29 + 30
   Bayi sitelerinin HQ'dan farklılaştırılması + premium bayi tasarım sistemi.
   ========================================================================= */

/* ─── 0. BAYI DESIGN TOKENS ─────────────────────────────────── */
.apx-tenant-site {
    /* 2026-06: Bayi marka rengi artik tenant override'indan (--apx-brand / tenant_brand_css)
       beslenir. Bayi panelden renk secince preheader/FAB/harita/footer/nav o renge doner.
       Override yoksa #FFB200 (HQ sari) varsayilani korunur; deep/soft/glow color-mix ile turetilir. */
    --apx-bayi-brand:        var(--apx-brand, #FFB200);
    --apx-bayi-brand-deep:   color-mix(in srgb, var(--apx-bayi-brand) 70%, #000);
    --apx-bayi-brand-soft:   color-mix(in srgb, var(--apx-bayi-brand) 10%, transparent);
    --apx-bayi-brand-glow:   color-mix(in srgb, var(--apx-bayi-brand) 20%, transparent);

    --apx-bayi-ink-1:        #0a0907;
    --apx-bayi-ink-2:        rgba(10, 9, 7, 0.72);
    --apx-bayi-ink-3:        rgba(10, 9, 7, 0.52);
    --apx-bayi-ink-4:        rgba(10, 9, 7, 0.32);

    --apx-bayi-surface-1:    #ffffff;
    --apx-bayi-surface-2:    #f7f6f3;
    --apx-bayi-surface-3:    #efece5;
    --apx-bayi-surface-dark: #0a0907;
    --apx-bayi-surface-dim:  #14130f;

    --apx-bayi-border:       rgba(10, 9, 7, 0.08);
    --apx-bayi-border-hi:    rgba(10, 9, 7, 0.14);

    --apx-bayi-radius-sm:    8px;
    --apx-bayi-radius-md:    14px;
    --apx-bayi-radius-lg:    20px;
    --apx-bayi-radius-xl:    28px;
    --apx-bayi-radius-pill:  999px;

    --apx-bayi-shadow-sm:    0 2px 8px rgba(10, 9, 7, 0.04), 0 1px 2px rgba(10, 9, 7, 0.06);
    --apx-bayi-shadow-md:    0 8px 24px rgba(10, 9, 7, 0.06), 0 2px 6px rgba(10, 9, 7, 0.04);
    --apx-bayi-shadow-lg:    0 16px 48px rgba(10, 9, 7, 0.10), 0 4px 12px rgba(10, 9, 7, 0.06);
    --apx-bayi-shadow-glow:  0 12px 36px rgba(255, 178, 0, 0.18);

    --apx-bayi-section-y:    clamp(64px, 8vw, 112px);
    --apx-bayi-section-y-sm: clamp(48px, 6vw, 80px);
    --apx-bayi-container-pad: clamp(20px, 4vw, 48px);
}

/* ─── 1. HQ-ONLY BLOCK GİZLEME → KALDIRILDI (Sprint 32) ───────
   Sprint 27-30'da bayide 3D, KPI, image sequence, pinned services, irona
   video, on-dark light variant, process steps, pricing-section, sağ FAB
   gizlenmişti. Kullanıcı isteğiyle GERİ ALINDI — bayide HQ ile aynı tam
   içerik akışı + bayi-özel ek block'lar (stats, trust, map) yan yana.
   ─────────────────────────────────────────────────────────────── */

/* ─── 3. HEADER PRE-HEADER STRIP ─────────────────────────────── */
:root { --apx-preheader-h: 38px; }
@media (max-width: 768px) {
    :root { --apx-preheader-h: 0px; }
}
.apx-bayi-preheader {
    background: linear-gradient(180deg, #0a0907 0%, #14130f 100%);
    color: rgba(255,255,255,.78);
    font-size: 12.5px;
    border-bottom: 1px solid rgba(255,178,0,.14);
    position: relative;
    z-index: 90;
    height: var(--apx-preheader-h);
}
.apx-bayi-preheader__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 38px;
    padding: 6px 0;
    gap: 16px;
    flex-wrap: wrap;
}
.apx-bayi-preheader__group {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.apx-bayi-preheader__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.78);
    text-decoration: none;
    transition: color .15s ease;
}
.apx-bayi-preheader__item:hover { color: var(--apx-bayi-brand); }
.apx-bayi-preheader__item svg {
    width: 13px; height: 13px;
    color: var(--apx-bayi-brand);
    flex-shrink: 0;
}
.apx-bayi-preheader__divider {
    display: inline-block; width: 1px; height: 12px;
    background: rgba(255,255,255,.18);
}
.apx-bayi-preheader__cta {
    background: var(--apx-bayi-brand);
    color: #0a0907 !important;
    padding: 6px 14px;
    border-radius: var(--apx-bayi-radius-pill);
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .2s ease;
}
.apx-bayi-preheader__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 178, 0, 0.32);
    color: #0a0907 !important;
}
@media (max-width: 768px) { .apx-bayi-preheader { display: none; } }

/* ─── 4. SOL STICKY FAB ──────────────────────────────────────── */
.apx-fab-left {
    position: fixed; left: 16px; bottom: 24px;
    z-index: 50;
    display: flex; flex-direction: column; gap: 10px;
}
.apx-fab-left__item {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--apx-bayi-brand);
    color: #000;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(255, 178, 0, 0.35), 0 2px 6px rgba(0,0,0,0.10);
    transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .2s ease;
}
.apx-fab-left__item--whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.40), 0 2px 6px rgba(0,0,0,0.10);
}
.apx-fab-left__item:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 14px 32px rgba(255, 178, 0, 0.42), 0 4px 8px rgba(0,0,0,0.10);
}
.apx-fab-left__item--whatsapp:hover {
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.48), 0 4px 8px rgba(0,0,0,0.10);
}
.apx-fab-left__item svg { width: 24px; height: 24px; }
.apx-fab-left__item span { display: none; }
@media (max-width: 768px) {
    /* Mobilde sol FAB gizlenir: alttaki mobil bar (ARA / WHATSAPP / REZERVASYON)
       zaten arama + WhatsApp sağlıyor. Aksi halde FAB hero içeriğinin üzerine
       biniyor ve işlevi tekrarlıyordu. (UX fix, 2026-05-31) */
    .apx-fab-left { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .apx-fab-left__item { transition: none; }
    .apx-fab-left__item:hover { transform: none; }
}

/* =========================================================================
   ─── 5. BAYI SECTION SİSTEMİ ─────────────────────────────────────────────
   ========================================================================= */

.apx-bayi-section {
    padding: var(--apx-bayi-section-y) 0;
    position: relative;
}
.apx-bayi-section--light {
    background: var(--apx-bayi-surface-1);
    color: var(--apx-bayi-ink-1);
}
.apx-bayi-section--soft {
    background: var(--apx-bayi-surface-2);
    color: var(--apx-bayi-ink-1);
}
.apx-bayi-section--dark {
    background: var(--apx-bayi-surface-dark);
    color: #fff;
}

/* Bölüm başlık tipografisi */
.apx-bayi-chip {
    display: inline-block;
    padding: 6px 14px;
    background: var(--apx-bayi-brand-soft);
    color: var(--apx-bayi-brand-deep);
    border-radius: var(--apx-bayi-radius-pill);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    margin-bottom: 16px;
}
.apx-bayi-section-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(28px, 3.4vw, 46px);
    font-weight: 700;
    line-height: 1.12;
    color: var(--apx-bayi-ink-1);
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}
.apx-bayi-section-lead {
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.62;
    color: var(--apx-bayi-ink-2);
    max-width: 64ch;
    margin: 0;
}
.apx-bayi-section--dark .apx-bayi-chip {
    background: rgba(255, 178, 0, 0.16);
    color: var(--apx-bayi-brand);
}
.apx-bayi-section--dark .apx-bayi-section-title { color: #fff; }
.apx-bayi-section--dark .apx-bayi-section-lead { color: rgba(255,255,255,0.72); }

/* =========================================================================
   ─── 6. BAYI STATS STRIP (hero altı, dark→light bridge) ─────────────
   ========================================================================= */

.apx-bayi-stats-strip {
    background: linear-gradient(180deg, #0a0907 0%, #14130f 60%, #1a1815 100%);
    color: #fff;
    padding: clamp(48px, 6vw, 80px) 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,178,0,0.10);
    border-bottom: 1px solid rgba(255,178,0,0.10);
}
.apx-bayi-stats-strip::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(255,178,0,0.06) 0%, transparent 65%),
        radial-gradient(ellipse 40% 60% at 20% 70%, rgba(255,178,0,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.apx-bayi-stats-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 40px);
    position: relative; z-index: 1;
}
.apx-bayi-stat {
    text-align: center;
    padding: 20px 12px;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.apx-bayi-stat:last-child { border-right: none; }
.apx-bayi-stat__icon {
    color: var(--apx-bayi-brand) !important;
    margin-bottom: 14px !important;
}
.apx-bayi-stat__value {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 700;
    line-height: 1;
    color: var(--apx-bayi-brand);
    letter-spacing: -0.025em;
    margin-bottom: 6px;
}
.apx-bayi-stat__label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.70);
    letter-spacing: 0.02em;
}
@media (max-width: 768px) {
    .apx-bayi-stats-strip__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .apx-bayi-stat {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 16px 8px;
    }
    .apx-bayi-stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* =========================================================================
   ─── 7. BAYI LOCAL TRUST (Google + sertifika + alıntı) ──────────────
   ========================================================================= */

.apx-bayi-local-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 3vw, 32px);
    align-items: stretch;
}
.apx-bayi-trust-card {
    background: var(--apx-bayi-surface-1);
    border: 1px solid var(--apx-bayi-border);
    border-radius: var(--apx-bayi-radius-lg);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: var(--apx-bayi-shadow-sm);
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.apx-bayi-trust-card:hover {
    box-shadow: var(--apx-bayi-shadow-md);
    border-color: var(--apx-bayi-border-hi);
    transform: translateY(-2px);
}
.apx-bayi-trust-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.apx-bayi-trust-card__logo {
    width: 48px; height: 48px;
    background: var(--apx-bayi-surface-2);
    border-radius: var(--apx-bayi-radius-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.apx-bayi-trust-card__logo svg { width: 28px; height: 28px; }
.apx-bayi-trust-card__score {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--apx-bayi-ink-1);
    line-height: 1;
    letter-spacing: -0.02em;
}
.apx-bayi-trust-card__score sup {
    font-size: 14px;
    color: var(--apx-bayi-ink-3);
    font-weight: 500;
    margin-left: 2px;
    vertical-align: top;
    top: 0.4em;
    position: relative;
}
.apx-bayi-trust-card__stars {
    color: var(--apx-bayi-brand);
    font-size: 16px;
    letter-spacing: 0.05em;
    margin-top: 4px;
}
.apx-bayi-trust-card__text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--apx-bayi-ink-2);
    margin: 0;
}
.apx-bayi-trust-card__text strong { color: var(--apx-bayi-ink-1); font-weight: 700; }

@media (max-width: 768px) {
    .apx-bayi-local-trust { grid-template-columns: 1fr; }
}

/* =========================================================================
   ─── 8. BAYI MAP SECTION (full-width harita + glassmorphism info) ───
   ========================================================================= */

.apx-bayi-map-section {
    padding: var(--apx-bayi-section-y) 0;
    background: var(--apx-bayi-surface-2);
    position: relative;
    overflow: hidden;
}
/* Yumuşak marka tonlu dekoratif arka plan */
.apx-bayi-map-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 85% 12%, rgba(255, 178, 0, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 50% 45% at 8% 90%, rgba(255, 178, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
}
.apx-bayi-map-section > .apx-container { position: relative; z-index: 1; }
.apx-bayi-map-wrap {
    position: relative;
    border-radius: var(--apx-bayi-radius-xl);
    overflow: hidden;
    box-shadow: var(--apx-bayi-shadow-lg), 0 0 0 1px rgba(10, 9, 7, 0.06);
    aspect-ratio: 16 / 9;
    max-height: 580px;
    background: var(--apx-bayi-surface-3);
}
.apx-bayi-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: saturate(1.05);
}
.apx-bayi-map-info {
    position: absolute;
    bottom: 24px;
    left: 24px;
    width: min(360px, calc(100% - 48px));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-radius: var(--apx-bayi-radius-lg);
    padding: 24px 24px 22px;
    box-shadow: 0 20px 56px rgba(10, 9, 7, 0.22), 0 2px 8px rgba(10, 9, 7, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
}
/* Marka aksan çubuğu (üst kenar) */
.apx-bayi-map-info::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--apx-bayi-brand), rgba(255, 178, 0, 0.35));
}
.apx-bayi-map-info__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--apx-bayi-ink-1);
    margin: 4px 0 12px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.apx-bayi-map-info__title::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--apx-bayi-brand);
    box-shadow: 0 0 0 4px rgba(255, 178, 0, 0.18);
    flex: 0 0 7px;
}
.apx-bayi-map-info__addr {
    font-size: 13px;
    line-height: 1.55;
    color: var(--apx-bayi-ink-2);
    margin: 0 0 8px;
}
.apx-bayi-map-info__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--apx-bayi-brand);
    color: #0a0907;
    padding: 8px 16px;
    border-radius: var(--apx-bayi-radius-pill);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .2s ease;
}
.apx-bayi-map-info__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 178, 0, 0.32);
    color: #0a0907;
}
@media (max-width: 768px) {
    .apx-bayi-map-wrap { aspect-ratio: 4 / 5; max-height: none; border-radius: var(--apx-bayi-radius-lg); }
    .apx-bayi-map-info {
        bottom: 16px; left: 16px;
        width: calc(100% - 32px);
        padding: 18px;
    }
}

/* =========================================================================
   ─── 9. SECTION TRANSITION SMOOTH BRIDGE ────────────────────────────
   Dark hero → light section geçişi için yumuşatma
   ========================================================================= */

.apx-tenant-site .apx-bayi-section--light + .apx-bayi-section--light,
.apx-tenant-site .apx-bayi-section--soft + .apx-bayi-section--light {
    padding-top: var(--apx-bayi-section-y-sm); /* iki light section ardarda gelirse üstte kırılım azalır */
}

/* Hero (apx-hero) altındaki ilk light section'a hafif gradient bridge */
.apx-tenant-site .apx-hero + .apx-bayi-section--light::before {
    content: '';
    position: absolute;
    top: -40px; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(180deg, transparent 0%, var(--apx-bayi-surface-1) 100%);
    pointer-events: none;
    z-index: 1;
}

/* =========================================================================
   ─── 10. HERO PADDING (preheader yüksekliği telafi) ──────────────────
   ========================================================================= */
/* Header sticky değilse boşluk eklemeye gerek yok; sticky ise hero
   üstüne preheader yüksekliği ekleniyor mu kontrolü site-spec. Burada
   güvenli no-op; tenant_url() refactor sonrası gerek yok. */

/* =========================================================================
   ─── 11. KARTLI BLOCK'LARDA TUTARLI HOVER LIFT ──────────────────────
   ========================================================================= */

.apx-tenant-site .apx-media-card,
.apx-tenant-site .apx-svc-card,
.apx-tenant-site .apx-blog-card,
.apx-tenant-site .apx-pj-card {
    transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s ease;
}
.apx-tenant-site .apx-media-card:hover,
.apx-tenant-site .apx-svc-card:hover,
.apx-tenant-site .apx-blog-card:hover,
.apx-tenant-site .apx-pj-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--apx-bayi-shadow-lg);
}

/* =========================================================================
   ─── 12. CTA BANNER (footer öncesi) ──────────────────────────────────
   ========================================================================= */
/* HQ'da .apx-cta-banner cinematic dark gradient; bayide de aynı kalır
   ama text-on-dark contrast düzeltmesi gerekirse buraya eklenebilir. */
.apx-tenant-site .apx-cta-banner {
    background: linear-gradient(135deg, #0a0907 0%, #1a1815 50%, #0a0907 100%);
}

/* =========================================================================
   ─── 13. AKSESUAR — BAYIDE TUTARLI BUTON OUTLINE ─────────────────────
   ========================================================================= */

.apx-tenant-site .apx-btn-outline-dark {
    border-color: var(--apx-bayi-border-hi) !important;
    color: var(--apx-bayi-ink-1) !important;
}
.apx-tenant-site .apx-btn-outline-dark:hover {
    background: var(--apx-bayi-ink-1) !important;
    color: #fff !important;
    border-color: var(--apx-bayi-ink-1) !important;
}

/* =========================================================================
   ─── 14. PRINT — FAB'lar baskıda gizlensin ───────────────────────────
   ========================================================================= */
@media print {
    .apx-bayi-preheader,
    .apx-fab-left,
    .apx-mobile-bottom-bar { display: none !important; }
}

/* =========================================================================
   ─── 15. HERO BAYI VARYANTI ───────────────────────────────────────────
   ========================================================================= */
.apx-tenant-site .apx-hero-irona-eyebrow {
    background: rgba(255, 178, 0, 0.16);
    color: var(--apx-bayi-brand);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    border: 1px solid rgba(255, 178, 0, 0.32);
    backdrop-filter: blur(8px);
}
.apx-tenant-site .apx-hero-irona-trust {
    color: rgba(255, 255, 255, 0.72) !important;
    background: rgba(0, 0, 0, 0.28);
    padding: 8px 16px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    display: inline-block !important;
    max-width: none !important;
}

/* =========================================================================
   ─── 16. STATS STRIP COUNTER REFINEMENT ──────────────────────────────
   ========================================================================= */
.apx-bayi-stat__value {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}
.apx-bayi-stat__num { font-weight: inherit; }
.apx-bayi-stat__suffix {
    font-size: 0.7em;
    opacity: 0.85;
    margin-left: 2px;
    font-weight: 600;
}

/* =========================================================================
   ─── 17. CTA BANNER BAYI PREMIUM ─────────────────────────────────────
   ========================================================================= */
.apx-tenant-site .apx-cta-banner {
    background:
        radial-gradient(ellipse 60% 100% at 20% 30%, rgba(255,178,0,0.10) 0%, transparent 60%),
        linear-gradient(135deg, #0a0907 0%, #1a1815 50%, #0a0907 100%) !important;
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 9vw, 120px) 0;
}
.apx-tenant-site .apx-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 60%; height: 200%;
    background: radial-gradient(ellipse, rgba(255,178,0,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.apx-tenant-site .apx-cta-banner .apx-btn-primary {
    box-shadow: 0 12px 36px rgba(255, 178, 0, 0.32);
    padding: 16px 32px !important;
    font-size: 16px !important;
}
.apx-tenant-site .apx-cta-banner .apx-btn-secondary,
.apx-tenant-site .apx-cta-banner .apx-btn-ghost,
.apx-tenant-site .apx-cta-banner .apx-btn-outline {
    background: rgba(37, 211, 102, 0.92) !important;
    color: #fff !important;
    border-color: rgba(37, 211, 102, 0.92) !important;
}
.apx-tenant-site .apx-cta-banner .apx-btn-secondary:hover,
.apx-tenant-site .apx-cta-banner .apx-btn-ghost:hover,
.apx-tenant-site .apx-cta-banner .apx-btn-outline:hover {
    background: #1faf57 !important;
    border-color: #1faf57 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.42);
}

/* =========================================================================
   ─── 18. TRUST CARD STAR ICON ────────────────────────────────────────
   ========================================================================= */
.apx-bayi-trust-card__stars {
    display: inline-flex;
    gap: 2px;
    align-items: center;
    color: var(--apx-bayi-brand);
    margin-top: 4px;
}

/* =========================================================================
   ─── 19. CERT CHIP (sertifika rozet) ─────────────────────────────────
   ========================================================================= */
.apx-bayi-cert-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    background: var(--apx-bayi-surface-1);
    color: var(--cert-color, var(--apx-bayi-ink-1));
    border: 1.5px solid var(--cert-color, var(--apx-bayi-border-hi));
    border-radius: var(--apx-bayi-radius-pill);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    transition: transform .2s ease, box-shadow .2s ease;
}
.apx-bayi-cert-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(10, 9, 7, 0.10);
}

/* =========================================================================
   ─── 20. MAP INFO ACTIONS (3 CTA: Yol Tarifi + Ara + WhatsApp) ───────
   ========================================================================= */
.apx-bayi-map-info__actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.apx-bayi-map-info__cta--primary {
    background: var(--apx-bayi-brand);
    color: #0a0907;
}
.apx-bayi-map-info__cta--ghost {
    background: rgba(10, 9, 7, 0.06);
    color: var(--apx-bayi-ink-1);
}
.apx-bayi-map-info__cta--ghost:hover {
    background: rgba(10, 9, 7, 0.10);
    color: var(--apx-bayi-ink-1);
    transform: translateY(-1px);
}
.apx-bayi-map-info__cta--whatsapp {
    background: #25D366;
    color: #fff !important;
}
.apx-bayi-map-info__cta--whatsapp:hover {
    background: #1faf57;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.32);
}

/* =========================================================================
   ─── 21. SERVICE CARDS + BEFORE/AFTER GALLERY REFINEMENT ────────────
   ========================================================================= */
.apx-tenant-site .apx-services-grid,
.apx-tenant-site .apx-svc-grid {
    gap: clamp(20px, 2.4vw, 32px) !important;
}
.apx-tenant-site .apx-media-card {
    border-radius: var(--apx-bayi-radius-lg) !important;
    overflow: hidden;
    background: var(--apx-bayi-surface-1);
    border: 1px solid var(--apx-bayi-border);
}
.apx-tenant-site .apx-media-card img {
    transition: transform .55s cubic-bezier(0.16, 1, 0.3, 1);
}
.apx-tenant-site .apx-media-card:hover img {
    transform: scale(1.06);
}
.apx-tenant-site .apx-media-card .apx-media-card__title,
.apx-tenant-site .apx-media-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.01em;
}

/* Before/After Gallery — bayide premium */
.apx-tenant-site .apx-ba {
    padding: var(--apx-bayi-section-y) 0 !important;
    background: var(--apx-bayi-surface-2);
}
.apx-tenant-site .apx-ba__item,
.apx-tenant-site .apx-ba-card {
    border-radius: var(--apx-bayi-radius-lg);
    overflow: hidden;
    box-shadow: var(--apx-bayi-shadow-md);
    transition: transform .25s ease, box-shadow .25s ease;
}
.apx-tenant-site .apx-ba__item:hover,
.apx-tenant-site .apx-ba-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--apx-bayi-shadow-lg);
}

/* FAQ Accordion — bayide refinement */
.apx-tenant-site .apx-faq {
    background: var(--apx-bayi-surface-1) !important;
    padding: var(--apx-bayi-section-y) 0 !important;
}
.apx-tenant-site .apx-faq__item,
.apx-tenant-site .apx-faq-item {
    border-radius: var(--apx-bayi-radius-md);
    border: 1px solid var(--apx-bayi-border);
    margin-bottom: 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.apx-tenant-site .apx-faq__item:hover,
.apx-tenant-site .apx-faq-item:hover {
    border-color: var(--apx-bayi-border-hi);
    box-shadow: var(--apx-bayi-shadow-sm);
}
.apx-tenant-site .apx-faq__item[open],
.apx-tenant-site .apx-faq-item.is-open {
    border-color: var(--apx-bayi-brand);
    background: var(--apx-bayi-brand-soft);
}

/* Reviews Infinite marquee — bayide kart border refinement */
.apx-tenant-site .apx-reviews,
.apx-tenant-site .apx-reviews-section {
    background: var(--apx-bayi-surface-2) !important;
    padding: var(--apx-bayi-section-y) 0 !important;
}
.apx-tenant-site .apx-review-card,
.apx-tenant-site .apx-rv-card {
    background: var(--apx-bayi-surface-1) !important;
    border: 1px solid var(--apx-bayi-border) !important;
    border-radius: var(--apx-bayi-radius-lg) !important;
    box-shadow: var(--apx-bayi-shadow-sm);
}

/* About Split — bayide premium */
.apx-tenant-site .apx-about {
    padding: var(--apx-bayi-section-y) 0 !important;
}

/* Brand Statement — bayide soft */
.apx-tenant-site .apx-brand-statement {
    background: var(--apx-bayi-surface-1) !important;
    padding: clamp(48px, 6vw, 80px) 0 !important;
}

/* =========================================================================
   ─── 22. HEADER BAYI POLISH ───────────────────────────────────────────
   ========================================================================= */
.apx-tenant-site .apx-header {
    background: rgba(10, 9, 7, 0.92);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.apx-tenant-site .apx-nav-link {
    position: relative;
    transition: color .2s ease;
}
.apx-tenant-site .apx-nav-link.is-active,
.apx-tenant-site .apx-nav-link[aria-current="page"] {
    color: var(--apx-bayi-brand) !important;
}
.apx-tenant-site .apx-nav-link.is-active::after,
.apx-tenant-site .apx-nav-link[aria-current="page"]::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 2px;
    background: var(--apx-bayi-brand);
    border-radius: 2px;
}
/* Header lokasyon chip (bayi-only) */
.apx-header-location-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(255, 178, 0, 0.14);
    color: var(--apx-bayi-brand);
    border: 1px solid rgba(255, 178, 0, 0.28);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-left: 12px;
    vertical-align: middle;
}
.apx-header-location-chip svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}
/* Desktop: header chip görünür, mobile: gizli (mobile menu içinde ayrıca gösterilir) */
@media (max-width: 991.98px) {
    .apx-header-location-chip:not(.apx-mobile-location-chip) { display: none; }
}
/* Mobil header CTA — desktop'ta gizli, tablet/mobile'da görünür */
.apx-tenant-site .apx-header-mobile-cta {
    display: none;
}
@media (max-width: 991.98px) {
    .apx-tenant-site .apx-header-mobile-cta {
        display: inline-flex;
        align-items: center;
        font-size: 12px;
        padding: 8px 14px;
        margin-right: 4px;
    }
}
@media (max-width: 374.98px) {
    .apx-tenant-site .apx-header-mobile-cta {
        font-size: 11px;
        padding: 7px 10px;
    }
}

/* =========================================================================
   ─── 23. FOOTER PREMIUM ───────────────────────────────────────────────
   ========================================================================= */
.apx-tenant-site .apx-footer {
    background: linear-gradient(180deg, #0a0907 0%, #050505 100%);
    padding-top: clamp(56px, 7vw, 88px);
    padding-bottom: 32px;
}
.apx-tenant-site .apx-footer-grid,
.apx-tenant-site .apx-footer-cols,
.apx-tenant-site .apx-footer-inner {
    gap: clamp(28px, 3vw, 48px);
}
.apx-tenant-site .apx-footer h3,
.apx-tenant-site .apx-footer h4,
.apx-tenant-site .apx-footer .apx-footer-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 18px;
    font-weight: 700;
}
.apx-tenant-site .apx-footer a {
    color: rgba(255, 255, 255, 0.70);
    transition: color .15s ease;
}
.apx-tenant-site .apx-footer a:hover {
    color: var(--apx-bayi-brand);
}
/* Sosyal medya ikonları — refined yuvarlak butonlar */
.apx-tenant-site .apx-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    margin-right: 8px;
    transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), background .2s ease, border-color .2s ease;
}
.apx-tenant-site .apx-footer-social a:hover {
    background: var(--apx-bayi-brand);
    border-color: var(--apx-bayi-brand);
    color: #0a0907 !important;
    transform: translateY(-2px);
}
.apx-tenant-site .apx-footer-social a svg {
    fill: currentColor;
    width: 16px;
    height: 16px;
}
.apx-tenant-site .apx-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    margin-top: clamp(40px, 5vw, 64px);
    color: rgba(255, 255, 255, 0.50);
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}
/* Bayi footer iletişim kolonu — büyük telefon */
.apx-tenant-site .apx-footer-contact-phone {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 700;
    color: var(--apx-bayi-brand) !important;
    letter-spacing: 0.02em;
    display: inline-block;
    margin-bottom: 4px;
}
.apx-tenant-site .apx-footer-contact-phone:hover {
    color: #ffd050 !important;
}

/* =========================================================================
   ─── 24. MOBILE MENU DRAWER POLISH ───────────────────────────────────
   ========================================================================= */
.apx-tenant-site .apx-mobile-menu,
.apx-tenant-site .apx-mobile-drawer {
    background: linear-gradient(180deg, #0a0907 0%, #14130f 100%);
}
/* Mobile menu header satırı — close + chip yan yana */
.apx-tenant-site .apx-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
}
/* Mobil lokasyon chip — drawer içi */
.apx-mobile-location-chip {
    display: inline-flex !important;
    margin-left: 0;
}
.apx-tenant-site .apx-mobile-menu a,
.apx-tenant-site .apx-mobile-drawer a {
    color: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
    font-size: 16px;
    font-weight: 500;
    transition: color .15s ease, padding-left .2s ease;
}
.apx-tenant-site .apx-mobile-menu a:hover,
.apx-tenant-site .apx-mobile-menu a.is-active,
.apx-tenant-site .apx-mobile-menu a[aria-current="page"] {
    color: var(--apx-bayi-brand);
    padding-left: 8px;
}
/* Randevu Al CTA — mobile menu actions premium */
.apx-tenant-site .apx-mobile-cta-reservation {
    width: 100%;
    justify-content: center;
    font-size: 15px !important;
    padding: 14px 20px !important;
    margin-bottom: 8px;
}
.apx-tenant-site .apx-mobile-cta-whatsapp {
    background: rgba(37, 211, 102, 0.12) !important;
    border-color: rgba(37, 211, 102, 0.35) !important;
    color: #25d366 !important;
}
.apx-tenant-site .apx-mobile-cta-whatsapp:hover {
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: #fff !important;
}

/* =========================================================================
   ─── 25. RESPONSIVE BREAKPOINT REFINEMENTS ───────────────────────────
   ========================================================================= */
/* 360px ultra-small mobile */
@media (max-width: 374.98px) {
    .apx-tenant-site .apx-hero-irona-title { font-size: clamp(32px, 11vw, 44px) !important; line-height: 1.05 !important; }
    .apx-tenant-site .apx-hero-irona-desc { font-size: 14px !important; }
    .apx-tenant-site .apx-hero-irona-actions { flex-direction: column !important; width: 100%; gap: 10px !important; }
    .apx-tenant-site .apx-hero-irona-btn { width: 100%; justify-content: center; }
    .apx-tenant-site .apx-bayi-section-title { font-size: clamp(22px, 6vw, 28px) !important; }
    .apx-bayi-preheader { display: none; }
}
/* 390-575px mobile */
@media (max-width: 575.98px) {
    .apx-tenant-site .apx-container,
    .apx-tenant-site .apx-container-wide { padding-left: 16px !important; padding-right: 16px !important; }
    .apx-tenant-site .apx-bayi-section { padding: var(--apx-bayi-section-y-sm) 0; }
    .apx-tenant-site .apx-cta-banner { padding: clamp(48px, 8vw, 72px) 0 !important; }
}
/* 768px tablet */
@media (min-width: 576px) and (max-width: 991.98px) {
    .apx-tenant-site .apx-bayi-local-trust { grid-template-columns: 1fr; gap: 20px; }
    .apx-tenant-site .apx-bayi-stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
}
/* 1366-1440px laptop refinement */
@media (min-width: 1280px) and (max-width: 1599.98px) {
    .apx-tenant-site .apx-container-wide { max-width: 1280px; padding-left: 32px; padding-right: 32px; }
}
/* 1920px wide */
@media (min-width: 1600px) {
    .apx-tenant-site .apx-container-wide { max-width: 1400px; }
}

/* =========================================================================
   ─── 26. ACCESSIBILITY — FOCUS RING + CONTRAST ───────────────────────
   ========================================================================= */
.apx-tenant-site a:focus-visible,
.apx-tenant-site button:focus-visible,
.apx-tenant-site input:focus-visible,
.apx-tenant-site textarea:focus-visible,
.apx-tenant-site select:focus-visible {
    outline: 3px solid var(--apx-bayi-brand);
    outline-offset: 3px;
    border-radius: 4px;
}
.apx-tenant-site .apx-fab-left__item:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}
.apx-tenant-site .apx-btn:focus-visible,
.apx-tenant-site .apx-hero-irona-btn:focus-visible {
    outline-offset: 4px;
}
/* Skip-to-content — klavye + screen reader (mevcut .apx-skip de kapsar) */
.apx-tenant-site .apx-skip,
.apx-tenant-site .apx-skip-link {
    position: absolute;
    top: -100px;
    left: 8px;
    z-index: 9999;
    padding: 8px 16px;
    background: var(--apx-bayi-brand);
    color: #0a0907;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: top .2s ease;
}
.apx-tenant-site .apx-skip:focus,
.apx-tenant-site .apx-skip-link:focus {
    top: 8px;
}
/* Min tap target — mobil tıklama alanı en az 44x44px */
@media (pointer: coarse) {
    .apx-tenant-site .apx-nav-link,
    .apx-tenant-site .apx-footer a,
    .apx-tenant-site .apx-btn { min-height: 44px; }
}

/* =========================================================================
   ─── 27. REDUCE MOTION RESPECT ────────────────────────────────────────
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
    .apx-tenant-site *,
    .apx-tenant-site *::before,
    .apx-tenant-site *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .apx-tenant-site [data-apx-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}
