/* ==========================================================================
   bymercan - Dijital Terzihane
   Bespoke Tailor Persona Theme (High-Contrast Dual Theme System)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   1. LIGHT THEME (IŞIL IŞIL BEYAZ CAM + YÜKSEK KONTRASTLI TOK METİNLER)
   ========================================================================== */
:root,
[data-bs-theme="light"] {
    --bm-primary: #ef4444;
    --bm-primary-hover: #dc2626;
    --bm-bg: #e5e5e5; /* Exact Logo Canvas */
    --bm-heading: #0f172a;
    --bm-text: #0f172a;
    --bm-text-muted: #334155;
    --bm-section-title: #0f172a;
    --bm-card-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    --bm-card-hover-bg: linear-gradient(135deg, #ffffff 0%, rgba(255, 245, 245, 0.98) 100%);
    --bm-card-border: rgba(255, 255, 255, 0.95);
    --bm-card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --bm-card-glow: inset 0 1px 2px 0 rgba(255, 255, 255, 1);
    --bm-input-bg: #ffffff;
    --bm-input-border: #cbd5e1;
    --bm-input-color: #0f172a;
    --bm-nav-link: #1e293b;
    --bm-price-color: #0f172a;
    --bm-val-color: #0f172a;
    --bm-stitch: rgba(239, 68, 68, 0.35);
    --bm-radius: 18px;
}

/* ==========================================================================
   2. DARK THEME (CRIMSON OBSIDIAN VELVET)
   ========================================================================== */
[data-bs-theme="dark"] {
    --bm-primary: #ef4444;
    --bm-primary-hover: #f87171;
    --bm-bg: #09090b;
    --bm-heading: #ffffff;
    --bm-text: #f8fafc;
    --bm-text-muted: #e2e8f0;
    --bm-section-title: #ffffff;
    --bm-card-bg: linear-gradient(135deg, rgba(28, 9, 9, 0.85) 0%, rgba(18, 6, 6, 0.90) 100%);
    --bm-card-hover-bg: linear-gradient(135deg, rgba(42, 12, 12, 0.94) 0%, rgba(26, 8, 8, 0.98) 100%);
    --bm-card-border: rgba(252, 165, 165, 0.18);
    --bm-card-shadow: 0 14px 40px 0 rgba(0, 0, 0, 0.65);
    --bm-card-glow: inset 0 0 80px rgba(239, 68, 68, 0.14);
    --bm-input-bg: rgba(24, 24, 27, 0.85);
    --bm-input-border: rgba(252, 165, 165, 0.22);
    --bm-input-color: #f8fafc;
    --bm-nav-link: #e2e8f0;
    --bm-price-color: #f8fafc;
    --bm-val-color: #f8fafc;
    --bm-stitch: rgba(252, 165, 165, 0.3);
    --bm-radius: 18px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background-color: var(--bm-bg) !important;
    color: var(--bm-text) !important;
    line-height: 1.6;
    transition: background-color 0.25s ease, color 0.25s ease;
    position: relative;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.section-heading h2,
.hero-clean h1,
.pricing-box h4,
.service-box h3,
.btn,
.navbar-brand,
.badge,
.plan-price {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    letter-spacing: -0.015em;
}

/* ==========================================================================
   TERZİ ALET & DİKİŞ DESENİ (ÇAPRAZ WATERMARK)
   ========================================================================== */
:root, [data-bs-theme="light"] body {
    background-image: 
        radial-gradient(circle at 18% 18%, rgba(239, 68, 68, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 82% 28%, rgba(244, 63, 94, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 50% 75%, rgba(148, 163, 184, 0.08) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='88' height='88' viewBox='0 0 88 88' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='rotate(45 44 44)' stroke='%23334155' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none' stroke-opacity='0.08'%3E%3C!-- 1. Terzi Makasi --%3E%3Ccircle cx='18' cy='16' r='3.8'/%3E%3Ccircle cx='18' cy='28' r='3.8'/%3E%3Cpath d='M21 18 L38 30 M21 26 L38 14' stroke-width='1.6'/%3E%3Ccircle cx='27' cy='22' r='1' fill='%23334155' fill-opacity='0.12'/%3E%3C!-- 2. Dikis Ignesi ve Iplik --%3E%3Cpath d='M72 14 L54 32' stroke-width='1.8'/%3E%3Cpath d='M72 14 Q78 10 76 18 Q74 24 80 28' stroke-width='1.1' stroke-dasharray='2.5 2'/%3E%3C!-- 3. Iplik Makarasi --%3E%3Cpath d='M14 62 L32 62 M14 76 L32 76' stroke-width='2'/%3E%3Crect x='17' y='62' width='12' height='14' rx='1'/%3E%3Cline x1='17' y1='66' x2='29' y2='66' stroke-width='1'/%3E%3Cline x1='17' y1='69' x2='29' y2='69' stroke-width='1'/%3E%3Cline x1='17' y1='72' x2='29' y2='72' stroke-width='1'/%3E%3C!-- 4. 4 Delikli Dugme --%3E%3Ccircle cx='68' cy='68' r='7.5' stroke-width='1.6'/%3E%3Ccircle cx='65.5' cy='65.5' r='0.9' fill='%23334155' fill-opacity='0.15'/%3E%3Ccircle cx='70.5' cy='65.5' r='0.9' fill='%23334155' fill-opacity='0.15'/%3E%3Ccircle cx='65.5' cy='70.5' r='0.9' fill='%23334155' fill-opacity='0.15'/%3E%3Ccircle cx='70.5' cy='70.5' r='0.9' fill='%23334155' fill-opacity='0.15'/%3E%3C/g%3E%3C/svg%3E") !important;
    background-size: auto, auto, auto, 88px 88px !important;
    background-attachment: fixed !important;
}

[data-bs-theme="dark"] body {
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(239, 68, 68, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 85% 25%, rgba(185, 28, 28, 0.16) 0%, transparent 40%),
        radial-gradient(circle at 50% 65%, rgba(127, 29, 29, 0.12) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='88' height='88' viewBox='0 0 88 88' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='rotate(45 44 44)' stroke='%23fca5a5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none' stroke-opacity='0.08'%3E%3C!-- 1. Terzi Makasi --%3E%3Ccircle cx='18' cy='16' r='3.8'/%3E%3Ccircle cx='18' cy='28' r='3.8'/%3E%3Cpath d='M21 18 L38 30 M21 26 L38 14' stroke-width='1.6'/%3E%3Ccircle cx='27' cy='22' r='1' fill='%23fca5a5' fill-opacity='0.12'/%3E%3C!-- 2. Dikis Ignesi ve Iplik --%3E%3Cpath d='M72 14 L54 32' stroke-width='1.8'/%3E%3Cpath d='M72 14 Q78 10 76 18 Q74 24 80 28' stroke-width='1.1' stroke-dasharray='2.5 2'/%3E%3C!-- 3. Iplik Makarasi --%3E%3Cpath d='M14 62 L32 62 M14 76 L32 76' stroke-width='2'/%3E%3Crect x='17' y='62' width='12' height='14' rx='1'/%3E%3Cline x1='17' y1='66' x2='29' y2='66' stroke-width='1'/%3E%3Cline x1='17' y1='69' x2='29' y2='69' stroke-width='1'/%3E%3Cline x1='17' y1='72' x2='29' y2='72' stroke-width='1'/%3E%3C!-- 4. 4 Delikli Dugme --%3E%3Ccircle cx='68' cy='68' r='7.5' stroke-width='1.6'/%3E%3Ccircle cx='65.5' cy='65.5' r='0.9' fill='%23fca5a5' fill-opacity='0.15'/%3E%3Ccircle cx='70.5' cy='65.5' r='0.9' fill='%23fca5a5' fill-opacity='0.15'/%3E%3Ccircle cx='65.5' cy='70.5' r='0.9' fill='%23fca5a5' fill-opacity='0.15'/%3E%3Ccircle cx='70.5' cy='70.5' r='0.9' fill='%23fca5a5' fill-opacity='0.15'/%3E%3C/g%3E%3C/svg%3E") !important;
    background-size: auto, auto, auto, 88px 88px !important;
    background-attachment: fixed !important;
}

/* Decorative Stitch Line on Hero & CTA */
.tailor-stitch-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(90deg, #ef4444, #ef4444 8px, transparent 8px, transparent 14px);
    opacity: 0.7;
}

/* 3D Icons */
.service-icon-3d {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.35);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
    transform: translateY(0) scale(1) rotate(0deg);
}

/* FARE ÜZERİNE GELİNCE (HOVER) ÇALIŞAN CANLI ANİMASYON */
.service-box:hover .service-icon-3d {
    animation: tailorHoverBounce 1.8s ease-in-out infinite alternate !important;
    box-shadow: 
        0 18px 32px -4px rgba(59, 130, 246, 0.50),
        0 0 20px rgba(239, 68, 68, 0.30) !important;
}

@keyframes tailorHoverBounce {
    0% {
        transform: translateY(-8px) scale(1.10) rotate(-2deg);
    }
    100% {
        transform: translateY(-13px) scale(1.14) rotate(2.5deg);
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-clean {
    padding: 3.75rem 2.75rem;
    margin-bottom: 2.5rem;
}

.hero-clean h1 {
    font-size: 2.35rem;
    line-height: 1.25;
    margin-bottom: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--bm-heading) !important;
}

.hero-clean h1 span {
    font-family: 'Caveat', cursive, -apple-system, sans-serif !important;
    font-size: 1.28em !important;
    font-weight: 700 !important;
    color: #ef4444 !important;
    display: inline-block;
    letter-spacing: 0.01em;
    transform: rotate(-1.5deg);
    text-decoration: none !important;
    text-shadow: 0 2px 10px rgba(239, 68, 68, 0.2);
}

.hero-clean p {
    font-size: 1.05rem;
    color: var(--bm-text-muted) !important;
    line-height: 1.65;
    max-width: 680px;
    margin-bottom: 1.75rem;
    font-weight: 500;
}

/* ==========================================================================
   HERO MASCOT (YIRTILMIŞ KUMAŞ & TERZİ KEDİ MASKOTU)
   ========================================================================== */
.bm-hero-grid {
    display: grid;
    grid-template-columns: 1fr 310px;
    align-items: center;
    gap: 2.5rem;
    position: relative;
    width: 100%;
}

.bm-hero-content {
    max-width: 100%;
}

.bm-hero-mascot-col {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bm-mascot-hero-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 310px;
    width: 100%;
    animation: mascotBreathing 5s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
}

.bm-mascot-hero-wrap:hover {
    transform: scale(1.06) rotate(1.5deg);
}

.bm-mascot-hero-img {
    width: 100%;
    height: auto;
    max-height: 290px;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.15));
    transition: filter 0.4s ease;
}

[data-bs-theme="dark"] .bm-mascot-hero-img {
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.70)) drop-shadow(0 0 25px rgba(239, 68, 68, 0.22));
}

@media (max-width: 991px) {
    .bm-hero-grid {
        grid-template-columns: 1fr 240px;
        gap: 1.5rem;
    }
    .bm-mascot-hero-wrap {
        max-width: 240px;
    }
}

@media (max-width: 767px) {
    .bm-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .bm-hero-content .d-flex {
        justify-content: center;
    }
    .bm-mascot-hero-wrap {
        max-width: 240px;
        margin: 0 auto;
    }
}

@keyframes mascotBreathing {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ==========================================================================
   SECTION HEADINGS (BUZLU CAM KART BAŞLIKLAR & KUSURSUZ KONTRAST)
   ========================================================================== */
.bm-heading-container {
    position: relative;
    width: 100%;
}

.bm-heading-mascot-peeking {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -92px;
    width: 118px;
    height: 156px;
    z-index: 1;
    pointer-events: auto;
    user-select: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bm-heading-mascot-peeking:hover {
    transform: translateY(-50%) scale(1.06);
}

.bm-cat-peeking-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(-4px 4px 15px rgba(0, 0, 0, 0.16));
    transition: filter 0.3s ease;
}

[data-bs-theme="dark"] .bm-cat-peeking-img {
    filter: drop-shadow(-4px 4px 20px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 18px rgba(239, 68, 68, 0.28));
}

@media (max-width: 991px) {
    .bm-heading-mascot-peeking {
        left: -70px;
        width: 90px;
        height: 120px;
    }
}

@media (max-width: 575px) {
    .bm-heading-mascot-peeking {
        display: none;
    }
}

/* ==========================================================================
   BOTTOM CTA CARD MASCOT (C5 USTA TERZİ KEDİ)
   ========================================================================== */
.bm-cta-wrap {
    position: relative;
    width: 100%;
}

.bm-cta-mascot-peeking {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -92px;
    width: 118px;
    height: 156px;
    z-index: 1;
    pointer-events: auto;
    user-select: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bm-cta-mascot-peeking:hover {
    transform: translateY(-50%) scale(1.06);
}

.bm-cat-cta-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(4px 4px 15px rgba(0, 0, 0, 0.16));
    transition: filter 0.3s ease;
}

[data-bs-theme="dark"] .bm-cat-cta-img {
    filter: drop-shadow(4px 4px 20px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 18px rgba(239, 68, 68, 0.28));
}

@media (max-width: 991px) {
    .bm-cta-mascot-peeking {
        right: -70px;
        width: 90px;
        height: 120px;
    }
}

@media (max-width: 575px) {
    .bm-cta-mascot-peeking {
        display: none;
    }
}

.section-heading {
    background: var(--bm-card-bg) !important;
    backdrop-filter: blur(20px) saturate(170%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(170%) !important;
    border: 1px solid var(--bm-card-border) !important;
    border-radius: 16px !important;
    box-shadow: var(--bm-card-shadow), var(--bm-card-glow) !important;
    padding: 1.5rem 2rem !important;
    margin-bottom: 2rem !important;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.section-heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(90deg, #ef4444, #ef4444 8px, transparent 8px, transparent 14px);
    opacity: 0.75;
}

.section-heading h2 {
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.25 !important;
}

.section-heading p {
    font-size: 1.02rem !important;
    font-weight: 500 !important;
    max-width: 780px !important;
    line-height: 1.55 !important;
    margin-bottom: 0 !important;
}

/* 1. DARK THEME: Pure White Heading & Bright Silver Paragraph */
[data-bs-theme="dark"] .section-heading h2,
html[data-bs-theme="dark"] .section-heading h2,
body[data-bs-theme="dark"] .section-heading h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7) !important;
}

[data-bs-theme="dark"] .section-heading p,
html[data-bs-theme="dark"] .section-heading p,
body[data-bs-theme="dark"] .section-heading p {
    color: #e2e8f0 !important;
}

/* 2. LIGHT THEME: Deep Dark Black Heading & Slate Paragraph */
:root .section-heading h2,
[data-bs-theme="light"] .section-heading h2,
html[data-bs-theme="light"] .section-heading h2,
body[data-bs-theme="light"] .section-heading h2 {
    color: #0f172a !important;
}

:root .section-heading p,
[data-bs-theme="light"] .section-heading p,
html[data-bs-theme="light"] .section-heading p,
body[data-bs-theme="light"] .section-heading p {
    color: #334155 !important;
}

/* ==========================================================================
   GLASS CONTAINERS & CARDS
   ========================================================================== */
.hero-clean,
.service-box,
.pricing-box,
.card,
.navbar,
.accordion-item {
    background: var(--bm-card-bg) !important;
    backdrop-filter: blur(20px) saturate(170%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(170%) !important;
    border: 1px solid var(--bm-card-border) !important;
    border-radius: var(--bm-radius) !important;
    box-shadow: var(--bm-card-shadow), var(--bm-card-glow) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Glass Card Hover State */
.service-box:hover,
.pricing-box:hover {
    background: var(--bm-card-hover-bg) !important;
    border-color: rgba(239, 68, 68, 0.45) !important;
    transform: translateY(-4px) !important;
    box-shadow: 
        0 20px 35px -5px rgba(239, 68, 68, 0.14),
        var(--bm-card-glow) !important;
}

/* Featured VDS Card (Usta Kalıbı) */
.pricing-box.featured {
    border: 2px solid #ef4444 !important;
    box-shadow: 
        0 18px 40px -5px rgba(239, 68, 68, 0.18),
        var(--bm-card-glow) !important;
}

/* ==========================================================================
   STICKY HEADER & FLOATING GLASS NAVBAR
   ========================================================================== */
.bm-sticky-header {
    position: sticky !important;
    top: 0.85rem !important;
    z-index: 1045 !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
    pointer-events: none;
}

.bm-sticky-header .container {
    pointer-events: auto;
}

.bm-sticky-header .navbar {
    background: var(--bm-card-bg) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid var(--bm-card-border) !important;
    border-radius: var(--bm-radius) !important;
    box-shadow: var(--bm-card-shadow), var(--bm-card-glow) !important;
    padding: 0.65rem 1.4rem !important;
    margin: 0 !important;
}

/* ==========================================================================
   INTERACTIVE LANGUAGE SWITCHER (SLIDING GLIDER PILL)
   ========================================================================== */
.bm-lang-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 92px !important; /* Fixed steady width so it NEVER shifts! */
    height: 34px !important;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 18px;
    padding: 2px;
    user-select: none;
    flex-shrink: 0;
}

[data-bs-theme="dark"] .bm-lang-switch {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(252, 165, 165, 0.25);
}

.bm-lang-glider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 43px;
    height: 28px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    pointer-events: none;
}

.bm-lang-switch[data-active="en"] .bm-lang-glider {
    transform: translateX(43px);
}

.bm-lang-switch .btn-lang {
    position: relative;
    z-index: 2;
    width: 50% !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: var(--bm-text-muted) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    line-height: 1;
    border-radius: 14px;
    transition: color 0.2s ease;
}

.bm-lang-switch .btn-lang.active {
    color: #ffffff !important;
    background: transparent !important;
    box-shadow: none !important;
}

.bm-lang-switch .btn-lang:hover:not(.active) {
    color: var(--bm-text) !important;
}

.navbar-brand {
    padding: 0 !important;
    margin-right: 2rem !important;
}

.navbar-brand img,
#main-site-logo {
    height: 56px !important;
    max-height: 62px !important;
    width: auto !important;
    display: block !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-bs-theme="dark"] #main-site-logo {
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
}

[data-bs-theme="light"] #main-site-logo {
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.08));
}

