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

:root {
  --shell: 1100px;
  --font: 'Manrope', sans-serif;
  --display: 'Syne', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --pixel: 'Press Start 2P', monospace;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  font-family: var(--font);
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin: 0 auto;
}

/* Progress */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 2000;
  background: linear-gradient(90deg, #00e5cc, #7c6bff, #ff6b9d);
  transition: width 0.1s linear;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.4s, border-color 0.4s;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(129, 140, 248, 0.25);
}

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

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.3s, background 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

/* Theme sections base */
.theme-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  overflow: hidden;
}

.section-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.bg-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 42%, rgba(0,0,0,0.15) 68%, rgba(0,0,0,0.35) 100%);
}

.gaming-dim { background: linear-gradient(105deg, rgba(26,10,46,0.88) 0%, rgba(26,10,46,0.5) 45%, rgba(26,10,46,0.2) 100%); }
.ofis-dim { background: linear-gradient(105deg, rgba(8,16,8,0.88) 0%, rgba(8,16,8,0.45) 50%, rgba(8,16,8,0.15) 100%); }
.servis-dim { background: linear-gradient(105deg, rgba(20,14,6,0.88) 0%, rgba(20,14,6,0.45) 48%, rgba(20,14,6,0.12) 100%); }
.kurumsal-dim { background: linear-gradient(105deg, rgba(6,14,22,0.9) 0%, rgba(6,14,22,0.5) 42%, rgba(6,14,22,0.12) 100%); }
.futur-dim { background: linear-gradient(105deg, rgba(4,6,15,0.9) 0%, rgba(4,6,15,0.55) 40%, rgba(4,6,15,0.2) 100%); }

.content-layer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 110px 0 70px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-panel {
  max-width: 520px;
  padding: 28px 32px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(16px);
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 720px;
}

.cards-row-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 920px;
}

.glass-card {
  padding: 20px 22px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  transition: transform 0.25s, border-color 0.25s;
}

.glass-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
}

.glass-card h3 {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.glass-card p {
  font-size: 0.82rem;
  opacity: 0.72;
  line-height: 1.5;
}

.pixel-border {
  border-color: rgba(255, 107, 157, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 157, 0.1);
}

.contact-layer.shell {
  width: min(1280px, calc(100% - 32px));
}

.contact-layer .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 18px;
  align-items: stretch;
  width: 100%;
}

.contact-col {
  min-width: 0;
}

.contact-col-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-col-info h1 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.15;
}

.contact-form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-form textarea {
  flex: 1;
  min-height: 110px;
  resize: vertical;
}

.info-boxes {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-boxes li {
  padding: 12px 14px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 10px;
}

.info-boxes small {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  margin-bottom: 10px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
}

.contact-form h3 {
  font-family: var(--display);
  margin-bottom: 14px;
}

.form-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin-top: 10px;
  font-size: 0.82rem;
  color: #a5b4fc;
}

.form-status.is-error {
  color: #fca5a5;
}

/* Map panel (sağ sütun) */
.map-panel {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 540px;
  align-self: stretch;
}

.map-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(129, 140, 248, 0.15);
  flex-shrink: 0;
}

.map-panel-head h3 {
  font-family: var(--display);
  font-size: 1rem;
  margin: 0;
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.25s, box-shadow 0.25s;
}

.btn-directions:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.map-panel .map-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 460px;
  border-radius: 0;
  border: none;
  overflow: hidden;
}

.map-panel .map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  display: block;
}

/* WhatsApp sabit buton */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: auto;
  top: auto;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  max-width: none;
  padding: 14px 18px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  border: 0;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s, box-shadow 0.25s;
}

.wa-float svg {
  width: 26px;
  height: 26px;
  max-width: 26px;
  max-height: 26px;
  flex-shrink: 0;
  display: block;
  fill: #fff;
}

.wa-float:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
  color: #fff;
}

@media (max-width: 640px) {
  .wa-float span {
    display: none;
  }

  .wa-float {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
  }
}

.theme-overlay {
  display: none;
}

.section-inner {
  display: none;
}

.theme-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.7;
}

.section-inner h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-inner h1 span {
  opacity: 0.75;
  font-weight: 600;
}

.section-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.78;
  margin-bottom: 28px;
}

