/* ══════════════════════════════════════════════════
   VAKT İSTANBUL — Maison d'Horlogerie
   Palet: gece mürekkebi / şampanya altını / fildişi
   ══════════════════════════════════════════════════ */

:root {
  --ink: #0A0D12;          /* gece — zemin */
  --surface: #11161F;      /* kadran laciverti — yüzeyler */
  --surface-2: #161c27;
  --gold: #C9A66B;         /* şampanya altını */
  --gold-bright: #E8CF9A;
  --ivory: #EAE4D8;        /* fildişi — ana metin */
  --silver: #7E8798;       /* gümüş gri — ikincil metin */
  --blued: #3E6B9E;        /* mavileştirilmiş çelik */
  --line: rgba(201, 166, 107, 0.16);

  --font-display: 'Marcellus', serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --pad-x: clamp(1.25rem, 5vw, 5rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--ink); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

/* ── Ortak tipografi ─────────────────────────────── */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.section-sub {
  color: var(--silver);
  max-width: 46ch;
  margin-top: 1.2rem;
  font-size: 1.02rem;
}

.section-head {
  padding: 0 var(--pad-x);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* ── Butonlar ────────────────────────────────────── */

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1.05rem 2.2rem;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.2s ease;
  will-change: transform;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-bright); }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ivory);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.7rem 1.5rem;
}
.btn-outline:hover { background: var(--gold); color: var(--ink); }

.btn-wide { width: 100%; text-align: center; }

/* ── Preloader ───────────────────────────────────── */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: opacity 0.9s ease, visibility 0.9s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }

.preloader-mark { text-align: center; }

.preloader-word {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  letter-spacing: 0.5em;
  margin-left: 0.5em; /* letterspacing dengesi */
  color: var(--ivory);
  animation: preFade 1.4s ease both;
}

.preloader-line {
  display: block;
  width: 0;
  height: 1px;
  background: var(--gold);
  margin: 1.1rem auto;
  animation: preLine 1.6s cubic-bezier(0.7, 0, 0.2, 1) 0.3s both;
}

.preloader-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  animation: preFade 1.4s ease 0.6s both;
}

@keyframes preFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes preLine { from { width: 0; } to { width: 140px; } }

/* ── Nav ─────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--pad-x);
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(10, 13, 18, 0.88);
  backdrop-filter: blur(14px);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom-color: var(--line);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.28em;
}
.nav-brand-dot { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.6rem;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver);
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ── Hero ────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 7rem var(--pad-x) 4rem;
  background:
    radial-gradient(ellipse 60% 50% at 78% 45%, rgba(201, 166, 107, 0.07), transparent 70%),
    var(--ink);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 7.5vw, 6rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 1.8rem;
}

.hero-sub {
  color: var(--silver);
  max-width: 44ch;
  font-size: 1.05rem;
  margin-bottom: 2.6rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-watch-wrap { text-align: center; }

.hero-watch {
  width: min(440px, 82vw);
  margin: 0 auto;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.6));
}
.hero-watch svg { width: 100%; height: auto; display: block; }

.hero-watch-caption {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  color: var(--silver);
}

.live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 0.8em;
  vertical-align: 1px;
  animation: pulse 2.4s ease infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.hero-scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  color: var(--silver);
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  animation: scrollLine 2.6s ease infinite;
  transform-origin: left;
}
@keyframes scrollLine { 0% { transform: scaleX(0); } 55% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

/* ── Anatomi — exploded view ─────────────────────── */

.exploded-wrap {
  height: 340vh;
  position: relative;
  background: linear-gradient(var(--ink), var(--surface) 30%, var(--surface) 70%, var(--ink));
}

.exploded-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.exploded-head {
  text-align: center;
  padding-top: 6.5rem;
  position: relative;
  z-index: 3;
}
.exploded-head .eyebrow { margin-bottom: 0.8rem; }

.exploded-stage {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 1200px;
  display: grid;
  place-items: center;
}

.exploded-svg {
  width: min(430px, 74vw);
}
.exploded-svg svg { width: 100%; height: auto; display: block; overflow: visible; }

.ex-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(8px);
  max-width: 300px;
  pointer-events: none;
}
.ex-label.is-on { opacity: 1; transform: translateY(0); }

.ex-label strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.ex-label em {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--silver);
  margin-top: 0.3rem;
}

.ex-label-line {
  flex: none;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ex-label-l .ex-label-line { background: linear-gradient(90deg, var(--gold), transparent); }

.ex-label-r { right: 4%; text-align: left; }
.ex-label-l { left: 4%; text-align: right; flex-direction: row; }
.ex-label-l > div, .ex-label-l strong { text-align: right; }

/* etiket dikey konumları JS'te data-band ile eşleşir */
.ex-label[data-band="0.10"] { top: 16%; }
.ex-label[data-band="0.26"] { top: 29%; }
.ex-label[data-band="0.42"] { top: 42%; }
.ex-label[data-band="0.58"] { top: 55%; }
.ex-label[data-band="0.74"] { top: 68%; }
.ex-label[data-band="0.90"] { top: 81%; }

/* ── Koleksiyon ──────────────────────────────────── */

.collection { padding: clamp(6rem, 10vw, 9rem) 0; }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.watch-card {
  background: var(--ink);
  padding: 3rem 2rem 2.6rem;
  text-align: center;
  transition: background 0.5s ease;
  position: relative;
}
.watch-card:hover { background: var(--surface); }

.watch-card-svg {
  width: min(210px, 60vw);
  margin: 0 auto 2.2rem;
  transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
  will-change: transform;
}
.watch-card-svg svg { width: 100%; height: auto; display: block; }
.watch-card:hover .watch-card-svg { transform: scale(1.05) translateY(-6px); }

.watch-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.watch-card-spec {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--silver);
  margin-bottom: 1.3rem;
}

