/* =============================================================
   alperenkr2.github.io — ana stil dosyası
   Renk / boşluk / yazı tipi değerleri :root altındaki
   değişkenlerden geliyor; temayı buradan özelleştirebilirsin.
   ============================================================= */

/* ---------- 1. Tema değişkenleri ---------- */
:root {
  /* Açık tema */
  --bg: #f5f6fb;
  --bg-soft: #eceefa;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --border: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(15, 23, 42, 0.16);
  --text: #0f172a;
  --text-soft: #475069;
  --muted: #6b7490;

  --brand: #4f46e5;
  --brand-2: #0891b2;
  --brand-3: #c026d3;
  --brand-ink: #ffffff;
  --ring: rgba(79, 70, 229, 0.40);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 12px 30px -12px rgba(15, 23, 42, 0.22);
  --shadow-lg: 0 40px 80px -30px rgba(15, 23, 42, 0.35);

  --aurora-1: rgba(99, 102, 241, 0.20);
  --aurora-2: rgba(6, 182, 212, 0.16);
  --aurora-3: rgba(217, 70, 239, 0.13);
  --aurora-opacity: 0.75;
  --glow-opacity: 0.5;
  --aurora-blend: normal;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;

  --maxw: 1140px;
  --nav-h: 68px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font-body);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="dark"] {
  --bg: #07090f;
  --bg-soft: #0d111b;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-solid: #0f1420;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e9edf8;
  --text-soft: #b7c0d6;
  --muted: #8d97b2;

  --brand: #818cf8;
  --brand-2: #22d3ee;
  --brand-3: #e879f9;
  --brand-ink: #0a0d14;
  --ring: rgba(129, 140, 248, 0.45);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.75);
  --shadow-lg: 0 50px 90px -40px rgba(0, 0, 0, 0.9);

  --aurora-1: rgba(99, 102, 241, 0.42);
  --aurora-2: rgba(34, 211, 238, 0.26);
  --aurora-3: rgba(232, 121, 249, 0.24);
  --aurora-opacity: 0.9;
  --glow-opacity: 0.85;
  --aurora-blend: screen;
}

/* ---------- 2. Temel ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.022em;
  margin: 0;
  font-weight: 700;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--brand);
  color: var(--brand-ink);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  translate: -50% -200%;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  font-weight: 600;
  transition: translate 0.25s var(--ease);
}
.skip-link:focus-visible { translate: -50% 0; }

/* ---------- 3. Yardımcılar ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 118px);
}

.section-head {
  max-width: 620px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.section-head p {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 1.03rem;
}

.gradient-text {
  background: linear-gradient(100deg, var(--brand), var(--brand-2) 45%, var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 4. Arka plan efekti ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.aurora span {
  position: absolute;
  display: block;
  width: 42vmax;
  height: 42vmax;
  border-radius: 50%;
  filter: blur(100px);
  opacity: var(--aurora-opacity, 0.85);
  mix-blend-mode: var(--aurora-blend);
  animation: drift 26s var(--ease) infinite alternate;
}
.aurora span:nth-child(1) { background: var(--aurora-1); top: -18vmax; left: -10vmax; }
.aurora span:nth-child(2) { background: var(--aurora-2); top: 8vmax; right: -16vmax; animation-duration: 32s; animation-delay: -6s; }
.aurora span:nth-child(3) { background: var(--aurora-3); bottom: -22vmax; left: 22vmax; animation-duration: 38s; animation-delay: -12s; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6vmax, 5vmax, 0) scale(1.16); }
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 10%, transparent 75%);
  opacity: 0.45;
}

/* ---------- 5. Navigasyon ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 0.85rem;
  color: var(--brand-ink);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 18px -6px var(--ring);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.icon-btn:hover { transform: translateY(-1px); border-color: var(--border-strong); }
.icon-btn svg { width: 18px; height: 18px; }

.icon-btn .icon-sun { display: none; }
:root[data-theme="dark"] .icon-btn .icon-sun { display: block; }
:root[data-theme="dark"] .icon-btn .icon-moon { display: none; }

.nav-toggle { display: none; }

/* ---------- 6. Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  color: var(--brand-ink);
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 30px -14px var(--ring);
}
.btn-primary:hover { box-shadow: 0 20px 38px -14px var(--ring); }

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--brand); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(52px, 8vw, 96px) clamp(56px, 8vw, 104px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  letter-spacing: -0.035em;
}

.hero-lead {
  margin-top: 20px;
  max-width: 52ch;
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.chip {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-soft);
}

/* Telefon görseli */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding-block: 42px;
}

.phone-stage {
  position: relative;
  width: min(258px, 62vw);
}

.glow {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--aurora-1), transparent 66%);
  filter: blur(52px);
  opacity: var(--glow-opacity, 0.8);
}

.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 18.6;
  padding: 11px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, var(--surface-solid), var(--bg-soft));
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: float 7s ease-in-out infinite;
}

