*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #e5e7eb;
  background-color: #020617;
  overflow-x: hidden;
}

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

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

/* Arka plan animasyonları */

.bg-gradient {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top left, #22d3ee22, transparent 60%),
    radial-gradient(circle at bottom right, #8b5cf622, transparent 55%),
    radial-gradient(circle at top right, #22c55e22, transparent 55%);
  z-index: -2;
  filter: blur(0);
  animation: gradient-move 20s ease-in-out infinite alternate;
}

@keyframes gradient-move {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-10px, 10px, 0) scale(1.05);
  }
  100% {
    transform: translate3d(10px, -10px, 0) scale(1.03);
  }
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 1;
}

.page-wrapper {
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  margin-bottom: 32px;
  border-radius: 999px;
  backdrop-filter: blur(18px);
  background: linear-gradient(90deg, #020617dd, #020617ee);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.85);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: conic-gradient(
    from 180deg,
    #22d3ee,
    #a855f7,
    #22c55e,
    #22d3ee
  );
  color: #020617;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.logo:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.9),
    0 8px 20px rgba(34, 211, 238, 0.25);
}

.logo-initials {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo-text {
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #e5e7eb;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  color: #cbd5f5;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
  overflow: hidden;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(120deg, #22d3ee, #a855f7) border-box;
  mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  transform: translateY(-1px);
}

.nav-link:hover::after {
  opacity: 0.8;
}

.nav-link.nav-active {
  background: rgba(15, 23, 42, 0.92);
  color: #f9fafb;
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.35);
}

.nav-link.nav-active::after {
  opacity: 1;
}

/* Mobil menü */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.92);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

body.nav-menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Butonlar */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease;
  overflow: hidden;
}

.btn.primary {
  background: linear-gradient(120deg, #22d3ee, #a855f7);
  color: #020617;
  box-shadow:
    0 14px 35px rgba(15, 23, 42, 0.8),
    0 0 0 1px rgba(15, 23, 42, 0.9);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 1);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.92);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.98);
  border-color: rgba(148, 163, 184, 0.9);
}

.btn.full {
  width: 100%;
}

.btn.theme-toggle {
  padding-inline: 10px 14px;
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.9);
  font-size: 13px;
  gap: 6px;
}

.btn.theme-toggle .theme-icon {
  font-size: 14px;
}

.btn.theme-toggle .theme-text {
  font-size: 12px;
}

.btn.theme-toggle:hover {
  background: rgba(15, 23, 42, 0.99);
  border-color: rgba(148, 163, 184, 0.95);
}

.btn.cta-glow {
  animation: cta-pulse 2.4s ease-in-out infinite;
}

.btn.cta-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: cta-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow:
      0 14px 35px rgba(15, 23, 42, 0.8),
      0 0 0 0 rgba(34, 211, 238, 0.35);
    transform: translateY(0);
  }
  50% {
    box-shadow:
      0 20px 48px rgba(15, 23, 42, 0.95),
      0 0 32px 6px rgba(168, 85, 247, 0.38);
    transform: translateY(-2px);
  }
}

@keyframes cta-shine {
  0%,
  35% {
    transform: translateX(-120%);
  }
  55%,
  100% {
    transform: translateX(120%);
  }
}

/* Ripple (tıklama) efekti */

.ripple {
  position: relative;
  overflow: hidden;
}

