@font-face {
  font-family: 'Bauer';
  src: url('../assets/bauerregular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham Book';
  src: url('../assets/Gotham-Book.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

body {
  background: #ffffff;
  color: #111;
  font-family: 'Gotham Book','Century Gothic',Arial,Helvetica,sans-serif;
}

.container {
  width: 1060px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.hero {
  width: 100%;
  line-height: 0;
  /* Hero için aspect-ratio: layout kayması önlenir */
  aspect-ratio: 16 / 7;
  background: #111;
  overflow: hidden;
}

.hero img,
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-page {
  background: #ffffff;
  padding: 55px 0 95px;
}

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

.gallery-section h1,
.gallery-section h2 {
  font-family: 'Bauer',Georgia,'Times New Roman',serif;
  font-size: 36px;
  font-weight: 400;
  color: #111;
  margin-bottom: 45px;
}

.inner-gallery {
  margin-top: 45px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* aspect-ratio ile tarayıcı yer ayırır → layout kayması olmaz */
.gallery-grid img {
  width: 100%;
  height: 170px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter .2s ease;
  cursor: pointer;
  /* GPU katmanı: sadece hover'da etkinleşir, yükleme sırasında değil */
  background-color: #e8e8e8; /* yüklenirken gri placeholder */
}

.gallery-grid img:hover {
  filter: grayscale(0%);
}

@media (max-width: 900px) {
  .hero { aspect-ratio: 16 / 9; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
