/* ═══════════════════════════════════════════════════
   MERİS TUVAL — Osmanlı Kaftanları Koleksiyonu
   Renk kimliği: logodan türetilmiş bordo + altın + krem
   ═══════════════════════════════════════════════════ */

:root {
  /* Bordo skalası — arka planlarda koyudan açığa katmanlama */
  --bordo-950: #1f0712;
  --bordo-900: #2b0a18;
  --bordo-850: #340d1d;
  --bordo-800: #3d1022;
  --bordo-700: #4a1228;
  --bordo-600: #5c1832;
  --bordo-500: #722040;

  /* Altın skalası — logodaki fırça altını */
  --gold-300: #eed9a9;
  --gold-400: #e6c884;
  --gold-500: #c9a45c;
  --gold-600: #a9853f;

  /* Krem — okunabilirlik ve nefes alanı */
  --cream: #f4e9d8;
  --cream-dim: rgba(244, 233, 216, 0.72);
  --cream-faint: rgba(244, 233, 216, 0.45);

  --wa: #25d366;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Helvetica Neue", sans-serif;

  --shadow-card: 0 18px 45px rgba(0, 0, 0, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  background: var(--bordo-850);
  color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* ─────────────── BUTONLAR ─────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9em 2em;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500) 55%, var(--gold-600));
  color: var(--bordo-900);
  box-shadow: 0 8px 25px rgba(201, 164, 92, 0.28);
}
.btn--gold:hover { box-shadow: 0 12px 32px rgba(201, 164, 92, 0.42); }

.btn--outline {
  border-color: rgba(201, 164, 92, 0.55);
  color: var(--gold-400);
  background: transparent;
}
.btn--outline:hover {
  background: rgba(201, 164, 92, 0.1);
  border-color: var(--gold-400);
}

.btn--whatsapp {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25);
}
.btn--whatsapp:hover { background: #1fbd5a; box-shadow: 0 12px 30px rgba(37, 211, 102, 0.38); }

.btn--small { padding: 0.6em 1.3em; font-size: 0.8rem; }

/* ─────────────── NAVİGASYON ─────────────── */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
  padding: 14px 0;
}
.nav.is-scrolled {
  background: rgba(31, 7, 18, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
  padding: 8px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}
.nav__logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 92, 0.5);
  object-fit: cover;
  transition: width 0.4s, height 0.4s;
}
.nav.is-scrolled .nav__logo { width: 38px; height: 38px; }
.nav__wordmark {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 0.04em;
}
.nav__wordmark em { font-style: italic; font-weight: 400; color: var(--cream); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav__links > a:not(.btn) {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}
.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1px;
  background: var(--gold-400);
  transition: width 0.35s var(--ease);
}
.nav__links > a:not(.btn):hover { color: var(--gold-300); }
.nav__links > a:not(.btn):hover::after { width: 100%; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  width: 24px; height: 1.5px;
  background: var(--gold-400);
  transition: 0.3s;
}

/* ─────────────── HERO ─────────────── */
.hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Bordo katmanlama: merkezden kenara koyulaşan sahne ışığı hissi */
  background:
    radial-gradient(ellipse 120% 90% at 70% 20%, var(--bordo-600) 0%, var(--bordo-800) 45%, var(--bordo-950) 100%);
  padding: 120px 0 80px;
}
.hero__pattern,
.cta__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23e6c884' stroke-width='1'%3E%3Cpath d='M48 8 C60 24 76 32 76 48 C76 64 60 72 48 88 C36 72 20 64 20 48 C20 32 36 24 48 8 Z'/%3E%3Ccircle cx='48' cy='48' r='6'/%3E%3Cpath d='M48 34 C52 40 56 42 56 48 C56 54 52 56 48 62 C44 56 40 54 40 48 C40 42 44 40 48 34 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 96px 96px;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero__eyebrow,
.section-head__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.hero__eyebrow::before,
.section-head__eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold-500);
  display: inline-block;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--cream);
  margin-bottom: 1.4rem;
}
.hero__title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: 1.08rem;
  color: var(--cream-dim);
  max-width: 46ch;
  margin-bottom: 2.4rem;
}
.hero__sub strong { color: var(--gold-300); font-weight: 500; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__art { position: relative; }
.hero__frame {
  position: relative;
  border: 1px solid rgba(201, 164, 92, 0.45);
  padding: 14px;
  background: linear-gradient(160deg, rgba(201, 164, 92, 0.08), rgba(201, 164, 92, 0.02));
  box-shadow: var(--shadow-card);
  transform: rotate(1.5deg);
  transition: transform 0.6s var(--ease);
}
.hero__frame:hover { transform: rotate(0deg) scale(1.015); }
.hero__frame::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(201, 164, 92, 0.25);
  pointer-events: none;
}
.hero__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero__scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
}
.hero__scroll span {
  display: block;
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold-500));
  animation: scrollPulse 2.2s infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─────────────── AYRAÇ ─────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: min(560px, 80%);
  margin: 0 auto;
  padding: 3.2rem 0 0;
}
.divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 164, 92, 0.5));
}
.divider__line:last-child {
  background: linear-gradient(to left, transparent, rgba(201, 164, 92, 0.5));
}
.divider__gem { color: var(--gold-500); font-size: 0.85rem; }

