/* =====================================================================
   AraziMax — Theme System
   Renk: warm-white texture + kırmızı-turuncu gradient accent
   ===================================================================== */

:root {
    /* Palet */
    --bg: #FAF8F4;
    --bg-paper: #FFFFFF;
    --bg-soft: #F4EFE6;
    --bg-dark: #0B0B0F;

    --ink: #0B0B0F;
    --ink-soft: #1F1D1B;
    --muted: #5E5C58;
    --muted-2: #8C8880;
    --line: #E8E2D6;
    --line-strong: #D8D0BE;

    --accent: #EF233C;
    --accent-2: #FB8500;
    --accent-deep: #C81E2C;
    --accent-soft: #FFF1EC;
    --accent-grad: linear-gradient(135deg, #EF233C 0%, #FB8500 100%);
    --accent-grad-soft: linear-gradient(135deg, rgba(239, 35, 60, 0.10) 0%, rgba(251, 133, 0, 0.10) 100%);

    --shadow-sm: 0 1px 2px rgba(11, 11, 15, 0.04), 0 1px 1px rgba(11, 11, 15, 0.03);
    --shadow-md: 0 8px 24px -8px rgba(11, 11, 15, 0.10), 0 2px 6px rgba(11, 11, 15, 0.04);
    --shadow-lg: 0 24px 60px -24px rgba(11, 11, 15, 0.18), 0 6px 18px -8px rgba(11, 11, 15, 0.08);
    --shadow-accent: 0 20px 50px -18px rgba(239, 35, 60, 0.45);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --container: 1240px;

    --font-display: 'Poppins', system-ui, -apple-system, Segoe UI, sans-serif;
    --font-body: 'Poppins', system-ui, -apple-system, Segoe UI, sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset light */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background-color: var(--bg);
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.04  0 0 0 0 0.04  0 0 0 0 0.04  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>"),
        radial-gradient(1200px 600px at 80% -10%, rgba(251, 133, 0, 0.06), transparent 70%),
        radial-gradient(900px 500px at -5% 30%, rgba(239, 35, 60, 0.05), transparent 70%);
    background-attachment: fixed, scroll, scroll;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    margin: 0 0 0.5em;
    letter-spacing: -0.02em;
    font-weight: 800;
    line-height: 1.1;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p { margin: 0 0 1em; color: var(--ink-soft); }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Utilities */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--bg-paper);
    border: 1px solid var(--line);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-deep);
    box-shadow: var(--shadow-sm);
}
.eyebrow::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--accent-grad);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(239, 35, 60, 0.12);
}
.gradient-text {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.98rem;
    border: 1px solid transparent;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}
.btn-primary {
    background: var(--accent-grad);
    color: #fff;
    box-shadow: var(--shadow-accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 60px -18px rgba(239, 35, 60, 0.55); }
.btn-ghost {
    background: var(--bg-paper);
    color: var(--ink);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: #fff; border-color: var(--line-strong); transform: translateY(-2px); }
.btn-dark {
    background: var(--ink);
    color: #fff;
}
.btn-dark:hover { transform: translateY(-2px); background: #000; }

.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* Card */
.card {
    background: var(--bg-paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

/* Section */
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section--soft { background: linear-gradient(180deg, transparent, var(--bg-soft) 25%, var(--bg-soft) 75%, transparent); }
.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.section-head .lead { margin-top: 12px; }

/* Texture overlay helper */
.texture-paper {
    position: relative;
}
.texture-paper::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.04  0 0 0 0 0.04  0 0 0 0 0.04  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    pointer-events: none;
    opacity: 0.5;
    mix-blend-mode: multiply;
}

/* Animations */
@keyframes float-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Forms */
input, textarea, select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-paper);
    font: inherit;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(239, 35, 60, 0.10);
}

/* Responsive helpers */
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .btn { padding: 13px 22px; font-size: 0.92rem; }
    .btn-lg { padding: 16px 28px; }
}
