/* ============================================================
   Corporate CMS — Apple-Style Custom CSS
   Premium, minimal, bol whitespace, yumuşak animasyonlar
   ============================================================ */

/* ---- Google Fonts: header.php'den dinamik yüklenir ---- */

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
    /* Tema renkleri — header.php tarafindan override edilir */
    --primary:        #1E3A8A;
    --primary-light:  #3b5fc0;
    --primary-dark:   #152d6e;
    --secondary:      #F59E0B;
    --secondary-light:#fbbf24;

    /* Turetilenler */
    --gradient:       linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    --gradient-hero:  linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    --gradient-card:  linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);

    /* Tipografi — header.php'den override edilir */
    --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing — Apple: çok cömert */
    --section-py: 140px;
    --radius-lg:  24px;
    --radius-md:  16px;
    --radius-sm:  10px;
    --radius-xl:  32px;

    /* Golge — Apple style: çok yumuşak */
    --shadow-sm:  0 2px 12px rgba(0,0,0,0.04);
    --shadow-md:  0 8px 40px rgba(0,0,0,0.08);
    --shadow-lg:  0 24px 80px rgba(0,0,0,0.12);
    --shadow-xl:  0 40px 120px rgba(0,0,0,0.15);
    --shadow-color: 0 20px 60px rgba(30,58,138,0.20);

    /* Glass */
    --glass-bg:     rgba(255,255,255,0.72);
    --glass-border: rgba(255,255,255,0.5);
    --glass-blur:   20px;

    /* Topbar */
    --topbar-h: 0px;
}

/* ============================================================
   RESET & BASE — Apple: temiz, zarif
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: #1d1d1f;
    background: #ffffff;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    color: #1d1d1f;
    letter-spacing: -0.03em;
}

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

a { transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); }

::selection {
    background: var(--primary);
    color: #fff;
}

/* ============================================================
   BUTONLAR — Apple style + Shine & Pulse efektleri
   ============================================================ */

/* ---- Primary Button: Shine efekti ---- */
.btn-primary-custom {
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 16px 36px;
    border-radius: 980px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 0 4px 20px rgba(30,58,138,0.25);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    letter-spacing: -0.01em;
}

/* Shine sweep efekti */
.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0) 30%,
        rgba(255,255,255,0.4) 50%,
        rgba(255,255,255,0) 70%,
        transparent 100%
    );
    transition: none;
    animation: shineSweep 4s ease-in-out infinite;
}

@keyframes shineSweep {
    0%   { left: -100%; }
    50%  { left: 100%; }
    100% { left: 100%; }
}

.btn-primary-custom:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 36px rgba(30,58,138,0.35);
    color: #fff;
}

.btn-primary-custom:active {
    transform: translateY(0) scale(0.98);
}

/* ---- Pulse efekti — CTA butonları ---- */
.btn-pulse {
    animation: btnPulse 2.5s ease-in-out infinite;
}
@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.5); }
    50%      { box-shadow: 0 0 0 12px rgba(245,158,11,0); }
}

/* Corporate header pulse */
.btn-corporate.btn-pulse {
    animation: btnPulseCorp 2.5s ease-in-out infinite;
}
@keyframes btnPulseCorp {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.45); }
    50%      { box-shadow: 0 0 0 10px rgba(245,158,11,0); }
}

/* ---- Scroll to Top butonu ---- */
.scroll-top-btn {
    position: fixed;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    left: 24px;
    z-index: 999;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.82);
    transition: opacity .35s cubic-bezier(.22,.61,.36,1),
                transform .4s cubic-bezier(.22,.61,.36,1),
                background .25s ease, box-shadow .25s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
.scroll-top-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 26px rgba(0,0,0,0.24);
}
.scroll-top-btn.visible:active {
    transform: scale(0.93);
}
/* Ok (chevron) — halkanın üstünde; hover'da nazikçe yukarı süzülür */
.scroll-top-btn .bi {
    position: relative;
    z-index: 2;
    transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.scroll-top-btn:hover .bi { transform: translateY(-2px); }
/* Kaydırma ilerleme halkası — crimson buton üzerinde altın (tezhip) yay, indikçe dolar */
.scroll-top-btn .stp-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);   /* saat 12'den başlasın */
    pointer-events: none;
}
.scroll-top-btn .stp-ring circle { fill: none; }
.scroll-top-btn .stp-track {
    stroke: rgba(255,255,255,0.22);
    stroke-width: 2.5;
}
.scroll-top-btn .stp-prog {
    stroke: #ffffff;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dashoffset .12s linear;
}
@media (prefers-reduced-motion: reduce) {
    .scroll-top-btn,
    .scroll-top-btn .bi,
    .scroll-top-btn .stp-prog { transition: none; }
}

/* WhatsApp sağda ise scroll-top solda */
.wa-float-wrap ~ .scroll-top-btn { left: 24px; }

@media (max-width: 767px) {
    .scroll-top-btn { width: 42px; height: 42px; font-size: 16px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); left: 20px; }
}

/* ---- Outline Button ---- */
.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid color-mix(in srgb, var(--primary) 30%, transparent);
    padding: 15px 34px;
    border-radius: 980px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    cursor: pointer;
    letter-spacing: -0.01em;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(30,58,138,0.20);
}

.btn-outline-custom:active {
    transform: translateY(0) scale(0.98);
}

/* ---- White Button: Pulse glow efekti ---- */
.btn-white-custom {
    background: #fff;
    color: var(--primary);
    border: none;
    padding: 16px 36px;
    border-radius: 980px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    cursor: pointer;
    position: relative;
    letter-spacing: -0.01em;
}

.btn-white-custom:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 36px rgba(0,0,0,0.15);
    color: var(--primary-dark);
}

.btn-white-custom:active {
    transform: translateY(0) scale(0.98);
}

/* ---- Pulse Button varyantı ---- */
.btn-pulse {
    animation: btnPulseGlow 3s ease-in-out infinite;
}

@keyframes btnPulseGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(30,58,138,0.25);
    }
    50% {
        box-shadow: 0 4px 20px rgba(30,58,138,0.25),
                    0 0 0 8px rgba(30,58,138,0.08),
                    0 0 0 16px rgba(30,58,138,0.03);
    }
}

/* White pulse varyantı */
.btn-white-custom.btn-pulse {
    animation: btnWhitePulse 3s ease-in-out infinite;
}

@keyframes btnWhitePulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0,0,0,0.10),
                    0 0 0 8px rgba(255,255,255,0.3),
                    0 0 0 16px rgba(255,255,255,0.1);
    }
}

/* ============================================================
   SECTION — Apple: devasa boşluklar
   ============================================================ */
.section { padding: 84px 0; }
.section-sm { padding: 80px 0; }

/* Sayfa başlık hero — yenilenmiş (hero ile aynı dil) */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    text-align: center;
}
.page-hero::before {
    content: ""; position: absolute; width: 520px; height: 340px; top: -150px; right: -60px;
    background: radial-gradient(circle, color-mix(in srgb, var(--secondary) 46%, transparent) 0%, transparent 62%);
    pointer-events: none; z-index: 0;
}
.page-hero::after {
    content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; z-index: 0;
    background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 24px 24px;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero .section-badge {
    font-size: 12px;
    padding: 7px 16px;
    margin-bottom: 14px;
}
.page-hero h1 {
    font-family: var(--font-display, inherit);
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -.02em;
}
.page-hero p {
    color: rgba(255,255,255,0.82);
    font-size: 15px;
    margin: 0 auto;
    max-width: 560px;
}

@media (max-width: 767px) {
    .page-hero { padding: 44px 0; }
    .page-hero h1 { font-size: 1.5rem; }
    .page-hero p { font-size: 13px; }
}

/* Section badge — Apple: ince, zarif */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: color-mix(in srgb, var(--primary) 8%, transparent);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 980px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

/* Section baslik — Apple: büyük, bold */
.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: #1d1d1f;
    letter-spacing: -0.04em;
}

