/* reset.css — GRS Kumaşçılık */

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

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

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

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

/* ═══════════════════════════════════════════
   NEWSPRINT YARDIMCI SINIFLAR
   ═══════════════════════════════════════════ */

/* Köşe keskinliği — newsprint temel kuralı */
.btn,
.nav-cta,
.form-input,
.form-select,
.form-textarea,
.modal-card,
.map-panel,
.sticky-sidebar,
.fair-date-badge,
.chip,
.filter-btn {
  border-radius: 0 !important;
}

/* Hard-offset gölge hover efekti */
.hard-shadow-hover {
  transition: box-shadow var(--t-base) ease-out,
              transform var(--t-base) ease-out;
}

.hard-shadow-hover:hover {
  box-shadow: 4px 4px 0px 0px var(--ink);
  transform: translate(-2px, -2px);
}

/* Gazete dokusu (ince çizgi grid) */
.newsprint-texture {
  position: relative;
}

.newsprint-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, transparent 98%, rgba(14, 26, 28, 0.025) 100%),
    linear-gradient(90deg, transparent 98%, rgba(14, 26, 28, 0.025) 100%);
  background-size: 3px 3px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

/* İnverted (ters çevrilmiş koyu) bölümler */
.inverted {
  background: var(--ink);
  color: var(--paper);
}

.inverted h1,
.inverted h2,
.inverted h3,
.inverted h4,
.inverted p {
  color: var(--paper);
}

.inverted .overline {
  color: var(--accent);
}

/* Başlık arasındaki süslü ayraç */
.ornament {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 1em;
  color: var(--divider);
  text-align: center;
  user-select: none;
}
