@charset "utf-8";
/* TemplateMo 600 Prism Flux */

/* =========================
   RESET + THEME VARIABLES
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* LIGHT THEME DEFAULT */
  --primary-black: #f4f7fb;
  --carbon-dark: #ffffff;
  --carbon-medium: #f7f9fc;
  --carbon-light: #eef3f9;
  --metal-dark: rgba(0, 0, 0, 0.1);
  --metal-light: rgba(0, 0, 0, 0.18);

  --accent-red: #ff3b30;
  --accent-blue: #007aff;
  --accent-green: #34c759;
  --accent-purple: #7c3aed;
  --accent-cyan: #00bcd4;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-dim: #64748b;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    var(--font-jakarta), "Plus Jakarta Sans",
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",
    "Segoe UI Symbol", "EmojiOne Color", emoji;
  background: var(--primary-black);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

/* =========================
   LIGHT BACKGROUND (pattern + grid)
========================= */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.03) 2px,
      rgba(0, 0, 0, 0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.03) 2px,
      rgba(0, 0, 0, 0.03) 4px
    ),
    linear-gradient(135deg, #ffffff 0%, #f4f7fb 35%, #eef3f9 70%, #ffffff 100%);
  z-index: -2;
}
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 122, 255, 0.06) 2px, transparent 2px),
    linear-gradient(90deg, rgba(0, 122, 255, 0.06) 2px, transparent 2px);
  background-size: 150px 150px;
  animation: gridMove 20s linear infinite;
  z-index: -1;
  opacity: 0.22;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(150px, 150px);
  }
}

/* =========================
   LOADER
========================= */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition:
    opacity 0.5s,
    visibility 0.5s;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
}
.loader-prism {
  width: 100px;
  height: 100px;
  position: relative;
  margin: 0 auto 30px;
}

.prism-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  transform-origin: center;
  animation: prismRotate 3s linear infinite;
  opacity: 0.9;
}
.prism-face:nth-child(1) {
  border-image: linear-gradient(45deg, var(--accent-red), var(--accent-blue)) 1;
  animation-delay: 0s;
}
.prism-face:nth-child(2) {
  border-image: linear-gradient(45deg, var(--accent-blue), var(--accent-green))
    1;
  transform: rotate(60deg);
  animation-delay: 0.2s;
}
.prism-face:nth-child(3) {
  border-image: linear-gradient(
      45deg,
      var(--accent-green),
      var(--accent-purple)
    )
    1;
  transform: rotate(120deg);
  animation-delay: 0.4s;
}

@keyframes prismRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* =========================
   HEADER + NAV
========================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: all 0.3s ease;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
}

/* LOGO ICON (tek tanım, çakışma yok) */
.logo-icon {
  width: 45px;
  height: 45px;
  margin-right: 15px;
  position: relative;
}
.logo-prism {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prism-shape {
  width: 30px;
  height: 30px;
  position: relative;
  transform: rotate(45deg);
  background: linear-gradient(
    135deg,
    var(--accent-red) 0%,
    var(--accent-blue) 33%,
    var(--accent-green) 66%,
    var(--accent-purple) 100%
  );
  animation: prismShine 3s ease-in-out infinite;
}
@keyframes prismShine {
  0%,
  100% {
    filter: brightness(1) hue-rotate(0deg);
    transform: rotate(45deg) scale(1);
  }
  50% {
    filter: brightness(1.2) hue-rotate(10deg);
    transform: rotate(45deg) scale(1.08);
  }
}
.prism-shape::before,
.prism-shape::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  opacity: 0.5;
}
.prism-shape::before {
  transform: rotate(60deg);
}
.prism-shape::after {
  transform: rotate(-60deg);
}

/* CENTER LOGO IMAGE */
.logo-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35px;
  height: 35px;
  object-fit: contain;
  pointer-events: none;
}

