/* ═══════════════════════════════════════════════════════════════
   LİMAS YAPI — Mimari Editoryal Tasarım
   Palet: kireçtaşı zemin · mürekkep koyusu · pirinç vurgu · havuz yeşili
   ═══════════════════════════════════════════════════════════════ */

:root {
  --paper:      #FFFFFF;
  --paper-2:    #F1F5FA;
  --ink:        #0B1C38;
  --ink-2:      #0F2444;
  --ink-3:      #143056;
  --brass:      #AE8A5C;
  --brass-deep: #96744A;
  --teal:       #39699F;
  --cream:      #F2F6FC;
  --line:       rgba(11, 28, 56, .16);
  --line-soft:  rgba(11, 28, 56, .08);
  --line-dark:  rgba(242, 246, 252, .16);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --brand: "Cinzel", "Cormorant Garamond", serif;
  --sans:  "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --ease:  cubic-bezier(.22, 1, .36, 1);
}

/* ── Sıfırlama ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--cream); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: #B7C4D8; border-radius: 5px; }

/* ── Tahıl dokusu ──────────────────────────────────────────── */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* ── Yardımcılar ───────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 6vw; }
.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }
.section--dark { background: var(--ink); color: var(--cream); }
.section--tint { background: var(--paper-2); }

.eyebrow {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--brass-deep); font-weight: 600;
}
.eyebrow--brass { color: var(--brass); }

.section__head {
  display: flex; align-items: baseline; gap: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px; margin-bottom: clamp(44px, 6vw, 76px);
}
.section__head--dark { border-color: var(--line-dark); }
.section__no {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--brass);
}
.section__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  letter-spacing: .01em; line-height: 1.05;
}

/* ── Butonlar ──────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-block; overflow: hidden;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  padding: 17px 34px; border: 1px solid var(--ink);
  transition: color .45s var(--ease), border-color .45s var(--ease);
  z-index: 1;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.btn:hover::after { transform: scaleX(1); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { color: var(--ink); border-color: var(--brass); }
.btn--ghost:hover { color: var(--paper); border-color: var(--brass); }
.btn--brass { border-color: var(--brass); color: var(--brass); }
.btn--brass::after { background: var(--brass); }
.btn--brass:hover { color: var(--ink); }

/* ── Üst menü ──────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav__inner {
  max-width: 1400px; margin: 0 auto;
  padding: 20px 5vw;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 13px; }
.nav__mark { width: 38px; height: auto; color: var(--brass); flex: none; }
.nav__name {
  font-family: var(--brand); font-weight: 600; font-size: 15.5px; letter-spacing: .2em;
}
.nav__name em { font-style: normal; font-weight: 500; color: var(--brass-deep); }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  position: relative; font-size: 12.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  border: 1px solid var(--brass); color: var(--brass-deep);
  padding: 11px 20px;
  transition: background .35s, color .35s;
}
.nav__cta:hover { background: var(--brass); color: var(--paper); }
.nav__burger { display: none; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 90px;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(11, 28, 56, .07), transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 70%);
}
.hero__watermark {
  position: absolute; right: -2vw; bottom: -4vw;
  font-family: var(--brand); font-weight: 600;
  font-size: clamp(9rem, 19vw, 18rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 28, 56, .09);
  pointer-events: none; user-select: none;
}
.hero__inner {
  position: relative;
  max-width: 1240px; margin: 0 auto; padding: 0 6vw;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
}
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.9rem, 6.4vw, 5.6rem);
  line-height: 1.04; letter-spacing: .005em;
  margin: 26px 0 30px;
}
.hero__title em { font-style: italic; color: var(--brass-deep); }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line span {
  display: block; transform: translateY(112%);
  animation: lineUp 1.1s var(--ease) forwards;
}
.hero__title .line:nth-child(2) span { animation-delay: .14s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__sub { max-width: 46ch; font-size: 17px; color: #4D5C74; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero__media { position: relative; }
.hero__frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--ink);
  box-shadow: 24px 24px 0 -1px var(--paper-2), 24px 24px 0 0 var(--brass);
}
.hero__frame::before, .hero__frame::after {
  content: ""; position: absolute; width: 26px; height: 26px; z-index: 3;
  border: 1px solid var(--brass); pointer-events: none;
}
.hero__frame::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.hero__frame::after  { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.hero__art, .hero__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__caption {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 40px; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #66758D;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  height: 72px; width: 40px; display: flex; justify-content: center;
}
.hero__scroll-line {
  width: 1px; height: 100%; background: var(--line);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%; background: var(--brass);
  animation: scrollDrip 2.2s var(--ease) infinite;
}
@keyframes scrollDrip { to { top: 110%; } }

/* ── Kayan şerit ───────────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper); overflow: hidden; padding: 18px 0;
}
.marquee__track {
  display: flex; align-items: center; gap: 42px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee__track span {
  font-family: var(--serif); font-style: italic; font-size: 22px;
  letter-spacing: .06em; white-space: nowrap; color: #4D5C74;
}
.marquee__track i { font-style: normal; font-size: 9px; color: var(--brass); }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* ── Hakkımızda ────────────────────────────────────────────── */
.about__grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 100px); align-items: start;
}
.about__big {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.7rem, 3.1vw, 2.5rem);
  line-height: 1.3;
}
.about__big em { font-style: italic; color: var(--brass-deep); }
.about__body p { color: #4D5C74; margin-bottom: 1.2em; max-width: 56ch; }
.about__facts {
  list-style: none; display: flex; gap: clamp(28px, 4vw, 58px);
  margin-top: 40px; padding-top: 30px;
  border-top: 1px solid var(--line);
}
.about__facts strong {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; color: var(--ink);
}
.about__facts span {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #66758D;
}

/* ── Biten Projeler ────────────────────────────────────────── */
.projects { background:
  radial-gradient(900px 400px at 10% 0%, rgba(174, 138, 92, .08), transparent 55%),
  var(--ink);
}
.project__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; margin-bottom: 44px;
}
.project__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem); margin-top: 12px;
}
.project__listing {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass); border-bottom: 1px solid var(--brass);
  padding-bottom: 6px; transition: opacity .3s;
}
.project__listing:hover { opacity: .65; }

