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

html {
  scroll-behavior: smooth;
  /* Sayfalar arası scrollbar aç/kapa → logo/menü kaymasını önle */
  scrollbar-gutter: stable;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-family);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-base);
  color: var(--color-text);
  background: #f7f9fc;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--space-4);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-heading);
}

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

h2 {
  font-size: clamp(1.5rem, 3vw, var(--fs-2xl));
}

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

p {
  margin: 0 0 var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

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

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

/* Tek container modeli — tüm sayfalarda aynı genişlik / padding */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
  box-sizing: border-box;
}

.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;
}

.text-muted {
  color: var(--color-text-muted);
}

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

.section-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: var(--space-3);
}

.placeholder-text {
  color: var(--color-text-muted);
  font-style: italic;
}

.placeholder-media {
  background: var(--bg-gray);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
  font-size: var(--fs-sm);
  min-height: 200px;
  overflow: hidden;
  position: relative;
}

.placeholder-media--hero {
  min-height: 100%;
  border-radius: 0;
}

.placeholder-media--square {
  aspect-ratio: 1;
  min-height: 0;
}

.placeholder-media--portrait {
  aspect-ratio: 3 / 4;
  min-height: 0;
}

.placeholder-media--wide {
  aspect-ratio: 16 / 10;
  min-height: 0;
}

body.is-menu-open {
  overflow: hidden;
}