.logo-text {
  font-family: var(--font-grotesk), "Space Grotesk", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.logo-text .prism {
  background: linear-gradient(135deg, var(--text-primary), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-text .flux {
  color: var(--text-secondary);
  font-weight: 300;
  margin-left: 5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
}
.nav-menu a {
  color: rgba(15, 23, 42, 0.78);
  text-decoration: none;
  padding: 12px 25px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 14px;
}
.nav-menu a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  transition: width 0.3s ease;
}
.nav-menu a:hover {
  color: var(--text-primary);
}
.nav-menu a:hover::before,
.nav-menu a.active::before {
  width: 80%;
}
.nav-menu a.active {
  color: var(--accent-blue);
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}
.menu-toggle span {
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* =========================
   LOGIN DROPDOWN
========================= */
.login-dropdown {
  position: absolute;
  top: 80px;
  right: 40px;
  display: none;
  z-index: 9999;
}
.login-box {
  width: 280px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.login-box h4 {
  margin-bottom: 12px;
  text-align: center;
  color: var(--accent-purple);
}
.login-box input {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--text-primary);
}
.login-box button {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.18);
}
.login-box .link-btn {
  background: none;
  color: rgba(51, 65, 85, 0.8);
  font-size: 13px;
}
#headerAuthMsg {
  margin-top: 8px;
  font-size: 13px;
  text-align: center;
}

/* =========================
   HERO + CAROUSEL
========================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 20px 80px;
  background: radial-gradient(
    ellipse at center,
    rgba(124, 58, 237, 0.08) 0%,
    transparent 55%
  );
}

.carousel-container {
  width: 100%;
  max-width: 1600px;
  height: 650px;
  perspective: 1200px;
  position: relative;
  padding-top: 60px;
}
.carousel {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}

.carousel-item {
  position: absolute;
  width: 400px;
  height: 500px;
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  transform-origin: center center;
}

.carousel-item .card {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85),
    rgba(247, 249, 252, 0.85)
  );
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  /* iOS Safari: overflow+border-radius child clipping fix */
  -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
  isolation: isolate;
}

/* card-tech badge container — CSS tanımsızdı */
.card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.carousel-item .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.18),
    transparent
  );
  animation: scanline 3s linear infinite;
  opacity: 0.6;
}
@keyframes scanline {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(500px);
  }
}

.card-number {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 72px;
  font-weight: 900;
  color: rgba(124, 58, 237, 0.12);
  font-family: var(--font-grotesk), "Space Grotesk", monospace;
}

.card-image {
  width: 100%;
  height: 200px;
  background: #eef3f9;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
  transition: all 0.5s ease;
}
.carousel-item:hover .card-image img {
  filter: grayscale(0%) contrast(1.1);
  transform: scale(1.06);
}

.card-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(
    135deg,
    var(--text-primary),
    var(--accent-purple)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.card-description {
  color: rgba(51, 65, 85, 0.92);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
}

.tech-badge {
  padding: 5px 12px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 20px;
  font-size: 12px;
  color: #5b21b6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-cta {
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border: none;
  border-radius: 30px;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.18);
}
.card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.25);
}

.carousel-controls {
  position: absolute;
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 100;
}
.carousel-btn {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  color: var(--accent-purple);
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}
.carousel-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.carousel-indicators {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 100;
}
.indicator {
  width: 12px;
  height: 12px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.indicator.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.25);
  transform: scale(1.25);
}

/* =========================
   SECTIONS (About/Stats/Skills/Contact/Footer)
   NOT: Senin dosyandaki kalan kısımlar burada devam edebilir.
   Ben light uyumlu hale getirdim.
========================= */

/* About */
.philosophy-section {
  padding: 120px 30px;
  background: transparent;
  position: relative;
  overflow: hidden;
}
.philosophy-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.prism-line {
  width: 100%;
  height: 2px;
  margin: 0 auto 60px;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
}
.prism-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-red) 20%,
    var(--accent-blue) 40%,
    var(--accent-green) 60%,
    var(--accent-purple) 80%,
    transparent
  );
  animation: prismSweep 4s ease-in-out infinite;
}
@keyframes prismSweep {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.philosophy-headline {
  font-family: var(--font-grotesk), "Space Grotesk", system-ui, sans-serif;
  font-size: 56px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.philosophy-subheading {
  font-size: 20px;
  color: rgba(51, 65, 85, 0.92);
  max-width: 700px;
  margin: 0 auto 80px;
  line-height: 1.6;
  font-weight: 400;
}

.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}
.pillar {
  position: relative;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  transition: all 0.4s ease;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-purple),
    var(--accent-blue),
    var(--accent-green)
  );
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.pillar:hover::before {
  transform: scaleX(1);
}
.pillar:hover {
  transform: translateY(-10px);
}