.section-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #86868b;
    max-width: 600px;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* Gradient yazi */
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   KART STİLLERİ — Apple: ince border, yumuşak gölge
   ============================================================ */
.card-hover {
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.06);
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* Hizmet karti ikon kutusu */
.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 20px;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(30,58,138,0.20);
}
/* Hizmet DETAY başlığındaki ikon — daha küçük ve başlıkla hizalı
   (yalnızca yanında .hb-detail-title olan ikon; liste kartları 60px kalır) */
.service-icon:has(+ .hb-detail-title){
    width:46px; height:46px; font-size:1.1rem; margin-bottom:0; border-radius:13px;
    box-shadow:0 6px 16px rgba(0,0,0,.16);
}
@media (max-width:575.98px){
    .service-icon:has(+ .hb-detail-title){ width:40px; height:40px; font-size:1rem; border-radius:11px; }
}

/* ============================================================
   SAYAÇ (STATS) — Apple: büyük, temiz sayılar
   ============================================================ */
.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.04em;
}

/* ============================================================
   YILDIZ PUANLAMA
   ============================================================ */
.star-rating { color: var(--secondary); letter-spacing: 2px; }

/* ============================================================
   NAVBAR — Apple: ultra-clean, glass
   ============================================================ */
.navbar-custom {
    background: rgba(255,255,255,0.80);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 10px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar-custom.scrolled {
    box-shadow: 0 1px 12px rgba(0,0,0,0.08);
    padding: 6px 0;
}

.navbar-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.navbar-logo img { max-height: 42px; width: auto; }

.nav-link-custom {
    color: #1d1d1f !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--primary) !important;
    background: color-mix(in srgb, var(--primary) 6%, transparent);
}

/* Dropdown */
.dropdown-menu-custom {
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 200px;
    animation: dropDown 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
}

@keyframes dropDown {
    from { opacity: 0; transform: translateY(-6px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.dropdown-item-custom {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: #1d1d1f;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
    font-weight: 500;
}

.dropdown-item-custom:hover {
    background: color-mix(in srgb, var(--primary) 6%, transparent);
    color: var(--primary);
}

/* ============================================================
   HERO — Apple: büyük tipografi, temiz, paralaks orb'lar
   ============================================================ */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Animated orbs — Apple: soft, ambient */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-1 {
    width: 500px; height: 500px;
    background: var(--secondary);
    top: -150px; right: -100px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px; height: 400px;
    background: var(--primary-light);
    bottom: -100px; left: -100px;
    animation-delay: -4s;
}

.hero-orb-3 {
    width: 250px; height: 250px;
    background: var(--secondary-light);
    top: 40%; left: 35%;
    animation-delay: -8s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(40px, -30px) scale(1.08); }
    50%      { transform: translate(-20px, 20px) scale(0.95); }
    75%      { transform: translate(15px, -10px) scale(1.03); }
}

.hero-content { position: relative; z-index: 2; }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.65;
    letter-spacing: -0.01em;
    font-weight: 400;
}

/* Hero gorsel */
.hero-image-wrap {
    position: relative;
    z-index: 2;
}

.hero-image-wrap img {
    border-radius: var(--radius-xl);
    box-shadow: 0 40px 100px rgba(0,0,0,0.25);
    animation: heroImgFloat 8s ease-in-out infinite;
}

@keyframes heroImgFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

/* Hero floating badges — Apple: glass efekt */
.hero-badge {
    position: absolute;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.82rem;
    animation: badgeFloat 5s ease-in-out infinite;
    z-index: 3;
    border: 1px solid rgba(255,255,255,0.8);
}

.hero-badge-1 { bottom: 30px; left: -20px; animation-delay: 0s; color: var(--primary); }
.hero-badge-2 { top: 20px; right: -20px; animation-delay: -2.5s; color: #10b981; }

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* ============================================================
   ANIMASYONLAR — Apple: zarif, minimal
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(1) { transition-delay: 0.0s; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }
.fade-up:nth-child(6) { transition-delay: 0.40s; }

/* ============================================================
   SAYAC ANİMASYONU
   ============================================================ */
.count-up { transition: all 0.3s ease; }

/* ============================================================
   BLOG KARTI — Apple: temiz, minimal
   ============================================================ */
.blog-card-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.card-hover:hover .blog-card-img { transform: scale(1.04); }

/* ============================================================
   YORUM KARTI (Testimonials) — Apple: temiz, whitespace
   ============================================================ */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
    height: 100%;
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0,0,0,0.06);
}

.testimonial-avatar-placeholder {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ============================================================
   FOOTER — Apple Style: Temiz, katmanlı, premium
   ============================================================ */
.footer-apple {
    background: #f5f5f7;
    color: #1d1d1f;
}

/* ---- Newsletter bölümü ---- */
.footer-newsletter {
    padding: 56px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.footer-nl-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-nl-icon i {
    font-size: 1.2rem;
    color: var(--primary);
}

.footer-nl-input {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    color: #1d1d1f;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 0.92rem;
    min-width: 0;
    transition: all 0.3s ease;
}

.footer-nl-input::placeholder { color: #86868b; }

.footer-nl-input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 10%, transparent);
    color: #1d1d1f;
    outline: none;
}

.footer-nl-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    cursor: pointer;
}

.footer-nl-btn:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(30,58,138,0.20);
}

@media (max-width: 576px) {
    .footer-nl-form { flex-direction: column; }
    .footer-nl-btn  { width: 100%; }
}