.ripple-span {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 600ms linear;
  background-color: rgba(248, 250, 252, 0.3);
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Navigasyon sihir efekti */

body.nav-magic::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  background:
    radial-gradient(circle at center, rgba(56, 189, 248, 0.16), transparent 60%),
    radial-gradient(circle at center, rgba(168, 85, 247, 0.14), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  animation: nav-magic-flash 0.6s ease-out forwards;
}

@keyframes nav-magic-flash {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  25% {
    opacity: 0.9;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

.section.magic-target {
  animation: section-magic-in 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes section-magic-in {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    filter: blur(6px);
  }
  40% {
    opacity: 1;
    transform: translateY(0) scale(1.01);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Bölüm odak efekti */

.section-focused {
  position: relative;
  z-index: 1;
}

.section-focused::after {
  content: "";
  position: absolute;
  inset: 0 4px;
  border-radius: 20px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  box-shadow:
    0 0 36px rgba(34, 211, 238, 0.1),
    0 0 72px rgba(168, 85, 247, 0.06);
  pointer-events: none;
  animation: section-focus-glow 2.4s ease-in-out infinite;
}

@keyframes section-focus-glow {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

/* Sayfa geçiş perdesi (iletişim) */

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  visibility: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(34, 211, 238, 0.22), transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.2), transparent 50%),
    linear-gradient(145deg, #020617 0%, #0f172a 40%, #1e1b4b 100%);
  opacity: 0;
}

.page-transition.is-covering {
  visibility: visible;
  pointer-events: auto;
  animation: page-cover 0.22s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.page-transition.is-reveal {
  visibility: visible;
  animation: page-reveal 0.28s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes page-cover {
  0% {
    opacity: 0;
    transform: scale(1.14) rotate(0.5deg);
    filter: blur(4px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes page-reveal {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  40% {
    opacity: 0.85;
    filter: blur(2px);
  }
  100% {
    opacity: 0;
    transform: scale(0.88);
    filter: blur(6px);
    visibility: hidden;
  }
}

/* İletişim — tam sayfa panel */

body.contact-page-open {
  overflow: hidden;
}

body.contact-page-open .navbar {
  z-index: 110;
}

body.contact-page-open #contact.contact-page-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow-y: auto;
  padding: 88px 16px 48px;
  margin: 0;
  max-width: none;
  background: rgba(2, 6, 23, 0.94);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  box-shadow: inset 0 0 120px rgba(34, 211, 238, 0.06);
  animation: contact-page-enter 0.32s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

body.contact-page-open #contact.contact-page-panel.contact-page-closing {
  animation: contact-page-exit 0.22s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

body.contact-page-open #contact.contact-page-panel {
  text-align: center;
}

body.contact-page-open #contact.contact-page-panel .section-header,
body.contact-page-open #contact.contact-page-panel .contact-grid {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  width: 100%;
}

body.contact-page-open #contact.contact-page-panel .contact-grid {
  animation: contact-content-in 0.35s cubic-bezier(0.22, 0.61, 0.36, 1) 0.04s both;
}

.contact-close-btn {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0 auto 18px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.92);
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.contact-close-icon {
  font-size: 16px;
  line-height: 1;
}

.contact-close-btn:hover {
  background: rgba(15, 23, 42, 0.98);
  border-color: rgba(34, 211, 238, 0.55);
  transform: translateX(-2px);
}

body.contact-page-open .contact-close-btn {
  display: inline-flex;
  animation: contact-close-in 0.28s cubic-bezier(0.22, 0.61, 0.36, 1) 0.06s both;
}

@keyframes contact-page-enter {
  0% {
    opacity: 0;
    transform: translateY(100%) scale(0.9);
    filter: blur(10px);
  }
  55% {
    opacity: 1;
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes contact-page-exit {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(60px) scale(0.94);
    filter: blur(8px);
  }
}

@keyframes contact-content-in {
  0% {
    opacity: 0;
    transform: translateY(36px) scale(0.94);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes contact-close-in {
  0% {
    opacity: 0;
    transform: translateX(-12px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

body.theme-light.contact-page-open #contact.contact-page-panel {
  background: rgba(244, 245, 251, 0.96);
}

body.theme-light .contact-close-btn {
  background: rgba(248, 250, 252, 0.98);
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.6);
}

/* Bölümler */

.section {
  padding: 56px 8px;
  transition:
    opacity 2.2s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 2.2s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 2.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero {
  padding-top: 24px;
  padding-bottom: 24px;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section + .section {
  margin-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.95);
}

.section-header {
  margin-bottom: 22px;
}

.section-header h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.section-header p {
  font-size: 14px;
  color: #94a3b8;
}

/* Hero alanı */

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #38bdf8;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 60px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 14px;
}

.accent-dot {
  color: #22d3ee;
}

.hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  padding: 3px;
  background: conic-gradient(
    from 160deg,
    #22d3ee,
    #a855f7,
    #22c55e,
    #22d3ee
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.9),
    0 14px 30px rgba(15, 23, 42, 0.9);
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  display: block;
  object-fit: cover;
  box-shadow: 0 0 0 2px #020617;
}

.hero-subtitle {
  font-size: 17px;
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  justify-content: center;
}

.cv-btn {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.7);
}

.cv-btn:hover {
  border-style: solid;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  justify-content: center;
  text-align: left;
}

.meta-label {
  display: block;
  color: #6b7280;
  margin-bottom: 2px;
}

.meta-value {
  color: #e5e7eb;
}

/* Kartlar ve grid yapıları */

.card {
  position: relative;
  background: radial-gradient(circle at top left, #0f172a, #020617 55%);
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(56, 189, 248, 0.2),
    rgba(168, 85, 247, 0.2),
    rgba(34, 197, 94, 0.2)
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.card:hover::before {
  opacity: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: stretch;
}

.about-text.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.about-text p + p {
  margin-top: 10px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  height: 100%;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  height: 100%;
  min-height: 0;
}

.stat-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #e5e7eb;
}

.stat-label {
  font-size: 13px;
  color: #9ca3af;
}

/* Projeler */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.project-card p {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 10px;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  margin-bottom: 8px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-bottom: 10px;
}

.tag-list li {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: #cbd5f5;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.project-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #22d3ee;
  font-weight: 500;
}

.link::after {
  content: "↗";
  font-size: 11px;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.link:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.link.subtle {
  color: #9ca3af;
}

.hover-lift {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 55px rgba(15, 23, 42, 1),
    0 0 0 1px rgba(15, 23, 42, 1);
  border-color: rgba(148, 163, 184, 0.6);
}

/* Hizmetler */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 12px;
  line-height: 1.55;
}

.service-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 20px;
  margin-bottom: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-list li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  color: #cbd5f5;
  line-height: 1.45;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(120deg, #22d3ee, #a855f7);
}

.services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
}

.services-cta-text h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.services-cta-text p {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.55;
  max-width: 620px;
}

.services-cta .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* İletişim */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.form-field label {
  font-size: 13px;
  color: #cbd5f5;
}

.form-field input,
.form-field textarea {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 8px 10px;
  font-size: 13px;
  color: #e5e7eb;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #64748b;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #22d3ee;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.4);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  min-height: 1.2em;
}

.form-status.success {
  color: #4ade80;
}

.form-status.error {
  color: #f87171;
}

body.theme-light .form-status.success {
  color: #15803d;
}

body.theme-light .form-status.error {
  color: #b91c1c;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-label {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.info-value {
  font-size: 14px;
}

.footer {
  margin-top: 32px;
  padding-top: 12px;
  border-top: 1px solid rgba(30, 64, 175, 0.7);
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

/* Açık tema (light mode) */

body.theme-light {
  background-color: #f4f5fb;
  color: #020617;
}

body.theme-light .bg-gradient {
  background: radial-gradient(circle at top left, #22d3ee33, transparent 60%),
    radial-gradient(circle at bottom right, #a855f733, transparent 55%),
    radial-gradient(circle at top right, #22c55e33, transparent 55%);
}

body.theme-light .navbar {
  background: rgba(248, 250, 252, 0.92);
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

body.theme-light .logo {
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
}

body.theme-light .logo:hover {
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.12),
    0 8px 20px rgba(34, 211, 238, 0.2);
}

body.theme-light .nav-link.nav-active {
  background: rgba(226, 232, 240, 0.95);
  color: #020617;
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.45);
}

body.theme-light .nav-toggle {
  background: rgba(248, 250, 252, 0.98);
  border-color: rgba(148, 163, 184, 0.55);
}

body.theme-light .nav-toggle span {
  background: #0f172a;
}

body.theme-light .logo-text {
  color: #020617;
}

body.theme-light .nav-link {
  color: #1e293b;
}

body.theme-light .nav-link:hover {
  background: rgba(226, 232, 240, 0.9);
  color: #020617;
}

body.theme-light .btn.primary {
  color: #f9fafb;
}

body.theme-light .btn.ghost {
  background: rgba(248, 250, 252, 0.95);
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.7);
}

body.theme-light .btn.ghost:hover {
  background: rgba(241, 245, 249, 0.98);
}

body.theme-light .btn.theme-toggle {
  background: rgba(248, 250, 252, 0.98);
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.8);
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.55);
}

body.theme-light .hero-subtitle {
  color: #4b5563;
}

body.theme-light .meta-label {
  color: #6b7280;
}

body.theme-light .meta-value {
  color: #111827;
}

body.theme-light .card {
  background: radial-gradient(circle at top left, #ffffff, #e5e7eb 60%);
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.5);
}

body.theme-light .card::before {
  background: linear-gradient(
    120deg,
    rgba(56, 189, 248, 0.22),
    rgba(168, 85, 247, 0.19),
    rgba(34, 197, 94, 0.18)
  );
}

body.theme-light .stat-value {
  color: #020617;
}

body.theme-light .stat-label {
  color: #4b5563;
}

body.theme-light .project-card p {
  color: #4b5563;
}

body.theme-light .service-card p,
body.theme-light .services-cta-text p {
  color: #4b5563;
}

body.theme-light .service-icon {
  background: #eff6ff;
  border-color: rgba(148, 163, 184, 0.5);
}

body.theme-light .service-list li {
  color: #374151;
}

body.theme-light .project-badge {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: rgba(129, 140, 248, 0.7);
}

body.theme-light .tag-list li {
  background: #eff6ff;
  color: #1e293b;
  border-color: rgba(148, 163, 184, 0.7);
}

body.theme-light .link.subtle {
  color: #6b7280;
}

body.theme-light .contact-form input,
body.theme-light .contact-form textarea {
  background: #f9fafb;
  border-color: rgba(148, 163, 184, 0.7);
  color: #020617;
}

body.theme-light .contact-form input::placeholder,
body.theme-light .contact-form textarea::placeholder {
  color: #9ca3af;
}

body.theme-light .contact-form input:focus,
body.theme-light .contact-form textarea:focus {
  background: #ffffff;
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.45);
}

body.theme-light .footer {
  border-top-color: rgba(148, 163, 184, 0.7);
  color: #6b7280;
}

/* Responsive */

@media (max-width: 900px) {
  .page-wrapper {
    padding-inline: 14px;
  }

  .navbar {
    padding-inline: 14px;
  }

  .projects-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-stats {
    grid-template-rows: auto;
    height: auto;
  }

  .stat-card {
    min-height: 88px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-right {
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(280px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, #020617f2, #0f172af5);
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
    z-index: 120;
  }

  body.nav-menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-links .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 14px;
    font-size: 14px;
  }

  body.theme-light .nav-links {
    background: rgba(248, 250, 252, 0.98);
    border-color: rgba(148, 163, 184, 0.45);
    box-shadow: 0 20px 50px rgba(148, 163, 184, 0.45);
  }

  body.contact-page-open .navbar {
    z-index: 110;
  }
}

@media (max-width: 640px) {
  .navbar {
    border-radius: 18px;
    padding-inline: 12px;
  }

  .logo-text {
    display: none;
  }

  .btn.theme-toggle .theme-text {
    display: none;
  }

  .btn.theme-toggle {
    padding-inline: 10px;
    min-width: 38px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .projects-grid,
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-cta .btn {
    width: 100%;
    white-space: normal;
  }

  .form-row {
    flex-direction: column;
  }
}

