/* ------------------------------
   Base / Reset
------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }

:root {
  --bg: #0b0c10;
  --surface: #0f1117;
  --surface-2: #141824;
  --text: #dfe7f1;
  --muted: #9aa8bc;
  --primary: #7b6cff; /* accent */
  --primary-2: #4fd1c5;
  --border: #22304a;
  --ring: rgba(123,108,255,.35);
  --container: 1180px;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
}

body.theme--light {
  --bg: #ffffff;
  --surface: #f6f7fb;
  --surface-2: #ffffff;
  --text: #151823;
  --muted: #596581;
  --primary: #5b5bd6;
  --primary-2: #06b6d4;
  --border: #e5e8f1;
  --ring: rgba(91,91,214,.25);
}

/* Utilities */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section { padding: 80px 0; }
.section--alt { background: var(--surface); }
.section__head { margin-bottom: 32px; }
.section__title { font-size: clamp(24px, 3vw, 36px); }
.section__desc { color: var(--muted); max-width: 720px; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: absolute; left: 1rem; top: 1rem; width: auto; height: auto; background: var(--primary);
  color: #fff; padding: .5rem 1rem; border-radius: 8px;
}

/* ------------------------------
   Header / Nav
------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100% ; z-index: 50;
  backdrop-filter: saturate(1.2) blur(8px);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; }
.brand__logo { width: 28px; height: 28px; }
.brand__logo--sm { width: 22px; height: 22px; }
.brand__text { letter-spacing: .2px; }

.site-nav { display: flex; }
.site-nav__list { display: flex; gap: 1.25rem; align-items: center; }
.site-nav a { color: var(--muted); font-weight: 500; }
.site-nav a:hover { color: var(--text); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface-2);
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block; width: 22px; height: 2px; background: var(--text); margin: 0 auto; position: relative;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle__bar { top: 0; }
.nav-toggle__bar::before { content: ""; position: absolute; top: -6px; left: 0; }
.nav-toggle__bar::after  { content: ""; position: absolute; top: 6px; left: 0; }

.mode-toggle {
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface-2); position: relative;
}
.mode-toggle__dot {
  position: absolute; inset: 8px; border-radius: 999px;
  background: radial-gradient(circle at 40% 40%, var(--primary), var(--primary-2));
  box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--ring) 60%, transparent);
  overflow: hidden;
}
/* beyaz overlay ile "beyaza doğru yanıp sönme" efekti */
.mode-toggle__dot::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background: #fff; opacity: 0; pointer-events: none;
  mix-blend-mode: screen;
  transition: opacity .3s ease;
}
.mode-toggle:hover .mode-toggle__dot::after,
.mode-toggle:focus .mode-toggle__dot::after,
.mode-toggle:focus-visible .mode-toggle__dot::after {
  animation: mode-dot-pulse 1.4s ease-in-out infinite;
}
@keyframes mode-dot-pulse {
  0%   { opacity: 0; }
  40%  { opacity: 0.75; }
  60%  { opacity: 0.9; }
  100% { opacity: 0; }
}

