/* ============================================================
   BASKA Dijital — Medya Ajansı
   ============================================================ */

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

:root {
  --dark-bg: #1a1a1a;
  --darker-bg: #111111;
  --medium-gray: #2d2d2d;
  --light-gray: #b0b0b0;
  --orange: #e8742a;
  --orange-soft: #d4692b;
  --orange-glow: rgba(232, 116, 42, 0.45);
  --cream: #f5f0e8;
  --white: #ffffff;
  --black: #000000;
  --font-main: 'Montserrat', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --nav-height: 80px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background: var(--dark-bg);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  border: none;
  background: none;
  color: inherit;
  font-family: inherit;
}



/* ============================================================
   SPLASH SCREEN
   ============================================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Ripple canvas — splash arkaplanı */
.ripple-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.splash-content {
  text-align: center;
  user-select: none;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* BASKA — küçültüldü, tagline ile ortalı */
.splash-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--cream);
  /* letter-spacing'i dengelemek için text-indent */
  text-indent: 0.6em;

  background: linear-gradient(
    90deg,
    var(--cream) 0%,
    var(--cream) 35%,
    rgba(245, 240, 232, 0.12) 55%,
    rgba(245, 240, 232, 0.04) 100%
  );
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: splashReveal 2.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes splashReveal {
  0%   { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

.splash-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.9rem, 2vw, 1.35rem);
  color: var(--orange);
  margin-top: 0.8rem;
  min-height: 2em;
  letter-spacing: 0.04em;
}

.splash-tagline .cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--orange);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.6s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.navbar.visible { opacity: 1; }

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1;
  gap: 3px;
}

.nav-logo-main {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.32em;
  color: var(--cream);
  text-transform: uppercase;
}

/* dijital — turuncu, biraz daha kalın, BASKA genişliğiyle eşit */
.nav-logo-sub {
  font-family: var(--font-main);
  font-weight: 500; /* Bolder */
  font-size: 0.65rem;
  color: var(--orange);
  text-transform: lowercase;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-right: 0.35em;
  padding-left: 0.05em;
  letter-spacing: normal;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-instagram {
  color: var(--cream);
  display: flex;
  align-items: center;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-instagram:hover { color: var(--orange); transform: scale(1.1); }

/* Hamburger */
.hamburger {
  width: 28px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6),
              opacity 0.3s ease, background 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--orange); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--orange); }

.hamburger:hover span {
  background: var(--orange);
}

/* ============================================================
   MENU OVERLAY — küçük yazılar
   ============================================================ */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.menu-overlay.active { opacity: 1; visibility: visible; }

.menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.menu-link {
  font-family: var(--font-main);
  font-weight: 300;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--cream);
  letter-spacing: 0.1em;
  position: relative;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.5s ease, color 0.3s ease;
}

.menu-overlay.active .menu-link { transform: translateY(0); opacity: 1; }
.menu-overlay.active .menu-link[data-index="1"] { transition-delay: 0.08s; }
.menu-overlay.active .menu-link[data-index="2"] { transition-delay: 0.16s; }
.menu-overlay.active .menu-link[data-index="3"] { transition-delay: 0.24s; }
.menu-overlay.active .menu-link[data-index="4"] { transition-delay: 0.32s; }
.menu-overlay.active .menu-link[data-index="5"] { transition-delay: 0.40s; }

.menu-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 1.5px;
  background: var(--orange);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-link:hover { color: var(--orange); }
.menu-link:hover::after { width: 100%; }

/* ============================================================
   HERO SECTION — 100vh, scroll-hijack kontrollü
   ============================================================ */
.hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
}

.hero-inner {
  width: 100%;
  max-width: 1400px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 2rem;
}

/* Hakkımızda — solda, başlangıçta gizli */
.hero-about {
  position: absolute;
  left: 4%;
  top: 50%;
  transform: translateY(-50%) translateX(-60px);
  max-width: 340px;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-about.visible { pointer-events: auto; }

.hero-about-title {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  margin-bottom: 1rem;
}

.hero-about-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--orange);
  margin-top: 0.6rem;
}

.hero-about-text {
  font-family: var(--font-main);
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--light-gray);
  margin-bottom: 0.8rem;
}

/* Bilgisayar */
.hero-computer-wrapper {
  width: 100%;
  max-width: 700px;
  will-change: transform;
  position: relative;
  z-index: 1;
}