/* Stats */
.stats-section {
  padding: 120px 30px;
  background: transparent;
  position: relative;
}
.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}
.stat-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}
.stat-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: #fff;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.2);
}
.stat-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-family: var(--font-grotesk), "Space Grotesk", monospace;
}
.stat-label {
  font-size: 14px;
  color: rgba(51, 65, 85, 0.85);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}
.stat-description {
  font-size: 13px;
  color: rgba(100, 116, 139, 0.95);
  line-height: 1.5;
  padding: 0 10px;
}

/* Skills */
.skills-section {
  padding: 120px 30px;
  background: transparent;
  position: relative;
  overflow: hidden;
}
.skills-container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 80px;
}
.section-title {
  font-family: var(--font-grotesk), "Space Grotesk", system-ui, sans-serif;
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  background: linear-gradient(
    135deg,
    var(--text-primary),
    var(--accent-purple)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Başlık içindeki emoji'lere gradient fill uygulanmasın — emoji
   orjinal renkleriyle render olsun (yoksa 📦 mor silüet olarak gözüküyor). */
.section-title .title-emoji,
.philosophy-headline .title-emoji {
  display: inline-block;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
  color: initial;
}
.section-subtitle {
  color: rgba(51, 65, 85, 0.92);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.skill-categories {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.category-tab {
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  color: rgba(51, 65, 85, 0.92);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}
.category-tab:hover {
  background: rgba(0, 122, 255, 0.06);
  border-color: rgba(0, 122, 255, 0.25);
}
.category-tab.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-color: rgba(124, 58, 237, 0.45);
  color: #fff;
}

.skills-hexagon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
}
.skill-hexagon {
  width: 200px;
  height: 230px;
  position: relative;
  margin: 30px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.skill-hexagon:hover {
  transform: translateY(-10px);
}
.hexagon-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform: rotate(30deg);
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}
.hexagon-content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform: rotate(-30deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.skill-icon-hex {
  font-size: 48px;
  margin-bottom: 15px;
  color: var(--accent-purple);
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.skill-name-hex {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 10px;
  text-align: center;
}
.skill-level {
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.skill-level-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  border-radius: 2px;
  position: relative;
  animation: fillLevel 2s ease-out;
}
@keyframes fillLevel {
  0% {
    width: 0;
  }
}
.skill-percentage-hex {
  font-size: 14px;
  color: rgba(51, 65, 85, 0.85);
  margin-top: 8px;
  font-weight: 700;
}

/* Contact */
.contact-section {
  padding: 120px 30px;
  background: transparent;
  position: relative;
}
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info,
.contact-form {
  padding: 40px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}
.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.info-item:hover {
  transform: translateX(8px);
  background: rgba(0, 122, 255, 0.06);
}
.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.info-text h4 {
  color: var(--text-primary);
  margin-bottom: 5px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.info-text p {
  color: rgba(51, 65, 85, 0.92);
  font-size: 14px;
}

.form-group {
  margin-bottom: 25px;
}
.form-group label {
  display: block;
  color: rgba(51, 65, 85, 0.85);
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.15);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.18);
}
.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.25);
}

/* Footer */
.footer {
  padding: 60px 30px 30px;
  background: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-description {
  color: rgba(51, 65, 85, 0.92);
  line-height: 1.6;
  font-size: 14px;
}
.footer-social {
  display: flex;
  gap: 15px;
}
.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(51, 65, 85, 0.92);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}
.social-icon:hover {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-color: rgba(124, 58, 237, 0.45);
  color: #fff;
  transform: translateY(-3px);
}
.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(51, 65, 85, 0.92);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--accent-purple);
  padding-left: 10px;
}
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.copyright,
.footer-credits {
  color: rgba(100, 116, 139, 0.95);
  font-size: 14px;
}
.footer-credits a {
  color: var(--accent-purple);
  text-decoration: none;
}
.footer-credits a:hover {
  text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .carousel-item {
    width: 350px;
    height: 480px;
  }
  .carousel-controls {
    bottom: -60px;
  }
  .card-image {
    height: 170px;
  }
  .card-title {
    font-size: 22px;
  }
  .card-description {
    font-size: 13px;
  }
  .philosophy-pillars {
    grid-template-columns: 1fr;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 85px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.96);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    gap: 0;
  }
  .nav-menu li {
    margin: 15px 0;
  }
  .nav-menu a {
    display: block;
    padding: 15px 30px;
    font-size: 16px;
  }
  .nav-menu.active {
    left: 0;
  }

  .carousel-item {
    width: 300px;
    height: 460px;
  }
  .carousel-item .card {
    padding: 20px;
  }
  .card-image {
    height: 150px;
    margin-bottom: 15px;
  }
  .card-title {
    font-size: 20px;
    margin-bottom: 12px;
  }
  .card-description {
    font-size: 13px;
    margin-bottom: 15px;
  }
  .card-number {
    font-size: 50px;
    top: 15px;
    right: 20px;
  }
  .card-cta {
    padding: 10px 25px;
    font-size: 14px;
  }
  .carousel-controls {
    bottom: -60px;
    gap: 15px;
  }
  .carousel-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  .carousel-indicators {
    top: 20px;
    gap: 12px;
  }
  .indicator {
    width: 10px;
    height: 10px;
  }

  .philosophy-headline {
    font-size: 36px;
  }
  .section-title {
    font-size: 32px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .skill-hexagon {
    width: 150px;
    height: 170px;
    margin: 20px 5px;
  }
  .skill-icon-hex {
    font-size: 36px;
  }
  .skill-name-hex {
    font-size: 14px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  /* ==== HEADER HİZA DÜZELTME (EN ALTA) ==== */
  :root {
    --header-h: 82px; /* istersen 76-90 arası dene */
  }

  .header {
    height: var(--header-h);
  }

  .nav-container {
    height: var(--header-h);
    padding: 0 30px; /* üst-alt padding sıfır */
    display: flex;
    align-items: center; /* dikey ortalama */
  }

  .logo {
    height: var(--header-h);
    display: flex;
    align-items: center;
  }

  .nav-menu {
    height: var(--header-h);
    display: flex;
    align-items: center;
  }

  .nav-menu a {
    height: var(--header-h);
    display: flex;
    align-items: center;
    padding: 0 18px; /* önceki 12px 25px yerine */
  }
  /* Hero üst boşluğu biraz azalt */
  .hero {
    padding-top: 90px !important; /* 80-110 arası deneyebilirsin */
  }
  /* =========================
   FINAL HEADER + HERO FIX
   (CSS'in EN ALTINA)
========================= */

  :root {
    --header-h: 82px;
  }

  /* Header kesin sabit yükseklik */
  .header {
    height: var(--header-h) !important;
  }

  .nav-container {
    height: var(--header-h) !important;
    padding: 0 30px !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Linklerin dikey hizası */
  .nav-menu a {
    padding: 0 18px !important;
    height: var(--header-h) !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Asıl sorun: Hero üst boşluk */
  .hero {
    padding: calc(var(--header-h) + 20px) 20px 80px !important; /* üst boşluğu header’a göre ayarla */
    min-height: calc(
      100vh - var(--header-h)
    ) !important; /* gereksiz üst boşluğu kes */
  }

  /* Carousel container’daki ekstra üst padding’i iptal et */
  .carousel-container {
    padding-top: 0 !important;
  }
  /* Carousel’i yukarı taşı */
  .carousel-item {
    top: 42% !important; /* 35% - 45% arası dene */
  }
  /* HERO + CAROUSEL FIX */
  .carousel-container {
    padding-top: 0 !important;
  }
  .carousel-item {
    top: 44% !important;
  } /* 40-48 arası oynat */
  .hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, transparent, #f4f7fb);
  }
}

/* ============================================================
   MOBILE-FIRST RESPONSIVE OVERRIDE — mobil tarayıcı düzeltmeleri
   ============================================================ */

/* html'e overflow-x:hidden koymak tüm sayfalarda scroll container'ı kırıyor
   (CSS statik yüklenince html root scroll engelleniyor). Sadece body'e uygula. */
body {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
html {
  -webkit-text-size-adjust: 100%;
}

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

img,
video {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  /* Carousel mobilde: 3D geometriyi kapat, sadece merkezdeki (.is-active) kart gözüksün */

  /* iOS Safari'de overflow:hidden + preserve-3d çalışmıyor;
     clip-path:inset(0) 3D context içinde de kırpma yapar */
  .hero {
    overflow: hidden;
    -webkit-clip-path: inset(0);
    clip-path: inset(0);
  }

  .carousel-container {
    height: auto !important;
    min-height: 540px;
    padding-top: 20px !important;
    perspective: none !important;
    overflow: hidden;
    /* iOS'ta hardware-accelerated layer — overflow kırpmanın çalışmasını garantiler */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  .carousel {
    position: relative;
    min-height: 500px;
    transform-style: flat !important;
    overflow: hidden;
  }
  .carousel-item {
    position: absolute !important;
    width: min(88vw, 340px) !important;
    height: auto !important;
    min-height: 460px;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    transition: opacity 0.3s ease !important;
    /* visibility:hidden kullanmak opacity:0'dan daha güvenli — render edilmez */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }
  .carousel-item.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10 !important;
  }
  .carousel-item .card {
    padding: 24px !important;
    height: auto;
  }
  .card-image {
    height: 160px !important;
    margin-bottom: 14px;
  }
  .carousel-controls {
    position: absolute !important;
    bottom: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    justify-content: center;
    display: flex !important;
    gap: 16px;
    z-index: 20;
  }
  .carousel-indicators {
    z-index: 20;
  }

  /* Hero boşlukları */
  .hero {
    padding: calc(var(--header-h, 82px) + 12px) 16px 60px !important;
    min-height: auto !important;
  }

  /* Section padding */
  section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Başlıklar taşmasın */
  .section-title,
  .philosophy-headline,
  .hero-title {
    font-size: clamp(26px, 8vw, 40px) !important;
    line-height: 1.2 !important;
    word-break: break-word;
    hyphens: auto;
  }
  .section-subtitle,
  .hero-subtitle {
    font-size: clamp(14px, 4vw, 18px) !important;
    line-height: 1.5 !important;
  }

  /* Grid'leri tek sütuna indir */
  .stats-grid,
  .philosophy-pillars,
  .contact-container,
  .skills-container,
  .values-grid,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 24px;
    text-align: center;
  }

  /* Form alanları mobilde dikey */
  .contact-form,
  .form-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  input,
  textarea,
  select {
    width: 100% !important;
    font-size: 16px !important; /* iOS zoom'u engellemek için */
  }
  button,
  .btn,
  .card-cta {
    min-height: 44px;
    touch-action: manipulation;
  }

  /* Header nav mobil */
  .nav-container {
    padding: 0 16px !important;
  }

  /* Hamburger panel — kapalıyken ekran dışında, açıkken tam genişlik
     backdrop'lu bir drawer olsun. Z-index yeterince yüksek, arkaplan
     opak ki altındaki hero metinleri ile karışmasın. */
  .nav-menu {
    position: fixed !important;
    top: var(--header-h, 72px) !important;
    left: -100% !important;
    width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - var(--header-h, 72px)) !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 16px 0 32px !important;
    margin: 0 !important;
    gap: 0 !important;
    list-style: none !important;
    z-index: 9998 !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: left 0.3s ease !important;
  }
  .nav-menu.active {
    left: 0 !important;
  }
  .nav-menu li {
    width: 100%;
    margin: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }
  .nav-menu li:last-child {
    border-bottom: none;
  }
  .nav-menu a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
    color: #1a1a2e !important;
    width: 100%;
  }

  /* Hamburger ikonu: click alanı büyütülsün, aktifken çarpıya dönüşsün */
  .menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    gap: 5px;
    z-index: 9999;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a1a2e;
    transition: transform 0.25s ease, opacity 0.25s ease;
    margin: 0 auto;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Header'ı drawer'ın üstünde tut */
  .header {
    z-index: 9999 !important;
    background: #fff !important;
  }

  /* Table'lar yatay scroll */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Skill hexagon küçült */
  .skill-hexagon {
    width: 130px !important;
    height: 150px !important;
    margin: 10px 4px !important;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    width: min(92vw, 320px) !important;
    min-height: 460px;
  }
  .section-title,
  .philosophy-headline,
  .hero-title {
    font-size: clamp(24px, 9vw, 34px) !important;
  }
  .hero {
    padding: calc(var(--header-h, 76px) + 10px) 14px 50px !important;
  }
  .nav-container {
    padding: 0 12px !important;
  }
  .skill-hexagon {
    width: 110px !important;
    height: 130px !important;
  }
  .card-number {
    font-size: 42px !important;
  }
}

