/* =====================================
   BLAXN — Minimal Global Theme
   Apple / Behance inspired
===================================== */

:root {
    /* Brand — accent used sparingly */
    --primary: #F24405;
    --primary-dark: #d93d04;
    --primary-light: #F2935C;

    /* Neutrals */
    --text: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;
    --bg: #ffffff;
    --bg-secondary: #fbfbfd;
    --border: #d2d2d7;
    --border-light: #e8e8ed;

    /* Typography */
    --font-main: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
    --text-size: 17px;
    --line-height: 1.47059;
    --letter-tight: -0.022em;
    --letter-tighter: -0.03em;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;
    --space-2xl: 120px;
    /* Fluid: yatay padding (büyük ekranda bol) */
    --space-fluid-x: clamp(20px, 4vw, 48px);
    /* İçerik max genişlik — ortada sıkışmaz */
    --container-max: 1400px;

    /* Radius — subtle */
    --radius: 12px;
    --radius-sm: 8px;

    /* Shadow — minimal or none */
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.06);

    /* Transition */
    --ease: 0.25s ease;

    /* Fixed header yüksekliği — page-header spacer ile aynı hizada (büyük logo) */
    --header-height: 96px;
}

/* =====================================
   RESET
===================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    /* Mobil menüde body overflow:hidden ile kaybolan scrollbar genişliği — içerik kaymasını önler */
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-main);
    font-size: var(--text-size);
    line-height: var(--line-height);
    color: var(--text);
    background: var(--bg);
    font-weight: 400;
}

/* =====================================
   TYPOGRAPHY
===================================== */

h1 {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 600;
    letter-spacing: var(--letter-tighter);
    line-height: 1.05;
    color: var(--text);
}

h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    letter-spacing: var(--letter-tight);
    color: var(--text);
}

h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: var(--letter-tight);
    color: var(--text);
}

p {
    font-size: var(--text-size);
    color: var(--text-secondary);
    line-height: var(--line-height);
}

/* =====================================
   LINKS — hover turuncu (--primary)
===================================== */

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--ease);
}

a:hover {
    color: var(--primary); /* turuncu #F24405 */
    text-decoration: none;
}

/* =====================================
   BUTTON — primary CTA only
===================================== */

.btn-brand {
    display: inline-block;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    transition: background var(--ease), opacity var(--ease);
}

.btn-brand:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* No heavy transform — minimal */
.btn-brand:active {
    opacity: 0.92;
}

/* Bootstrap Icons — buton/link içinde hizalama */
.btn-brand .bi,
.btn-outline .bi,
.brand-hero-secondary .bi {
    vertical-align: -0.2em;
    margin-right: 0.35em;
}

.brand-hero-secondary .bi:last-child {
    margin-right: 0;
    margin-left: 0.35em;
}

/* =====================================
   LAYOUT — Container fluid (içerik sıkışmaz)
===================================== */

/* Tam genişlik, yatay padding */
.container-fluid {
    width: 100%;
    padding-left: var(--space-fluid-x);
    padding-right: var(--space-fluid-x);
    margin: 0 auto;
}

/* İçerik alanı: geniş ekranda max genişlik, ortada */
.container-fluid-inner {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
}

/* Bootstrap .container override: fluid ile uyumlu */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-fluid-x);
    padding-right: var(--space-fluid-x);
}

/* =====================================
   BACK TO TOP
===================================== */

.back-to-top {
    position: fixed;
    right: var(--space-md);
    bottom: var(--space-md);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: #0f172a;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--ease), visibility var(--ease), transform var(--ease), background var(--ease), border-color var(--ease);
    z-index: 800;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #1e293b;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.back-to-top:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.45);
}

@media (max-width: 768px) {
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}