.hero-computer-scene {
  position: relative;
  transform-style: preserve-3d;
}

.hero-computer-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(232, 116, 42, 0.05);
}

.computer-screen-text {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
  user-select: none;
}

.screen-text-main {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(0.9rem, 2.2vw, 1.8rem);
  letter-spacing: 0.3em;
  color: rgba(245, 240, 232, 0.65);
  text-transform: uppercase;
  padding-right: 0.3em;
}

.screen-text-sub {
  font-family: var(--font-main);
  font-weight: 100;
  font-size: clamp(0.4rem, 0.9vw, 0.7rem);
  letter-spacing: 0.65em;
  color: rgba(232, 116, 42, 0.5);
  text-transform: lowercase;
  padding-right: 0.65em;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.25;
  transition: opacity 0.5s;
}

.scroll-hint.hidden { opacity: 0; }

.scroll-hint-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--cream));
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.3; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* ============================================================
   STATS SECTION (Overlay on map)
   ============================================================ */
.stats-section-overlay {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  z-index: 20; /* above map and magnifier */
  padding: 2rem 4rem;
}

.stats-grid {
  display: flex;
  justify-content: flex-end; /* right-align */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-box {
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 160px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.stat-number {
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .stats-grid {
    flex-wrap: wrap;
    justify-content: center;
  }
  .stats-section-overlay {
    top: auto;
    bottom: 2rem;
    padding: 1rem;
  }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-section {
  padding: 2.5rem 0;
  overflow: hidden;
  background: var(--darker-bg);
}

.marquee-container {
  display: flex;
  flex-direction: column;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee-baska {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.08;
  transition: opacity 0.4s ease;
  user-select: none;
}

/* Dikey "dijital" — daha büyük */
.marquee-dijital {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-main);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  opacity: 0.22;
  text-transform: lowercase;
  user-select: none;
  line-height: 1;
}

.marquee-container:hover .marquee-track { animation-play-state: paused; }
.marquee-container:hover .marquee-baska { opacity: 0.16; }
.marquee-container:hover .marquee-dijital { opacity: 0.4; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   TAGLINE — eskiz çizgileri + köşe konturları + glow
   ============================================================ */
.tagline-section {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  position: relative;
  background: var(--dark-bg);
  overflow: hidden;
}

.sketch-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background:
    repeating-linear-gradient(35deg, transparent, transparent 80px, var(--cream) 80px, var(--cream) 80.5px),
    repeating-linear-gradient(-55deg, transparent, transparent 120px, var(--cream) 120px, var(--cream) 120.5px),
    repeating-linear-gradient(0deg, transparent, transparent 150px, var(--cream) 150px, var(--cream) 150.5px),
    repeating-linear-gradient(90deg, transparent, transparent 200px, var(--cream) 200px, var(--cream) 200.5px);
}

.sketch-corner {
  position: absolute;
  width: 100px;
  height: 100px;
  pointer-events: none;
}

.sketch-corner-tl {
  top: 12%;
  left: 6%;
  border-top: 1.5px solid rgba(245, 240, 232, 0.12);
  border-left: 1.5px solid rgba(245, 240, 232, 0.12);
}

.sketch-corner-tl::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px;
  width: 60px; height: 60px;
  border-top: 0.5px solid rgba(245, 240, 232, 0.06);
  border-left: 0.5px solid rgba(245, 240, 232, 0.06);
}

.sketch-corner-br {
  bottom: 12%;
  right: 6%;
  border-bottom: 1.5px solid rgba(245, 240, 232, 0.12);
  border-right: 1.5px solid rgba(245, 240, 232, 0.12);
}

.sketch-corner-br::before {
  content: '';
  position: absolute;
  bottom: 8px; right: 8px;
  width: 60px; height: 60px;
  border-bottom: 0.5px solid rgba(245, 240, 232, 0.06);
  border-right: 0.5px solid rgba(245, 240, 232, 0.06);
}

.tagline-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 4.5vw, 3.8rem);
  color: var(--orange);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 2;
  text-shadow:
    0 0 20px var(--orange-glow),
    0 0 40px rgba(232, 116, 42, 0.2),
    0 0 80px rgba(232, 116, 42, 0.1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

.tagline-text em {
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  text-shadow: 0 0 15px rgba(245, 240, 232, 0.3), 0 0 30px rgba(245, 240, 232, 0.1);
}

/* ============================================================
   HİZMETLERİMİZ + SNAKE GAME
   ============================================================ */
.snake-section {
  padding: 6rem 0 7rem;
  position: relative;
  background: radial-gradient(circle at center, #231c17 0%, var(--darker-bg) 75%);
  overflow: hidden;
}

.snake-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(232, 116, 42, 0.04) 1px, transparent 1px),
    radial-gradient(rgba(245, 240, 232, 0.01) 1px, transparent 1px);
  background-size: 40px 40px, 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.7;
  pointer-events: none;
}

.services-title {
  text-align: center;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 3.5rem;
  user-select: none;
  text-shadow: 
    0 0 15px var(--orange-glow),
    0 0 35px rgba(232, 116, 42, 0.35),
    0 0 70px rgba(232, 116, 42, 0.15);
}

.tilt-letter {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s, text-shadow 0.3s;
  transform-origin: bottom left;
}

.tilt-letter:hover {
  transform: rotate(16deg) translateY(-4px);
  color: var(--cream);
  text-shadow: 0 0 15px rgba(245, 240, 232, 0.8);
}

.snake-canvas-wrapper {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
  padding: 0 2rem;
  aspect-ratio: 16 / 10;
}

#snakeCanvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(232, 116, 42, 0.12);
  background: #141414;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.75), 
    0 0 45px rgba(232, 116, 42, 0.12),
    inset 0 0 60px rgba(0, 0, 0, 0.5);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

#snakeCanvas:hover {
  border-color: rgba(232, 116, 42, 0.35);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.8), 
    0 0 60px rgba(232, 116, 42, 0.22),
    inset 0 0 60px rgba(0, 0, 0, 0.5);
}

