/* ============================================
   HASİP ÖZBUDUN — Ressam Web Sitesi
   Estetik: açık, zarif, editöryel galeri
   ============================================ */

:root {
  --paper: #f7f3ea;        /* fildişi kâğıt tonu */
  --paper-soft: #efe9dc;   /* biraz koyu kâğıt */
  --ink: #33302a;          /* sıcak mürekkep */
  --ink-soft: #6e675c;     /* soluk mürekkep */
  --sea: #4a7285;          /* ada denizi mavisi */
  --terracotta: #b0603d;   /* pastel toprak vurgusu */
  --line: #d9d1bf;         /* ince ayraç çizgisi */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Newsreader", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  /* çok hafif kâğıt dokusu */
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(74, 114, 133, 0.05), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(176, 96, 61, 0.05), transparent 55%);
  background-attachment: fixed;
}

::selection { background: var(--sea); color: var(--paper); }

/* ---------- ÜST MENÜ ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.nav a:hover { color: var(--terracotta); }

/* ---------- GİRİŞ ---------- */

.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
}

.hero-eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 2rem;
  animation: rise 1s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(3.4rem, 11vw, 8.5rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.015em;
  animation: rise 1s ease 0.15s both;
}

.hero-quote {
  margin-top: 2.5rem;
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 34ch;
  animation: rise 1s ease 0.3s both;
}

.hero-line {
  width: 1px;
  height: 70px;
  background: var(--terracotta);
  margin-top: 3.5rem;
  animation: grow 1.2s ease 0.6s both;
  transform-origin: top;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* ---------- ORTAK BAŞLIK ETİKETİ ---------- */

.section-label {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--terracotta);
  margin-bottom: 2.5rem;
  position: relative;
}

.section-label::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: var(--line);
  margin-top: 1.1rem;
}

/* ---------- BİYOGRAFİ ---------- */

.bio {
  padding: 5rem 1.5rem 6rem;
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bio-inner { max-width: 680px; margin: 0 auto; }

.bio-p { margin-bottom: 1.6rem; }

.bio-first {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.65rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
}

.bio-first::first-letter {
  font-size: 3.2em;
  float: left;
  line-height: 0.85;
  padding-right: 0.12em;
  color: var(--sea);
  font-weight: 400;
}

.bio-highlight {
  margin: 2.6rem 0;
  padding: 2rem 2.2rem;
  border-left: 2px solid var(--terracotta);
  background: rgba(176, 96, 61, 0.05);
  font-size: 1.05em;
}

.bio-highlight p { font-style: italic; }

.bio-signature {
  margin-top: 2.4rem;
  font-style: italic;
  color: var(--ink-soft);
  text-align: right;
}

/* ---------- SERGİLER ---------- */

.shows { padding: 5.5rem 1.5rem; }

.shows-inner { max-width: 680px; margin: 0 auto; }

.show-list { list-style: none; }

.show-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s ease;
}

.show-item:hover { padding-left: 0.6rem; }

.show-date {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sea);
}

.show-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

.show-place {
  color: var(--ink-soft);
  font-style: italic;
  font-size: 0.98rem;
}

/* ---------- GALERİ ---------- */

.gallery {
  padding: 5rem 1.5rem 6rem;
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
}

.gallery-head {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gallery-note {
  font-style: italic;
  color: var(--ink-soft);
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  columns: 3;
  column-gap: 1.4rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.4rem;
  cursor: zoom-in;
  background: var(--paper);
  padding: 0.7rem;
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(51, 48, 42, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  opacity: 0;
  transform: translateY(20px);
}

.gallery-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(51, 48, 42, 0.14);
}

.gallery-item img {
  width: 100%;
  display: block;
}

/* ---------- LIGHTBOX ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(38, 35, 30, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lb-img {
  max-width: 88vw;
  max-height: 86vh;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  animation: lbFade 0.3s ease;
}

@keyframes lbFade {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: none;
  border: none;
  color: rgba(247, 243, 234, 0.85);
  font-family: var(--font-body);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: #fff; transform: scale(1.1); }

.lb-close { top: 1.2rem; right: 1.6rem; font-size: 2.6rem; }
.lb-prev  { left: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 3.4rem; }
.lb-next  { right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 3.4rem; }
.lb-prev:hover { transform: translateY(-50%) scale(1.15); }
.lb-next:hover { transform: translateY(-50%) scale(1.15); }

.lb-counter {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(247, 243, 234, 0.7);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}

/* ---------- SAYFA ALTI ---------- */

.footer {
  padding: 3.5rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-copy {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.footer-credit {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

/* ---------- MOBİL UYUM ---------- */

@media (max-width: 900px) {
  .gallery-grid { columns: 2; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .gallery-grid { columns: 1; }
  .nav { gap: 1rem; }
  .nav a { font-size: 0.82rem; }
  .show-item { grid-template-columns: 1fr; gap: 0.15rem; }
  .hero { min-height: 66vh; }
}
