/* karayakar.com — yapzek.ai görsel dili: koyu zemin, nokta ızgarası, yumuşak renk ışıkları */
:root {
  --bg: #06070a;
  --bg-2: #0b0d12;
  --surface: rgba(255, 255, 255, 0.025);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f4f6;
  --text-2: #b4b9c3;
  --muted: #7d8492;
  --accent: #4f8cff;
  --accent-2: #8fd3ff;
  --radius: 18px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); font-weight: 400; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.display { font-size: clamp(48px, 8vw, 104px); line-height: 0.98; font-weight: 800; margin-bottom: 22px; background: linear-gradient(90deg, #fff 0%, #cfe3ff 55%, #8fb8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.08; font-weight: 800; margin-bottom: 28px; max-width: 920px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); line-height: 1.65; }
.lead strong, .prose strong { color: var(--text); }
.narrow { max-width: 860px; }
.prose p { color: var(--text-2); font-size: 17px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.split--top { margin-bottom: 40px; }

/* butonlar */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 15px; transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn--primary { background: #fff; color: #0a0b0e; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.35); }

/* üst menü */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); background: rgba(6, 7, 10, 0.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__in { max-width: 1320px; margin: 0 auto; height: 100%; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: 0.02em; white-space: nowrap; }
.nav__logo .mono { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); font-size: 13px; color: var(--accent-2); }
.nav__logo:hover { text-decoration: none; }
.nav nav { flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav nav::-webkit-scrollbar { display: none; }
.nav__links { display: flex; gap: 4px; list-style: none; justify-content: center; }
.nav__links a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--text-2); font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.nav__cta { height: 40px; padding: 0 18px; font-size: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang a { padding: 5px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }
.lang a.is-on { background: #fff; color: #0a0b0e; }
.lang a:hover { text-decoration: none; }

/* kahraman */
.hero { padding: calc(var(--nav-h) + clamp(48px, 8vw, 110px)) 0 64px; }
.hero__in { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 48px; align-items: center; }
.hero__text .lead { max-width: 720px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__photo { margin: 0; justify-self: end; position: relative; width: min(100%, 320px); aspect-ratio: 1; }
.hero__photo::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; background: conic-gradient(from 200deg, #4f8cff, #7c6ff0, #10b48c, #4f8cff); filter: blur(22px); opacity: 0.45; }
.hero__photo img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 1px solid var(--line-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 64px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats > div { background: rgba(11, 13, 18, 0.85); padding: 24px; display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dt { color: var(--text-2); font-size: 14px; }
.stats dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1; }
.clients { margin-top: 40px; }
.clients__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.clients ul { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; }
.clients li { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #d8dde6; opacity: 0.85; }

/* kartlar */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(4px); }
.cards { display: grid; gap: 20px; margin-top: 40px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 15px; margin: 0; }
.checks { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.checks li { position: relative; padding-left: 28px; color: var(--text-2); }
.checks li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* galeri */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure, .feature { margin: 0; }
.gallery img, .feature img { width: 100%; height: auto; aspect-ratio: 488 / 477; object-fit: contain; background: #fff; border-radius: 14px; border: 1px solid var(--line); cursor: zoom-in; transition: transform 0.5s var(--ease); }
.gallery img:hover { transform: translateY(-4px); }
.gallery figcaption, .feature figcaption { margin-top: 8px; font-size: 13.5px; color: var(--text-2); }
.gallery figcaption b { color: var(--text); font-weight: 600; }
.feature img { box-shadow: 0 40px 90px -40px rgba(79, 140, 255, 0.45); }

/* zaman çizelgesi */
.timeline { list-style: none; padding: 0; margin: 40px 0 0; border-left: 1px solid var(--line-2); }
.timeline li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 0 0 34px 28px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent-2); }
.tl__when { color: var(--accent-2); font-size: 13px; padding-top: 3px; }
.tl__what h3 { font-size: 19px; margin-bottom: 6px; }
.tl__what p { color: var(--text-2); margin: 0; }

/* beceriler */
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.skills > div { border-top: 1px solid var(--line-2); padding-top: 18px; }
.skills h3 { font-size: 16px; margin-bottom: 14px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13.5px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); background: rgba(255, 255, 255, 0.02); }

/* sertifikalar */
.certs { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; margin-top: 40px; }
.certs h3 { font-size: 17px; margin: 0 0 12px; }
.certs h3 + .list + h3 { margin-top: 26px; }
.list { list-style: none; display: grid; gap: 9px; }
.list li { color: var(--text-2); font-size: 14.5px; padding-left: 16px; position: relative; }
.list li::before { content: '—'; position: absolute; left: 0; color: var(--muted); }
.list--cols { grid-template-columns: 1fr 1fr; column-gap: 24px; }

/* tavsiyeler */
.quotes { columns: 2 380px; column-gap: 20px; margin-top: 40px; }
.quotes blockquote { margin: 0 0 20px; break-inside: avoid; }
.quotes blockquote p { color: var(--text); font-size: 15.5px; line-height: 1.7; }
.quotes footer { font-size: 13.5px; color: var(--text-2); margin-top: 14px; }
.quotes cite { font-style: normal; font-weight: 700; color: var(--accent-2); }

/* iletişim */
.cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 56px); background: linear-gradient(135deg, rgba(79, 140, 255, 0.10), rgba(124, 111, 240, 0.08)); }
.contact { list-style: none; display: grid; gap: 14px; }
.contact li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.contact .mono { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.contact a { color: #fff; font-weight: 600; word-break: break-word; }

.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.footer__in { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }

/* görüntüleyici */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, 0.88); display: grid; place-items: center; padding: 40px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 900px); max-height: 80vh; background: #fff; border-radius: 12px; }
.lightbox__cap { color: var(--text-2); margin-top: 12px; text-align: center; }
.lightbox__close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 26px; cursor: pointer; }

/* görünür olunca yumuşak giriş (JS varsa) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* arka plan efekti */
.bgfx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bgfx__dots { position: absolute; inset: 0; -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 40%, transparent 100%); }
.bgfx__glows { position: absolute; inset: -20% -10%; will-change: transform; }
.bgfx__glows span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.22; }
.bgfx__glows span:nth-child(1) { width: 46vw; height: 46vw; left: 2%; top: 6%; background: radial-gradient(circle, #4f8cff 0%, transparent 68%); animation: drift-a 38s ease-in-out infinite alternate; }
.bgfx__glows span:nth-child(2) { width: 40vw; height: 40vw; right: 0; top: 34%; background: radial-gradient(circle, #7c6ff0 0%, transparent 68%); animation: drift-b 46s ease-in-out infinite alternate; }
.bgfx__glows span:nth-child(3) { width: 36vw; height: 36vw; left: 26%; top: 70%; opacity: 0.14; background: radial-gradient(circle, #10b48c 0%, transparent 68%); animation: drift-c 52s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(12vw, 8vh, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-14vw, -6vh, 0) scale(0.95); } }
@keyframes drift-c { to { transform: translate3d(-8vw, -12vh, 0) scale(1.12); } }
main { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bgfx__glows span { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 1080px) {
  .nav nav { display: none; }
  .nav__in { justify-content: space-between; }
  .cards--3, .skills { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .nav__cta { display: none; }
  .nav__in { padding: 0 16px; }
}
@media (max-width: 760px) {
  .hero__in, .split, .certs, .cta { grid-template-columns: 1fr; }
  .hero__photo { justify-self: start; width: 200px; order: -1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cards--3, .skills, .list--cols { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .container { padding: 0 16px; }
}