/* ------------------------------
   Hero
------------------------------- */
.hero { padding: 72px 0 48px; background:
  radial-gradient(1200px 600px at 80% -10%, color-mix(in oklab, var(--primary) 18%, transparent), transparent),
  radial-gradient(900px 400px at -10% 10%, color-mix(in oklab, var(--primary-2) 16%, transparent), transparent)
}
.hero__grid {
  display: grid; gap: 32px;
  grid-template-columns: 1.2fr .8fr;
}
.hero__title { font-size: clamp(28px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em; }
.hero__subtitle { color: var(--muted); font-size: clamp(16px, 2.2vw, 18px); margin-top: .5rem; }
.hero__actions { display: flex; gap: .75rem; margin-top: 1.25rem; }
.hero__badges { display: flex; gap: .75rem; margin-top: 1rem; color: var(--muted); flex-wrap: wrap; }
.hero__media { display: grid; place-items: center; }
.hero__image { width: 100%; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--border); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 4px; border-radius: 12px; font-weight: 700; 
  border: 2px solid transparent;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { filter: brightness(1.08); }
.btn--ghost { border-color: var(--border); background: var(--surface-2); color: var(--text);width: 110px;}
.btn--ghost:hover { border-color: color-mix(in oklab, var(--border) 50%, var(--primary)); }

/* ------------------------------
   Cards / Thesis
------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--border) 40%, var(--primary)); }
.card__title { font-size: 18px; margin-bottom: .25rem; }
.card__text { color: var(--muted); }

/* ------------------------------
   Portfolio Grid
------------------------------- */
.grid--portfolio {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; 
}
.portfolio {
  display: grid; grid-template-rows: 1fr 0.5fr 4fr; gap: .5rem; padding: 18px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.portfolio:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--border) 40%, var(--primary)); }
.portfolio__logo { width: 180px; height: 60px; border-radius: 5px; background: #111; object-fit: fill; }
.portfolio__meta { display: inline-flex; gap: .5rem; align-items: center; color: var(--muted); font-size: 14px; }
.tag { padding: .25rem .5rem; border: 1px solid var(--border); border-radius: 999px; }
.dot { width: 4px; height: 4px; border-radius: 999px; background: var(--muted); display: inline-block; }
.portfolio__name { font-size: 15px; }
.portfolio__desc { color: var(--muted); }

/* ------------------------------
   Team / Carousel
------------------------------- */
.team { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 280px; gap: 14px; overflow-x: hidden; scroll-behavior: smooth;
}
.person {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; text-align: center;
}
.person__photo { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; margin-bottom: .5rem; }
.person__role { color: var(--muted); font-size: 14px; }

.carousel__btn {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2);
  font-size: 22px; line-height: 1; display: grid; place-items: center; cursor: pointer;
}
.carousel__btn:hover { border-color: color-mix(in oklab, var(--border) 50%, var(--primary)); }

/* ------------------------------
   Notes
------------------------------- */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.note {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .2s;
}
.note:hover { transform: translateY(-3px); }
.note__link { display: block; padding: 18px; }
.note__title { margin-bottom: .25rem; }
.note__meta { color: var(--muted); font-size: 14px; margin-bottom: .5rem; }
.note__excerpt { color: var(--muted); }

/* ------------------------------
   Form
------------------------------- */
.form { max-width: 680px; }
.form__row { margin-bottom: 14px; }
.form__label { display: block; font-weight: 600; margin-bottom: 6px; }

/* ------------------------------
   Footer
------------------------------- */
.site-footer { padding: 40px 0; border-top: 1px solid var(--border); background: var(--surface); }
.site-footer__inner { display: grid; grid-template-columns: 1fr 4fr 3fr; gap: 16px; align-items: center; }
.site-footer__links { display: flex; gap: 1rem; align-self: center; justify-content: center; }
.site-footer__copy { color: var(--muted); text-align: right; }

/* ------------------------------
   Media Queries
------------------------------- */
@media (max-width: 1024px) {
  .grid--portfolio { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
  .notes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr; }
  .site-nav { position: absolute; right: 1rem; top: 68px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: .5rem; display: none; }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .nav-toggle { display: grid; place-items: center; }
  .grid--portfolio { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; text-align: center; }
}

.portfolio__desc p {
  position: relative;
  padding-left: 1.6rem;
  margin: 0 0 .5rem;
  color: var(--muted);
  font-size: 14px;
}
.portfolio__desc p::before {
  content: "◆"; /* istediğin sembolü buraya koy (•, –, ▸, svg vb.) */
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--primary-2);
  font-size: 0.95em;
  line-height: 1;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* küçük logo için boyut varsa üzerine yazmak isterseniz */
.brand__logo--sm {
  width: 25px;
  height: 25px;
}