/* ==========================================================================
   Kinetik İşler Kolektifi — ortak stil dosyası
   Tüm sayfalarda kullanılan temel yapı: yerleşim, üst menü, footer,
   erişilebilirlik ve hareket tercihleri. Sayfaya özel kurallar
   ilgili HTML dosyasının kendi <style> bloğunda durur.
   ========================================================================== */

:root {
  --bg: #090a0e;
  --surface: #13151b;
  --accent: #b55fe6;
  --text: #ffffff;
  --text-dim: #8e8f93;
  --text-soft: #b5b6ba;
  --line: rgba(255, 255, 255, 0.06);
  --spacing-x: 50px;

  /* Gövde metni: Inter — küçük punto ve koyu zeminde okunaklı.
     Başlıklar: Space Grotesk — mekanik geometrisi olan teknik bir tavır. */
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* --- Başlık ve arayüz tipografisi --- */

h1, h2, h3, h4, h5, h6,
.logo-sub,
.site-nav a,
.nav-arrow,
.sound-btn,
.small-title,
.section-head,
.intro,
.page-label,
.page-title,
.alan-num,
.sub-nav,
.bottom-nav,
.project-category,
.project-title,
.project-year,
.info-box-title,
.quote,
.footer-legal {
  font-family: var(--font-display);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button {
  font: inherit;
  color: inherit;
}

img,
video {
  display: block;
}

/* --- Odak göstergesi ve içeriğe atlama --- */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 100;
  background: var(--accent);
  color: var(--text);
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 6px 0;
}

.skip-link:focus {
  left: 0;
}

/* --- Arka plan partikül katmanı --- */

#interactive-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* --- Yerleşim --- */

.align-px {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: var(--spacing-x);
  padding-right: var(--spacing-x);
  position: relative;
  z-index: 2;
}

main {
  flex: 1;
  position: relative;
  z-index: 2;
}

/* --- Üst menü --- */

header {
  padding: 30px 0;
  position: relative;
  z-index: 3;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: auto;
}

.logo-sub {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
  font-weight: 500;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
}

.site-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.site-nav a:hover,
.site-nav a.active,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

/* --- Mobil menü düğmesi --- */

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --- Footer --- */

footer {
  background-color: var(--bg);
  padding: 80px 0 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
}

footer .footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
}

.footer-philosophy h3,
.footer-address h3,
.footer-contact h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--accent);
}

.footer-philosophy p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 500px;
}

.footer-address address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.map-link {
  font-size: 13px;
  color: var(--accent);
  border-bottom: 1px solid rgba(181, 95, 230, 0.25);
  padding-bottom: 2px;
}

.map-link:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact ul li a {
  font-size: 14px;
  color: var(--text-dim);
}

.footer-contact ul li a:hover {
  color: var(--text);
}

.footer-legal {
  max-width: 1400px;
  margin: 60px auto 0 auto;
  padding: 24px var(--spacing-x) 0 var(--spacing-x);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: #6e6f73;
}

/* --- İletişim bloğu --- */

.contact {
  padding-top: 60px;
  padding-bottom: 120px;
}

.contact h2,
.contact h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.contact p {
  font-size: clamp(20px, 3vw, 28px);
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 600px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.contact-links a {
  color: var(--text);
  font-weight: bold;
  font-size: 15px;
  border-bottom: 1px solid var(--text);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}

.contact-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* --- Duyarlı davranış --- */

@media (max-width: 968px) {
  :root {
    --spacing-x: 30px;
  }

  footer .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-philosophy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  footer .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    display: block;
    padding: 15px 2px;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
