/* =========================================================
   FC SOFTWARE PORTFOLYO
   Ana renkler ve ortak ölçüler
========================================================= */

:root {
  color-scheme: dark;
  --bg: #050914;
  --bg-soft: #08111f;
  --surface: rgba(14, 25, 43, 0.66);
  --surface-strong: rgba(17, 31, 52, 0.9);
  --line: rgba(153, 205, 255, 0.13);
  --line-strong: rgba(111, 203, 255, 0.34);
  --text: #f6fbff;
  --text-soft: #a7b7ca;
  --blue: #42b8ff;
  --blue-light: #9fe4ff;
  --blue-dark: #1463ff;
  --success: #6fffc1;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --header-height: 82px;
  --container: 1180px;
}

/* =========================================================
   Temel sıfırlama
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background-color: #050914;
  background:
    radial-gradient(circle at 50% -20%, rgba(38, 126, 255, 0.16), transparent 36%),
    linear-gradient(180deg, #050914 0%, #07101f 52%, #050914 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  color: #00111f;
  background: var(--blue-light);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 120px 0;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.eyebrow {
  margin: 0;
  color: var(--blue-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.gradient-text {
  color: transparent;
  background:
    linear-gradient(100deg, #ffffff 5%, #9fe4ff 45%, #4b9cff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.glass-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* =========================================================
   Arka plan efektleri
========================================================= */

.background-effects {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(122, 183, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 183, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.glow {
  position: absolute;
  width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(120px);
}

.glow-one {
  top: 8%;
  left: -180px;
  background: rgba(30, 125, 255, 0.16);
}

.glow-two {
  right: -180px;
  bottom: 5%;
  background: rgba(68, 197, 255, 0.11);
}

.code-background {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

.code-line {
  position: absolute;
  left: var(--left);
  top: var(--top);
  color: rgba(145, 210, 255, 0.55);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: var(--size);
  white-space: nowrap;
  animation: codeFloat var(--duration) ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

@keyframes codeFloat {
  from {
    opacity: 0.18;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0.5;
    transform: translate3d(14px, -18px, 0);
  }
}

/* =========================================================
   Scroll progress
========================================================= */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 3px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue-light));
  box-shadow: 0 0 18px rgba(66, 184, 255, 0.8);
}

/* =========================================================
   Header ve navigasyon
========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(5, 9, 20, 0.76);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-container {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  min-width: 58px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--blue-light);
  background: rgba(60, 153, 255, 0.08);
  box-shadow:
    inset 0 0 24px rgba(77, 184, 255, 0.06),
    0 0 24px rgba(57, 145, 255, 0.08);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 800;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 10px 14px;
  color: var(--text-soft);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 1px;
  content: "";
  transform: scaleX(0);
  background: var(--blue);
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.nav-link.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--text);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =========================================================
   Hero
========================================================= */

.hero {
  display: flex;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 86px);
  padding-bottom: 88px;
  align-items: center;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
}

.status-badge {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 8px 12px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(111, 255, 193, 0.2);
  border-radius: 999px;
  color: #cbffe6;
  background: rgba(57, 255, 165, 0.055);
  font-size: 0.78rem;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 15px rgba(111, 255, 193, 0.9);
  animation: statusPulse 1.8s ease-in-out infinite;
}

@keyframes statusPulse {
  50% {
    opacity: 0.45;
    transform: scale(0.82);
  }
}