/* Landing loader mobile safe */
#loader {
  padding: 20px;
  box-sizing: border-box;
}

/* Landing: scroll yoksa modallar da böyle */
@media (hover: none) and (pointer: coarse) {
  .carousel-item:hover .card-image img,
  .carousel-item:hover {
    transform: none !important;
  }
}

/* =========================
   BRAND ASSETS (2026-04-30)
   Wordmark = üst nav, Mark = alt menü (footer)
   Asset'ler kendi içinde cyan + magenta glow taşır; CSS sadece dual-tone
   ışıma ve prism karakterli hover micro-interaction ekler.
========================= */

/* WORDMARK — header */
.logo.logo-brand {
  /* prism-shape + text combo'yu kaldıran tek wordmark image — kompakt */
  gap: 0;
  padding: 0;
  border-radius: 12px;
  outline: none;
  align-items: center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.logo.logo-brand:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 4px;
}
.logo-wordmark {
  display: block;
  height: clamp(34px, 4vw, 46px);
  width: auto;
  max-width: 200px;
  object-fit: contain;
  /* Image kendi içinde glow taşıdığı için CSS shadow'ı çok hafif tut.
     Dual-tone — cyan + magenta — markanın prism karakterini yansıtır. */
  filter:
    drop-shadow(0 2px 6px rgba(0, 188, 212, 0.18))
    drop-shadow(0 6px 22px rgba(217, 70, 239, 0.12));
  transition:
    filter 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: filter, transform;
}
.logo.logo-brand:hover .logo-wordmark {
  filter:
    drop-shadow(0 3px 10px rgba(0, 188, 212, 0.32))
    drop-shadow(0 10px 28px rgba(217, 70, 239, 0.22));
  transform: translateY(-1px) scale(1.015);
}