.theme-btn {
  display: inline-flex;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.theme-indicator {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  opacity: 0.4;
}

/* THEME 1: Silikon */
.theme-silikon {
  background: #020810;
  color: #c8f0ff;
}

.theme-silikon .theme-overlay {
  background: radial-gradient(ellipse at 70% 40%, rgba(0, 200, 255, 0.08) 0%, transparent 55%),
              linear-gradient(180deg, transparent 60%, rgba(0, 20, 40, 0.9));
}

.theme-silikon .theme-tag { color: #00d4ff; }
.theme-silikon .theme-btn {
  background: rgba(0, 212, 255, 0.15);
  color: #00e8ff;
  border: 1px solid rgba(0, 212, 255, 0.35);
}

.theme-silikon .theme-btn:hover {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.25);
  transform: translateY(-2px);
}

/* THEME: Gaming */
.theme-gaming {
  background: #1a0a2e;
  color: #ffe8a0;
}

.crt-scanlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 4px
  );
}

.theme-gaming .theme-tag {
  font-family: var(--pixel);
  font-size: 0.55rem;
  color: #ff6b9d;
}

.theme-gaming h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  text-shadow: none;
}

.theme-gaming .section-lead {
  font-family: var(--mono);
  font-size: 0.85rem;
}

.info-boxes a {
  color: #a5b4fc;
  text-decoration: none;
}

.info-boxes a:hover {
  text-decoration: underline;
}

.pixel-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--pixel);
  font-size: 0.5rem;
}

.pixel-stats small {
  display: block;
  color: #ff6b9d;
  margin-bottom: 4px;
}

/* THEME 3: Ofis / Excel */
.theme-ofis {
  background: #0d1a0d;
  color: #e8f5e9;
}

.theme-ofis .theme-tag { color: #4caf50; }

.theme-ofis h1 span { color: #81c784; }

.ofis-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ofis-list li {
  font-family: var(--mono);
  font-size: 0.82rem;
  padding: 10px 14px;
  background: rgba(76, 175, 80, 0.08);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 6px;
}

.ofis-list li::before {
  content: '▣ ';
  color: #4caf50;
}

/* THEME 4: Servis bandı */
.theme-servis {
  background: #1a1208;
  color: #fff3e0;
}

.theme-servis .theme-tag { color: #ffb74d; }

.theme-servis h1 span { color: #ff9800; }

.servis-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.servis-badges span {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 152, 0, 0.12);
  border: 1px solid rgba(255, 152, 0, 0.3);
  color: #ffb74d;
}

/* THEME: Kurumsal */
.theme-kurumsal {
  background: #060e16;
  color: #d0e8f8;
}

.theme-kurumsal .theme-tag { color: #26c6da; }

.theme-kurumsal h1 span { color: #4dd0e1; }

.theme-kurumsal .glass-card {
  border-color: rgba(38, 198, 218, 0.15);
}

.theme-kurumsal .glass-card:hover {
  border-color: rgba(38, 198, 218, 0.35);
  box-shadow: 0 8px 32px rgba(0, 188, 212, 0.08);
}

.theme-kurumsal .hero-panel {
  border-color: rgba(38, 198, 218, 0.12);
}

/* THEME 5: Futuristik */
.theme-futur {
  background: #050510;
  color: #e0e7ff;
  min-height: 100vh;
  height: auto;
  overflow: visible;
  align-items: stretch;
}

.theme-futur .content-layer {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.theme-futur .theme-tag { color: #818cf8; }

.theme-futur h1 span {
  background: linear-gradient(90deg, #818cf8, #c084fc, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: none;
  align-items: center;
}

.contact-info {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info li {
  padding: 14px 16px;
  background: rgba(129, 140, 248, 0.06);
  border: 1px solid rgba(129, 140, 248, 0.15);
  border-radius: 10px;
}

.contact-info small {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #818cf8;
  margin-bottom: 4px;
}

.contact-info .ph {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.futur-form {
  padding: 28px;
  background: rgba(129, 140, 248, 0.05);
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

.futur-form h3 {
  font-family: var(--display);
  margin-bottom: 18px;
}

.futur-form input,
.futur-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
}

.futur-form input:focus,
.futur-form textarea:focus {
  outline: none;
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.15);
}

.theme-futur .theme-btn {
  width: 100%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  border: none;
}

/* Section enter animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.theme-section.in-view .reveal {
  opacity: 1;
  transform: none;
}

/* Footer */
.footer {
  position: relative;
  z-index: 10;
  padding: 24px 0 40px;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.version-links {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
}

.version-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}

.version-links a:hover { color: #818cf8; }
.version-links .on { color: #818cf8; font-weight: 700; }

@media (max-width: 960px) {
  .cards-row-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .contact-layer .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-panel {
    min-height: 420px;
  }

  .map-panel .map-wrap {
    min-height: 360px;
  }

  .map-panel .map-wrap iframe {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .burger { display: block; }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    background: rgba(10,10,20,0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .contact-layout,
  .contact-layer .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-row,
  .cards-row-4 {
    grid-template-columns: 1fr;
  }

  .theme-indicator {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
