/* yusufcirak.tr — kişisel site.
   ciraxis.tr ile aynı görsel dil: lacivert + kırmızı X vurgusu, Montserrat başlık, Inter gövde.
   Sınıf adları js/modern-main.js ve js/i18n-complete.js'in beklediği adlar; değiştirmeyin. */

:root {
  --navy: #02111f;
  --navy-2: #0b2236;
  --navy-3: #13314b;
  --ink: #1b2a3a;
  --muted: #5b6b7c;
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-alt: #f3f7fa;
  --red: #c81010;
  --red-2: #e02424;
  --cyan: #29b6e6;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(2, 17, 31, .05), 0 12px 32px -12px rgba(2, 17, 31, .16);
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Fira Code", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--body); overflow-x: hidden; }
#page-wrapper { overflow-x: hidden; position: relative; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: #fff; display: grid; place-items: center;
  transition: opacity .4s, visibility .4s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.loader {
  width: 42px; height: 42px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--red); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Üst çubuk ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.navbar.scrolled { border-bottom-color: var(--line); }
.nav-container { max-width: 1160px; margin: 0 auto; padding: 0 20px; height: 68px; display: flex; align-items: center; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--navy); color: #fff; font: 800 15px var(--head); letter-spacing: .02em; position: relative;
}
.logo-mark::after {
  content: ""; position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--red); border: 2px solid #fff;
}
.logo-name { font: 700 16.5px var(--head); color: var(--navy); }
.nav-menu { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  display: block; padding: 8px 12px; border-radius: 9px; text-decoration: none;
  font-weight: 500; font-size: 14.5px; color: var(--ink); transition: background .2s, color .2s;
}
.nav-link:hover { background: var(--bg-alt); }
.nav-link.active { color: var(--red); }
.lang-switcher { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang-btn {
  font: 600 12.5px var(--body); letter-spacing: .04em; color: var(--muted);
  background: transparent; border: 0; border-radius: 999px; padding: 5px 11px; cursor: pointer; transition: background .2s, color .2s;
}
.lang-btn:hover { color: var(--navy); }
.lang-btn.active { background: var(--navy); color: #fff; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .2s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 12px; border: 0; cursor: pointer;
  font: 600 15px var(--body); text-decoration: none; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -8px rgba(2, 17, 31, .5); }
.btn-primary:hover { background: var(--red); }
.btn-outline { border: 1.5px solid var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { box-shadow: 0 10px 24px -10px rgba(255, 255, 255, .5); }
.btn-full { width: 100%; }

/* ---------- Kahraman ---------- */
.hero { position: relative; overflow: hidden; padding: 128px 0 96px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 420px at 80% 30%, rgba(41, 182, 230, .13), transparent 70%),
    radial-gradient(520px 380px at 65% 95%, rgba(200, 16, 16, .07), transparent 70%),
    linear-gradient(180deg, #f6fafc, #fff);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(2, 17, 31, .09) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 35%, #000 90%);
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 90%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--ink); margin-bottom: 22px;
}
.hero-badge .pulse { font-size: 8px; color: #16a34a; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { font-size: clamp(36px, 5.6vw, 62px); font-weight: 800; }
.hero h1 .greet { display: block; font-size: .42em; font-weight: 700; color: var(--muted); margin-bottom: 8px; letter-spacing: 0; }
.hero h1 .highlight { color: var(--navy); }
/* İsimden sonra CIRAXIS'teki X'i andıran işaret: bir kolu uzun, harf boyunu aşıyor */
.x-mark { display: inline-block; width: .6em; height: .9em; margin-left: .08em; vertical-align: -.14em; overflow: visible; }
.x-mark path { fill: none; stroke: var(--red); stroke-linecap: round; }
.x-long { stroke-width: 9.5; }
.x-short { stroke-width: 9.5; }
.hero-subtitle { margin-top: 18px; font: 500 19px var(--mono); color: var(--navy); min-height: 1.6em; }
.hero-subtitle .prompt { color: var(--red); }
.typed-cursor { color: var(--red); font-family: var(--mono); }
.hero-description { font-size: 18px; color: var(--muted); margin-top: 16px; max-width: 540px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-social a, .social-links a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; text-decoration: none;
  border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 17px; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.hero-social a:hover, .social-links a:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }

.hero-visual { position: relative; max-width: 420px; margin-left: auto; width: 100%; }
.portrait { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 70px -35px rgba(2, 17, 31, .55); aspect-ratio: 1; }
.portrait::after { content: ""; position: absolute; inset: 0; border-radius: 28px; box-shadow: inset 0 0 0 1px rgba(2, 17, 31, .08); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::before {
  content: ""; position: absolute; inset: -14px -14px 14px 14px; border-radius: 32px; border: 2px dashed rgba(2, 17, 31, .14); z-index: -1;
}
.founder-chip {
  position: absolute; left: -28px; bottom: 28px; display: flex;
  background: #fff; border-radius: 16px; padding: 14px 18px; text-decoration: none; box-shadow: var(--shadow);
  transition: transform .2s;
}
.founder-chip:hover { transform: translateY(-2px); }
.founder-chip img { width: 128px; }
.founder-chip span { font: 700 11px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.chip-float {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 12px;
  background: var(--navy); color: #fff; font: 600 13px var(--mono); box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.chip-float i { color: var(--cyan); }
.chip-a { top: 26px; right: -22px; }
.chip-b { top: 46%; right: -34px; animation-delay: -3s; }
.chip-b i { color: #ff7b7b; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Bölüm başlıkları ---------- */
section { padding: 96px 0; }
.section-header { max-width: 720px; margin-bottom: 48px; }
.section-tag {
  display: inline-block; font: 700 12.5px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}
.section-tag.light { color: #ff8a8a; }
.section-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }

/* ---------- Hakkımda ----------
   Üstte tam genişlik rakam şeridi; altında solda metin + teknolojiler, sağda eğitim. */
.about-content { display: grid; grid-template-columns: 1fr; gap: 40px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-item {
  display: flex; align-items: center; gap: 16px; padding: 22px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat-number { font: 800 40px/1 var(--head); color: var(--navy); }
.stat-item:first-child .stat-number { color: var(--red); }
.stat-label { font-size: 15px; font-weight: 500; color: var(--muted); line-height: 1.35; }
.about-text { display: grid; grid-template-columns: 1.35fr 1fr; column-gap: 48px; align-items: start; }
.about-text > * { grid-column: 1; }
.about-text h3 { font-size: 24px; margin-bottom: 16px; }
.about-text p { color: var(--muted); margin-bottom: 14px; font-size: 16.5px; }
.skills-container { margin-top: 14px; }
.skills-container h4, .contact-social h4 { font-size: 15px; margin-bottom: 12px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag { font-size: 13.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.education-badges { grid-column: 2; grid-row: 1 / span 10; display: grid; gap: 14px; align-content: start; }
.edu-badge { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--bg-alt); }
.edu-badge i { color: var(--red); font-size: 20px; margin-top: 3px; }
.edu-badge strong { display: block; color: var(--navy); font-family: var(--head); }
.edu-badge span { font-size: 14.5px; color: var(--muted); }

/* ---------- CIRAXIS ---------- */
.ciraxis {
  background: radial-gradient(760px 480px at 95% 0%, rgba(200, 16, 16, .22), transparent 70%),
              radial-gradient(600px 400px at 0% 100%, rgba(41, 182, 230, .14), transparent 70%), var(--navy);
  color: #fff;
}
.cx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cx-logo { width: min(380px, 100%); margin: 6px 0 22px; }
.cx-copy p { color: rgba(255, 255, 255, .78); font-size: 17px; }
.cx-buttons { margin-top: 28px; }
.cx-cards { display: grid; gap: 14px; }
.cx-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; text-decoration: none;
  padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  transition: background .2s, border-color .2s, transform .2s;
}
a.cx-card:hover { background: rgba(255, 255, 255, .09); border-color: rgba(41, 182, 230, .6); transform: translateY(-2px); }
.cx-card img { width: 52px; height: 52px; border-radius: 14px; background: #fff; padding: 4px; }
.cx-card > i { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--cyan); font-size: 21px; }
.cx-card b { display: block; font: 700 16.5px var(--head); color: #fff; }
.cx-card span { display: block; font-size: 14px; color: rgba(255, 255, 255, .66); margin-top: 2px; }
.cx-card em {
  font: 700 11px var(--body); font-style: normal; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  padding: 5px 10px; border-radius: 999px; background: rgba(22, 163, 74, .2); color: #7ee2a8;
}
.cx-card em.soon { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7); }
.cx-card.featured { border-color: rgba(41, 182, 230, .45); }

/* ---------- Deneyim ---------- */
.experience { background: var(--bg-alt); }
.timeline { position: relative; display: grid; gap: 18px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-item { position: relative; }
.timeline-marker {
  position: absolute; left: -34px; top: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line); color: var(--navy); font-size: 13px;
}
.timeline-item:first-child .timeline-marker { background: var(--red); border-color: var(--red); color: #fff; }
.timeline-content { margin-left: 18px; background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.timeline-header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.timeline-date { font: 500 13px var(--mono); color: var(--muted); }
.timeline-badge { font: 700 11px var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(22, 163, 74, .12); color: #15803d; }
.timeline-content h3 { font-size: 19px; }
.timeline-content h4 { font: 600 15px var(--body); color: var(--ink); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.timeline-content h4 a { color: var(--red); text-decoration: none; font-weight: 700; }
.timeline-content h4 a:hover { text-decoration: underline; }
.location { font-weight: 400; font-size: 13.5px; color: var(--muted); }
.location i { font-size: 12px; margin-right: 2px; }
.timeline-content p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.timeline-tags span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--ink); }

/* ---------- Hizmetler ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; background: #fff; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(2, 17, 31, .06); color: var(--navy); font-size: 21px; margin-bottom: 18px; }
.service-card:nth-child(-n+2) .service-icon { background: rgba(200, 16, 16, .08); color: var(--red); }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 15px; }
.service-features { margin-top: 16px; display: grid; gap: 8px; }
.service-features li { font-size: 14.5px; display: flex; gap: 8px; align-items: baseline; }
.service-features i { color: #16a34a; font-size: 12px; }

/* ---------- Portfolyo ---------- */
.portfolio { background: var(--bg-alt); }
/* Proje menüsü: sekme çubuğu + seçili projenin açıklama kartı */
.portfolio-filters {
  display: flex; gap: 6px; padding: 6px; margin-bottom: 20px; width: max-content; max-width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; scrollbar-width: none;
}
.portfolio-filters::-webkit-scrollbar { display: none; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font: 600 14.5px var(--body); padding: 10px 18px; border-radius: 11px; cursor: pointer;
  background: transparent; border: 0; color: var(--muted); transition: background .2s, color .2s;
}
.filter-btn img { width: 22px; height: 22px; border-radius: 6px; }
.filter-btn i { font-size: 15px; }
.filter-btn:hover { color: var(--navy); background: var(--bg-alt); }
.filter-btn.active { background: var(--navy); color: #fff; }
.filter-btn.active i { color: var(--cyan); }
.port-links { display: flex; flex-wrap: wrap; gap: 10px; }
/* Proje: solda bilgi, sağda tek görsellik gösterici.
   Sınıf adları v-tall/v-wide: "portrait" giriş fotoğrafının sınıfı, çakışınca üstüne katman biniyordu. */
.project {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow);
}
.project[hidden] { display: none; }
.project-logo { width: 60px; height: 60px; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 18px; }
.project-ico {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(200, 16, 16, .08); color: var(--red); font-size: 24px;
}
.project-info h3 { font-size: 26px; margin-bottom: 10px; }
.project-info p { color: var(--muted); font-size: 16px; }
.port-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.port-tags span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--ink); }
.project-info .port-links { margin-top: 24px; }

.viewer-stage {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #eef5fa, #e2edf5);
}
.viewer.v-tall .viewer-stage { aspect-ratio: 5 / 4; }
.viewer-stage { max-height: 480px; width: 100%; }
.viewer-slide { position: absolute; inset: 0; display: none; cursor: zoom-in; }
.viewer-slide.is-on { display: block; animation: vfade .35s ease; }
@keyframes vfade { from { opacity: 0; } }
.viewer-slide img { width: 100%; height: 100%; object-fit: contain; }
.viewer.v-wide .viewer-slide img { object-fit: cover; }
.viewer-slide .cap {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(2, 17, 31, .78); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px);
}
.zoom {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--navy); pointer-events: none; box-shadow: var(--shadow);
}
.viewer-bar { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.vbtn {
  flex: 0 0 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #fff; border: 1px solid var(--line); color: var(--navy); transition: background .2s, color .2s, border-color .2s;
}
.vbtn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.vdots { flex: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.vdot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #cfd9e3; cursor: pointer; transition: width .25s, background .25s; }
.vdot.is-on { width: 22px; background: var(--red); }
.vcount { font: 500 13px var(--mono); color: var(--muted); min-width: 44px; text-align: center; }
.vcount b { color: var(--navy); }

/* ---------- İletişim ---------- */
.contact-wrapper { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info h3 { font-size: 22px; }
.contact-info > p { color: var(--muted); margin-top: 8px; }
.contact-details { display: grid; gap: 14px; margin: 26px 0; }
.contact-item { display: flex; gap: 14px; align-items: center; min-width: 0; }
.contact-icon { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-alt); color: var(--navy); }
.contact-text { min-width: 0; }
.contact-text span { display: block; font-size: 12.5px; color: var(--muted); }
.contact-text p, .contact-text a { font-weight: 600; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.contact-text a:hover { color: var(--red); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-form-wrapper { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; font: 15px var(--body); color: var(--ink); padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fbfcfd; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(2, 17, 31, .08); background: #fff; }
.btn-loading { display: none; }
#submit-btn.loading .btn-text { display: none; }
#submit-btn.loading .btn-loading { display: inline; }
#submit-btn.loading { opacity: .8; pointer-events: none; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; }
.form-status.success { background: rgba(22, 163, 74, .1); color: #15803d; }
.form-status.error { background: rgba(200, 16, 16, .08); color: var(--red); }

/* ---------- Altbilgi ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 48px 0 26px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-logo { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer .logo-mark { background: #fff; color: var(--navy); }
.footer .logo-mark::after { border-color: var(--navy); }
.footer-cx { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 13.5px; }
.footer-cx img { width: 118px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { text-decoration: none; font-size: 14.5px; }
.footer-links a:hover { color: #fff; }
.footer-copy { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }

/* ---------- Yukarı dön ---------- */
.back-to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; background: var(--navy); color: #fff; text-decoration: none; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--red); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip-float, .hero-badge .pulse { animation: none; }
}

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1080px) {
  .nav-link { padding: 8px 9px; font-size: 14px; }
  .logo-name { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: 0 20px 30px -20px rgba(2, 17, 31, .25);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-menu.active { transform: none; opacity: 1; visibility: visible; }
  .nav-link { padding: 13px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-menu li:last-child .nav-link { border-bottom: 0; }
  .nav-link:hover { background: transparent; }
  .lang-switcher { margin-left: auto; }
  .logo-name { display: inline; }

  .hero { padding: 104px 0 72px; }
  .hero-grid, .about-content, .cx-grid, .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { margin: 0 auto; max-width: 360px; }
  section { padding: 72px 0; }
  .project { grid-template-columns: 1fr; gap: 26px; padding: 24px; }
  .about-text { grid-template-columns: 1fr; }
  .education-badges { grid-column: 1; grid-row: auto; margin-top: 24px; }
  .stat-item { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; }
  .stat-number { font-size: 32px; }
}
@media (max-width: 560px) {
  .container, .nav-container { padding-left: 16px; padding-right: 16px; }
  .logo-name { display: none; }
  .hero-buttons .btn { width: 100%; }
  .hero-description { font-size: 16.5px; }
  .hero-subtitle { font-size: 16px; }
  .hero-visual { max-width: 290px; }
  .founder-chip { left: -12px; bottom: 18px; padding: 10px 12px 8px; }
  .founder-chip img { width: 100px; }
  .chip-a { right: -10px; }
  .chip-b { right: -14px; }
  .hero-visual::before { inset: -10px -10px 10px 10px; }
  .services-grid { grid-template-columns: 1fr; }
  .project { padding: 18px; border-radius: 20px; }
  .project-info h3 { font-size: 22px; }
  .vcount { display: none; }
  .portfolio-filters { width: 100%; }
  .filter-btn { padding: 9px 12px; font-size: 13.5px; }
  .port-links .btn { flex: 1; }
  .stat-number { font-size: 26px; }
  .stat-label { font-size: 12.5px; }
  .about-stats { gap: 8px; }
  .stat-item { padding: 14px 12px; }
  .contact-form-wrapper { padding: 22px 18px; }
  .timeline { padding-left: 26px; }
  .timeline::before { left: 13px; }
  .timeline-marker { left: -26px; width: 28px; height: 28px; font-size: 11px; }
  .timeline-content { margin-left: 12px; padding: 18px; }
  .cx-card { grid-template-columns: auto 1fr; }
  .cx-card em { grid-column: 2; justify-self: start; }
}
@media (max-width: 400px) {
  /* Üç sekme dar ekrana sığsın: simgeler gizleniyor */
  .filter-btn i, .filter-btn img { display: none; }
  .filter-btn { padding: 9px 10px; }
}
@media (max-width: 560px) {
  /* Menü hep üstte; bu düğme galerinin sağ okunun üstüne biniyordu */
  .back-to-top { display: none; }
  .viewer.v-tall .viewer-stage { aspect-ratio: 1 / 1; }
}