.snake-watermark {
  position: absolute;
  bottom: 1.2rem;
  right: 2.8rem;
  font-family: var(--font-main);
  font-weight: 100;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(245, 240, 232, 0.18);
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
}



/* ============================================================
   CODE EDITOR SECTION — VS Code Style
   ============================================================ */
.code-editor-section {
  background: #1a1a1a;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.vscode-window {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(232, 116, 42, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.vscode-titlebar {
  background: #323233;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  user-select: none;
}

.vscode-dots {
  display: flex;
  gap: 7px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.vscode-title {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.03em;
}

.vscode-tabs {
  background: #252526;
  display: flex;
  border-bottom: 1px solid #1e1e1e;
}

.vscode-tab {
  padding: 8px 18px;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
  border-right: 1px solid #1e1e1e;
  user-select: none;
}

.vscode-tab.active {
  background: #1e1e1e;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid #e8742a;
  margin-bottom: -1px;
}

.tab-icon {
  background: #f7df1e;
  color: #000;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 2px;
  line-height: 1;
}

.vscode-editor {
  background: #1e1e1e;
  display: flex;
  min-height: 420px;
  overflow: hidden;
}

.line-numbers {
  padding: 16px 0;
  padding-right: 12px;
  padding-left: 16px;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.2);
  text-align: right;
  user-select: none;
  white-space: pre;
  min-width: 42px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.code-content {
  padding: 16px 20px;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #d4d4d4;
  margin: 0;
  white-space: pre;
  overflow-x: auto;
  flex: 1;
}

/* Syntax highlighting colors */
.code-kw { color: #c586c0; }           /* keywords: const, async, function, return, await */
.code-vr { color: #9cdcfe; }           /* variables */
.code-fn { color: #dcdcaa; }           /* function names */
.code-st { color: #e8742a; }           /* strings - matches site orange */
.code-cm { color: #6a9955; }           /* comments */
.code-pr { color: #9cdcfe; }           /* parameters */
.code-nm { color: #b5cea8; }           /* numbers */
.code-br { color: #ffd700; }           /* brackets */
.code-op { color: #d4d4d4; }           /* operators */
.code-pl { color: #d4d4d4; }           /* plain text */

/* Blinking cursor */
.editor-cursor {
  color: #e8742a;
  animation: cursorBlink 1s step-end infinite;
  font-weight: 100;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.vscode-statusbar {
  background: #e8742a;
  padding: 3px 14px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-main);
  font-size: 0.65rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--darker-bg);
  padding: 0 2rem 2rem;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(245,240,232,0.08) 20%, rgba(232,116,42,0.2) 50%, rgba(245,240,232,0.08) 80%, transparent 100%);
  margin-bottom: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-left { flex-shrink: 0; }

.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.footer-logo-main {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.32em;
  color: var(--cream);
  text-transform: uppercase;
}

.footer-logo-sub {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--orange);
  text-transform: lowercase;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-right: 0.35em;
  padding-left: 0.05em;
  letter-spacing: normal;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }

.footer-links a {
  font-family: var(--font-main);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--light-gray);
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--orange); }

.footer-contact { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }

.footer-contact a {
  font-family: var(--font-main);
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--light-gray);
  transition: color 0.3s ease;
}

.footer-contact a:hover { color: var(--orange); }
.footer-contact-dot { color: rgba(255, 255, 255, 0.2); }

.footer-social a {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}

.footer-social a:hover { transform: scale(1.15); opacity: 1; }

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-main);
  font-weight: 300;
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.25);
  letter-spacing: 0.05em;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--medium-gray); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange-soft); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-container { padding: 0 1.2rem; }
  .nav-logo-main { font-size: 1.1rem; letter-spacing: 0.25em; }
  .nav-logo-sub { font-size: 0.55rem; letter-spacing: 0.7em; }

  .hero-inner { flex-direction: column; padding: 1rem; }
  .hero-computer-wrapper { max-width: 100%; }
  .hero-about { position: relative; left: auto; top: auto; transform: none; max-width: 100%; padding: 0 1rem; margin-bottom: 1rem; }

  .tagline-section { padding: 4rem 1.5rem; }
  .snake-canvas-wrapper { padding: 0 1rem; aspect-ratio: 4 / 3; }
  .vscode-editor { min-height: 320px; }
  .code-content { font-size: 0.7rem; }

  .footer-content { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .footer-right { align-items: flex-start; }
}

@media (max-width: 480px) {
  .splash-title { letter-spacing: 0.3em; text-indent: 0.3em; }
  .marquee-baska { font-size: 2rem; }
  .menu-link { font-size: 1rem; }
  .footer-links { flex-direction: column; gap: 0.7rem; }
  .sketch-corner { width: 60px; height: 60px; }
}

/* ============================================================
   ABOUT.HTML SPECIFIC STYLES
   ============================================================ */

/* Map Hero Section */
.map-section {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #000;
}

.map-container {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: crosshair;
}

.map-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6) contrast(1.1);
  opacity: 0.25;
}