.navbar-brand:hover img {
    transform: scale(1.02);
}

.nav-link {
    color: var(--bm-nav-link) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 8px !important;
    transition: all 0.15s ease;
}

.nav-link:hover, .nav-link.active {
    color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.08) !important;
}

.js-theme-toggler svg {
    width: 20px;
    height: 20px;
}
[data-bs-theme="dark"] .js-theme-toggler svg {
    color: #fbbf24 !important;
    fill: #fbbf24;
}
[data-bs-theme="light"] .js-theme-toggler svg {
    color: #334155 !important;
    fill: #334155;
}

/* ==========================================================================
   SERVICE BOX
   ========================================================================== */
.service-box {
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--bm-heading) !important;
}

.service-box p {
    font-size: 0.92rem;
    color: var(--bm-text-muted) !important;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.service-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

.service-box ul li {
    font-size: 0.88rem;
    color: var(--bm-text);
    padding: 0.25rem 0;
    font-weight: 500;
}

/* ==========================================================================
   PRICING BOX (VDS KALIPLARI)
   ========================================================================== */
.pricing-box {
    padding: 1.75rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bm-heading) !important;
    margin-bottom: 0.25rem;
}

.pricing-box .plan-subtitle {
    font-size: 0.85rem;
    color: var(--bm-text-muted) !important;
    margin-bottom: 1rem;
}