/* ─────────────── BÖLÜM BAŞLIKLARI ─────────────── */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-head__eyebrow { justify-content: center; }
.section-head__eyebrow::after {
  content: "";
  width: 42px; height: 1px;
  background: var(--gold-500);
  display: inline-block;
}
.section-head__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1rem;
}
.section-head__sub { color: var(--cream-dim); font-size: 1rem; }

/* ─────────────── ESERLER ─────────────── */
.works {
  padding: 5.5rem 0 7rem;
  background: linear-gradient(to bottom, var(--bordo-850), var(--bordo-900));
}

.works__filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 3rem;
}
.chip {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  background: transparent;
  border: 1px solid rgba(201, 164, 92, 0.3);
  border-radius: 30px;
  padding: 0.55em 1.5em;
  cursor: pointer;
  transition: all 0.3s;
}
.chip:hover { border-color: var(--gold-400); color: var(--gold-300); }
.chip.is-active {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border-color: transparent;
  color: var(--bordo-900);
  font-weight: 500;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 2.2rem;
}

.work-card {
  background: linear-gradient(170deg, var(--bordo-700), var(--bordo-800) 70%);
  border: 1px solid rgba(201, 164, 92, 0.18);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
  opacity: 0;
  transform: translateY(26px);
}
.work-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 164, 92, 0.55);
  box-shadow: var(--shadow-card);
}
.work-card__imgwrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin: 12px 12px 0;
  border: 1px solid rgba(201, 164, 92, 0.25);
}
.work-card__imgwrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.work-card:hover .work-card__imgwrap img { transform: scale(1.06); }
.work-card__zoom {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(31, 7, 18, 0.35);
  opacity: 0;
  transition: opacity 0.4s;
}
.work-card:hover .work-card__zoom { opacity: 1; }
.work-card__zoom span {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(244, 233, 216, 0.6);
  padding: 0.6em 1.4em;
  backdrop-filter: blur(4px);
}
.work-card__body {
  padding: 1.2rem 1.4rem 1.5rem;
  text-align: center;
}
.work-card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.2rem;
}
.work-card__meta {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-bottom: 0.7rem;
}
.work-card__price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: 1rem;
}
.work-card__wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-300);
  text-decoration: none;
  border: 1px solid rgba(201, 164, 92, 0.4);
  border-radius: 3px;
  padding: 0.55em 1.2em;
  transition: all 0.3s;
}
.work-card__wa:hover {
  background: var(--wa);
  border-color: var(--wa);
  color: #fff;
}
.work-card.is-hidden { display: none; }

/* ─────────────── SANATÇI ─────────────── */
/* Krem zemin: bordo yoğunluğuna nefes aldıran editoryal blok */
.artist {
  background: linear-gradient(to bottom, var(--cream), #ecdfc9);
  color: var(--bordo-800);
  padding: 6.5rem 0;
}
.artist__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.artist__visual { position: relative; }
.artist__frame {
  border: 1px solid rgba(90, 24, 50, 0.35);
  padding: 12px;
  background: #fff;
  box-shadow: 0 25px 60px rgba(61, 16, 34, 0.25);
  transform: rotate(-1.5deg);
}
.artist__frame img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}
.artist__badge {
  position: absolute;
  right: -26px; bottom: -26px;
  width: 110px; height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold-500);
  box-shadow: 0 12px 30px rgba(61, 16, 34, 0.35);
  background: var(--bordo-700);
}
.artist__badge img { width: 100%; height: 100%; object-fit: cover; }