/* ---- Ana footer içerik ---- */
.footer-main {
    padding: 72px 0 0;
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo-img {
    max-height: 40px;
    width: auto;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-about {
    font-size: 0.88rem;
    color: #86868b;
    line-height: 1.7;
    max-width: 320px;
    margin-top: 12px;
}

.footer-link {
    color: #6e6e73;
    text-decoration: none;
    font-size: 0.88rem;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-link:hover { color: var(--primary); }

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-link i {
    font-size: 0.9rem;
    color: var(--primary);
    opacity: 0.7;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-heading {
    color: #1d1d1f;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6e6e73;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    font-size: 0.9rem;
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30,58,138,0.20);
}

.footer-cta-text {
    font-size: 0.88rem;
    color: #86868b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-cta-btn {
    padding: 12px 24px !important;
    font-size: 0.85rem !important;
}

/* ---- Footer alt çizgi ---- */
.footer-bottom-bar {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 20px 0;
    margin-top: 56px;
}

.footer-bottom-link {
    color: #86868b;
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s;
}

.footer-bottom-link:hover {
    color: var(--primary);
}

/* ---- Koyu Footer Varyantı ---- */
.footer-dark {
    background: #1d1d1f !important;
    color: #86868b;
}
.footer-dark .footer-newsletter {
    border-bottom-color: rgba(255,255,255,0.06);
}
.footer-dark .footer-newsletter h4 { color: #f5f5f7; }
.footer-dark .footer-newsletter p { color: #86868b !important; }
.footer-dark .footer-nl-input {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
    color: #f5f5f7;
}
.footer-dark .footer-nl-input::placeholder { color: rgba(255,255,255,0.35); }
.footer-dark .footer-nl-input:focus {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
    box-shadow: none;
    color: #f5f5f7;
}
.footer-dark .footer-nl-btn {
    background: #fff;
    color: #1d1d1f;
}
.footer-dark .footer-nl-btn:hover { background: #f5f5f7; }
.footer-dark .footer-nl-icon {
    background: rgba(255,255,255,0.08);
}
.footer-dark .footer-nl-icon i { color: var(--secondary); }
.footer-dark .footer-main { border-top: none; }
.footer-dark .footer-heading { color: #f5f5f7; }
.footer-dark .footer-link { color: #86868b; }
.footer-dark .footer-link:hover { color: #f5f5f7; }
.footer-dark .footer-about { color: #86868b; }
.footer-dark .footer-contact-link i { color: var(--secondary) !important; opacity: 1; }
.footer-dark .footer-social a {
    background: rgba(255,255,255,0.06);
    color: #86868b;
}
.footer-dark .footer-social a:hover {
    background: rgba(255,255,255,0.12);
    color: #f5f5f7;
}
.footer-dark .footer-cta-text { color: #86868b; }
.footer-dark .footer-bottom-bar {
    border-top-color: rgba(255,255,255,0.06);
}
.footer-dark .footer-bottom-link { color: rgba(255,255,255,0.4); }
.footer-dark .footer-bottom-link:hover { color: #f5f5f7; }
.footer-dark .footer-bottom-bar .lang-btn { color: rgba(255,255,255,0.5); }
.footer-dark .footer-bottom-bar .lang-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.footer-dark .footer-bottom-bar .lang-btn.active { background: var(--secondary); color: #000 !important; }
.footer-dark .footer-bottom-bar .lang-sep { color: rgba(255,255,255,0.2); }
.footer-dark .footer-logo-img { filter: brightness(0) invert(1); }

/* ============================================================
   WHATSAPP BUTONU
   ============================================================ */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    animation: waPulse 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 8px 30px rgba(37,211,102,0.45);
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
    50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.50), 0 0 0 10px rgba(37,211,102,0.08); }
}

/* ============================================================
   COOKIE CONSENT — Apple: minimal
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(29,29,31,0.95);
    backdrop-filter: blur(20px);
    color: #f5f5f7;
    padding: 20px;
    /* iOS/Android güvenli alan: ana ekran çubuğu + yanlar (yatay çentik) */
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.cookie-banner.show { display: block; animation: slideUp 0.5s cubic-bezier(0.25, 0.1, 0.25, 1); }

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* ============================================================
   POPUP — Apple: clean, centered
   ============================================================ */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    animation: fadeOverlay 0.4s ease 0.1s forwards;
}

@keyframes fadeOverlay {
    to { opacity: 1; }
}

.popup-box {
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    animation: popupIn 0.5s cubic-bezier(0.25, 0.1, 0.25, 1) 0.2s both;
    position: relative;
}

@keyframes popupIn {
    from { opacity: 0; transform: scale(0.9) translateY(24px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.popup-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.popup-close:hover { background: rgba(0,0,0,0.3); transform: rotate(90deg); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-section {
    background: #faf7f2;
    padding: 11px 0;
    border-bottom: 1px solid rgba(144,125,82,0.15);
    font-size: 13px;
}
.breadcrumb-section .breadcrumb { margin: 0; }
.breadcrumb-section .breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity .2s;
}
.breadcrumb-section .breadcrumb-item a:hover { opacity: .7; }
.breadcrumb-section .breadcrumb-item.active { color: #86868b; }
.breadcrumb-section .breadcrumb-item + .breadcrumb-item::before {
    color: #bbb;
    content: "›";
    font-size: 14px;
    padding: 0 6px;
}

/* Breadcrumb gizle ayarı */
.breadcrumb-hidden .breadcrumb-section { display: none; }

/* Breadcrumb stil: klasik */
.breadcrumb-classic .breadcrumb-section {
    padding: 14px 0;
    font-size: 14px;
    background: #eef1f5;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Breadcrumb stil: kutulu */
.breadcrumb-boxed .breadcrumb-section {
    padding: 10px 0;
    background: transparent;
    border-bottom: none;
}
.breadcrumb-boxed .breadcrumb-section .breadcrumb {
    background: rgba(0,0,0,0.03);
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-flex;
}

@media (max-width: 767px) {
    .breadcrumb-section { font-size: 12px; padding: 6px 0; }
    .breadcrumb-section .breadcrumb-item + .breadcrumb-item::before { padding: 0 4px; }
    .breadcrumb-boxed .breadcrumb-section .breadcrumb { padding: 6px 12px; }
}

/* ============================================================
   RESPONSIVE — Apple: her ekranda mükemmel
   ============================================================ */

/* ---- Tablet (≤991px) ---- */
@media (max-width: 991px) {
    :root { --section-py: 100px; }

    .hero-section {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .hero-title  { font-size: clamp(2rem, 6vw, 3rem); }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-image-wrap { margin-top: 40px; }
    .stat-number { font-size: 2.5rem; }
    .section-title { font-size: 2.2rem; }
}

/* ---- Mobil (≤768px) ---- */
@media (max-width: 768px) {
    :root { --section-py: 70px; }

    .container { padding-left: 20px !important; padding-right: 20px !important; }

    .hero-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        line-height: 1.1;
    }
    .hero-subtitle { font-size: 1rem; max-width: 100%; }
    .hero-badge    { display: none; }
    .hero-image-wrap { margin-top: 36px; }

    .hero-orb-1 { width: 250px; height: 250px; top: -60px; right: -60px; }
    .hero-orb-2 { width: 200px; height: 200px; bottom: -50px; left: -50px; }
    .hero-orb-3 { display: none; }

    .stat-number { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 0.95rem; }

    .card-hover { border-radius: 16px !important; }
    .testimonial-card { padding: 24px; }

    .whatsapp-btn { bottom: 20px; right: 16px; width: 50px; height: 50px; font-size: 1.3rem; }
}

/* ---- Küçük Mobil (≤480px) ---- */
@media (max-width: 480px) {
    :root { --section-py: 56px; }

    .container { padding-left: 16px !important; padding-right: 16px !important; }

    .hero-title { font-size: clamp(1.6rem, 9vw, 2rem); }
    .hero-subtitle { font-size: 0.92rem; }

    .hero-section .d-flex.flex-wrap { flex-direction: column; align-items: flex-start; }
    .btn-primary-custom,
    .btn-white-custom   { width: 100%; justify-content: center; }

    .section-title { font-size: 1.5rem; }
    .stat-number { font-size: 1.8rem; }

    .footer-bottom-bar .d-flex { flex-direction: column; text-align: center; gap: 12px; }
    .footer-social  { justify-content: center; }
    .footer-newsletter { padding: 40px 0; }
    .footer-main { padding: 48px 0 0; }
}

/* ============================================================
   SAYFA YUKLENME ANİMASYONU — Apple: minimal
   ============================================================ */
.page-loader {
    position: fixed;
    inset: 0;
    background: #1d1d1f;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
                visibility 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    margin: 0 4px;
    animation: loaderDot 1.4s ease-in-out infinite;
}

.loader-dot:nth-child(2) { animation-delay: 0.16s; }
.loader-dot:nth-child(3) { animation-delay: 0.32s; }

@keyframes loaderDot {
    0%, 80%, 100% { transform: scale(0.5); opacity: 0.3; }
    40%            { transform: scale(1);   opacity: 1; }
}


.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    z-index: -1;
}

/* ============================================================
   WHATSAPP FLOAT BUTTON — Premium
   ============================================================ */
.wa-float-wrap {
    position: fixed;
    bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.wa-float-btn {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
                box-shadow 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 1;
}

.wa-float-btn::before,
.wa-float-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    opacity: 0;
    animation: waPulse 3s ease-out infinite;
}

.wa-float-btn::after {
    animation-delay: 1s;
}

.wa-float-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.50);
    color: #fff;
}

.wa-float-btn i {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    line-height: 1;
}

/* Tooltip */
.wa-tooltip {
    background: rgba(29,29,31,0.92);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 980px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(29,29,31,0.92);
}

.wa-float-wrap:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes waPulse {
    0%   { transform: scale(1);    opacity: 0.5; }
    70%  { transform: scale(1.8);  opacity: 0; }
    100% { transform: scale(1.8);  opacity: 0; }
}

@media (max-width: 768px) {
    .wa-float-wrap {
        bottom: 16px;
        right: 16px;
        left: auto !important;
    }
    .wa-float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    .wa-tooltip { display: none; }
    /* Yüzen butonlar (WhatsApp / yukarı çık) için alt pay — body'ye DEĞİL
       footer'a verilir: body'de beyaz bir şerit olarak görünüyordu. */
    :is(.hv-footer, .footer-apple) { padding-bottom: 80px; }
    footer.footer-custom { margin-bottom: 0; }
}

/* Topbar sabit DEĞİL — kaydırınca kaybolur, header en tepede sabit kalır */
#siteTopbar { position: static; width: 100%; }

/* ============================================================
   FORM (cms-form) — yenilenmiş alan tasarımı
   ============================================================ */
.cms-form .form-label { font-weight: 600; font-size: .85rem; color: #3a3632; margin-bottom: 6px; }
.cms-form .form-control,
.cms-form .form-select {
    border: 1.5px solid #e6ded0; border-radius: 12px; padding: 12px 15px; font-size: .95rem;
    background: #fdfcfa; color: #1a1a1a;
    transition: border-color .18s, box-shadow .18s, background .18s;
}
.cms-form .form-control::placeholder { color: #a9a196; }
.cms-form .form-control:focus,
.cms-form .form-select:focus {
    border-color: var(--secondary); background: #fff; outline: none;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--secondary) 16%, transparent);
}
.cms-form textarea.form-control { min-height: 120px; resize: vertical; }
.cms-form .form-check-input { width: 1.15em; height: 1.15em; margin-top: .18em; border-color: #cdc4b5; cursor: pointer; }
.cms-form .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.cms-form .form-check-input:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--secondary) 16%, transparent); }
.cms-form .form-check-label { font-size: .92rem; color: #3a3632; }
.cms-form .form-text { font-size: .8rem; color: #8a8378; }
.cms-form .btn-primary {
    background: var(--primary); border: none; border-radius: 12px; padding: 12px 26px; font-weight: 700;
    transition: background .2s, transform .2s;
}
.cms-form .btn-primary:hover { background: var(--secondary); transform: translateY(-1px); }
.cms-form .rating-star { color: var(--secondary); }

/* ============================================================
   AKILLI YAPIŞKAN SIDEBAR (.smart-sticky)
   footer.php'deki JS .is-stuck ekler ve `top`u inline verir:
     - sığan sidebar  → top: 96px (üstten yapışır)
     - uzun sidebar   → top: negatif (alttan yapışır)
   Buradaki top yalnızca JS çalışmazsa devreye giren yedektir.
   ============================================================ */
@media (min-width: 992px) {
    .smart-sticky.is-stuck { position: sticky; top: 96px; }
}

/* ===== Dil Değiştirici ===== */
.lang-switcher { font-size: 0.78rem; }
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 7px;
    border-radius: 5px;
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    transition: background .15s, color .15s;
}
.lang-btn:hover { background: rgba(0,0,0,.06); color: inherit; }
.lang-btn.active {
    background: var(--primary);
    color: #fff !important;
}
.lang-sep { opacity: .35; }

/* Footer içinde lang-switcher — açık tema */
.footer-bottom-bar .lang-btn {
    color: #86868b;
}
.footer-bottom-bar .lang-btn:hover {
    background: rgba(0,0,0,0.05);
    color: #1d1d1f;
}
.footer-bottom-bar .lang-btn.active {
    background: var(--primary);
    color: #fff !important;
}
.footer-bottom-bar .lang-sep {
    color: rgba(0,0,0,0.15);
}

/* ============================================================
   APPLE STYLE — Ek bileşenler
   ============================================================ */

/* Divider — ince, zarif */
.section-divider {
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.06);
    border: none;
}

/* Feature grid — 2x2 */
.feature-grid-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
    transition: background 0.3s ease;
}

.feature-grid-item:hover {
    background: rgba(0,0,0,0.02);
}

.feature-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--primary) 8%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-grid-item:hover .feature-icon-box {
    background: var(--primary);
    box-shadow: 0 4px 16px rgba(30,58,138,0.20);
}

.feature-grid-item:hover .feature-icon-box i {
    color: #fff !important;
}

/* Glassmorphism card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

/* Gradient text büyük */
.gradient-heading {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* CTA Section — artık kullanılmıyor, section class'ı ile yönetiliyor */

/* Portfolio overlay */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(29,29,31,0.75);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-hover:hover .portfolio-overlay { opacity: 1 !important; }

/* Accordion — Apple: temiz */
.accordion-item {
    border: 1px solid rgba(0,0,0,0.06) !important;
}

.accordion-button {
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    letter-spacing: -0.01em;
}

.accordion-button:not(.collapsed) {
    background: color-mix(in srgb, var(--primary) 4%, white) !important;
    color: var(--primary) !important;
    box-shadow: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

/* ============================================================
   DETAY HERO — haber / blog / hizmet detay ortak tasarım
   (minimal hero: breadcrumb + başlık + vurgu; meta görsel altı)
   ============================================================ */
.hb-detail-hero { background:#faf7f2; border-bottom:1px solid rgba(144,125,82,.15); padding:1.15rem 0; }
/* Detay sayfası: breadcrumb şeridi ↔ içerik arası boşluğu azalt (mobil/tablet) */
@media (max-width:991.98px){
    .hb-detail-hero + section,
    .hb-detail-hero + script + section{ padding-top:22px !important; }
}
.hb-crumb { list-style:none; display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:0; margin:0; font-size:.85rem; line-height:1.5; }
.hb-crumb li { display:inline-flex; align-items:center; }
.hb-crumb li:not(:last-child)::after { content:"/"; margin-inline-start:8px; color:#c3b590; }
.hb-crumb a { color:#86868b; text-decoration:none; display:inline-flex; align-items:center; transition:color .2s ease; }
.hb-crumb a:hover { color:var(--primary); }
.hb-crumb .active { color:var(--primary); font-weight:600; }
.hb-detail-title { font-family:var(--font-display); font-weight:800; color:#1d1d1f; letter-spacing:-.02em; line-height:1.25; margin:0 0 14px; font-size:clamp(1.35rem,2.2vw,1.85rem); }
.hb-detail-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; padding:12px 16px; margin-bottom:28px; background:#faf7f2; border-radius:14px; color:#86868b; font-size:.85rem; }
.hb-detail-meta > span, .hb-detail-meta > a { display:inline-flex; align-items:center; gap:6px; }
.hb-detail-meta a { text-decoration:none; color:#86868b; transition:color .2s ease; }
.hb-detail-cat { background:var(--primary); color:#fff !important; padding:3px 12px; border-radius:100px; font-size:.75rem; font-weight:600; }
.hb-detail-src:hover { color:var(--primary); }
/* Görsel + meta bitişik blok */
.hb-media { margin-bottom:28px; }
.hb-media > img { width:100%; aspect-ratio:1000/500; object-fit:cover; display:block; border-radius:16px 16px 0 0; }
.hb-media .hb-detail-meta { margin-bottom:0; }
.hb-detail-meta.is-attached { border-radius:0 0 16px 16px; }
/* Mobil / responsive */
@media (max-width: 767.98px){
    .hb-detail-hero { padding:.9rem 0; }
    .hb-crumb { font-size:.78rem; gap:6px; }
    .hb-crumb li:not(:last-child)::after { margin-inline-start:6px; }
    .hb-detail-title { font-size:clamp(1.2rem,5vw,1.55rem); margin-bottom:12px; }
    .hb-media > img { border-radius:12px 12px 0 0; }
    .hb-detail-meta { gap:6px 12px; padding:10px 12px; font-size:.78rem; }
    .hb-detail-meta.is-attached { border-radius:0 0 12px 12px; }
}
@media (max-width: 480px){
    /* Uzun başlık breadcrumb'ı şişirmesin — mobilde son (aktif) kırıntıyı gizle, H1 zaten altta */
    .hb-crumb .active { display:none; }
    .hb-crumb li:nth-last-child(2)::after { content:none; }
}
/* Sayfa hero (gradient/koyu zemin) breadcrumb — açık renk, ortalı */
.hb-crumb-light a { color:rgba(255,255,255,.8); }
.hb-crumb-light a:hover { color:#fff; }
.hb-crumb-light .active { color:#fff; }
.hb-crumb-light li:not(:last-child)::after { color:rgba(255,255,255,.45); }
.page-hero .hb-crumb { justify-content:center; margin-bottom:14px; }

/* ============================================================
   Souvenir font (Vecize Köşesi vb. için)
   ============================================================ */
@font-face{ font-family:'Souvenir'; src:url('../fonts/souvenir/Souvenir.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face{ font-family:'Souvenir'; src:url('../fonts/souvenir/SouvenirB.ttf') format('truetype'); font-weight:700; font-style:normal; font-display:swap; }
@font-face{ font-family:'Souvenir'; src:url('../fonts/souvenir/SouvenirI.ttf') format('truetype'); font-weight:400; font-style:italic; font-display:swap; }
@font-face{ font-family:'Souvenir'; src:url('../fonts/souvenir/SouvenirBI.ttf') format('truetype'); font-weight:700; font-style:italic; font-display:swap; }

/* ============================================================
   MOBİL ALT NAVİGASYON (mobile_bottom menüsü)
   Yönetim: Admin > Menü Yönetimi > "Mobil Alt Menü"
   ============================================================ */
/* ============================================================
   İçerik gövde metinleri — okunur KOYU (siyah) ton
   Haber/blog/hizmet/faaliyet/etkinlik/sayfa detay içerikleri
   ============================================================ */
.cms-content, .news-content, .blog-content, .page-content, .entry-content, .prose,
.dd-desc, .lib-desc, .ev-detail-body{
    color:#000000;
}
.cms-content p, .cms-content li, .cms-content td, .cms-content blockquote,
.news-content p, .news-content li, .news-content blockquote,
.blog-content p, .blog-content li, .blog-content blockquote,
.page-content p, .page-content li, .page-content blockquote,
.prose p, .prose li, .prose blockquote,
.dd-desc p, .dd-desc li, .ev-detail-body p, .ev-detail-body li{
    color:#000000;
}

/* Yüzen (kenardan ayrık) + buzlu cam çubuk */
.mobile-bottom-nav{
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 1030;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    gap: 2px;
    padding: 7px 8px;
    background: #ffffff;
    border: 1px solid rgba(26,26,26,.08);
    box-shadow: 0 10px 30px rgba(52,32,20,.14), 0 2px 8px rgba(52,32,20,.06);
    border-radius: 24px;
    animation: mbnRise .55s cubic-bezier(.2,.9,.3,1.15) backwards;
    transition: transform .38s cubic-bezier(.4,0,.2,1), opacity .38s ease;
}
@keyframes mbnRise{ from{ opacity:0; transform:translateY(24px); } to{ opacity:1; transform:translateY(0); } }
/* Kaydırırken gizle (aşağı) / göster (yukarı) */
.mobile-bottom-nav.mbn-hidden{
    transform: translateY(calc(100% + 26px));
    opacity: 0;
    pointer-events: none;
}

.mobile-bottom-nav .mbn-item{
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 46px;               /* dokunma hedefi */
    padding: 5px 2px;
    background: none;
    border: none;
    text-decoration: none;
    color: #8a8172;
    font-family: var(--font-body);
    font-size: .66rem;
    font-weight: 600;
    line-height: 1.1;
    cursor: pointer;
    position: relative;
    border-radius: 16px;
    transition: color .2s ease;
    -webkit-tap-highlight-color: transparent;
}
/* Aktiflik: yalnızca renk — arka plan/pill YOK */
.mobile-bottom-nav .mbn-item i{
    font-size: 1.3rem;
    position: relative; z-index: 1;
    transition: transform .28s cubic-bezier(.2,.9,.3,1.35);
}
.mobile-bottom-nav .mbn-item span{
    position: relative; z-index: 1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mobile-bottom-nav .mbn-item:hover{ color: var(--primary); }
/* Aktif = yalnızca yazı + ikon rengi (primary) */
.mobile-bottom-nav .mbn-item.active{ color: var(--primary); }
.mobile-bottom-nav .mbn-item.active i{ transform: scale(1.06); }
/* Dokunuş zıplaması (bas-bırak mikro-etkileşim) */
.mobile-bottom-nav .mbn-item:active i{ transform: scale(.82); }
@media (prefers-reduced-motion: reduce){
    .mobile-bottom-nav{ animation: none; }
    .mobile-bottom-nav .mbn-item.active::before{ animation: none; }
    .mobile-bottom-nav .mbn-item i{ transition: none; }
}

/* 6+ öğede sıkışmayı önle — YALNIZCA alt bar (masaüstü header'a dokunmaz) */
.mobile-bottom-nav:has(.mbn-item:nth-child(6)){ gap: 0; padding: 6px 4px; }
.mobile-bottom-nav:has(.mbn-item:nth-child(6)) .mbn-item{ padding: 5px 1px; gap: 2px; border-radius: 13px; }
.mobile-bottom-nav:has(.mbn-item:nth-child(6)) .mbn-item i{ font-size: 1.18rem; }
.mobile-bottom-nav:has(.mbn-item:nth-child(6)) .mbn-item span{ font-size: .58rem; }
@media (max-width: 359.98px){
    .mobile-bottom-nav:has(.mbn-item:nth-child(6)) .mbn-item span{ font-size: .54rem; }
}

/* "Canlı Yayın" öğesi — küçük nabız atan canlı noktası */
.mobile-bottom-nav .mbn-item i.bi-broadcast{ overflow: visible; }
.mobile-bottom-nav .mbn-item i.bi-broadcast::after{
    content: ""; position: absolute; top: -1px; inset-inline-end: -3px;
    width: 6px; height: 6px; border-radius: 50%; background: #e0142c; box-shadow: 0 0 0 2px #fff;
    animation: mbnLive 1.4s ease-in-out infinite;
}
@keyframes mbnLive{ 0%,100%{ opacity: 1; transform: scale(1); } 50%{ opacity: .35; transform: scale(.65); } }
@media (prefers-reduced-motion: reduce){
    .mobile-bottom-nav .mbn-item i.bi-broadcast::after{ animation: none; }
}

/* ── Okuma odağı: detay/okuma sayfalarında çift dokunma yüzen öğeleri gizler ── */
html.reading-focus .mobile-bottom-nav,
html.reading-focus .wa-float-wrap,
html.reading-focus .scroll-top-btn{
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(40px) !important;
    transition: opacity .3s ease, transform .3s ease !important;
}
.reading-hint{
    position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%) translateY(10px); z-index: 100050;
    background: rgba(20,10,12,.92); color: #f2dd93; font-size: .8rem; font-weight: 500;
    padding: 9px 16px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.32);
    opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease;
    white-space: nowrap; max-width: 90vw;
}
.reading-hint.show{ opacity: 1; transform: translateX(-50%) translateY(0); }
@media (prefers-reduced-motion: reduce){
    html.reading-focus .mobile-bottom-nav,
    html.reading-focus .wa-float-wrap,
    html.reading-focus .scroll-top-btn{ transition: none !important; }
    .reading-hint{ transition: none; }
}

/* Koyu footer stilinde alt menü de koyulaşsın (footer <nav> öncesindedir) */
.footer-dark ~ .mobile-bottom-nav,
.hv-footer-dark ~ .mobile-bottom-nav{
    background: color-mix(in srgb, #191512 82%, transparent);
    border-color: rgba(255,255,255,.12);
    box-shadow: 0 12px 34px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.08);
}
.footer-dark ~ .mobile-bottom-nav .mbn-item,
.hv-footer-dark ~ .mobile-bottom-nav .mbn-item{ color:#a99f8f; }
.footer-dark ~ .mobile-bottom-nav .mbn-item.active,
.hv-footer-dark ~ .mobile-bottom-nav .mbn-item.active{ color:var(--secondary); }

/* Alt menü varken: içerik payı + yüzen butonları çubuğun üstüne al */
@media (max-width: 1199.98px){
    /* Pay footer'ın İÇİNDE (onun zemin rengiyle) — body'de olunca sayfanın
       en altında footer'dan ayrı beyaz bir boşluk kalıyordu (çubuk
       kaydırırken gizlendiğinde açıkça görünüyordu). */
    body:has(.mobile-bottom-nav) :is(.hv-footer, .footer-apple){
        padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
    }
    /* WhatsApp butonu SOL ALTA, yüzen çubuğun üstüne */
    body:has(.mobile-bottom-nav) .wa-float-wrap{
        bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important;
        left: 16px !important; right: auto !important;
        align-items: flex-start !important;
    }
    body:has(.mobile-bottom-nav) .wa-tooltip{ display: none; }
    /* "Yukarı çık" butonu SAĞ ALTA, yüzen çubuğun üstüne */
    body:has(.mobile-bottom-nav) .scroll-top-btn{
        bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important;
        right: 16px !important; left: auto !important;
    }
    /* Yüzen butonlar çubuğa göre akıcı uyum sağlar */
    body:has(.mobile-bottom-nav) .wa-float-wrap,
    body:has(.mobile-bottom-nav) .scroll-top-btn{
        transition: bottom .4s cubic-bezier(.4,0,.2,1) !important;
    }
    /* Çubuk gizlenince (aşağı scroll) butonlar da aşağı iner */
    body:has(.mobile-bottom-nav.mbn-hidden) .wa-float-wrap,
    body:has(.mobile-bottom-nav.mbn-hidden) .scroll-top-btn{
        bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* ============================================================
   SIDEBAR BİLEŞENLERİ — ortak
   ------------------------------------------------------------
   Kaynak tasarım: /hakkimizda (page.php) + live-toc kart dili.
   Önceden page.php'nin inline <style>'ında kilitliydi; buraya
   alındı ki sidebar'lı tüm sayfalar (page, hizmetler, haberler…)
   aynı dili kullansın. .smart-sticky ile birlikte çalışır.
   ============================================================ */
.page-aside{ display:block; }

/* Sidebar kartı — .live-toc kartıyla aynı görünüm */
.side-card{
    background:#fff; border:1px solid #eef0f2; border-radius:16px;
    padding:12px; box-shadow:0 6px 24px rgba(0,0,0,.05); margin-bottom:18px;
}

/* Kart başlığı: ikon + kalın metin + alt çizgi */
.page-side-title, .side-title{
    display:flex; align-items:center; gap:8px;
    font-weight:800; color:#1a1a1a; font-size:.95rem;
    margin-bottom:12px; padding-bottom:12px;
    border-bottom:1px solid rgba(0,0,0,.08);
}
.page-side-title i, .side-title i{ color:var(--primary); }

/* Sidebar nav linki — .live-toc a diliyle aynı (logical props → RTL güvenli) */
.side-link{
    display:flex; align-items:center; gap:10px;
    padding:7px 12px; border-radius:9px;
    font-size:.87rem; line-height:1.45; color:#5a5f66; text-decoration:none;
    border-inline-start:3px solid transparent;
    transition:background .15s, color .15s;
}
.side-link:hover{ background:#f6f7f9; color:#1d1d1f; }
.side-link.active{
    background:color-mix(in srgb, var(--primary) 9%, #fff);
    color:var(--primary); font-weight:600;
    border-inline-start-color:var(--primary);
}
.side-link i{ color:var(--primary); font-size:.9rem; flex:0 0 auto; }
.side-link__text{ flex:1 1 auto; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.side-count{
    margin-inline-start:auto; flex:0 0 auto;
    font-size:.72rem; font-weight:700; color:#8b9098;
    background:#f2f3f5; border-radius:99px; padding:1px 8px;
}
.side-link.active .side-count{ background:color-mix(in srgb, var(--primary) 14%, #fff); color:var(--primary); }

/* Filtre butonları da link gibi görünsün (native <button> sıfırlama) */
button.side-link{ width:100%; border:0; border-inline-start:3px solid transparent; background:transparent; text-align:start; cursor:pointer; font-family:inherit; }

/* Uzun sidebar listesi — kart içinde kaydır. Sidebar'ın .smart-sticky eşiğini
   (yükseklik+120 < viewport) aşmasını önler; içerik büyüse de yapışkanlık korunur. */
.side-scroll{ max-height:240px; overflow-y:auto; }
.side-scroll::-webkit-scrollbar{ width:6px; }
.side-scroll::-webkit-scrollbar-thumb{ background:#d5d9e0; border-radius:6px; }

/* Görselli liste satırı (ör. Son Haberler) */
.side-media{ display:flex; align-items:center; gap:12px; padding:8px; border-radius:11px; text-decoration:none; transition:background .15s; }
.side-media:hover{ background:#f6f7f9; }
.side-media__thumb{ width:56px; height:56px; border-radius:10px; object-fit:cover; flex:0 0 auto; background:#f3f4f6; }
.side-media__thumb--ph{ display:flex; align-items:center; justify-content:center; color:#d1d5db; }
.side-media__title{ display:block; font-size:.85rem; font-weight:600; color:#1d1d1f; line-height:1.4; transition:color .15s; }
.side-media:hover .side-media__title{ color:var(--primary); }
.side-media__meta{ display:block; font-size:.74rem; color:#9ca3af; margin-top:2px; }

/* İletişim / CTA kartı */
.page-contact{
    background:linear-gradient(160deg, color-mix(in srgb,var(--primary) 92%,#000), var(--primary)); color:#fff;
    border-radius:16px; padding:22px; box-shadow:0 10px 30px color-mix(in srgb,var(--primary) 25%,transparent);
}
.page-contact .page-side-title{ color:#fff; border-bottom-color:rgba(255,255,255,.18); }
.page-contact .page-side-title i{ color:#fff; }
.page-contact__desc{ font-size:.85rem; color:rgba(255,255,255,.85); line-height:1.6; margin:0 0 14px; }
.page-contact__row{
    display:flex; align-items:center; gap:11px; color:rgba(255,255,255,.9); text-decoration:none;
    font-size:.9rem; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.1); transition:color .18s;
}
.page-contact__row:last-of-type{ border-bottom:none; }
.page-contact__row:hover{ color:#fff; }
.page-contact__row i{ font-size:1rem; width:20px; text-align:center; flex-shrink:0; }
.page-contact__row span{ word-break:break-word; }
.page-contact__btn{
    display:flex; align-items:center; justify-content:center; gap:8px; margin-top:16px;
    background:#fff; color:var(--primary); font-weight:700; font-size:.9rem; text-decoration:none;
    padding:11px 16px; border-radius:11px; transition:background .2s, transform .2s, color .2s;
}
.page-contact__btn:hover{ background:var(--secondary); color:#fff; transform:translateY(-2px); }
.page-contact__btn--ghost{ background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.45); margin-top:8px; }
.page-contact__btn--ghost:hover{ background:rgba(255,255,255,.14); border-color:#fff; color:#fff; }

@media (max-width:991.98px){
    .page-aside{ margin-top:8px; }
}

/* ============================================================
   MOBİL YATAY TAŞMA KORUMASI — içerik gövdeleri
   ------------------------------------------------------------
   Editörden gelen içerik (TinyMCE) sabit genişlikli gömülü öğe,
   geniş tablo veya uzun kesintisiz URL içerebilir. Bunlar dar
   ekranda sayfayı yana kaydırır. body'deki overflow-x:hidden
   taşmayı GİZLER ama içerik kesilir/okunamaz hâle gelir —
   asıl çözüm taşmayı kaynağında engellemektir.

   Not: overflow-x:hidden bilerek <html>'e EKLENMEDİ; yapışkan
   (sticky) sağ sütunu bozar. Bkz. sidebar-smart-sticky.
   ============================================================ */

.cms-content, .news-content, .blog-content, .page-content,
.muellif-body, .dd-desc, .lib-desc, .ev-detail-body, .prose, .entry-content {
    /* Uzun URL / kesintisiz metin satır kırar */
    overflow-wrap: anywhere;
}

/* Gömülü öğeler + editörden gelen sabit width="600" değerleri.
   !important şart: inline width/height öznitelikleri aksi hâlde kazanır. */
.cms-content   :is(img, iframe, video, embed, object, table),
.news-content  :is(img, iframe, video, embed, object, table),
.blog-content  :is(img, iframe, video, embed, object, table),
.page-content  :is(img, iframe, video, embed, object, table),
.muellif-body  :is(img, iframe, video, embed, object, table),
.dd-desc       :is(img, iframe, video, embed, object, table),
.lib-desc      :is(img, iframe, video, embed, object, table),
.ev-detail-body :is(img, iframe, video, embed, object, table),
.prose         :is(img, iframe, video, embed, object, table),
.entry-content :is(img, iframe, video, embed, object, table) {
    max-width: 100% !important;
}

/* YouTube gömüleri (VideoEmbed + editörün Video düğmesi): tam genişlik, 16:9.
   Editörün sabit width/height değerleri telefonda videoyu ezmesin. */
.video-embed { margin: 1.25rem 0; }
.video-embed iframe,
:is(.cms-content, .news-content, .blog-content, .page-content, .muellif-body, .dd-desc, .lib-desc, .ev-detail-body, .prose, .entry-content)
    :is(iframe[src*="youtube.com"], iframe[src*="youtube-nocookie.com"], iframe[src*="youtu.be"]) {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 10px;
    background: #000;
}

/* Görselde yüksekliği orana bırak (iframe'de BIRAKMA — çöker) */
.cms-content img, .news-content img, .blog-content img, .page-content img,
.muellif-body img, .dd-desc img, .lib-desc img, .ev-detail-body img,
.prose img, .entry-content img {
    height: auto;
}

/* Geniş tablo: dar ekranda kendi içinde yana kaydırılabilsin.
   Masaüstünde normal tablo düzeni korunur. */
@media (max-width: 767.98px) {
    .cms-content table, .news-content table, .blog-content table,
    .page-content table, .muellif-body table, .dd-desc table,
    .lib-desc table, .ev-detail-body table, .prose table, .entry-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
}

/* Gömülü video (YouTube/Vimeo) — 16:9 oranında duyarlı.
   Harita/form gibi diğer iframe'lere dokunulmaz. */
.cms-content   iframe[src*="youtube"], .cms-content   iframe[src*="vimeo"],
.news-content  iframe[src*="youtube"], .news-content  iframe[src*="vimeo"],
.blog-content  iframe[src*="youtube"], .blog-content  iframe[src*="vimeo"],
.page-content  iframe[src*="youtube"], .page-content  iframe[src*="vimeo"],
.muellif-body  iframe[src*="youtube"], .muellif-body  iframe[src*="vimeo"],
.ev-detail-body iframe[src*="youtube"], .ev-detail-body iframe[src*="vimeo"],
.prose         iframe[src*="youtube"], .prose         iframe[src*="vimeo"],
.entry-content iframe[src*="youtube"], .entry-content iframe[src*="vimeo"] {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

/* ============================================================
   MOBİLDE YATAY TAŞMA — Bootstrap g-5 tuzağı
   ------------------------------------------------------------
   .container yatayda 12px dolgu verir (--bs-gutter-x 1.5rem × .5).
   .row bu dolguyu negatif kenar boşluğuyla geri alır. Boşluk sınıfı
   g-4 (1.5rem) iken -12px olur ve tam sadeleşir — sorun yok.
   Ama g-5 (3rem) satırın kenar boşluğunu -24px yapar; container'ın
   dolgusu 12px olarak kaldığı için satır HER YANDAN 12px taşar.

   Dar ekranda kolonlar zaten alt alta dizildiğinden yatay boşluğun
   3rem olmasının görsel bir karşılığı yok; yalnızca taşma üretiyor.
   Bu yüzden 992px altında yatay boşluk 1.5rem'e çekiliyor.
   DİKEY boşluğa (--bs-gutter-y) DOKUNULMUYOR — sayfa ritmi korunur.

   Kodda bazı görünümler bunu "g-4 g-lg-5" ile zaten çözmüş
   (muellif, dershane-detail, content/detail-default); bu kural
   kalanları da kapsar, 12 dosyayı ayrı ayrı düzenlemeye gerek kalmaz.
   ============================================================ */
@media (max-width: 991.98px) {
    .row.g-5,
    .row.gx-5 { --bs-gutter-x: 1.5rem; }
}

/* ============================================================
   ALINTI (blockquote) — içerik gövdeleri
   ------------------------------------------------------------
   Editörde alıntı yapılınca <blockquote> üretiliyor ve TinyMCE
   kendi iç stiliyle onu çizgili gösteriyordu. Sitede ise hiçbir
   kural yoktu: Bootstrap Reboot yalnızca alt boşluk verdiği için
   alıntı normal paragraftan farksız görünüyordu.

   Kenarlık ve iç boşlukta mantıksal özellikler (inline-start)
   kullanılıyor — Arapça (RTL) görünümde otomatik olarak sağa geçer.
   ============================================================ */
.cms-content blockquote,
.news-content blockquote,
.blog-content blockquote,
.page-content blockquote,
.muellif-body blockquote,
.dd-desc blockquote,
.lib-desc blockquote,
.ev-detail-body blockquote,
.prose blockquote,
.entry-content blockquote {
    margin: 1.75rem 0;
    padding: 1.15rem 1.35rem;
    background: #faf7f2;
    border-inline-start: 4px solid var(--primary, #be1e2d);
    border-radius: 12px;
    color: #3a3a3f;
    font-size: 1.03em;
    line-height: 1.8;
}

/* Alıntının içindeki ilk/son öğenin fazladan boşluğunu al —
   yoksa kutunun üstünde/altında çift boşluk oluşuyor */
.cms-content blockquote > :first-child,
.news-content blockquote > :first-child,
.blog-content blockquote > :first-child,
.page-content blockquote > :first-child,
.muellif-body blockquote > :first-child,
.dd-desc blockquote > :first-child,
.lib-desc blockquote > :first-child,
.ev-detail-body blockquote > :first-child,
.prose blockquote > :first-child,
.entry-content blockquote > :first-child { margin-top: 0; }

.cms-content blockquote > :last-child,
.news-content blockquote > :last-child,
.blog-content blockquote > :last-child,
.page-content blockquote > :last-child,
.muellif-body blockquote > :last-child,
.dd-desc blockquote > :last-child,
.lib-desc blockquote > :last-child,
.ev-detail-body blockquote > :last-child,
.prose blockquote > :last-child,
.entry-content blockquote > :last-child { margin-bottom: 0; }

/* Kaynak/atıf satırı: <cite> ya da <footer> — başına tire konur */
.cms-content blockquote :is(cite, footer),
.news-content blockquote :is(cite, footer),
.blog-content blockquote :is(cite, footer),
.page-content blockquote :is(cite, footer),
.muellif-body blockquote :is(cite, footer),
.dd-desc blockquote :is(cite, footer),
.lib-desc blockquote :is(cite, footer),
.ev-detail-body blockquote :is(cite, footer),
.prose blockquote :is(cite, footer),
.entry-content blockquote :is(cite, footer) {
    display: block;
    margin-top: .6rem;
    font-size: .88em;
    font-style: normal;
    color: #86868b;
}
.cms-content blockquote :is(cite, footer)::before,
.news-content blockquote :is(cite, footer)::before,
.blog-content blockquote :is(cite, footer)::before,
.page-content blockquote :is(cite, footer)::before,
.muellif-body blockquote :is(cite, footer)::before,
.dd-desc blockquote :is(cite, footer)::before,
.lib-desc blockquote :is(cite, footer)::before,
.ev-detail-body blockquote :is(cite, footer)::before,
.prose blockquote :is(cite, footer)::before,
.entry-content blockquote :is(cite, footer)::before { content: "— "; }

@media (max-width: 575.98px) {
    .cms-content blockquote,
    .news-content blockquote,
    .blog-content blockquote,
    .page-content blockquote,
    .muellif-body blockquote,
    .dd-desc blockquote,
    .lib-desc blockquote,
    .ev-detail-body blockquote,
    .prose blockquote,
    .entry-content blockquote {
        margin: 1.35rem 0;
        padding: .95rem 1.05rem;
        border-radius: 10px;
    }
}

/* ============================================================
   TABLO ve AYIRAÇ — içerik gövdeleri
   ------------------------------------------------------------
   Editör araç çubuğunda tablo butonu var ama frontend'de hiçbir
   görsel kural yoktu: Bootstrap tabloları yalnızca .table sınıfıyla
   biçimlendirir, editörden gelen düz <table> ise kenarlıksız,
   boşluksuz çıkıyordu. Alıntıdaki (blockquote) sorunun aynısı.

   Mobil yatay kaydırma kuralı yukarıda ayrıca tanımlı; burası
   yalnızca görünümü verir.
   ============================================================ */
.cms-content table,
.news-content table,
.blog-content table,
.page-content table,
.muellif-body table,
.dd-desc table,
.lib-desc table,
.ev-detail-body table,
.prose table,
.entry-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    font-size: .95em;
    background: #fff;
}

.cms-content :is(th, td),
.news-content :is(th, td),
.blog-content :is(th, td),
.page-content :is(th, td),
.muellif-body :is(th, td),
.dd-desc :is(th, td),
.lib-desc :is(th, td),
.ev-detail-body :is(th, td),
.prose :is(th, td),
.entry-content :is(th, td) {
    padding: .6rem .75rem;
    border: 1px solid rgba(26, 26, 26, .12);
    text-align: start;
    vertical-align: top;
}

.cms-content th,
.news-content th,
.blog-content th,
.page-content th,
.muellif-body th,
.dd-desc th,
.lib-desc th,
.ev-detail-body th,
.prose th,
.entry-content th {
    background: #faf7f2;
    font-weight: 700;
    color: #1d1d1f;
}

/* Uzun tablolarda satır takibi kolaylaşsın */
.cms-content tbody tr:nth-child(even),
.news-content tbody tr:nth-child(even),
.blog-content tbody tr:nth-child(even),
.page-content tbody tr:nth-child(even),
.muellif-body tbody tr:nth-child(even),
.dd-desc tbody tr:nth-child(even),
.lib-desc tbody tr:nth-child(even),
.ev-detail-body tbody tr:nth-child(even),
.prose tbody tr:nth-child(even),
.entry-content tbody tr:nth-child(even) { background: rgba(26, 26, 26, .02); }

.cms-content caption,
.news-content caption,
.blog-content caption,
.page-content caption,
.muellif-body caption,
.prose caption,
.entry-content caption {
    caption-side: bottom;
    padding-top: .5rem;
    font-size: .85em;
    color: #86868b;
    text-align: start;
}

/* Ayıraç — Reboot'un soluk çizgisi yerine belirgin ve nefesli */
.cms-content hr,
.news-content hr,
.blog-content hr,
.page-content hr,
.muellif-body hr,
.dd-desc hr,
.lib-desc hr,
.ev-detail-body hr,
.prose hr,
.entry-content hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid rgba(26, 26, 26, .14);
    opacity: 1;
}

/* Biçim listesindeki "Preformatted" (<pre>) ve satır içi <code>.
   Reboot bunlara yalnızca tek tip yazı verir; kutu görünümü yoktu.
   pre'de overflow:auto Reboot'tan geliyor — uzun satır sayfayı taşırmaz. */
.cms-content pre, .news-content pre, .blog-content pre, .page-content pre,
.muellif-body pre, .dd-desc pre, .lib-desc pre, .ev-detail-body pre,
.prose pre, .entry-content pre {
    margin: 1.5rem 0;
    padding: 1rem 1.15rem;
    background: #faf7f2;
    border: 1px solid rgba(26, 26, 26, .1);
    border-radius: 12px;
    font-size: .9em;
    line-height: 1.65;
}
.cms-content code, .news-content code, .blog-content code, .page-content code,
.muellif-body code, .dd-desc code, .lib-desc code, .ev-detail-body code,
.prose code, .entry-content code {
    padding: .15em .4em;
    background: rgba(26, 26, 26, .06);
    border-radius: 6px;
    font-size: .9em;
    color: #b02a37;
}
.cms-content pre code, .news-content pre code, .blog-content pre code,
.page-content pre code, .muellif-body pre code, .prose pre code,
.entry-content pre code { padding: 0; background: none; color: inherit; }

/* Sayfa öne çıkan görseli (pages.image + image_visible) */
.page-cover{ margin:0 0 1.5rem; }
.page-cover img{
    width:100%; height:auto; display:block;
    aspect-ratio:1200/630; object-fit:cover;
    border-radius:16px;
}
@media (max-width:575.98px){
    .page-cover img{ border-radius:12px; }
}