.map-blur-magnifier {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10;
  /* Glassmorphism / Blur reveal effect */
  backdrop-filter: blur(10px) brightness(2.5) contrast(1.2);
  -webkit-backdrop-filter: blur(10px) brightness(2.5) contrast(1.2);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 40px rgba(232, 116, 42, 0.1);
  opacity: 0;
  transition: opacity 0.3s;
}

/* Stats Section */
.stats-section {
  position: relative;
  padding: 4rem 1.5rem;
  background: var(--dark-bg);
  border-top: 1px solid rgba(232, 116, 42, 0.1);
  border-bottom: 1px solid rgba(232, 116, 42, 0.1);
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-box {
  padding: 2rem 1rem;
  background: rgba(17, 17, 17, 0.5);
  border-radius: 16px;
  border: 1px solid rgba(245, 240, 232, 0.05);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 116, 42, 0.3);
}

.stat-number {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 3rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(232, 116, 42, 0.4);
}

.stat-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--cream);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Scroll Reveal Animation */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* About Content Section */
.about-content-section {
  position: relative;
  padding: 8rem 1.5rem;
  background: var(--darker-bg);
  text-align: center;
}

.about-content-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.about-content-inner h2 {
  font-family: var(--font-main);
  font-size: 2.5rem;
  color: var(--orange);
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
}

.mission-block {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(245, 240, 232, 0.05);
}

.about-mission {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Values & Network Section */
.values-section {
  position: relative;
  padding: 6rem 1.5rem 10rem;
  background: #0d0d0d;
  overflow: hidden;
}

.matrix-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.4;
}

.values-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.values-title {
  text-align: center;
  font-family: var(--font-main);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--cream);
  text-shadow: 0 0 20px rgba(245, 240, 232, 0.5);
  margin-bottom: 5rem;
}

.network-container {
  position: relative;
  width: 100%;
  min-height: 400px;
}