.section-head__eyebrow--dark { color: var(--bordo-600); }
.section-head__eyebrow--dark::before { background: var(--bordo-600); }

.artist__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 600;
  color: var(--bordo-800);
  line-height: 1.05;
  margin-bottom: 0.6rem;
}
.artist__lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--bordo-500);
  margin-bottom: 1.6rem;
}
.artist__text p:not(.artist__lead) {
  margin-bottom: 1.1rem;
  color: rgba(43, 10, 24, 0.82);
  font-weight: 400;
  font-size: 1.02rem;
}
.artist__quote {
  margin-top: 1.8rem;
  padding-left: 1.6rem;
  border-left: 2px solid var(--gold-500);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--bordo-700);
}

/* ─────────────── CTA ─────────────── */
.cta {
  position: relative;
  background:
    radial-gradient(ellipse 100% 130% at 50% -20%, var(--bordo-600), var(--bordo-850) 60%, var(--bordo-950));
  padding: 6rem 0;
  overflow: hidden;
}
.cta__inner {
  position: relative;
  text-align: center;
  max-width: 620px;
}
.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1rem;
}
.cta__sub { color: var(--cream-dim); margin-bottom: 2.2rem; }

/* ─────────────── FOOTER ─────────────── */
.footer {
  background: var(--bordo-950);
  border-top: 1px solid rgba(201, 164, 92, 0.15);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}
.footer__logo {
  width: 92px;
  border-radius: 6px;
  border: 1px solid rgba(201, 164, 92, 0.3);
  margin-bottom: 1rem;
}
.footer__tag {
  color: var(--cream-faint);
  font-size: 0.92rem;
  max-width: 30ch;
}
.footer__col h3 {
  font-family: var(--font-serif);
  color: var(--gold-400);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.footer__col a {
  display: block;
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
  transition: color 0.3s;
}
.footer__col a:hover { color: var(--gold-300); }
.footer__bottom {
  border-top: 1px solid rgba(201, 164, 92, 0.12);
  padding: 1.3rem 0;
}
.footer__bottom p {
  color: var(--cream-faint);
  font-size: 0.8rem;
  text-align: center;
  letter-spacing: 0.05em;
}

/* ─────────────── LIGHTBOX ─────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(31, 7, 18, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__body {
  max-width: min(88vw, 900px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.lightbox__body img {
  max-height: 62vh;
  max-width: 100%;
  object-fit: contain;
  border: 1px solid rgba(201, 164, 92, 0.4);
  padding: 10px;
  background: rgba(201, 164, 92, 0.04);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox__caption { text-align: center; }
.lightbox__caption h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--cream);
}
.lightbox__caption p {
  color: var(--gold-400);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin: 0.3rem 0 1rem;
}
.lightbox__close {
  position: absolute;
  top: 22px; right: 30px;
  background: none;
  border: none;
  color: var(--cream-dim);
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}
.lightbox__close:hover { color: var(--gold-300); transform: rotate(90deg); }
.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(201, 164, 92, 0.08);
  border: 1px solid rgba(201, 164, 92, 0.35);
  color: var(--gold-300);
  font-size: 2rem;
  line-height: 1;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  display: grid;
  place-items: center;
  padding-bottom: 6px;
}
.lightbox__arrow:hover { background: rgba(201, 164, 92, 0.22); }
.lightbox__arrow--prev { left: 26px; }
.lightbox__arrow--next { right: 26px; }

/* ─────────────── HAREKET AZALTMA ─────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .work-card { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
}

/* ─────────────── RESPONSIVE ─────────────── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__eyebrow { justify-content: center; }
  .hero__eyebrow::before { display: none; }
  .hero__sub { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__art { max-width: 420px; margin: 0 auto; width: 100%; }

  .artist__inner { grid-template-columns: 1fr; }
  .artist__visual { max-width: 440px; margin-inline: auto; }

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer__tag { margin-inline: auto; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(320px, 82vw);
    background: rgba(31, 7, 18, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 2.4rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__burger { display: flex; z-index: 210; }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .lightbox__arrow--prev { left: 10px; }
  .lightbox__arrow--next { right: 10px; }
  .lightbox__arrow { width: 42px; height: 42px; font-size: 1.6rem; }
}