.project__layout {
  display: grid; grid-template-columns: 1.6fr .8fr;
  gap: clamp(32px, 4vw, 64px); align-items: start;
}

/* Galeri */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(120px, auto); gap: 14px;
}
.gallery__item {
  position: relative; overflow: hidden; aspect-ratio: 1 / 1;
  background: var(--ink-2); cursor: default;
}
.gallery__item--main { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.01);
  transition: transform .9s var(--ease), filter .9s var(--ease);
}
.gallery__item.has-photo { cursor: zoom-in; }
.gallery__item.has-photo:hover img { transform: scale(1.06); }

/* Fotoğraf placeholder'ları — teknik çizim estetiği */
.ph .ph__inner {
  position: absolute; inset: 10px;
  border: 1px dashed rgba(174, 138, 92, .38);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center;
}
.ph .ph__inner::before {
  content: ""; width: 44px; height: 34px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 34'%3E%3Cg fill='none' stroke='%23AE8A5C' stroke-width='1.2'%3E%3Cpath d='M2 15 L15 4 L28 15'/%3E%3Crect x='6' y='15' width='18' height='13'/%3E%3Crect x='12' y='20' width='6' height='8'/%3E%3Crect x='28' y='11' width='14' height='17'/%3E%3Cline x1='0' y1='32' x2='44' y2='32'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .8;
}
.ph .ph__label {
  font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(242, 246, 252, .45);
}

/* Künye */
.project__specs {
  border: 1px solid var(--line-dark); padding: clamp(24px, 3vw, 40px);
  position: sticky; top: 110px;
  background: rgba(19, 44, 82, .38);
}
.project__specs-title {
  font-family: var(--serif); font-weight: 500; font-size: 1.5rem;
  margin-bottom: 22px;
}
.specs > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--line-dark);
}
.specs dt {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(242, 246, 252, .55); flex: none;
}
.specs dd { font-family: var(--serif); font-size: 1.1rem; text-align: right; }
.specs mark {
  background: rgba(174, 138, 92, .18); color: var(--brass);
  padding: 3px 10px; font-family: var(--sans); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
}
.project__specs .btn { display: block; text-align: center; margin-top: 26px; }
.projects__note {
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--serif); font-style: italic; font-size: 1.15rem;
  color: rgba(242, 246, 252, .55);
}

