/* ==========================================================================
   Uzman Tekniker — static site stylesheet
   Renk dili: birincil #04b7ec · ikincil #00dcae · lacivert #1F2531 · gri #AEB3BD
   ========================================================================== */

/* ---- Fonts (self-hosted woff2, latin + latin-ext) ---- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
    src: url('/assets/fonts/nunito-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
    src: url('/assets/fonts/nunito-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Design tokens ---- */
:root {
    --c-primary: #04b7ec;
    --c-primary-dark: #0397c5;
    --c-primary-light: #00dcae;
    --c-secondary: #00dcae;
    --c-dark: #1F2531;
    --c-dark-2: #2A3140;
    --c-text: #1F2531;
    --c-text-muted: #5A6272;
    --c-text-faint: #AEB3BD;
    --c-bg: #FFFFFF;
    --c-bg-alt: #F6F9FC;
    --c-border: #E6EAF0;
    --c-whatsapp: #25D366;

    --font-main: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-alt: 'Nunito', var(--font-main);

    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 10px rgba(31, 37, 49, 0.06);
    --shadow-md: 0 8px 30px rgba(31, 37, 49, 0.08);
    --shadow-lg: 0 20px 60px rgba(31, 37, 49, 0.12);

    --container: 1500px;
    --header-h: 90px;
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    font-family: var(--font-main);
    font-size: clamp(15px, 0.95rem + 0.2vw, 17px);
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-primary-dark); }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-narrow { max-width: 820px; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-alt);
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-primary);
    margin-bottom: 0.75rem;
}
.accent { color: var(--c-primary); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(4, 183, 236, 0.35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 10px 30px rgba(4, 183, 236, 0.45); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
.btn-whatsapp { background: var(--c-whatsapp); color: #fff; }
.btn-whatsapp:hover { color: #fff; background: #1fb857; }
.btn-block { width: 100%; }

/* ---- Header ---- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: #F5F7F9;
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s, border-color .25s, background .25s;
}
.site-header.scrolled {
    background: #F5F7F9;
    border-bottom-color: var(--c-border);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: var(--header-h);
}
.brand { min-width: 0; }
.brand img { width: auto; height: 60px; max-width: 100%; }

.main-nav ul { display: flex; gap: 2rem; }
.main-nav a {
    position: relative;
    color: var(--c-text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.4rem 0;
    white-space: nowrap;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 2px;
    background: var(--c-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--c-primary); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2.5px;
    width: 100%;
    background: var(--c-dark);
    border-radius: 2px;
    transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
    display: none;
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid var(--c-border);
    background: #F5F7F9;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { margin-bottom: 1rem; }
.mobile-nav a { display: block; padding: 0.8rem 0.25rem; font-weight: 600; color: var(--c-text); border-bottom: 1px solid var(--c-border); }
.mobile-nav a:hover { color: var(--c-primary); }

/* ---- Hero ---- */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 4rem) 0 5rem;
    overflow: hidden;
    color: #fff;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 75% 20%, rgba(0, 220, 174, 0.20), transparent 60%),
        radial-gradient(ellipse 60% 50% at 15% 85%, rgba(4, 183, 236, 0.14), transparent 55%),
        linear-gradient(160deg, #1a2130 0%, #1F2531 45%, #262e3f 100%);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3rem;
}
.hero .eyebrow { color: var(--c-primary-light); }
.hero h1 { margin-bottom: 1.25rem; }
.hero-lead {
    font-size: clamp(1rem, 0.95rem + 0.35vw, 1.18rem);
    color: var(--c-text-faint);
    max-width: 34rem;
    margin-bottom: 2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.hero-badges li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 0.92rem;
    color: #D5DAE3;
}
.hero-badges svg { color: var(--c-primary-light); flex-shrink: 0; }

.hero-visual { position: relative; justify-self: center; }
.hero-visual img {
    width: min(100%, 420px);
    filter: drop-shadow(0 30px 50px rgba(0,0,0,0.35));
}

/* ---- Sections ---- */
.section { padding: clamp(4rem, 3rem + 3vw, 6.5rem) 0; }
.section-alt { background: var(--c-bg-alt); }
.section-dark {
    background:
        radial-gradient(ellipse 70% 60% at 85% 10%, rgba(4, 183, 236, 0.1), transparent 55%),
        radial-gradient(ellipse 50% 45% at 10% 90%, rgba(0, 220, 174, 0.07), transparent 55%),
        var(--c-dark);
    color: #fff;
}
.section-dark .section-lead { color: var(--c-text-faint); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-lead { color: var(--c-text-muted); margin-top: 0.9rem; }

/* ---- Hizmet kartları ---- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}
.card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 2rem 1.6rem 1.8rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(4, 183, 236, 0.35);
}
.card-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.4rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--c-bg-alt);
    border: 3px solid var(--c-bg-alt);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { margin-bottom: 1.1rem; color: var(--c-dark); }
.check-list { text-align: left; }
.check-list li {
    position: relative;
    padding-left: 1.7rem;
    margin-bottom: 0.55rem;
    font-size: 0.92rem;
    color: var(--c-text-muted);
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.32em;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--c-primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 78% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 78% no-repeat;
}

/* ---- Neden biz ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.feature {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    transition: transform .25s, background .25s, border-color .25s;
}
.feature:hover { transform: translateY(-5px); background: rgba(255,255,255,0.07); border-color: rgba(0,187,238,0.35); }
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 14px;
    margin-bottom: 1.2rem;
    color: #fff;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
    box-shadow: 0 8px 20px rgba(4, 183, 236, 0.3);
}
.feature h3 { margin-bottom: 0.6rem; font-size: 1.12rem; }
.feature p { color: var(--c-text-faint); font-size: 0.93rem; }

/* ---- Bölgeler ---- */
.districts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    max-width: 900px;
    margin: 0 auto;
}
.districts li {
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--c-dark);
    transition: transform .2s, border-color .2s, color .2s, background .2s;
}
.districts li:hover {
    transform: translateY(-2px);
    border-color: var(--c-primary);
    color: var(--c-primary);
    background: rgba(4, 183, 236, 0.06);
}
.districts-cta { text-align: center; margin-top: 2.5rem; }
.districts-cta p { color: var(--c-text-muted); margin-bottom: 1.2rem; }

/* ---- SSS ---- */
.faq { display: grid; gap: 0.9rem; }
.faq details {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: rgba(4, 183, 236, 0.4); box-shadow: var(--shadow-sm); }
.faq summary {
    position: relative;
    padding: 1.15rem 3rem 1.15rem 1.4rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '';
    position: absolute;
    right: 1.3rem;
    top: 50%;
    width: 10px; height: 10px;
    border-right: 2.5px solid var(--c-primary);
    border-bottom: 2.5px solid var(--c-primary);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq summary:hover { color: var(--c-primary); }
.faq-body { padding: 0 1.4rem 1.3rem; color: var(--c-text-muted); font-size: 0.96rem; }

/* ---- İletişim ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: start;
}
.contact-info { display: grid; gap: 1rem; }
.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.3rem;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    color: var(--c-text);
    box-shadow: var(--shadow-sm);
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
a.contact-card:hover { transform: translateX(4px); border-color: var(--c-primary); box-shadow: var(--shadow-md); color: var(--c-text); }
.contact-card img { width: 46px; height: 46px; }
.contact-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(4, 183, 236, 0.1);
    color: var(--c-primary);
    flex-shrink: 0;
}
.contact-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--c-text-muted);
}
.contact-card strong { font-size: 1.02rem; color: var(--c-dark); }

.contact-form {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
    color: var(--c-dark);
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 0.95rem;
    color: var(--c-text);
    background: var(--c-bg-alt);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--c-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(4, 183, 236, 0.12);
}
.form-field input.error,
.form-field textarea.error { border-color: #e5484d; }
.form-field textarea { resize: vertical; min-height: 120px; }
.hidden-check { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin-top: 0.9rem; font-weight: 600; font-size: 0.93rem; text-align: center; min-height: 1.4em; }
.form-status.success { color: #1a9e55; }
.form-status.fail { color: #e5484d; }

/* ---- Footer ---- */
.site-footer { background: var(--c-dark); color: var(--c-text-faint); }
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding: 3.5rem 0 2.5rem;
}
.footer-brand img { width: auto; height: 40px; max-width: 100%; margin-bottom: 1rem; }
.footer-brand p { max-width: 26rem; font-size: 0.93rem; font-family: var(--font-alt); }
.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.footer-col li { margin-bottom: 0.5rem; font-size: 0.94rem; }
.footer-col a { color: var(--c-text-faint); }
.footer-col a:hover { color: var(--c-primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.3rem 0; }
.footer-bottom p { font-size: 0.85rem; text-align: center; }

/* ---- Floating WhatsApp ---- */
.floating-wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--c-whatsapp);
    color: #fff;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
    transition: transform .2s, box-shadow .2s;
}
.floating-wa:hover { transform: scale(1.08); color: #fff; box-shadow: 0 12px 34px rgba(37, 211, 102, 0.55); }

/* ---- Reveal animasyonu ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-float-card { animation: none; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .cards-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-lead { margin-inline: auto; }
    .hero-cta, .hero-badges { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-visual img { width: min(70%, 320px); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --header-h: 78px; }
    .main-nav { display: none; }
    .nav-toggle { display: flex; }
    .header-actions .btn-whatsapp { display: none; }
    .brand img { width: auto; height: 44px; max-width: 100%; }
    .hero { padding: calc(var(--header-h) + 2.5rem) 0 3.5rem; }
    .hero-float-card { left: 4px; bottom: 12px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0 1.5rem; }
    .floating-wa { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (max-width: 560px) {
    .cards-grid, .features-grid { grid-template-columns: 1fr; }
    .hero-visual img { width: min(85%, 280px); }
    .contact-form { padding: 1.4rem; }
}
