/* =====================================================================
   minimal-artist — base.css
   Fontlar, reset, temel element stilleri, erişilebilirlik yardımcıları.
   ===================================================================== */

/* ---- Fontlar ---- */
/* BISON: yalnızca KAIIRA logotype için. Dosya assets/fonts/ altına konur. */
@font-face {
  font-family: "Bison";
  src: url("../fonts/Bison-Bold.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* Poiret One: başlıklar ve editoryal vurgular. Yerel kopya; Google Fonts
   bağlantısı sayfa <head> içinde yedek olarak kullanılabilir. */
@font-face {
  font-family: "Poiret One";
  src: url("../fonts/PoiretOne-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Yerel gövde yedeği: Manrope yüklenemediğinde devreye girer. */
@font-face {
  font-family: "Kaiira Body";
  src: url("../fonts/BodyFont-Regular.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-body-text);
  background-color: var(--color-background);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  background-color: var(--color-surface);
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
  color: var(--color-secondary);
}

table {
  border-collapse: collapse;
  width: 100%;
}

fieldset {
  border: none;
}

::selection {
  background: var(--color-primary);
  color: var(--color-cream);
}

/* ---- Temel tipografi ---- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.015em;
  color: var(--color-secondary);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p {
  max-width: 70ch;
}

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

hr {
  border: none;
  border-top: 1px solid var(--color-border-soft);
  margin-block: var(--space-6);
}

/* ---- Odak ve erişilebilirlik ---- */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.8rem 1.4rem;
  background: var(--color-primary);
  color: var(--color-cream);
  font-size: var(--text-sm);
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Hareket azaltma ---- */
@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;
  }
}
