/* ============================================================
   NAT Teknoloji — Shared Site Styles
   Consolidated from per-page duplication. All tokens, nav,
   footer, buttons, utilities, KVKK banner, a11y.
   ============================================================ */

/* ===== TOKENS ===== */
:root {
  --black: #000000;
  --bg: #000000;
  --nat-red: #E31837;
  --nat-red-dim: rgba(227, 24, 55, 0.12);
  --grey: #8B8FA8;
  --grey-light: #C4C6D4;
  --grey-faint: rgba(255, 255, 255, 0.55);
  --white: #ffffff;
  --border-faint: rgba(255, 255, 255, 0.06);
  --border-soft: rgba(255, 255, 255, 0.1);
  --nav-height: 72px;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
}
img {
  max-width: 100%;
  height: auto;
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  background: var(--nat-red);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
:focus-visible {
  outline: 2px solid var(--nat-red);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--nat-red);
  outline-offset: 3px;
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ===== LANGUAGE TOGGLE ===== */
body.lang-tr .en-only {
  display: none !important;
}
body.lang-en .tr-only {
  display: none !important;
}
.lang-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--grey);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  min-height: 32px;
}
.lang-btn:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 56px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.nav-logo-img {
  height: 26px;
  width: auto;
  max-width: 148px;
  display: block;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
  padding: 8px 0;
}
.nav-links a:hover {
  color: var(--white);
}

/* Mega menu dropdowns */
.nav-drop {
  position: relative;
}
.nav-drop-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  transition: color 0.2s;
}
.nav-drop-toggle:hover,
.nav-drop-toggle[aria-expanded='true'],
.nav-drop:focus-within .nav-drop-toggle {
  color: var(--white);
}
.nav-drop-toggle svg {
  width: 12px;
  height: 12px;
  stroke-width: 2;
  transition: transform 0.2s;
}
.nav-drop-toggle[aria-expanded='true'] svg,
.nav-drop:focus-within .nav-drop-toggle svg {
  transform: rotate(180deg);
}
.nav-drop-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -14px;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0s linear 0.2s;
  z-index: 110;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.nav-drop-panel::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel,
.nav-drop-toggle[aria-expanded='true'] + .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s, transform 0.2s, visibility 0s linear 0s;
}
.nav-drop-panel a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-light);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-drop-panel a:hover,
.nav-drop-panel a:focus-visible {
  color: var(--white);
  background: rgba(227, 24, 55, 0.08);
}
.nav-drop-panel a .nav-drop-hint {
  display: block;
  font-size: 11px;
  color: var(--grey);
  margin-top: 2px;
  font-weight: 400;
}

.nav-cta {
  color: var(--white) !important;
  background: var(--nat-red);
  padding: 10px 22px !important;
  border-radius: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600 !important;
  transition: box-shadow 0.2s, transform 0.2s !important;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(227, 24, 55, 0.45);
}

/* ===== HAMBURGER & MOBILE DRAWER ===== */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  color: var(--white);
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  padding: 0;
}
.nav-toggle:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.03);
}
.nav-toggle svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle[aria-expanded='true'] .icon-open {
  display: none;
}
.nav-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

.nav-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 28px 24px 48px;
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  visibility: hidden;
}
.nav-drawer[data-open='true'] {
  transform: translateX(0);
  visibility: visible;
}
.nav-drawer a {
  display: block;
  padding: 18px 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--grey-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s, background 0.2s;
  min-height: 56px;
}
.nav-drawer a:hover,
.nav-drawer a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}
.nav-drawer .drawer-cta {
  margin-top: 20px;
  padding: 18px 22px;
  background: var(--nat-red);
  color: var(--white) !important;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(227, 24, 55, 0.4);
  border-bottom: none;
}
.nav-drawer .drawer-cta:hover {
  background: var(--nat-red);
  color: var(--white) !important;
}
.nav-drawer .drawer-lang {
  margin-top: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--grey);
  font-size: 14px;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.nav-drawer .drawer-lang:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}
.nav-drawer .drawer-lang strong {
  color: var(--nat-red);
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ===== BUTTONS ===== */
.btn-primary {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: var(--nat-red);
  border: none;
  border-radius: 7px;
  padding: 15px 34px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 28px rgba(227, 24, 55, 0.42);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
  display: inline-block;
  min-height: 48px;
  line-height: 1.2;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 44px rgba(227, 24, 55, 0.58);
}
.btn-ghost {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-light);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  padding: 15px 34px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
  min-height: 48px;
  line-height: 1.2;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

/* ===== SECTION UTILITIES ===== */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 56px;
}
.section-sep {
  width: 100%;
  height: 1px;
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(227, 24, 55, 0.15) 20%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(227, 24, 55, 0.15) 80%,
    transparent
  );
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nat-red);
  margin-bottom: 14px;
}
.s-heading {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 16px;
}
.s-sub {
  font-size: 15px;
  color: var(--grey);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 56px;
}

/* ===== ICONS (Lucide inline) ===== */
.icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  flex-shrink: 0;
}
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 56px;
  max-width: 1100px;
  margin: 0 auto;
}
.ft {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.ft-brand-logo {
  display: block;
  margin-bottom: 14px;
  line-height: 0;
}
.ft-logo-img {
  height: 24px;
  width: auto;
  max-width: 140px;
  display: block;
  object-fit: contain;
}
.ft-brand p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.75;
  max-width: 210px;
  margin-bottom: 20px;
}
.ft-social {
  display: flex;
  gap: 10px;
}
.ft-social a {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.ft-social a:hover {
  border-color: var(--nat-red);
  color: var(--white);
  background: rgba(227, 24, 55, 0.06);
}
.ft-social svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}
.ft-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.ft-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ft-col ul a {
  font-size: 13px;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}
.ft-col ul a:hover {
  color: var(--white);
}
.ft-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.ft-bottom p {
  font-size: 12px;
  color: var(--grey-faint);
}
.ft-bottom a {
  color: var(--grey-light);
  text-decoration: none;
}
.ft-bottom a:hover {
  color: var(--white);
}

/* ===== KVKK COOKIE BANNER ===== */
#kvkk-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(8, 8, 8, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 56px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: none;
}
#kvkk-banner.kvkk-show {
  transform: translateY(0);
}
.kvkk-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.kvkk-text {
  font-size: 13px;
  color: var(--grey-light);
  line-height: 1.6;
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kvkk-text svg {
  width: 18px;
  height: 18px;
  color: var(--nat-red);
  flex-shrink: 0;
  stroke-width: 1.75;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kvkk-text a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.kvkk-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.kvkk-btn-accept {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--nat-red);
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  min-height: 44px;
}
.kvkk-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(227, 24, 55, 0.45);
}
.kvkk-btn-decline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-light);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 10px 22px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  min-height: 44px;
}
.kvkk-btn-decline:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  footer {
    padding: 48px 20px;
  }
  .ft {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  #kvkk-banner {
    padding: 16px 20px;
  }
  .kvkk-actions {
    width: 100%;
  }
  .kvkk-btn-accept,
  .kvkk-btn-decline {
    flex: 1;
    text-align: center;
  }
}
@media (max-width: 600px) {
  nav {
    padding: 0 16px;
  }
  .ft {
    grid-template-columns: 1fr;
  }
  #kvkk-banner {
    padding: 14px 16px;
  }
  .section {
    padding: 64px 20px;
  }
}