/* ── Hizmetler ─────────────────────────────────────────────── */
.services__list { list-style: none; }
.service {
  display: grid; grid-template-columns: 90px 1fr;
  gap: clamp(20px, 4vw, 60px); align-items: start;
  padding: clamp(30px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .5s var(--ease);
}
.service:first-child { border-top: 1px solid var(--line); }
.service:hover { padding-left: 18px; }
.service__no {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--brass);
  line-height: 1;
}
.service h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 10px;
}
.service p { color: #4D5C74; max-width: 62ch; }

/* ── Süreç ─────────────────────────────────────────────────── */
.process__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-left: 1px solid var(--line);
}
.step {
  padding: 8px clamp(20px, 2.5vw, 36px) 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.step__no {
  font-family: var(--serif); font-style: italic;
  font-size: 3.4rem; line-height: 1; color: var(--brass);
  display: block; margin-bottom: 18px;
}
.step h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.35rem; margin-bottom: 10px;
}
.step p { font-size: 14.5px; color: #4D5C74; }

/* ── İletişim ──────────────────────────────────────────────── */
.contact__grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 100px); align-items: start;
}
.contact__big {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1.08;
  margin-bottom: 22px;
}
.contact__big em { font-style: italic; color: var(--brass); }
.contact__lead p { color: rgba(242, 246, 252, .68); max-width: 44ch; font-size: 17px; }
.contact__list { list-style: none; }
.contact__list li {
  padding: 20px 0; border-bottom: 1px solid var(--line-dark);
  display: flex; flex-direction: column; gap: 6px;
}
.contact__list li:first-child { padding-top: 0; }
.contact__label {
  font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(242, 246, 252, .5);
}
.contact__value {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  transition: color .3s;
}
a.contact__value:hover { color: var(--brass); }

/* ── Alt bilgi ─────────────────────────────────────────────── */
.footer {
  background: var(--ink-2); color: var(--cream);
  padding: 64px 0; text-align: center;
  border-top: 1px solid var(--line-dark);
}
.footer__mark { width: 92px; height: auto; margin: 0 auto 18px; display: block; }
.footer__brand {
  font-family: var(--brand); font-weight: 600; font-size: 19px; letter-spacing: .34em;
  color: var(--brass); display: block; padding-left: .34em;
}
.footer__note {
  font-family: var(--serif); font-style: italic;
  color: rgba(242, 246, 252, .55); margin: 14px 0 26px;
}
.footer__copy { font-size: 12px; letter-spacing: .08em; color: rgba(242, 246, 252, .4); }

/* ── Işık kutusu ───────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(5, 13, 27, .96);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 86vw; max-height: 86vh; object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: none; border: none; cursor: pointer;
  color: var(--cream); font-family: var(--serif);
  transition: color .3s;
}
.lightbox__close:hover, .lightbox__nav:hover { color: var(--brass); }
.lightbox__close { top: 26px; right: 34px; font-size: 44px; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 64px; padding: 20px; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ── Görünme animasyonları ─────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal[data-d="2"] { transition-delay: .12s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .36s; }
.reveal.in { opacity: 1; transform: none; }

/* ── Mobil menü ────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav__burger {
    display: flex; flex-direction: column; gap: 7px;
    background: none; border: none; cursor: pointer; z-index: 130;
    padding: 6px;
  }
  .nav__burger span {
    width: 26px; height: 1.5px; background: var(--ink);
    transition: transform .4s var(--ease), opacity .3s;
  }
  .nav__burger.open span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
  .nav__burger.open span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  /* Not: backdrop-filter'lı .nav, fixed çocuklar için referans kutusu olur;
     bu yüzden menü nav'a bağlı absolute + açık yükseklik kullanır. */
  .nav__links {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100vh; height: 100dvh;
    z-index: 120;
    background: var(--paper);
    flex-direction: column; justify-content: center; gap: 30px;
    transform: translateY(-105%);
    visibility: hidden;
    transition: transform .6s var(--ease), visibility 0s linear .6s;
  }
  .nav__links.open { transform: none; visibility: visible; transition: transform .6s var(--ease); }
  .nav__links a { font-family: var(--serif); font-size: 30px; letter-spacing: .04em; text-transform: none; font-weight: 500; }
  .nav__links a::after { display: none; }
  .nav__cta { border: none; padding: 0; color: var(--brass-deep); }
  .nav__cta:hover { background: none; color: var(--brass); }
}

/* ── Duyarlı düzen ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .project__layout { grid-template-columns: 1fr; }
  .project__specs { position: static; }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 120px; }
  .hero__media { max-width: 440px; }
  .hero__watermark { font-size: clamp(8rem, 30vw, 14rem); bottom: -2vw; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .process__grid { grid-template-columns: 1fr 1fr; border-left: 0; }
  .step { border-left: 1px solid var(--line); margin-bottom: 44px; }
}
@media (max-width: 560px) {
  .process__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--main { grid-column: span 2; }
  .hero__frame { box-shadow: 14px 14px 0 -1px var(--paper-2), 14px 14px 0 0 var(--brass); }
  .service { grid-template-columns: 56px 1fr; }
  .specs dd { font-size: 1rem; }
}

/* ── Hareket azaltma tercihi ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__title .line span { animation: none; transform: none; }
  .marquee__track { animation: none; }
  .hero__scroll-line::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