/* MARK — footer */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.footer-mark {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  filter:
    drop-shadow(0 2px 6px rgba(0, 188, 212, 0.20))
    drop-shadow(0 8px 24px rgba(217, 70, 239, 0.14));
  transition:
    filter 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: filter, transform;
}
.footer-brand:hover .footer-mark {
  filter:
    drop-shadow(0 3px 10px rgba(0, 188, 212, 0.36))
    drop-shadow(0 12px 32px rgba(217, 70, 239, 0.26));
  /* Subtle prism rotation — markanın "prism in motion" DNA'sını korur */
  transform: rotate(20deg);
}

/* Marka load animation — sayfa açılışında soft fade-in.
   ÖNEMLİ: filter property animation'a DAHIL DEĞIL — drop-shadow glow'u
   ezmemesi için sadece opacity + transform animate ediliyor. */
@keyframes brandFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.logo-wordmark,
.footer-mark {
  animation: brandFadeIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .logo-wordmark,
  .footer-mark {
    animation: none;
    transition: none;
  }
  .logo.logo-brand:hover .logo-wordmark,
  .footer-brand:hover .footer-mark {
    transform: none;
  }
}

/* Responsive marka boyları */
@media (max-width: 768px) {
  .logo-wordmark {
    height: 40px;
    max-width: 160px;
  }
  .footer-mark {
    width: 52px;
    height: 52px;
  }
  .footer-logo {
    gap: 14px;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .logo-wordmark {
    height: 36px;
    max-width: 140px;
  }
  .footer-mark {
    width: 48px;
    height: 48px;
  }
}