.pricing-box .plan-price {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--bm-price-color) !important;
    margin-bottom: 1.25rem;
}

.pricing-box .plan-price span {
    font-size: 0.9rem;
    color: var(--bm-text-muted) !important;
    font-weight: 500;
}

.pricing-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding: 0.75rem 0;
}

.pricing-box ul li {
    font-size: 0.88rem;
    color: var(--bm-text);
    padding: 0.35rem 0;
    display: flex;
    justify-content: space-between;
}

.pricing-box ul li span.label {
    color: var(--bm-text-muted) !important;
}

.pricing-box ul li span.val {
    font-weight: 700;
    color: var(--bm-val-color) !important;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    font-weight: 600 !important;
    border-radius: 10px !important;
    padding: 0.65rem 1.4rem !important;
    font-size: 0.92rem !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-primary, .btn-bm-primary {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.35) !important;
}

.btn-primary:hover, .btn-bm-primary:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    border-color: #dc2626 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px 0 rgba(239, 68, 68, 0.45) !important;
}

.btn-outline-primary, .btn-bm-outline {
    background: #ffffff !important;
    border: 1.5px solid #ef4444 !important;
    color: #dc2626 !important;
    font-weight: 700 !important;
}

[data-bs-theme="dark"] .btn-outline-primary,
[data-bs-theme="dark"] .btn-bm-outline {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(239, 68, 68, 0.7) !important;
    color: #f87171 !important;
}

