/* anilabbak.com — Wix'ten taşınan görünüm */
@font-face {
  font-family: 'Open Sans Condensed';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local('Open Sans Condensed Light'), local('Open Sans Condensed');
}

:root {
  --ink: #000;
  --muted: #8c8c8c;
  --bg: #f7f7f7;
  --header-bg: #fff;
  --link: #0000ee;
  --font: 'Open Sans Condensed', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--header-bg);
  padding: 0 2rem;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  font-size: 37px;
  letter-spacing: 3.7px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.site-nav {
  display: flex;
  gap: 2.5rem;
}
.site-nav a {
  font-size: 23px;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:hover { opacity: .6; }
.site-nav a[aria-current="page"] { color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  width: 100%;
  aspect-ratio: 1498 / 644;
  background: #d9d9d9 center/cover no-repeat;
  display: block;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Content ---------- */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  min-height: 45vh;
}
.tagline {
  text-align: center;
  font-size: 30px;
  line-height: 1.35;
  margin: 2.5rem auto;
  max-width: 1000px;
}
.card {
  background: #fff;
  padding: 2.5rem 2rem;
  max-width: 850px;
  margin: 0 auto;
}
.card p, .card li {
  font-size: 21px;
  line-height: 1.55;
}
.card ul { padding-left: 1.5rem; }
.card li { margin-bottom: .9rem; }
.card a { color: var(--ink); }
h1 {
  font-weight: 300;
  font-size: 34px;
  margin: 0 0 1.5rem;
}
.figure { margin: 2rem 0; }
.figure img { width: 100%; height: auto; display: block; }
.empty-note {
  color: var(--muted);
  font-size: 19px;
  text-align: center;
  padding: 6rem 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  padding: 1.4rem 2rem;
}
.site-footer .footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.site-footer a {
  color: var(--muted);
  font-size: 17px;
  text-decoration: none;
}

@media (max-width: 700px) {
  .header-inner { min-height: 0; padding: 1rem 0; justify-content: center; }
  .brand { font-size: 28px; }
  .site-nav { gap: 1.5rem; }
  .site-nav a { font-size: 19px; }
  .tagline { font-size: 23px; }
  .card { padding: 1.5rem 1.2rem; }
  .card p, .card li { font-size: 18px; }
  main { padding: 2rem 1rem 3rem; }
}

/* ---------- Galeri ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem 2rem;
  align-items: end;
  justify-items: center;
  margin: 1rem auto 2rem;
}
.tile { margin: 0; }
.tile a { display: block; }
.tile img {
  max-width: 100%;
  max-height: 460px;      /* farkli en-boy oranlarini ortak taban hizasina getirir */
  width: auto;
  height: auto;
  display: block;
  background: #e8e8e8;
  transition: opacity .25s ease;
}
.tile a:hover img { opacity: .82; }
.tile figcaption {
  margin-top: .7rem;
  font-size: 18px;
  color: var(--ink);
  text-align: center;
}

/* CSS-only lightbox (JS yok) */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  padding: 3rem 1.5rem;
  text-align: center;
}
.lightbox:target { display: block; }
.lightbox .lb-bg { position: absolute; inset: 0; }
.lightbox img {
  position: relative;
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox .lb-close {
  position: absolute;
  top: 1rem;
  right: 1.6rem;
  font-size: 40px;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  z-index: 2;
}
.lightbox .lb-close:hover { opacity: .6; }

@media (max-width: 700px) {
  .gallery { gap: 2rem 1rem; }
  .tile img { max-height: 380px; }
  .tile figcaption { font-size: 16px; }
}