.hero h1 {
  max-width: 760px;
  margin: 20px 0 24px;
  font-size: clamp(3rem, 6.2vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-description {
  max-width: 660px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.hero-actions {
  display: flex;
  margin-top: 36px;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  isolation: isolate;
  appearance: none;
  -webkit-appearance: none;
  -webkit-text-fill-color: currentColor;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button,
.button span,
.button svg {
  color: inherit;
  fill: currentColor;
  stroke: currentColor;
}

.button-primary {
  color: #03101d !important;
  background-color: #9fe4ff;
  background-image: linear-gradient(135deg, #dff7ff, #5cc8ff);
  box-shadow: 0 16px 45px rgba(52, 173, 255, 0.24);
}

.button-primary:hover {
  box-shadow: 0 20px 55px rgba(52, 173, 255, 0.34);
}

.button-secondary {
  color: var(--text) !important;
  border-color: var(--line);
  background-color: rgba(255, 255, 255, 0.04);
  background-image: none;
}

.button-secondary:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.075);
}

.hero-stats {
  display: flex;
  margin-top: 48px;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats > div {
  display: flex;
  min-width: 150px;
  padding: 14px 16px;
  flex-direction: column;
  border-left: 1px solid var(--line-strong);
  background: linear-gradient(90deg, rgba(60, 159, 255, 0.05), transparent);
}

.hero-stats strong {
  font-size: 0.95rem;
}

.hero-stats span {
  color: var(--text-soft);
  font-size: 0.76rem;
}

.terminal-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(144, 207, 255, 0.2);
  border-radius: 24px;
  background: rgba(3, 10, 20, 0.82);
  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(31, 139, 255, 0.08);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.terminal-window::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.07), transparent 24%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.012) 0,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px,
      transparent 4px
    );
}

.terminal-topbar {
  display: flex;
  min-height: 48px;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  color: #8497ab;
  background: rgba(255, 255, 255, 0.025);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9aa8b8;
}

.terminal-dots span:nth-child(1) {
  background: #ff6f78;
}

.terminal-dots span:nth-child(2) {
  background: #ffd45f;
}

.terminal-dots span:nth-child(3) {
  background: #6fffc1;
}

.terminal-body {
  min-height: 440px;
  padding: clamp(24px, 4vw, 38px);
  color: #dcecff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.78rem, 1.25vw, 0.94rem);
}

.terminal-body p {
  margin: 0 0 12px;
}

.terminal-body p:not(:first-child) {
  margin-top: 28px;
}

.prompt {
  color: var(--blue);
  font-weight: 800;
}

.terminal-output {
  color: #91a8be;
}

pre.terminal-output {
  margin: 0;
  overflow-x: auto;
  line-height: 1.7;
  white-space: pre-wrap;
}

.terminal-output.success {
  color: var(--success);
}

.terminal-cursor {
  display: inline-block;
  width: 9px;
  height: 18px;
  margin-top: 16px;
  background: var(--blue-light);
  box-shadow: 0 0 14px rgba(159, 228, 255, 0.8);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6f8295;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  transform: translateX(-50%);
}

.scroll-indicator i {
  display: block;
  width: 40px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.scroll-indicator i::after {
  display: block;
  width: 50%;
  height: 100%;
  content: "";
  background: var(--blue);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(220%);
  }
}

/* =========================================================
   Bölüm başlıkları
========================================================= */

.section-heading {
  display: grid;
  margin-bottom: 54px;
  align-items: end;
  gap: 24px;
  grid-template-columns: 150px minmax(0, 1fr) auto;
}

.section-heading > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-index {
  color: rgba(159, 228, 255, 0.36);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 800;
}

.section-heading h2,
.contact-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

/* =========================================================
   Hakkımda
========================================================= */

.about-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.4fr 0.8fr;
}

.about-main {
  min-height: 440px;
  padding: clamp(28px, 5vw, 56px);
  grid-row: span 2;
}

.about-main p {
  max-width: 780px;
  color: var(--text-soft);
}

.about-main .large-text {
  margin-top: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.signature {
  display: flex;
  margin-top: 56px;
  align-items: center;
  gap: 18px;
}

.signature-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.signature div {
  display: flex;
  flex-direction: column;
}

.signature small {
  color: var(--text-soft);
}

.info-card {
  padding: 30px;
}

.info-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  color: var(--blue-light);
  background: rgba(66, 184, 255, 0.07);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 800;
}

.info-card h3 {
  margin: 0 0 18px;
  font-size: 1.2rem;
}

.feature-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 11px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.feature-list li::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(66, 184, 255, 0.7);
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.skill-cloud span,
.tech-tag {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #c6d8e9;
  background: rgba(255, 255, 255, 0.03);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
}