.btn-outline-primary:hover, .btn-bm-outline:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.35) !important;
}

.btn-light {
    background: #ffffff !important;
    border: 1.5px solid rgba(203, 213, 225, 0.8) !important;
    color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.btn-light:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    transform: translateY(-1px) !important;
}

[data-bs-theme="dark"] .btn-light {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

[data-bs-theme="dark"] .btn-light:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
input, select, textarea,
.form-control, .form-select,
.page-login .form-control,
.page-signup .form-control,
.page-password-reset .form-control,
.ts-control, .ts-wrapper .ts-control,
.input-group-text {
    background-color: var(--bm-input-bg) !important;
    color: var(--bm-input-color) !important;
    border: 1.5px solid var(--bm-input-border) !important;
    border-radius: 10px !important;
    padding: 0.65rem 0.9rem !important;
    font-size: 0.95rem !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

input:focus, select:focus, textarea:focus,
.form-control:focus, .form-select:focus,
.ts-control:focus {
    background-color: var(--bm-input-bg) !important;
    color: var(--bm-input-color) !important;
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
    outline: none !important;
}

label, .form-label, dt {
    color: var(--bm-heading) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.35rem !important;
}

/* ==========================================================================
   ACCORDION (FAQ)
   ========================================================================== */
.accordion {
    border: none !important;
    background: transparent !important;
}

.accordion-item {
    margin-bottom: 0.75rem !important;
    overflow: hidden;
}

.accordion-button {
    background: transparent !important;
    color: var(--bm-heading) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 1.15rem 1.35rem !important;
    border: none !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #dc2626 !important;
}

.accordion-body {
    background: transparent !important;
    color: var(--bm-text-muted) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    padding: 1.25rem 1.35rem !important;
    border-top: 1px solid rgba(148, 163, 184, 0.15) !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer,
footer,
footer small,
footer span,
footer a,
.small.text-muted,
#footer .text-muted,
#footer span,
#footer a {
    color: var(--bm-text-muted) !important;
    font-weight: 500 !important;
}

#footer a,
footer a {
    color: #ef4444 !important;
    text-decoration: none !important;
}

#footer a:hover,
footer a:hover {
    color: #dc2626 !important;
    text-decoration: underline !important;
}

/* ==========================================================================
   MESSAGE BOX & CKEDITOR SIZING & STYLING
   ========================================================================== */
.ck-editor__editable,
.ck-editor__editable_inline,
.ck-content,
.ck.ck-editor__main > .ck-editor__editable,
textarea[name="message"],
textarea.form-control,
textarea {
    min-height: 240px !important;
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
}

.ck.ck-editor__main > .ck-editor__editable {
    background: #ffffff !important;
    color: #0f172a !important;
    border-radius: 0 0 10px 10px !important;
    padding: 1.1rem 1.25rem !important;
}

[data-bs-theme="dark"] .ck.ck-editor__main > .ck-editor__editable {
    background: rgba(24, 24, 27, 0.95) !important;
    color: #f8fafc !important;
    border-color: rgba(252, 165, 165, 0.25) !important;
}

.ck.ck-toolbar {
    border-radius: 10px 10px 0 0 !important;
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

[data-bs-theme="dark"] .ck.ck-toolbar {
    background: rgba(39, 39, 42, 0.95) !important;
    border-color: rgba(252, 165, 165, 0.25) !important;
}

[data-bs-theme="dark"] .ck.ck-toolbar .ck-button {
    color: #e2e8f0 !important;
}

[data-bs-theme="dark"] .ck.ck-toolbar .ck-button:hover {
    background: rgba(63, 63, 70, 0.8) !important;
}

/* ==========================================================================
   BREADCRUMBS (SUBPAGES)
   ========================================================================== */
.breadcrumb {
    background: transparent !important;
    padding: 0.5rem 0 !important;
    margin-bottom: 1.25rem !important;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: var(--bm-text-muted) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.breadcrumb-item a:hover {
    color: #ef4444 !important;
}

.breadcrumb-item.active {
    color: var(--bm-heading) !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   SMOOTH SCROLL & HEADER OFFSET
   ========================================================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* ==========================================================================
   INTERACTIVE THEME TOGGLE BUTTON (SUN / MOON)
   ========================================================================== */
.bm-theme-toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 34px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(148, 163, 184, 0.35) !important;
    background: rgba(0, 0, 0, 0.06) !important;
    color: var(--bm-text) !important;
    cursor: pointer !important;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    padding: 0 !important;
    user-select: none !important;
    flex-shrink: 0 !important;
}

[data-bs-theme="dark"] .bm-theme-toggle-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(252, 165, 165, 0.25) !important;
    color: #f8fafc !important;
}

.bm-theme-toggle-btn:hover {
    transform: scale(1.08) !important;
    border-color: var(--bm-primary) !important;
    color: var(--bm-primary) !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25) !important;
}

[data-bs-theme="light"] .theme-icon-light { display: none !important; }
[data-bs-theme="light"] .theme-icon-dark  { display: inline-flex !important; color: #0f172a !important; }
[data-bs-theme="dark"]  .theme-icon-dark   { display: none !important; }
[data-bs-theme="dark"]  .theme-icon-light  { display: inline-flex !important; color: #fbbf24 !important; }

/* ==========================================================================
   ACCORDION / SSS (AKLINA TAKILANLAR)
   ========================================================================== */
.accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: transparent;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.accordion-item {
    background: var(--bm-card-bg) !important;
    border: 1px solid var(--bm-card-border) !important;
    border-radius: var(--bm-radius) !important;
    box-shadow: var(--bm-card-shadow), var(--bm-card-glow) !important;
    overflow: hidden;
    transition: all 0.25s ease;
}

.accordion-item:hover {
    border-color: rgba(239, 68, 68, 0.4) !important;
}

.accordion-button {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--bm-heading) !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 1.15rem 1.4rem !important;
}

.accordion-button:not(.collapsed) {
    color: var(--bm-primary) !important;
    background: rgba(239, 68, 68, 0.05) !important;
    box-shadow: none !important;
}

.accordion-button::after {
    transition: transform 0.25s ease;
}

[data-bs-theme="dark"] .accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    color: var(--bm-text-muted) !important;
    font-size: 0.95rem !important;
    line-height: 1.65;
    padding: 0.75rem 1.4rem 1.25rem !important;
}

/* ==========================================================================
   BILLING PERIOD SWITCHER (MONTHLY / ANNUAL TOGGLE)
   ========================================================================== */
.bm-billing-toggle {
    position: relative;
    width: 60px;
    height: 32px;
    background: rgba(0, 0, 0, 0.12);
    border: 1.5px solid rgba(148, 163, 184, 0.35);
    border-radius: 20px;
    cursor: pointer;
    padding: 2px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    user-select: none;
}

[data-bs-theme="dark"] .bm-billing-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(252, 165, 165, 0.3);
}

.bm-billing-glider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.45);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.bm-billing-toggle.active {
    background: rgba(239, 68, 68, 0.18);
    border-color: #ef4444;
}