.watch-card-price {
  font-size: 1.02rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.watch-card-edition {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--silver);
  text-transform: uppercase;
}

/* ── Atölye ──────────────────────────────────────── */

.atelier {
  padding: clamp(6rem, 10vw, 9rem) 0;
  background: linear-gradient(var(--ink), var(--surface) 25%, var(--surface) 75%, var(--ink));
}

.atelier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  padding: 0 var(--pad-x);
  max-width: 1300px;
  margin: 0 auto;
}

.atelier-watch {
  width: min(380px, 74vw);
  margin: 0 auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}
.atelier-watch svg { width: 100%; height: auto; display: block; }

.atelier-readout {
  text-align: center;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  color: var(--silver);
}

.control-group {
  border: none;
  margin-bottom: 2.4rem;
}

.control-group legend {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
  color: var(--ivory);
}

.swatch-row { display: flex; gap: 0.9rem; }

.swatch {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sw);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  transition: transform 0.25s ease;
}
.swatch:hover { transform: scale(1.1); }

.swatch.is-active::after {
  content: '';
  position: absolute;
  inset: -7px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.atelier-summary {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.atelier-price-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--silver);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.atelier-price-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--gold);
  letter-spacing: 0.03em;
}

/* ── Miras ───────────────────────────────────────── */

.heritage { padding: clamp(6rem, 10vw, 9rem) 0; }

.timeline {
  list-style: none;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: calc(var(--pad-x) + 7.6rem);
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 6.4rem 1fr;
  gap: 2.4rem;
  padding: 2.4rem 0;
  position: relative;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-align: right;
  position: relative;
}
.timeline-year::after {
  content: '';
  position: absolute;
  right: calc(-1.2rem - 4px);
  top: 0.55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px var(--ink), 0 0 0 6px var(--line);
}

.timeline-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}
.timeline-body p { color: var(--silver); max-width: 52ch; }

/* ── Randevu ─────────────────────────────────────── */

.appointment {
  padding: clamp(6rem, 10vw, 9rem) var(--pad-x);
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(201, 166, 107, 0.06), transparent 70%),
    var(--surface);
  border-top: 1px solid var(--line);
}

.appointment-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.appointment-inner .section-sub { margin-left: auto; margin-right: auto; }

.appointment-form { margin-top: 3rem; text-align: left; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.form-field {
  display: block;
  margin-bottom: 1.4rem;
}

.form-field span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.6rem;
}

.form-field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.1rem;
  transition: border-color 0.3s ease;
}
.form-field input:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.form-field input::placeholder { color: rgba(126, 135, 152, 0.5); }

.form-note {
  margin-top: 1.4rem;
  text-align: center;
  color: var(--gold);
  font-size: 0.92rem;
}

/* ── Footer ──────────────────────────────────────── */

.footer {
  padding: 4.5rem var(--pad-x) 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1300px;
  margin: 0 auto 3.5rem;
}

.footer-mark {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.28em;
  display: block;
  margin-bottom: 1.2rem;
}

.footer p { color: var(--silver); font-size: 0.9rem; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-legal {
  text-align: center;
  font-size: 0.78rem;
  color: var(--silver);
  border-top: 1px solid var(--line);
  padding-top: 2.2rem;
  max-width: 1300px;
  margin: 0 auto;
}
.footer-mono { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; }

/* ── Reveal animasyonları ────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 1060px) {
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero { padding-top: 8rem; }
  .atelier-grid { grid-template-columns: 1fr; }
  .ex-label { max-width: 200px; gap: 0.7rem; }
  .ex-label-line { width: 30px; }
  .ex-label-r { right: 2%; }
  .ex-label-l { left: 2%; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 620px) {
  .collection-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: calc(var(--pad-x) + 5rem); }
  .timeline-item { grid-template-columns: 4.2rem 1fr; gap: 1.6rem; }
  .timeline-year { font-size: 1.05rem; }
  .timeline-year::after { right: calc(-0.8rem - 4px); }
  .ex-label em { display: none; }
  .exploded-svg { width: min(300px, 70vw); }
}

/* ── Hareket azaltma ─────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll-line, .live-dot { animation: none; }
  .preloader-word, .preloader-line, .preloader-sub { animation-duration: 0.01s; animation-delay: 0s; }
  .watch-card:hover .watch-card-svg { transform: none; }
}
