/* =====================================================
   MAIN-BASE.CSS
   Global Değişkenler, Reset ve Typography
===================================================== */

:root {
    --ss-black: #111;
    --ss-dark: #1d1d1f;
    --ss-gray: #6e6e73;
    --ss-soft-gray: #8b8b90;
    --ss-line: #ececec;
    --ss-line-soft: #f1f1f1;
    --ss-bg: #f5f5f5;
    --ss-bg-soft: #ffffff;
    --ss-bg-muted: #f5f5f5;

    --ss-radius-sm: 18px;
    --ss-radius-md: 28px;
    --ss-radius-lg: 34px;
    --ss-radius-xl: 44px;

    --ss-shadow-soft: 0 10px 30px rgba(0, 0, 0, .05);
    --ss-shadow-card: 0 20px 60px rgba(0, 0, 0, .07);

    --ss-container: 1440px;
    --ss-pad: 7vw;
}

/* RESPONSIVE PADDING */
@media (max-width: 1200px) {
    :root {
        --ss-pad: 5vw;
    }
}

@media (max-width: 992px) {
    :root {
        --ss-pad: 24px;
    }
}

@media (max-width: 520px) {
    :root {
        --ss-pad: 20px;
    }
}

/* 
   RESET
   DİKKAT: font-family kuralı FontAwesome ikonlarını bozduğu için
   buradan kaldırılıp sadece "body" ve form elemanlarına eklendi.
*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: var(--ss-bg);
    color: var(--ss-black);
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, sans-serif;
    /* BURAYA TAŞINDI */
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    touch-action: pan-y;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Form elemanları da aynı fontu miras alsın */
button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
}

main {
    width: 100%;
    background: var(--ss-bg);
}

.container {
    max-width: var(--ss-container);
}

/* ORTAK SECTION BAŞLIKLARI */
.section-mini-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 1px;
    color: var(--ss-soft-gray);
}

.section-title {
    max-width: 820px;
    margin-bottom: 16px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -3px;
    font-weight: 700;
}

.section-desc {
    max-width: 720px;
    font-size: 17px;
    line-height: 1.85;
    color: var(--ss-gray);
}

/* BOOTSTRAP FOCUS OVERRIDES */
a,
button,
.nav-link,
.dropdown-toggle,
.dropdown-item,
.navbar-toggler {
    -webkit-tap-highlight-color: transparent;
}

a:focus,
button:focus,
.nav-link:focus,
.navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

*:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}