.bm-billing-toggle.active .bm-billing-glider {
    transform: translateX(28px);
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 12px 2px rgba(239, 68, 68, 0.6);
    }
}

/* ==========================================================================
   FLOATING CAPSULE NAVBAR ENHANCEMENTS
   ========================================================================== */
.bm-sticky-header {
    position: sticky !important;
    top: 0.85rem !important;
    z-index: 1045 !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
    pointer-events: none;
}

.bm-sticky-header .container {
    pointer-events: auto;
    max-width: 1160px;
}

.bm-sticky-header .navbar {
    background: var(--bm-card-bg) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid var(--bm-card-border) !important;
    border-radius: 9999px !important;
    box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.15), var(--bm-card-glow) !important;
    padding: 0.55rem 1.4rem !important;
    margin: 0 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-bs-theme="dark"] .bm-sticky-header .navbar {
    box-shadow: 0 18px 45px -5px rgba(0, 0, 0, 0.75), inset 0 0 20px rgba(239, 68, 68, 0.12) !important;
    border-color: rgba(252, 165, 165, 0.22) !important;
}

.bm-nav-anchor {
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: var(--bm-text) !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 9999px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.bm-nav-anchor:hover {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.08);
}

.bm-nav-cta {
    font-weight: 700 !important;
    padding: 0.48rem 1.15rem !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35) !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease !important;
}

