/* Anasayfa kritik — reboot+grid sync; bileşenler burada (full Bootstrap async CLS yapmasın) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    background: #f6f7fd;
}
#body-content {
    background: linear-gradient(165deg, #f6f7fd 0%, #ffffff 45%, #faf8ff 100%);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    color: inherit;
}
.btn-secondary {
    background: linear-gradient(135deg, #fc7952, #e85a2e);
    color: #fff !important;
    border-color: transparent;
}
.btn-default, .btn-outline-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.35);
}

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}
.navbar > .container {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}
.navbar-expand-xl {
    flex-wrap: nowrap;
    justify-content: flex-start;
}
.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    margin-right: 1rem;
    text-decoration: none;
    white-space: nowrap;
}
.navbar-brand img {
    height: 42px;
    width: auto;
    max-height: 42px;
    aspect-ratio: 160 / 48;
}
.navbar-toggler {
    border: 0;
    background: transparent;
    padding: 0.4rem;
}
.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin: 0;
    list-style: none;
}
.nav-link {
    display: block;
    padding: 0.5rem 0;
    text-decoration: none;
}

.d-flex { display: flex !important; }
.d-none { display: none !important; }
.d-inline-flex { display: inline-flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.order-xl-last { order: 1; }
.ms-3 { margin-left: 1rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.list-unstyled { padding-left: 0; margin: 0; list-style: none; }
.list-inline { padding-left: 0; list-style: none; }
.text-nowrap { white-space: nowrap; }
.img-fluid { max-width: 100%; height: auto; }
.lead { font-size: 1.1rem; font-weight: 400; }

/* İkon kutusu — font gelmeden yer ayır (CLS / bootstrap-icons) */
.bi,
i.bi {
    display: inline-block;
    width: 1.15rem;
    height: 1.15rem;
    line-height: 1.15rem;
    flex-shrink: 0;
    vertical-align: -0.125em;
    speak: never;
}
.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    line-height: 1.15rem;
    content: "";
}
.site-header-actions__chip,
.site-header-search__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.site-icon {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
}

@media (min-width: 1200px) {
    .d-xl-none { display: none !important; }
    .d-xl-inline-block { display: inline-block !important; }
    .order-xl-last { order: 6; }
    .navbar-expand-xl .navbar-nav {
        flex-direction: row;
        align-items: center;
    }
    .navbar-expand-xl .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    .navbar-expand-xl .navbar-toggler {
        display: none;
    }
}

/* Offcanvas: mobil gizli; xl'de yatay menü — Bootstrap gelince kutu aynı kalsın */
@media (max-width: 1199.98px) {
    .offcanvas {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 1045;
        display: flex;
        flex-direction: column;
        width: min(300px, 85vw);
        max-width: 100%;
        visibility: hidden;
        background-color: #fff;
        background-clip: padding-box;
        outline: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }
    .offcanvas-start { left: 0; }
    .offcanvas.show {
        visibility: visible;
        transform: none;
    }
    .offcanvas-header,
    .site-mobile-drawer__footer {
        display: flex;
    }
    .offcanvas-body {
        flex-grow: 1;
        padding: 1rem;
        overflow-y: auto;
    }
    .offcanvas-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1040;
        background-color: rgba(0, 0, 0, 0.5);
    }
}
@media (min-width: 1200px) {
    .navbar-expand-xl .offcanvas {
        position: static;
        z-index: auto;
        flex-grow: 1;
        width: auto !important;
        height: auto !important;
        visibility: visible !important;
        background-color: transparent !important;
        border: 0 !important;
        transform: none !important;
        transition: none;
    }
    .navbar-expand-xl .offcanvas .offcanvas-body {
        display: flex;
        flex-grow: 0;
        padding: 0;
        overflow: visible;
    }
}

.marketing-character img {
    max-width: 100%;
    height: auto;
    display: block;
}