.network-lines {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

.network-node {
  position: absolute;
  width: 260px;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  background: rgba(13, 13, 13, 0.8);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(232, 116, 42, 0.15);
  backdrop-filter: blur(5px);
  transition: transform 0.3s;
}

.network-node:hover {
  transform: translate(-50%, -50%) scale(1.05);
  border-color: rgba(232, 116, 42, 0.5);
}

.node-dot {
  width: 16px;
  height: 16px;
  background: var(--orange);
  border-radius: 50%;
  margin: 0 auto 1rem;
  box-shadow: 0 0 15px var(--orange-glow);
}

.network-node h3 {
  font-family: var(--font-main);
  color: var(--orange);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.network-node p {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.5;
}

/* Node Positioning */
.node-1 { top: 10%; left: 50%; }
.node-2 { top: 40%; left: 25%; }
.node-3 { top: 40%; left: 75%; }
.node-4 { top: 85%; left: 50%; }

/* Why Us Section */
.why-us-section {
  padding: 8rem 1.5rem;
  background: var(--dark-bg);
  text-align: center;
}

.why-us-inner {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  padding: 4rem;
  background: rgba(232, 116, 42, 0.05);
  border: 1px solid rgba(232, 116, 42, 0.2);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: blobMorph 8s ease-in-out infinite;
  box-shadow: inset 0 0 50px rgba(232, 116, 42, 0.05);
}

@keyframes blobMorph {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
  100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

.why-us-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-main);
  font-style: italic;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px rgba(232, 116, 42, 0.6);
}

.why-us-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.9);
}

/* Quote Section */
.quote-section {
  padding: 6rem 1.5rem 10rem;
  background: var(--darker-bg);
  text-align: center;
}

.final-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--orange);
  position: relative;
  display: inline-block;
}

.final-quote::before, .final-quote::after {
  content: '"';
  color: rgba(232, 116, 42, 0.3);
}

@media (max-width: 768px) {
  .network-node {
    position: relative;
    top: auto !important; left: auto !important;
    transform: none !important;
    width: 100%;
    margin-bottom: 2rem;
  }
  .network-lines { display: none; }
}

/* ============================================================
   MAP TITLE OVERLAY (about.html)
   ============================================================ */
.map-title-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-main);
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: overlay;
}

/* ============================================================
   CONTACT.HTML SPECIFIC STYLES
   ============================================================ */
/* Removed cursor: none to allow default cursor while keeping the glow */

/* Custom Glow Cursor */
.glow-cursor {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 116, 42, 0.15) 0%, rgba(232, 116, 42, 0) 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
}

/* Contact Hero */
.contact-hero-section {
  padding: 10rem 2rem 4rem;
  min-height: 50vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.contact-hero-inner {
  max-width: 900px;
  text-align: center;
  position: relative;
}

.contact-hero-title {
  font-family: var(--font-main);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 4rem;
  text-shadow: 0 0 20px rgba(245, 240, 232, 0.1);
}

.ripple-text-wrapper {
  position: absolute;
  right: -10%;
  top: 55%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 300px;
}

.ripple-text {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  color: var(--orange);
  z-index: 2;
  text-shadow: 0 0 10px rgba(232, 116, 42, 0.5);
}

.ripple-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(232, 116, 42, 0.6);
  border-radius: 50%;
  animation: rippleAnim 4s linear infinite;
  opacity: 0;
}

.r1 { animation-delay: 0s; }
.r2 { animation-delay: 1.3s; }
.r3 { animation-delay: 2.6s; }

@keyframes rippleAnim {
  0% { width: 150px; height: 150px; opacity: 1; border-width: 2px; }
  100% { width: 400px; height: 400px; opacity: 0; border-width: 0px; }
}

@media (max-width: 768px) {
  .ripple-text-wrapper {
    position: relative;
    right: auto; bottom: auto;
    margin: 0 auto;
  }
}

/* Info Bar Section */
.info-bar-section {
  background: linear-gradient(90deg, #111111 0%, #1a1008 50%, #111111 100%);
  padding: 3rem 1.5rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(232, 116, 42, 0.1);
  border-bottom: 1px solid rgba(232, 116, 42, 0.1);
}

.info-bar-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--cream);
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 500;
}

.info-item svg {
  color: var(--orange);
}