.bm-nav-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5) !important;
}

/* ==========================================================================
   3 ANA HİZMET KAPISI (DOORS) & MİKRO ETKİLEŞİMLER
   ========================================================================== */
.bm-door-card {
    cursor: pointer;
    background: var(--bm-card-bg) !important;
    border: 1px solid var(--bm-card-border) !important;
    border-radius: 20px !important;
    box-shadow: var(--bm-card-shadow) !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease !important;
    user-select: none;
}

.bm-door-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 24px 48px -12px rgba(239, 68, 68, 0.25) !important;
    border-color: rgba(239, 68, 68, 0.45) !important;
}

[data-bs-theme="dark"] .bm-door-card:hover {
    box-shadow: 0 28px 56px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(239, 68, 68, 0.22) !important;
    border-color: rgba(248, 113, 113, 0.5) !important;
}

.bm-service-badge {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #ef4444 !important;
    font-size: 0.82rem !important;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.bm-door-action-hint {
    font-size: 0.84rem;
    font-weight: 700;
    color: #ef4444;
    transition: transform 0.25s ease;
}

.bm-door-card:hover .bm-door-action-hint {
    transform: translateX(4px);
}

.bm-door-icon-wrap {
    display: inline-flex;
}

.bm-door-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(220, 38, 38, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bm-door-card:hover .bm-door-icon-circle {
    transform: scale(1.1) rotate(-3deg);
    border-color: #ef4444;
}

.bm-door-img-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.bm-door-features {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--bm-card-border);
}

.bm-feature-item {
    font-size: 0.88rem;
    color: var(--bm-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bm-check {
    color: #10b981;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.bm-btn-select-door {
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: all 0.2s ease;
}

/* ==========================================================================
   DİNAMİK S/M/L BEDENLER VİTRİNİ
   ========================================================================== */
.bm-tiers-showcase {
    position: relative;
    width: 100%;
}

.bm-tiers-nav-bar {
    background: var(--bm-card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--bm-card-border);
    box-shadow: var(--bm-card-shadow);
}

.bm-back-btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
    color: var(--bm-text) !important;
    border-color: var(--bm-card-border) !important;
    transition: all 0.2s ease;
}

.bm-back-btn:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
    transform: translateX(-3px);
}

.bm-category-pills {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid var(--bm-card-border);
    border-radius: 9999px;
    padding: 3px;
    gap: 2px;
}

[data-bs-theme="dark"] .bm-category-pills {
    background: rgba(255, 255, 255, 0.06);
}

.bm-pill-btn {
    border: none;
    background: transparent;
    color: var(--bm-text-muted);
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.45rem 1.1rem;
    border-radius: 9999px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    white-space: nowrap;
}

.bm-pill-btn:hover {
    color: var(--bm-heading);
}

.bm-pill-btn.active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* ==========================================================================
   TERZİ ADIMLARI (NASIL ÇALIŞIR?)
   ========================================================================== */
.bm-step-card {
    background: var(--bm-card-bg) !important;
    border: 1px solid var(--bm-card-border) !important;
    border-radius: 18px !important;
    box-shadow: var(--bm-card-shadow) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}

.bm-step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.15) !important;
}

.bm-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    border: 1px solid rgba(239, 68, 68, 0.25);
    margin: 0 auto;
}

/* ==========================================================================
   ANIMATION KEYFRAMES & UTILITIES
   ========================================================================== */
.bm-fade-in {
    animation: bmFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bm-fade-out {
    animation: bmFadeOut 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bmFadeIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bmFadeOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.985);
    }
}

@media (max-width: 767px) {
    .bm-sticky-header .navbar {
        border-radius: 20px !important;
        padding: 0.6rem 1rem !important;
    }
    .bm-category-pills {
        width: 100%;
        justify-content: center;
    }
    .bm-pill-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}

