/* Site-wide styles for NEGS Tech — LIGHT theme */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #FAFAF7;
  color: #0f2445;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body { overflow-x: hidden; }

::selection { background: #e65100; color: #fff; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748B;
}
.eyebrow--accent { color: #e65100; }
.eyebrow--cyan   { color: #0891B2; }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: #0f2445;
  margin: 0;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: #e65100; color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 10px 24px -8px rgba(230,81,0,0.35);
}
.btn--primary:hover {
  background: #ef6c00;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 14px 30px -6px rgba(230,81,0,0.5);
}

.btn--ghost {
  background: transparent; color: #0f2445;
  border-color: #CBD5E1;
}
.btn--ghost:hover {
  background: rgba(15,36,69,0.04);
  border-color: #94A3B8;
}

.btn--link { padding: 0; background: transparent; color: #0891B2; font-weight: 500; }

*:focus-visible { outline: 2px solid #0891B2; outline-offset: 2px; border-radius: 2px; }

@keyframes pulse-online {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}
.status-dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; }
.status-dot--online { background: #10B981; animation: pulse-online 2s ease-in-out infinite; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms cubic-bezier(0.2,0.8,0.2,1), transform 700ms cubic-bezier(0.2,0.8,0.2,1); }
.reveal.in { opacity: 1; transform: none; }

.section { padding: 120px 48px; position: relative; border-bottom: 1px solid #EAEAE3; }
.container { max-width: 1360px; margin: 0 auto; position: relative; }

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

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #F0F0EA; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* ── Hero entrance animation ── */
.hero-img-init { transform: translateX(40px); opacity: 0; }
.hero-img-in   { transform: none; opacity: 1; transition: transform 900ms cubic-bezier(0.2,0.8,0.2,1), opacity 900ms ease-out; }
.hero-text-init { opacity: 0; transform: translateY(24px); }
.hero-text-in   { opacity: 1; transform: none; transition: opacity 700ms cubic-bezier(0.2,0.8,0.2,1), transform 700ms cubic-bezier(0.2,0.8,0.2,1); }
.hero-text-in.delay-1 { transition-delay: 150ms; }
.hero-text-in.delay-2 { transition-delay: 300ms; }
.hero-text-in.delay-3 { transition-delay: 500ms; }
.hero-text-in.delay-4 { transition-delay: 700ms; }
@media (prefers-reduced-motion: reduce) {
  .hero-img-init, .hero-img-in, .hero-text-init, .hero-text-in { transition: none !important; transform: none !important; opacity: 1 !important; }
}

/* ── Industries kart — sektör görselleri tonal birleşim (filter)
      Farklı kaynaklardan (Unsplash) gelen 6 görseli aynı sıcaklık/saturasyona indirger.
      Hover'da neutralize → orijinal renk geri gelir. ── */
#cozumler article img {
  filter: saturate(0.78) brightness(0.92) contrast(1.05);
  transition: filter 320ms ease, transform 400ms ease !important;
}
#cozumler article:hover img {
  filter: saturate(1) brightness(1) contrast(1);
}

/* ── Industries kart desc — sıkıştır, kart yüksekliği rahat ── */
#cozumler article .industry-desc {
  font-size: 13px !important;
  line-height: 1.4 !important;
}

/* ── Blueprint grid background — engineering brand signature
      Hero ve Industries section'a SVG technical grid texture overlay.
      Fade-out top/bottom için mask. ── */
.blueprint-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,36,69,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,36,69,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
  z-index: 0;
}
.blueprint-grid--dark {
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
}

/* ===== Cookie consent banner ===== */
#negs-consent-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 36, 69, 0.96);
  color: #fff;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, 0.3);
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, sans-serif);
  animation: negsCbIn 0.36s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes negsCbIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.negs-cb-inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: nowrap;
}
.negs-cb-text { flex: 1 1 auto; font-size: 13px; line-height: 1.45; color: #E2E8F0; min-width: 0; }
.negs-cb-text strong { color: #fff; }
.negs-cb-text a { color: #ff8a3d; text-decoration: underline; }
.negs-cb-short { display: none; }
.negs-cb-actions { display: flex; gap: 8px; flex-shrink: 0; }
.negs-cb-btn {
  padding: 8px 18px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600;
  border: 1px solid transparent; transition: all 0.18s; white-space: nowrap;
}
.negs-cb-reject { background: transparent; color: #CBD5E1; border-color: rgba(255,255,255,0.2); }
.negs-cb-reject:hover { background: rgba(255,255,255,0.08); color: #fff; }
.negs-cb-accept { background: #e65100; color: #fff; }
.negs-cb-accept:hover { background: #ff8a3d; }
@media (max-width: 600px) {
  .negs-cb-inner { padding: 8px 12px; gap: 8px; }
  .negs-cb-text { font-size: 11.5px; line-height: 1.35; }
  .negs-cb-long { display: none; }
  .negs-cb-short { display: inline; }
  .negs-cb-actions { gap: 4px; }
  .negs-cb-btn { padding: 7px 12px; font-size: 11.5px; }
}
