/* ═══════════════════════════════════════════════════════════════
   EFBA Design Tokens — Light Only Palette
   Logo renkleri: navy (#0c4a6e), kırmızı accent (#dc143c)
   ═══════════════════════════════════════════════════════════════ */

:root {
    color-scheme: only light;

    /* Primary — EFBA navy */
    --navy-900: #0c2d48;
    --navy-800: #0c4a6e;
    --navy-700: #075985;
    --navy-600: #0369a1;
    --navy-500: #0284c7;
    --navy-100: #e0f2fe;
    --navy-50:  #f0f9ff;

    /* Accent — EFBA red (sparing kullanım) */
    --red-700: #b91c1c;
    --red-600: #dc143c;
    --red-100: #fee2e2;

    /* Warm — pharma/biotech sıcaklığı (gloseria DNA, EFBA navy ile uyumlu) */
    --warm-200: #fbd7b8;
    --warm-300: #f4a574;
    --warm-400: #e88e58;
    --warm-500: #ce8a5e;
    --warm-600: #b8704c;
    --warm-700: #8c5232;

    /* Neutrals */
    --white:    #ffffff;
    --gray-50:  #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Semantic — bg & text */
    --bg-page:     var(--gray-50);
    --bg-card:     var(--white);
    --bg-soft:     var(--navy-50);
    --bg-dark:     var(--navy-800);
    --text:        var(--gray-700);
    --text-strong: var(--navy-800);
    --text-muted:  var(--gray-500);
    --text-on-dark: var(--white);
    --border:      var(--gray-200);
    --border-soft: var(--gray-100);
    --accent:      var(--navy-800);
    --accent-hover: var(--navy-900);
    --accent-warm: var(--red-600);

    /* Tipografi */
    --font-display: 'Libre Baskerville', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --text-xs:   0.8125rem;
    --text-sm:   0.9375rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
    --text-2xl:  clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
    --h3-size:   clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
    --h2-size:   clamp(2rem, 1.6rem + 1.6vw, 3rem);
    --h1-size:   clamp(2.5rem, 1.8rem + 3vw, 4.5rem);

    --leading-tight: 1.25;
    --leading-snug:  1.4;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;

    /* Spacing */
    --space-2xs: 0.25rem;
    --space-xs:  0.5rem;
    --space-sm:  0.75rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Radius */
    --radius-sm:   0.5rem;
    --radius-md:   0.875rem;
    --radius-lg:   1.25rem;
    --radius-xl:   2rem;
    --radius-2xl:  2.5rem;
    --radius-pill: 999px;

    /* Shadow (navy tint) */
    --shadow-xs: 0 1px 2px rgba(12, 74, 110, 0.04);
    --shadow-sm: 0 1px 3px rgba(12, 74, 110, 0.06), 0 1px 2px rgba(12, 74, 110, 0.04);
    --shadow-md: 0 12px 32px rgba(12, 74, 110, 0.08), 0 4px 8px rgba(12, 74, 110, 0.04);
    --shadow-lg: 0 28px 60px rgba(12, 74, 110, 0.12), 0 8px 16px rgba(12, 74, 110, 0.06);
    --shadow-xl: 0 40px 80px rgba(12, 74, 110, 0.18);
    --shadow-inset-soft: inset 0 1px 0 rgba(255, 255, 255, 0.6);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-fast:   0.2s var(--ease-out);
    --transition-smooth: 0.3s var(--ease-out);
    --transition-slow:   0.5s var(--ease-out);

    /* Layout */
    --container-max: 1280px;
    --container-wide: 1440px;
    --nav-height: 76px;
    --section-pad-y: clamp(4rem, 6vw, 7rem);
}

/* ═══════════════════════════════════════════════════════════════
   Reset & Base
   ═══════════════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--text);
    background-color: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-strong);
    line-height: var(--leading-tight);
    font-weight: 700;
}

p {
    line-height: var(--leading-relaxed);
}

::selection {
    background: var(--navy-100);
    color: var(--navy-900);
}

/* Focus visible — WCAG */
:focus-visible {
    outline: 2px solid var(--navy-600);
    outline-offset: 3px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--navy-600);
    outline-offset: 3px;
}

/* sr-only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