.phone::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  translate: -50% 0;
  width: 74px;
  height: 20px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.phone-screen {
  height: 100%;
  border-radius: 26px;
  padding: 48px 16px 18px;
  background:
    radial-gradient(120% 80% at 20% 0%, color-mix(in srgb, var(--brand) 38%, transparent), transparent 62%),
    radial-gradient(120% 80% at 90% 100%, color-mix(in srgb, var(--brand-3) 34%, transparent), transparent 60%),
    var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.screen-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}
.screen-title span { display: block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 400; color: var(--muted); }

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.app-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 14px;
  font-size: 1.15rem;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.screen-list {
  display: grid;
  gap: 9px;
  margin-top: 4px;
}
.screen-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.screen-row span {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  opacity: 0.75;
}
.screen-row i {
  height: 7px;
  border-radius: 999px;
  background: var(--border-strong);
}
.screen-row:nth-child(1) i { width: 62%; }
.screen-row:nth-child(2) i { width: 44%; }

.screen-bar {
  margin-top: auto;
  display: grid;
  gap: 8px;
}
.screen-bar i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: var(--border-strong);
}
.screen-bar i:first-child { width: 76%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.screen-bar i:last-child { width: 48%; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-solid) 78%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  animation: float 8s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 400; color: var(--muted); }
.float-card .fc-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--brand-ink);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.float-card .fc-icon svg { width: 16px; height: 16px; }
.float-card--1 { bottom: calc(100% - 26px); left: -24%; animation-delay: -2s; }
.float-card--2 { top: calc(100% - 26px); right: -24%; animation-delay: -5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-13px); }
}

/* ---------- 8. Kartlar ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--brand), transparent 42%, transparent 60%, var(--brand-3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 1.3rem;
  border: 1px solid var(--border);
  background: linear-gradient(140deg,
    color-mix(in srgb, var(--brand) 22%, transparent),
    color-mix(in srgb, var(--brand-2) 16%, transparent));
}
.card-icon svg { width: 22px; height: 22px; color: var(--brand); }

.card h3 { font-size: 1.16rem; }

.card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 6px;
}
.tag {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 14%, transparent);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
}
.card-link svg { width: 15px; height: 15px; transition: translate 0.2s var(--ease); }
.card:hover .card-link svg { translate: 3px 0; }

.card-status {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

/* ---------- 9. Hakkımda ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.about-title { font-size: clamp(1.75rem, 4vw, 2.6rem); }
.about-text p { margin-top: 16px; color: var(--text-soft); }

.skill-list { display: grid; gap: 14px; }

.skill {
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.skill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}
.skill-top span { color: var(--muted); font-size: 0.82rem; font-weight: 500; }
.skill-bar {
  margin-top: 12px;
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.skill-bar i {
  display: block;
  height: 100%;
  width: var(--val, 60%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform-origin: left;
  transition: scale 1.1s var(--ease);
}
.js .skill-bar i { scale: 0 1; }
.js .is-visible .skill-bar i { scale: 1 1; }

/* ---------- 10. İletişim ---------- */
.cta-card {
  position: relative;
  display: grid;
  gap: 26px;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(90% 140% at 8% 0%, color-mix(in srgb, var(--brand) 26%, transparent), transparent 58%),
    radial-gradient(80% 120% at 100% 100%, color-mix(in srgb, var(--brand-3) 22%, transparent), transparent 55%),
    var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  text-align: center;
  justify-items: center;
}
.cta-card h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.cta-card p { max-width: 46ch; color: var(--text-soft); }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- 11. Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 30px 36px;
  margin-top: 20px;
}
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.footer p { color: var(--muted); font-size: 0.88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-soft);
  transition: color 0.2s var(--ease);
}
.footer-links a:hover { color: var(--brand); }

/* ---------- 12. Görünürlük animasyonu ---------- */
/* Animasyon yalnızca JS çalışıyorsa devreye girer; aksi hâlde
   içerik olduğu gibi görünür. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 13. Duyarlı düzen ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-block: clamp(34px, 7vw, 60px) clamp(48px, 8vw, 90px); }
  .hero-visual { min-height: 0; padding-block: 46px 32px; }
  .phone-stage { width: min(236px, 58vw); }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --nav-h: 62px; }

  .nav-toggle { display: grid; }

  .nav-links {
    position: absolute;
    top: calc(var(--nav-h) + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface-solid) 92%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-links a { padding: 11px 14px; border-radius: 10px; }
  .nav-links a.is-active::after { display: none; }
  .nav-links a.is-active { background: var(--surface); }

  .hero-actions .btn,
  .cta-actions .btn { flex: 1 1 190px; }

  .footer .wrap { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .float-card--2 { right: -12%; }
  .float-card--1 { left: -12%; }
}

/* ---------- 14. Hareket tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .skill-bar i { scale: 1 1; }
}

/* ---------- 15. Yazdırma ---------- */
@media print {
  .nav, .aurora, .grid-overlay, .hero-visual, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
}
