/* ===== EKA Talent — Minimalist Siyah & Beyaz ===== */
:root {
    --bg: #F0EFEC;            /* koyu kırık beyaz — ana arka plan */
    --surface: #F6F5F2;       /* yumuşak beyaz — kartlar */
    --surface-alt: #E8E7E3;   /* bölüm ayrımı için açık gri */
    --paper: #F5F4F0;         /* koyu zeminlerdeki "beyaz" (metin/aksan/buton) */
    --ink: #1A1918;           /* matlaştırılmış siyah — başlık & buton */
    --ink-soft: #565249;      /* yumuşak kurşuni gri — alt metinler */
    --border: #DEDCD7;        /* yumuşak duman grisi */
    --border-strong: #CBC9C3;
    --radius: 14px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,.08);
    --shadow-lg: 0 24px 60px rgba(0,0,0,.16);
    --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Clash Display', system-ui, sans-serif; line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; font-weight: 600; font-size: 1rem; cursor: pointer;
    border: 1.5px solid transparent; border-radius: 999px;
    padding: 12px 26px; transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease;
    text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Ana buton: siyah dolgu → hover'da beyaza döner (ters geçiş) */
.btn-accent { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-md); }

/* İkincil buton: outline → hover'da dolar */
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ===== Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 2px; font-size: 1.4rem; }
.logo-mark { font-family: 'Clash Display', sans-serif; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.logo-text { font-family: 'Clash Display', sans-serif; font-weight: 500; color: var(--ink-soft); letter-spacing: -.01em; }
/* Görsel logo (dosya varsa) */
.brand-logo { height: 52px; width: auto; display: block; }
.logo-dark { filter: invert(1) brightness(1.6); }
.footer-brand .brand-logo { height: 76px; margin-bottom: 8px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) { color: var(--ink); font-weight: 500; position: relative; }
.main-nav a:not(.btn)::after {
    content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 1.5px;
    background: var(--ink); transition: width .22s ease;
}
.main-nav a:not(.btn):hover { text-decoration: none; }
.main-nav a:not(.btn):hover::after { width: 100%; }

/* ===== Hero (mat siyah + duman efekti) ===== */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--ink);
    color: var(--paper); text-align: center;
    padding: 110px 0 120px;
    border-bottom: 1px solid var(--ink);
}
/* tepeden ince ışık haresi (taban derinlik) */
.hero::after {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(130% 90% at 50% -10%, rgba(255,255,255,.05), transparent 55%);
}
.hero-inner { position: relative; z-index: 3; max-width: 820px; margin: 0 auto; }

/* Hero arka plan videosu */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; background: var(--ink); }
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(17,17,17,.5) 0%, rgba(17,17,17,.55) 45%, rgba(17,17,17,.8) 100%); }
.hero--has-video .hero-smoke { z-index: 2; }

/* ===== Çizgisel duman parçaları (hero + footer) ===== */
.hero-smoke, .footer-smoke { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-smoke span, .footer-smoke span {
    position: absolute; left: -40%; width: 70%; height: 70px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
    border-radius: 50%; filter: blur(16px); opacity: 0;
    animation: wisp 24s linear infinite; will-change: transform, opacity;
}
.hero-smoke span:nth-child(1) { top: 20%; height: 60px; animation-duration: 20s; animation-delay: -2s; }
.hero-smoke span:nth-child(2) { top: 42%; height: 95px; animation-duration: 27s; animation-delay: -11s; }
.hero-smoke span:nth-child(3) { top: 60%; height: 55px; animation-duration: 23s; animation-delay: -17s; }
.hero-smoke span:nth-child(4) { top: 77%; height: 80px; animation-duration: 30s; animation-delay: -6s; }
.footer-smoke span:nth-child(1) { top: 28%; height: 60px; animation-duration: 25s; animation-delay: -4s; }
.footer-smoke span:nth-child(2) { top: 58%; height: 85px; animation-duration: 31s; animation-delay: -15s; }
.footer-smoke span:nth-child(3) { top: 78%; height: 48px; animation-duration: 28s; animation-delay: -9s; }

@keyframes wisp {
    0%   { transform: translate(0, 0) rotate(-6deg); opacity: 0; }
    15%  { opacity: .8; }
    85%  { opacity: .5; }
    100% { transform: translate(200%, -30px) rotate(-6deg); opacity: 0; }
}
.hero-eyebrow {
    display: inline-block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
    color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.28);
    padding: 6px 16px; border-radius: 999px; margin-bottom: 26px; font-weight: 600;
}
.hero h1 { color: var(--paper); font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 700; letter-spacing: -.025em; margin-bottom: 22px; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.72); max-width: 620px; margin: 0 auto 18px; }
.hero-mail { margin: 0 0 34px; }
.hero-mail a {
    color: var(--paper); font-weight: 600; font-size: 1.08rem;
    border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px;
    transition: border-color .18s ease;
}
.hero-mail a:hover { text-decoration: none; border-bottom-color: var(--paper); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Hero butonları (koyu zemin için ters mantık) */
.hero .btn-accent { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hero .btn-accent:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
.hero .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,.45); }
.hero .btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-eyebrow {
    display: inline-block; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--ink-soft); font-weight: 700; margin-bottom: 14px;
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; }
.section-lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
.feature-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 34px 28px; box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ink); }
.feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; border-radius: 12px; margin-bottom: 18px;
    background: var(--surface-alt); border: 1px solid var(--border); color: var(--ink); font-size: 1.1rem;
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); }