/* Contact Form Section */
.contact-form-section {
  padding: 6rem 1.5rem 8rem;
}

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.glass-form {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.form-row {
  display: flex;
  gap: 2rem;
}

.form-group {
  flex: 1;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 0.5rem;
  margin-left: 0.5rem;
}

.glass-input {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: var(--cream);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}

textarea.glass-input {
  resize: vertical; /* Only allow height resizing, prevent width overflow */
  min-height: 120px;
}

.glass-input:focus {
  border-color: var(--orange);
  background: rgba(0, 0, 0, 0.4);
}

.glass-btn {
  width: 100%;
  padding: 1.2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--cream);
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
  transition: color 0.3s;
}

.glass-btn::before {
  content: '';
  position: absolute;
  top: 100%; left: -100%;
  width: 100%; height: 100%;
  background: var(--orange);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 0;
}

.glass-btn:hover::before {
  transform: translate(100%, -100%);
}

.glass-btn span {
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .form-row { flex-direction: column; gap: 0; }
  .glass-form { padding: 2rem 1.5rem; }
}

/* Custom Popup */
.custom-popup {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.custom-popup.show {
  opacity: 1;
  pointer-events: all;
}

.popup-content {
  background: var(--dark-bg);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(232, 116, 42, 0.3);
  text-align: center;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 20px 50px rgba(232, 116, 42, 0.15);
}

.custom-popup.show .popup-content {
  transform: translateY(0) scale(1);
}

.popup-content p {
  font-family: var(--font-main);
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 2rem;
}

.popup-btn {
  background: var(--orange);
  color: #fff;
  padding: 0.8rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
}

.popup-btn:hover {
  background: var(--orange-soft);
}

/* ============================================================
   WORKS.HTML SPECIFIC STYLES
   ============================================================ */
.podium-section {
  padding: 10rem 0 4rem;
  background: var(--dark-bg);
  position: relative;
}

.works-page-title {
  font-family: var(--font-main);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--cream);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
}

.podium-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 2rem;
  padding: 0 4rem 2rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.podium-carousel::-webkit-scrollbar {
  display: none;
}

.podium-item {
  scroll-snap-align: center;
  flex: 0 0 calc(60% - 2rem);
  height: 50vh;
  min-height: 400px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.podium-image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
}

.podium-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(232,116,42,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 2rem;
  pointer-events: none;
}

.podium-title {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.podium-services {
  font-family: var(--font-main);
  font-size: 1.1rem;
  color: var(--orange);
  font-weight: 500;
}

.works-grid-section {
  padding: 4rem 4rem 8rem;
  background: var(--darker-bg);
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.work-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 350px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.work-card:hover {
  transform: translateY(-10px);
}

.work-card-image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
}

.work-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  padding: 2rem;
}

.work-card-info h4 {
  font-family: var(--font-main);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.work-card-info p {
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--orange);
}

@media (max-width: 768px) {
  .podium-carousel { padding: 0 2rem 2rem; }
  .podium-item { flex: 0 0 85%; }
  .works-grid-section { padding: 4rem 2rem 8rem; }
  .works-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBİL — Hero & Hamburger Menü Düzeltmeleri
   ============================================================ */
@media (max-width: 768px) {

  /* Hero: boşluk kapat — 100vh yerine içeriğe göre yükseklik */
  .hero-section {
    height: auto;
    min-height: auto;
    padding-bottom: 3rem;
  }

  /* Splash yazısı — mobilde daha büyük */
  .splash-title {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    letter-spacing: 0.4em;
  }

  .splash-tagline {
    font-size: clamp(1rem, 4vw, 1.35rem);
  }

  /* Hero: dikey yığmalı layout */
  .hero-inner {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 1.4rem 2rem;
    gap: 0;
  }

  /* Bilgisayar görseli — üstte, daha küçük */
  .hero-computer-wrapper {
    position: relative;
    width: 85%;
    max-width: 320px;
    margin-top: 1rem;
    z-index: 1;
    will-change: unset;
  }

  /* Hakkımızda yazısı — bilgisayarın altında, normal akışta */
  .hero-about {
    position: relative;
    left: auto;
    top: auto;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto;
    max-width: 100%;
    width: 100%;
    margin-top: 1.8rem;
    text-align: left;
  }

  .hero-about-title {
    font-size: 1.2rem;
  }

  .hero-about-text {
    font-size: 0.8rem;
    line-height: 1.7;
  }

  /* Hamburger menü linkleri — mobilde büyük ve okunaklı */
  .menu-link {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .menu-nav {
    gap: 2rem;
  }
}
