/*
Theme Name: No Reason Co.
Theme URI: https://noreasonco.com
Author: No Reason Co.
Description: No Reason Co. koşu topluluğu teması. Şu an yapım aşaması (under construction) sayfasını gösterir.
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: noreasonco
*/

/* ---------- Fontlar (self-host, GDPR dostu) ---------- */
@font-face {
  font-family: 'Archivo NR';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(assets/fonts/archivo-latin-ext-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo NR';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(assets/fonts/archivo-latin-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Anton NR';
  font-display: swap;
  src: url(assets/fonts/anton-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Anton NR';
  font-display: swap;
  src: url(assets/fonts/anton-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- Tokenlar ---------- */
:root {
  --black: #0A0A0A;
  --ink: #141414;
  --line: #262626;
  --gold: #D4AF45;
  --gold-hi: #E5CC6A;
  --gold-lo: #B98D2F;
  --white: #F5F2EA;
  --muted: #8C877B;
  --f-wide: 'Druk Wide Web', 'Archivo NR', 'Archivo', sans-serif;
  --f-cond: 'Druk Web', 'Anton NR', 'Anton', sans-serif;
  --f-text: 'Druk Text Web', 'Archivo NR', 'Archivo', system-ui, sans-serif;
  --pad: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  touch-action: manipulation; /* çift dokunuşta zoom olmasın */
}
a { color: inherit; }

/* Hafif film greni */
.uc::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: .06;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.uc {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
}

/* ---------- Üst bar ---------- */
.uc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--pad) var(--pad) 0;
  position: relative;
  z-index: 2;
}
.uc-logo img { display: block; width: 112px; height: auto; }

/* ---------- Hero ---------- */
.uc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 4vw, 48px) var(--pad);
  position: relative;
  z-index: 1;
}
.uc-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-wide);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}
.uc-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212,175,69,.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212,175,69,.55); }
  70% { box-shadow: 0 0 0 12px rgba(212,175,69,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,69,0); }
}
.uc-title {
  font-family: var(--f-wide);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: -.01em;
  font-size: clamp(40px, 6.4vw, 104px);
  margin: 0;
}
.uc-title span { display: block; }
.uc-title .gold {
  background: linear-gradient(120deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.uc-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
}
.uc-lead {
  max-width: 34em;
  margin: 26px 0 0;
  color: #CFCAC0;
  font-size: clamp(15px, 1.2vw, 18px);
}
.uc-cta {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 30px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--f-wide);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 22px;
  border-radius: 999px;
  transition: transform .2s, background .2s;
}
.uc-cta:hover { background: var(--gold-hi); transform: translateY(-2px); }
.uc-cta .arr { transition: transform .2s; }
.uc-cta:hover .arr { transform: translateX(4px); }

/* ---------- Pist ---------- */
.uc-track {
  position: relative;
  width: 100%;
  max-width: 620px;
  justify-self: end;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.uc-track svg { display: block; width: 100%; height: auto; overflow: visible; }
.uc-track .lane { fill: none; stroke: var(--line); stroke-width: 1.5; }
.uc-track .scene { display: none; }
.uc-track .scene.is-active { display: inline; }
.uc-track .street line { stroke: #171717; stroke-width: 5; }
.uc-track .block rect { fill: #141414; stroke: #262626; }
.uc-track .topo path { fill: none; stroke: #1f1f1f; stroke-width: 1.2; }
.uc-track .tree use { fill: #2c2c2c; }
.uc-track .route { stroke-linejoin: round; }
.uc-track [data-scene="sehir"] .route, .uc-track [data-scene="orman"] .route { stroke: #4a4a4a; stroke-dasharray: 2 6; }
.uc-track .lane-main { stroke: #3a3a3a; stroke-dasharray: 2 8; }
.uc-track .trail { fill: none; stroke: url(#nr-gold); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.uc-track .runner { fill: var(--gold-hi); }
.uc-track .runner-glow { fill: var(--gold); opacity: .25; }
.uc-track .start { stroke: var(--white); stroke-width: 2; }
.uc-track-center {
  position: absolute; top: 0; left: 0; right: 0;
  aspect-ratio: 440 / 260;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  pointer-events: none;
}
.uc-lap-label {
  font-family: var(--f-wide); font-stretch: 125%; font-weight: 800;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.uc-lap {
  font-family: var(--f-cond);
  font-size: clamp(52px, 5.6vw, 88px);
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.uc-km {
  font-family: var(--f-cond);
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--gold);
  letter-spacing: .04em;
}
.uc-hint {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.uc-track.boost .uc-km { color: var(--gold-hi); }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .uc-hero { grid-template-columns: 1fr; }
  .uc-track { justify-self: center; max-width: 440px; order: 2; }
}
@media (max-width: 560px) {
  .uc-logo img { width: 84px; }
  .uc-title .outline { -webkit-text-stroke-width: 1px; }
}

@media (prefers-reduced-motion: reduce) {
  .uc-dot { animation: none; }
}
