:root {
  --bg: #161616;
  --fg: #e9e6e1;
  --muted: #b9b5ae;
  --gap: 6px;
  --pad: clamp(12px, 1.6vw, 32px);
  --font: "Jost", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 18px/1.7 var(--font); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2 { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

/* görselleri kaydetmeyi zorlaştır: sürükleme, uzun basma, seçme kapalı */
img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.tile img, .card img, .lb-imgwrap img, .photo-guard img { pointer-events: none; }

/* header */
.top { position: relative; margin-bottom: 24px; padding: 40px var(--pad); display: flex; justify-content: center; align-items: center; }
.mark { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.mark-name { font: 500 26px/1 var(--font); letter-spacing: .4em; padding-left: .4em; }
.mark-sub { margin-top: 10px; font-size: 13px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); padding-left: .28em; }
.top nav { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); display: flex; gap: 10px; }
.top nav a {
  padding: 12px 22px; border: 1.5px solid var(--fg); border-radius: 99px;
  font-size: 15px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
  transition: background .2s, color .2s;
}
.top nav a:hover { background: var(--fg); color: var(--bg); }
.top nav a[aria-current="page"] { background: rgba(255, 255, 255, .16); }
.top nav a[aria-current="page"]:hover { background: var(--fg); }

/* satır hizalı galeri: her satır aynı yükseklikte, kenarlar düz */
.gallery { padding: 0 var(--pad); display: flex; flex-direction: column; gap: var(--gap); }
.row { display: flex; gap: var(--gap); }
.row.short { justify-content: center; }
.tile { display: block; height: 100%; min-width: 0; padding: 0; border: 0; background: #1f1f1f; cursor: zoom-in; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.tile:hover img { opacity: .88; }

/* sayfa başlığı */
.page-head { padding: 6px var(--pad) 26px; text-align: center; }
.page-head h1 { font: 500 clamp(34px, 4.6vw, 64px)/1.1 var(--font); letter-spacing: .04em; }
.page-head p { margin: 10px 0 0; font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); }
.back { display: inline-block; margin-bottom: 16px; font-size: 15px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.back:hover { color: var(--fg); }

/* sanatçı kartları */
.cards { padding: 0 var(--pad); display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.card { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #1f1f1f; cursor: pointer; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover img { transform: scale(1.04); }
.card-info { position: absolute; inset: auto 0 0 0; padding: 60px 20px 18px; background: linear-gradient(0deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .5) 55%, transparent); line-height: 1.2; }
.card-name { display: block; font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: .03em; color: #fff; }
.card-meta { display: block; margin-top: 6px; font-size: 16px; color: #dcd8d1; }

/* hakkında + iletişim */
.about { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.photo-guard img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 78%; }
.about-text h1 { font: 500 clamp(32px, 3.8vw, 52px)/1.15 var(--font); letter-spacing: .03em; margin-bottom: 26px; }
.about-text p { margin: 0 0 20px; color: #e3dfd8; font-size: clamp(18px, 1.35vw, 22px); }
.gear { font-size: 18px !important; color: var(--muted) !important; }
.gear span { display: block; font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 4px; }
.contact { max-width: 1000px; margin: 90px auto 0; padding: 0 var(--pad); scroll-margin-top: 20px; }
.contact h2 { font: 500 clamp(30px, 3.4vw, 44px)/1.15 var(--font); letter-spacing: .03em; margin-bottom: 8px; }
.contact > p { margin: 0 0 26px; color: var(--muted); }
.contact-list { display: flex; flex-wrap: wrap; gap: 12px; }
.contact.solo { width: 100%; text-align: center; margin: 0 auto; }
.contact.solo h1 { font: 500 clamp(36px, 5vw, 64px)/1.1 var(--font); letter-spacing: .03em; margin-bottom: 14px; }
.contact.solo > p { font-size: clamp(18px, 1.8vw, 22px); }
.contact.solo .contact-list { justify-content: center; }
.btn { display: inline-block; padding: 16px 30px; border: 1.5px solid var(--fg); border-radius: 99px; font-size: 18px; font-weight: 500; letter-spacing: .04em; line-height: 1; transition: background .2s, color .2s; }
.btn:hover { background: var(--fg); color: var(--bg); }
.btn.solid { background: var(--fg); color: var(--bg); }
.btn.solid:hover { background: transparent; color: var(--fg); }

.foot { margin-top: 50px; padding: 28px var(--pad); text-align: center; font-size: 14px; letter-spacing: .1em; color: var(--muted); }

/* Hakkında ve İletişim: içerik, header ile alt çubuk arasında dikey ortalı */
body[data-page="about"] main, body[data-page="contact"] main { display: flex; align-items: center; padding-bottom: 8vh; }

/* yukarı çık düğmesi */
.to-top {
  position: fixed; right: var(--pad); bottom: 24px; z-index: 20; width: 56px; height: 56px; padding: 0;
  border: 1.5px solid var(--fg); border-radius: 50%; background: rgba(22, 22, 22, .88); color: var(--fg);
  font: 500 26px/1 var(--font); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .25s, transform .25s, background .2s, color .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--fg); color: var(--bg); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: #0e0e0e; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; padding: 48px 72px 18px; max-width: 100vw; }
.lb-imgwrap img { max-width: 100%; max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); width: auto; height: auto; object-fit: contain; }
.lb-fig figcaption { margin-top: 18px; text-align: center; line-height: 1.25; }
.lb-artist { display: block; font-size: clamp(26px, 3.2vw, 40px); font-weight: 500; letter-spacing: .04em; color: #fff; }
.lb-meta { display: block; margin-top: 6px; font-size: clamp(17px, 1.8vw, 22px); font-weight: 400; color: #d6d2cb; letter-spacing: .06em; }
.lb-pos { display: block; margin-top: 8px; font-size: 14px; color: #8d8a85; letter-spacing: .12em; }
.lb-btn { position: absolute; z-index: 2; width: 52px; height: 52px; border: 0; background: transparent; color: #cfcbc4; font-size: 40px; line-height: 1; cursor: pointer; transition: color .2s; }
.lb-btn:hover { color: #fff; }
.lb-close { top: 12px; right: 14px; font-size: 26px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

@media (max-width: 1050px) {
  .top { flex-direction: column; gap: 16px; padding: 28px var(--pad) 8px; margin-bottom: 24px; }
  .top nav { position: static; transform: none; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .photo-guard { max-width: 320px; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .mark-name { font-size: 21px; letter-spacing: .32em; padding-left: .32em; }
  .top nav { gap: 7px; }
  .top nav a { padding: 11px 13px; font-size: 13px; letter-spacing: .05em; }
  .contact { margin-top: 64px; }
  .lb-fig { padding: 56px 0 12px; }
  .lb-imgwrap img { max-height: calc(100dvh - 230px); }
  .lb-fig figcaption { padding: 0 20px; }
  .lb-prev, .lb-next { top: auto; bottom: 6px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tile img, .card img { transition: none; } }
