/* =========================================================
   Base — reset, tipografi, premium dark temel
   ========================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--gold); color: var(--dark); }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: var(--ls-normal);
  line-height: 1.05;
  color: var(--ink);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { color: var(--ink-2); }

ul, ol { list-style: none; padding: 0; }

em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

strong { color: var(--ink); font-weight: 600; }

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

/* Reduced motion */
@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 hidden attribute her zaman kazanmalı */
[hidden] { display: none !important; }

/* Skip link — accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 200ms ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Screen reader only */
.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;
}

/* Reduced motion — tüm animasyonları kapat */
@media (prefers-reduced-motion: reduce) {
  .hero-3d::before { display: none; }
  .hmp-dot { animation: none; }
  .cs-arrow { transition: none; }
  .cs-slide { transition: opacity 200ms ease; }
}

/* Premium utility — eyebrow text */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-tiny);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--gold);
  font-weight: 500;
  display: inline-block;
  position: relative;
  padding-left: 32px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 24px; height: 1px;
  background: var(--gold);
}

/* Gold underline for headings */
.gold-line {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 12px;
  opacity: 0.6;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Scrollbar (subtle) */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Selection backdrop blur helper */
.glass {
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
}