/* =========================================================
   Projeler
========================================================= */

.projects-section {
  overflow: hidden;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.slider-button:hover {
  border-color: var(--line-strong);
  background: rgba(67, 171, 255, 0.1);
  transform: translateY(-2px);
}

.projects-wrapper {
  position: relative;
}

.projects-track {
  display: grid;
  overflow-x: auto;
  padding: 8px 2px 28px;
  gap: 18px;
  grid-auto-columns: minmax(340px, 410px);
  grid-auto-flow: column;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(111, 203, 255, 0.42) rgba(255, 255, 255, 0.035);
  cursor: grab;
}

.projects-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.projects-track::-webkit-scrollbar {
  height: 8px;
}

.projects-track::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.projects-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
}

.project-card {
  position: relative;
  display: flex;
  min-height: 490px;
  overflow: hidden;
  padding: 28px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012)),
    rgba(8, 17, 31, 0.82);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  scroll-snap-align: start;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.project-card::after {
  position: absolute;
  inset: auto -30% -50% 20%;
  height: 240px;
  content: "";
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(42, 149, 255, 0.18), transparent 65%);
  transition: opacity 220ms ease;
}

.project-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  transform: translateY(-7px);
}

.project-card:hover::after {
  opacity: 1;
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-number {
  color: rgba(159, 228, 255, 0.55);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 800;
}

.project-status {
  padding: 6px 9px;
  border: 1px solid rgba(111, 255, 193, 0.16);
  border-radius: 999px;
  color: #baffdc;
  background: rgba(111, 255, 193, 0.045);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-visual {
  position: relative;
  display: grid;
  height: 145px;
  margin: 25px 0 28px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(31, 103, 255, 0.14), rgba(83, 211, 255, 0.045)),
    #06101e;
}

.project-visual::before,
.project-visual::after {
  position: absolute;
  content: "";
}

.project-visual::before {
  width: 170px;
  height: 170px;
  border: 1px solid rgba(104, 200, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 24px rgba(104, 200, 255, 0.035),
    0 0 0 48px rgba(104, 200, 255, 0.02);
}

.project-visual::after {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49%, rgba(142, 212, 255, 0.08) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(142, 212, 255, 0.08) 50%, transparent 51%);
}

.project-symbol {
  z-index: 1;
  color: var(--blue-light);
  text-shadow: 0 0 28px rgba(72, 181, 255, 0.55);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 2.2rem;
  font-weight: 900;
}

.project-card h3 {
  margin: 0 0 12px;
  font-size: 1.42rem;
  letter-spacing: -0.03em;
}

.project-description {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.project-tech {
  display: flex;
  margin: 24px 0;
  flex-wrap: wrap;
  gap: 8px;
}

.project-links {
  display: flex;
  margin-top: auto;
  gap: 10px;
}

.project-link {
  display: inline-flex;
  min-height: 42px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text) !important;
  background-color: rgba(255, 255, 255, 0.03);
  background-image: none;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  -webkit-text-fill-color: currentColor;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.project-link:hover {
  border-color: var(--line-strong);
  background: rgba(66, 184, 255, 0.09);
}

.project-link.primary {
  color: #04101c !important;
  border-color: transparent !important;
  background-color: #9fe4ff !important;
  background-image: linear-gradient(135deg, #d8f6ff, #68c9ff) !important;
  box-shadow: 0 10px 28px rgba(52, 173, 255, 0.18);
  -webkit-text-fill-color: #04101c !important;
}

.project-link.primary:hover {
  color: #03101d !important;
  border-color: transparent !important;
  background-color: #9fe4ff !important;
  background-image: linear-gradient(135deg, #e9fbff, #74ceff) !important;
  -webkit-text-fill-color: #03101d !important;
}

.slider-hint {
  margin: 12px 0 0;
  color: #6f8295;
  font-size: 0.75rem;
}

/* =========================================================
   İletişim
========================================================= */

.contact-section {
  padding-bottom: 100px;
}

.contact-panel {
  display: grid;
  padding: clamp(28px, 6vw, 70px);
  gap: clamp(42px, 7vw, 90px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 10% 20%, rgba(44, 154, 255, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    rgba(8, 17, 31, 0.75);
  box-shadow: var(--shadow);
  grid-template-columns: 1fr 0.82fr;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.contact-copy .eyebrow {
  margin-top: 8px;
}

.contact-copy h2 {
  margin-top: 22px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--text-soft);
}

.email-link {
  display: inline-flex;
  margin-top: 36px;
  align-items: center;
  gap: 12px;
  color: var(--blue-light);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.95rem, 2vw, 1.18rem);
  font-weight: 800;
}

.email-link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-button {
  display: grid;
  min-height: 96px;
  padding: 18px;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.012));
  grid-template-columns: 50px 1fr auto;
  transition:
    transform 190ms ease,
    border-color 190ms ease,
    background 190ms ease,
    box-shadow 190ms ease;
}

.contact-button:hover {
  border-color: var(--line-strong);
  background:
    linear-gradient(110deg, rgba(74, 175, 255, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: 0 15px 44px rgba(0, 0, 0, 0.22);
  transform: translateX(7px);
}

.contact-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(4, 11, 23, 0.6);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-button > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.contact-button small {
  color: var(--text-soft);
  font-size: 0.72rem;
}

.contact-button strong {
  margin-top: 2px;
  font-size: 1rem;
}

.contact-button b {
  color: var(--blue-light);
  font-size: 1.15rem;
}

/* =========================================================
   Footer
========================================================= */

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-content {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #75879a;
  font-size: 0.78rem;
}

/* =========================================================
   Scroll reveal
========================================================= */

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-pending.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Erişilebilirlik
========================================================= */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 4px;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: calc(var(--header-height) + 70px);
  }

  .hero-content {
    max-width: 800px;
  }

  .terminal-window {
    max-width: 720px;
    transform: none;
  }

  .terminal-body {
    min-height: 390px;
  }

  .section-heading {
    align-items: start;
    grid-template-columns: 115px 1fr;
  }

  .slider-controls {
    grid-column: 2;
  }

  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .about-main {
    min-height: auto;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  :root {
  color-scheme: dark;
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 88px 0;
  }

  .brand-text small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 14px;
    left: 14px;
    display: grid;
    padding: 14px;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 18px;
    opacity: 0;
    visibility: hidden;
    background: rgba(5, 9, 20, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 180ms ease;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    padding: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 110px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.5rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .terminal-topbar > span {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .terminal-body {
    min-height: 350px;
    padding: 24px 20px;
    font-size: 0.75rem;
  }

  .scroll-indicator {
    bottom: 26px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading > div:first-child {
    flex-direction: row;
    align-items: center;
  }

  .slider-controls {
    grid-column: auto;
  }

  .projects-track {
    grid-auto-columns: minmax(285px, 88vw);
  }

  .project-card {
    min-height: 500px;
    padding: 22px;
  }

  .contact-panel {
    padding: 28px 20px;
  }

  .contact-button:hover {
    transform: translateY(-3px);
  }

  .footer-content {
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}

@media (max-width: 460px) {
  .brand-mark {
    min-width: 52px;
    height: 40px;
    font-size: 0.76rem;
  }

  .brand-text strong {
    font-size: 0.9rem;
  }

  .status-badge {
    font-size: 0.7rem;
  }

  .hero h1 {
    font-size: 2.85rem;
  }

  .hero-description {
    font-size: 0.94rem;
  }

  .contact-button {
    min-height: 86px;
    grid-template-columns: 44px 1fr auto;
  }

  .contact-icon {
    width: 44px;
    height: 44px;
  }
}

/* Hareket hassasiyeti olan kullanıcılar için animasyonları azaltır. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   NAMAZ VE ZİKİR PROJE DETAY SAYFASI
   Ana portfolyo tasarımını bozmadan eklenen yardımcı stiller
========================================================= */

.project-visual-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-visual.project-visual-has-image::before,
.project-visual.project-visual-has-image::after {
  display: none;
}

.project-detail-page .site-header .nav-link.active {
  color: var(--text-soft);
  background: transparent;
}

.project-detail-main {
  padding-top: calc(var(--header-height) + 72px);
}

.project-detail-hero {
  padding: 72px 0 64px;
}

.project-detail-breadcrumb {
  display: inline-flex;
  margin-bottom: 24px;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.project-detail-breadcrumb a {
  color: var(--blue-light);
}

.project-detail-breadcrumb span {
  opacity: 0.55;
}

.project-detail-heading {
  display: grid;
  align-items: end;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.project-detail-heading h1 {
  max-width: 850px;
  margin: 18px 0 20px;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.project-detail-lead {
  max-width: 760px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.project-detail-actions {
  display: flex;
  padding-bottom: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.project-detail-banner {
  position: relative;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(8, 17, 31, 0.82);
  box-shadow: var(--shadow);
}

.project-detail-banner::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.project-detail-banner img {
  width: 100%;
  height: auto;
}

.project-detail-section {
  padding: 64px 0;
}

.project-detail-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.15fr 0.85fr;
}

.project-detail-card {
  padding: clamp(26px, 4vw, 42px);
}

.project-detail-card h2,
.project-detail-card h3 {
  margin-top: 0;
  letter-spacing: -0.035em;
}

.project-detail-card h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.project-detail-card h3 {
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.project-detail-card p {
  margin: 0;
  color: var(--text-soft);
}

.project-feature-grid {
  display: grid;
  margin-top: 22px;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-feature-item {
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.project-feature-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 0.92rem;
}

.project-feature-item span {
  color: var(--text-soft);
  font-size: 0.78rem;
}

.project-stack {
  display: flex;
  margin-top: 22px;
  flex-wrap: wrap;
  gap: 9px;
}

.project-detail-cta {
  display: flex;
  margin-top: 28px;
  padding-top: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.project-detail-cta p {
  max-width: 430px;
  font-size: 0.86rem;
}

.project-detail-note {
  display: flex;
  margin-top: 18px;
  align-items: center;
  gap: 10px;
  color: #baffdc;
  font-size: 0.78rem;
  font-weight: 700;
}

.project-detail-note::before {
  width: 7px;
  height: 7px;
  content: "";
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px rgba(111, 255, 193, 0.75);
}

@media (max-width: 900px) {
  .project-detail-heading,
  .project-detail-grid {
    grid-template-columns: 1fr;
  }

  .project-detail-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .project-detail-main {
    padding-top: calc(var(--header-height) + 28px);
  }

  .project-detail-hero {
    padding-top: 52px;
  }

  .project-detail-heading h1 {
    font-size: clamp(2.8rem, 15vw, 4.3rem);
  }

  .project-detail-actions,
  .project-detail-actions .button {
    width: 100%;
  }

  .project-feature-grid {
    grid-template-columns: 1fr;
  }

  .project-detail-cta {
    align-items: stretch;
    flex-direction: column;
  }
}


.project-detail-banner-placeholder {
  display: grid;
  min-height: 360px;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(64, 156, 255, 0.18), transparent 32%),
    radial-gradient(circle at 80% 80%, rgba(111, 203, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(31, 103, 255, 0.14), rgba(83, 211, 255, 0.045)),
    #06101e;
}

.project-detail-placeholder-inner {
  display: flex;
  width: min(100%, 760px);
  padding: 24px;
  align-items: center;
  text-align: center;
  flex-direction: column;
  gap: 12px;
}

.project-detail-placeholder-kicker {
  color: rgba(159, 228, 255, 0.7);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.project-detail-placeholder-inner strong {
  color: var(--text);
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.05em;
}

.project-detail-placeholder-inner p {
  max-width: 580px;
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}

main [id] { scroll-margin-top:110px; }
@media(prefers-reduced-motion:reduce) { .reveal.reveal-pending { opacity:1; transform:none; } }