/* ===== Form ===== */
.apply-form {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 36px; box-shadow: var(--shadow-md); margin-top: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; color: var(--ink); }
.req { color: var(--ink); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%; font: inherit; color: var(--ink);
    padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px;
    background: var(--surface); transition: border-color .15s ease, box-shadow .15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(17,17,17,.08); background: var(--paper);
}
.form-group input[type="file"] { width: 100%; padding: 10px 0; font: inherit; }
.form-hint { display: block; color: var(--ink-soft); font-size: .85rem; margin-top: 6px; }
textarea { resize: vertical; }

.form-consent { margin: 8px 0 26px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 400 !important; cursor: pointer; }
.checkbox input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--ink); flex-shrink: 0; }
.checkbox a { font-weight: 600; text-decoration: underline; }

/* Honeypot gizleme */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== Alerts (nötr, gri tonlu) ===== */
.alert { border-radius: 12px; padding: 16px 20px; margin: 28px 0 0; font-size: .98rem; background: var(--surface-alt); border: 1px solid var(--border); }
.alert ul { margin: 8px 0 0 18px; }
.alert-success { border-left: 4px solid var(--ink); color: var(--ink); }
.alert-error { border-left: 4px solid var(--ink); color: var(--ink); }

/* ===== Footer (mat siyah + duman efekti) ===== */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: rgba(255,255,255,.7); }
/* footer duman parçaları .footer-smoke (HTML) ile sağlanır */
.footer-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; padding-top: 64px; padding-bottom: 44px; }
.footer-brand .logo-mark { color: var(--paper); font-size: 1.5rem; }
.footer-brand .logo-text { color: rgba(255,255,255,.65); font-size: 1.5rem; }
.footer-brand p { margin-top: 12px; max-width: 320px; color: rgba(255,255,255,.55); font-size: .95rem; }

/* Sosyal medya ikonları */
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.8);
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.footer-social a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); transform: translateY(-2px); text-decoration: none; }

/* Footer sütunları */
.footer-col h4 { color: var(--paper); font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.6); font-size: .95rem; transition: color .15s ease; }
.footer-col a:hover { color: var(--paper); text-decoration: none; }
.footer-address { color: rgba(255,255,255,.6); font-size: .95rem; line-height: 1.55; }

.footer-bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; font-size: .88rem; color: rgba(255,255,255,.5); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,.5); font-size: .85rem; transition: color .15s ease; }
.footer-legal a:hover { color: var(--paper); text-decoration: none; }
.footer-credit { text-align: center; margin-top: 14px; }
.design-by { font-family: 'Caveat', cursive; font-weight: 600; font-size: 1.3rem; color: rgba(255,255,255,.5); }
.design-by a { font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: .98rem; letter-spacing: -.01em; color: rgba(255,255,255,.85); transition: color .15s ease; }
.design-by a:hover { color: var(--paper); text-decoration: none; }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(2px); }
.modal-dialog {
    position: relative; max-width: 640px; margin: 6vh auto; max-height: 88vh; overflow-y: auto;
    background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 36px; animation: modal-in .2s ease;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.modal-close {
    position: absolute; top: 16px; right: 18px; background: none; border: none;
    font-size: 1.8rem; line-height: 1; color: var(--ink-soft); cursor: pointer; transition: color .15s ease;
}
.modal-close:hover { color: var(--ink); }
.modal-dialog h2 { font-size: 1.5rem; margin-bottom: 18px; padding-right: 30px; }
.modal-body h3 { font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--ink); margin: 18px 0 6px; }
.modal-body p { color: var(--ink-soft); margin-bottom: 10px; font-size: .96rem; }
.modal-note { font-size: .85rem !important; font-style: italic; border-top: 1px dashed var(--border); padding-top: 14px; margin-top: 18px; }
.modal-footer { margin-top: 24px; text-align: right; }

/* ===== Responsive ===== */
@media (max-width: 760px) {
    .features { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .main-nav { gap: 14px; }
    .main-nav a:not(.btn) { display: none; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero { padding: 80px 0 90px; }
    .section { padding: 64px 0; }
    .apply-form { padding: 24px; }
}
