/* =========================================================
   ZAVERA MİMARLIK — style.css
   Tek dosya, tüm sayfalar arasında paylaşılır.
   ========================================================= */

/* ---------- 1. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
p { margin: 0; }
svg { display: block; }

/* ---------- 2. PALETTE ---------- */
:root {
  --ink:         #031413;
  --ink-2:       #06201f;
  --pine:        #163738;
  --pine-soft:   #1d4344;
  --ivory:       #ffffff;
  --sage:        #93a9a4;
  --sage-dim:    #5f7874;
  --brass:       #82fbff;
  --brass-light: #b3feff;

  --header-h: 84px;
  --container-w: 1220px;
}

/* ---------- 3. LAYOUT HELPERS ---------- */
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; position: relative; }
.section.alt { background: var(--ink-2); }
.section-head { max-width: 640px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 16px;
}
h2.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.lede { color: var(--sage); font-size: 17px; margin-top: 18px; }
.text-accent { color: var(--brass-light); font-weight: 700; font-style: italic; }

/* ---------- 4. BUTTONS ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .35s cubic-bezier(.16,.84,.44,1), box-shadow .35s ease, border-color .35s ease, background .35s ease;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  inset: -60%;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.38), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.97); transition: transform .15s cubic-bezier(.16,.84,.44,1); }
.btn svg, .btn .icon-mask { width: 17px; height: 17px; flex-shrink: 0; }

.btn-primary { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.btn-primary:hover { box-shadow: 0 16px 34px -12px rgba(130,251,255,.5); }

.btn-outline { background: transparent; color: var(--ivory); border-color: rgba(255,255,255,.22); }
.btn-outline:hover { border-color: var(--brass-light); color: var(--brass-light); }

.btn-small { padding: 11px 20px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 5. HEADER / NAV ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .4s ease, backdrop-filter .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(3,20,19,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(130,251,255,.12);
}
/* Mobil menü açıkken header kendi arka planını/blur'unu kaybeder;
   böylece sadece logo + kapat (X) ikonu üstte kalır, header çubuğu
   tam ekran menünün üzerine binmez (menü z-index'i header'dan yüksek). */
.site-header:has(+ .mobile-overlay.is-open) {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  overflow: hidden;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sage);
  transition: color .3s ease, background .3s ease;
}
.nav-link::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(130,251,255,.22), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.nav-link:hover::before { opacity: 1; }
.nav-link:hover, .nav-link.active { color: var(--ivory); background: rgba(255,255,255,.06); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: inline-flex;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-toggle button {
  border: none;
  background: transparent;
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.lang-toggle button.active { background: var(--ivory); color: var(--ink); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  color: var(--ivory);
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color .3s ease, background .3s ease;
}
.btn-whatsapp:hover { border-color: var(--brass-light); background: rgba(130,251,255,.08); }
.btn-whatsapp svg, .btn-whatsapp .icon-mask { width: 17px; height: 17px; color: var(--brass-light); }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 490;
}
.hamburger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: var(--ivory); transition: transform .3s ease, opacity .3s ease;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 19.5px; }
.hamburger span:nth-child(3) { top: 25px; }
.hamburger.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-overlay {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 480;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 28px;
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
.mobile-overlay.is-open { opacity: 1; pointer-events: auto; }
.mobile-overlay .nav-link { font-size: 22px; color: var(--ivory); }
.mobile-overlay .header-actions { flex-direction: column; margin-top: 20px; }

/* ---------- 6. FOOTER ---------- */
.site-footer { background: var(--ink-2); border-top: 1px solid rgba(130,251,255,.1); padding: 90px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand img { height: 32px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--sage); font-size: 14.5px; max-width: 300px; margin-top: 14px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.footer-social a:hover { border-color: var(--brass-light); background: rgba(130,251,255,.08); transform: translateY(-3px); }
.footer-social svg, .footer-social .icon-mask { width: 17px; height: 17px; color: var(--brass-light); }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--sage); margin-bottom: 20px; font-weight: 600; }
.footer-col ul li { margin-bottom: 13px; }
.footer-col a { color: var(--ivory); font-size: 14.5px; opacity: .88; transition: opacity .3s ease, color .3s ease; }
.footer-col a:hover { opacity: 1; color: var(--brass-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08);
  color: var(--sage-dim); font-size: 13px;
}

/* ---------- 7. MEDIA FRAME / PLACEHOLDER ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--pine) 0%, var(--ink-2) 100%);
  isolation: isolate;
}
.media-frame.ar-video { aspect-ratio: 16 / 9; }
.media-frame.ar-portrait { aspect-ratio: 3 / 4; }
.media-frame.ar-square { aspect-ratio: 1 / 1; }
.media-frame.ar-tall { aspect-ratio: 4 / 5; }
.media-frame.ar-wide { aspect-ratio: 5 / 3; }
.media-frame.ar-cover { aspect-ratio: 5 / 4; }
.media-frame.ar-cover-full { position: absolute; inset: 0; border-radius: 0; }

.media-img, .media-video { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease; }
.media-frame.fit-contain .media-img { object-fit: contain; }

.media-placeholder {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  color: var(--sage-dim);
  text-align: center;
  padding: 20px;
  background: linear-gradient(150deg, var(--pine) 0%, var(--ink-2) 100%);
}
.media-placeholder svg { width: 34px; height: 34px; opacity: .55; }
.media-placeholder em { font-style: normal; font-size: 11.5px; letter-spacing: .04em; opacity: .7; word-break: break-all; }
.media-frame.is-empty .media-img,
.media-frame.is-empty .media-video { opacity: 0; }
.media-frame.is-empty .media-placeholder { display: flex; }

/* ---------- 8. HERO (Anasayfa) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: var(--header-h);
  box-sizing: border-box;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media .media-video { opacity: .28; }
.hero-media .media-placeholder { opacity: .5; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(3,20,19,.35) 0%, rgba(3,20,19,.55) 55%, var(--ink) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: 96px; width: 100%; }
.hero-content h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 900px; line-height: 1.08; }
.hero-content .lede { max-width: 560px; font-size: 18px; }
.hero-content .btn-row { margin-top: 34px; }

.hero-content > * { opacity: 0; animation: fadeUp .9s cubic-bezier(.16,.84,.44,1) forwards; }
.hero-content > *:nth-child(1) { animation-delay: .15s; }
.hero-content > *:nth-child(2) { animation-delay: .28s; }
.hero-content > *:nth-child(3) { animation-delay: .41s; }
.hero-content > *:nth-child(4) { animation-delay: .54s; }
.hero-content > *:nth-child(5) { animation-delay: .67s; }

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

.hero-stats { display: flex; gap: 48px; margin-top: 56px; flex-wrap: wrap; }
.stat { min-width: 130px; }
.stat-num { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--brass-light); letter-spacing: -0.02em; }
.stat-label { color: var(--sage); font-size: 13.5px; margin-top: 6px; }

/* ---------- 9. PAGE HERO (İç sayfalar) ---------- */
.page-hero { padding: calc(var(--header-h) + 96px) 0 80px; background: var(--ink); position: relative; }
.page-hero-inner > * { opacity: 0; animation: fadeUp .9s cubic-bezier(.16,.84,.44,1) forwards; }
.page-hero-inner > *:nth-child(1) { animation-delay: .1s; }
.page-hero-inner > *:nth-child(2) { animation-delay: .22s; }
.page-hero-inner > *:nth-child(3) { animation-delay: .34s; }
.page-hero-inner h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); max-width: 780px; }
.page-hero-inner .lede { max-width: 640px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--sage); font-size: 14px; margin-bottom: 24px; transition: color .3s ease, gap .3s ease; }
.back-link:hover { color: var(--brass-light); gap: 12px; }
.back-link svg { width: 16px; height: 16px; }

/* ---------- 10. SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-group > * { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.16,.84,.44,1), transform .6s cubic-bezier(.16,.84,.44,1); }
.reveal-group.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-group.is-visible > *:nth-child(1) { transition-delay: .04s; }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: .12s; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: .16s; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: .2s; }
.reveal-group.is-visible > *:nth-child(6) { transition-delay: .24s; }
.reveal-group.is-visible > *:nth-child(7) { transition-delay: .28s; }
.reveal-group.is-visible > *:nth-child(8) { transition-delay: .32s; }
.reveal-group.is-visible > *:nth-child(9) { transition-delay: .36s; }
.reveal-group.is-visible > *:nth-child(10) { transition-delay: .4s; }
.reveal-group.is-visible > *:nth-child(11) { transition-delay: .44s; }
.reveal-group.is-visible > *:nth-child(12) { transition-delay: .48s; }
.reveal-group.is-visible > *:nth-child(13) { transition-delay: .52s; }
.reveal-group.is-visible > *:nth-child(14) { transition-delay: .56s; }
.reveal-group.is-visible > *:nth-child(15) { transition-delay: .6s; }
.reveal-group.is-visible > *:nth-child(16) { transition-delay: .64s; }
.reveal-group.is-visible > *:nth-child(17) { transition-delay: .68s; }
.reveal-group.is-visible > *:nth-child(18) { transition-delay: .72s; }

/* ---------- 11. CARDS (genel) ---------- */
.card {
  background: var(--ink-2);
  border: 1px solid rgba(130,251,255,.16);
  border-radius: 14px;
  transition: transform .45s cubic-bezier(.16,.84,.44,1), border-color .45s ease, box-shadow .45s ease;
}
.card:hover { transform: translateY(-7px); border-color: rgba(130,251,255,.4); box-shadow: 0 26px 50px -26px rgba(0,0,0,.6); }

/* Hizmet kartları (Anasayfa) */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  position: relative;
  padding: 32px 26px 30px;
  display: block;
  background: var(--ink-2);
  border: 1px solid rgba(130,251,255,.16);
  border-radius: 14px;
  transition: transform .45s cubic-bezier(.16,.84,.44,1), border-color .45s ease, box-shadow .45s ease, background .45s ease;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(130,251,255,.42); background: var(--pine); box-shadow: 0 26px 50px -26px rgba(0,0,0,.6); }
.service-icon {
  width: 54px; height: 54px; border-radius: 15px;
  background: rgba(130,251,255,.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: transform .45s cubic-bezier(.16,.84,.44,1), background .45s ease;
}
.service-card:hover .service-icon { transform: scale(1.12) rotate(-6deg); background: rgba(130,251,255,.18); }
.service-icon .icon-mask { width: 26px; height: 26px; }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { color: var(--sage); font-size: 14.5px; }
.card-arrow {
  position: absolute; top: 26px; right: 26px;
  width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid rgba(130,251,255,.3);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translate(-8px, 8px);
  transition: opacity .4s ease, transform .4s ease;
}
.card-arrow svg { width: 15px; height: 15px; color: var(--brass-light); }
.service-card:hover .card-arrow { opacity: 1; transform: translate(0,0); }

/* Icon mask (thin-line + hizmet ikonları) */
.icon-mask {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  color: var(--brass-light);
}

/* ---------- 12. NASIL ÇALIŞIYORUZ (Timeline) ---------- */
.how-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: stretch; }
.how-photo { border-radius: 18px; overflow: hidden; }
.timeline { display: flex; flex-direction: column; justify-content: space-between; height: 100%; position: relative; }
.timeline::before {
  content: '';
  position: absolute; left: 27px; top: 30px; bottom: 30px;
  width: 1px; background: rgba(130,251,255,.16);
}
.timeline::after {
  content: '';
  position: absolute; left: 27px; top: 30px; width: 1px; height: 0;
  background: var(--brass-light);
  transition: height 1.4s cubic-bezier(.16,.84,.44,1);
}
.timeline.is-visible::after { height: calc(100% - 60px); }
.timeline-step { display: flex; gap: 24px; position: relative; z-index: 1; }
.step-icon-wrap { position: relative; flex-shrink: 0; }
.step-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--ink-2); border: 1px solid rgba(130,251,255,.22);
  display: flex; align-items: center; justify-content: center;
}
.step-icon svg, .step-icon .icon-mask { width: 24px; height: 24px; color: var(--brass-light); }
.step-number {
  position: absolute; top: -10px; right: -10px;
  width: 26px; height: 26px; border-radius: 999px;
  background: var(--brass); color: var(--ink);
  font-size: 11.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.timeline-step h3 { font-size: 18px; margin-bottom: 8px; padding-top: 8px; }
.timeline-step p { color: var(--sage); font-size: 14.5px; max-width: 420px; }

/* ---------- 13. PROJE KARTLARI ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { display: block; overflow: hidden; }
.project-card .media-frame { border-radius: 14px; }
.project-card-body { padding: 22px 4px 4px; }
.project-cat { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-light); font-weight: 600; }
.project-card h3 { font-size: 19px; margin-top: 8px; }
.project-card .project-loc { color: var(--sage); font-size: 13.5px; margin-top: 6px; }
.project-card .media-frame { position: relative; }
.project-card .media-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3,20,19,.55) 100%);
  opacity: 0; transition: opacity .4s ease;
}
.project-card:hover .media-frame::after { opacity: 1; }
.project-card:hover .media-img { transform: scale(1.05); }
.project-card .media-img { transition: transform .6s cubic-bezier(.16,.84,.44,1), opacity .5s ease; }

/* ---------- 14. REFERANSLAR ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { padding: 34px 30px; }
.quote-icon { width: 34px; height: 34px; color: var(--brass-light); opacity: .7; margin-bottom: 18px; }
.testimonial-text { font-size: 15.5px; color: var(--sage); line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 13px; margin-top: 26px; }
.avatar-circle {
  width: 42px; height: 42px; border-radius: 999px;
  background: var(--pine-soft); color: var(--brass-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.author-name { font-size: 14.5px; font-weight: 600; }
.author-role { font-size: 13px; color: var(--sage-dim); margin-top: 2px; }

/* ---------- 15. CTA BAND ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--pine) 0%, var(--ink-2) 100%);
  border-radius: 22px;
  padding: 70px 60px;
  margin: 0 32px;
  max-width: calc(var(--container-w) - 64px);
  margin-left: auto; margin-right: auto;
  text-align: center;
  border: 1px solid rgba(130,251,255,.16);
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 620px; margin: 0 auto; text-wrap: balance; }
.cta-band .btn-row { justify-content: center; margin-top: 30px; }

/* ---------- 16. FİLTRE BUTONLARI (projeler.html) ---------- */
.filter-bar { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.filter-btn {
  padding: 11px 24px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: transparent; color: var(--sage);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .3s ease;
}
.filter-btn:hover { border-color: rgba(130,251,255,.4); color: var(--ivory); }
.filter-btn.active { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.projects-grid .project-card.is-hidden { display: none; }

/* ---------- 17. PROJE DETAY: GALERİ ---------- */
.project-detail-head { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.project-detail-head .lede { margin-top: 20px; }
.project-meta { display: flex; flex-direction: column; gap: 18px; }
.meta-item { }
.meta-item h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--sage-dim); margin-bottom: 6px; font-weight: 600; }
.meta-item p { font-size: 15px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-masonry { columns: 3; column-gap: 18px; }
.gallery-masonry .gallery-item { break-inside: avoid; margin-bottom: 18px; }
.gallery-item { cursor: zoom-in; border-radius: 14px; overflow: hidden; }
.gallery-item .media-img { transition: transform .6s cubic-bezier(.16,.84,.44,1); }
.gallery-item:hover .media-img { transform: scale(1.06); }

.project-cta { margin-top: 90px; }

/* ---------- 18. LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(3,20,19,.95);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.lightbox-stage { position: relative; max-width: 88vw; max-height: 82vh; }
.lightbox-stage img {
  max-width: 88vw; max-height: 82vh; border-radius: 10px;
  opacity: 0; transition: opacity .35s ease;
  display: block;
}
.lightbox-stage img.is-active { opacity: 1; }
.lightbox-placeholder {
  display: none;
  width: min(760px, 80vw); aspect-ratio: 16/9;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--pine) 0%, var(--ink-2) 100%);
  flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--sage-dim); text-align: center; padding: 20px;
}
.lightbox-placeholder svg { width: 34px; height: 34px; opacity: .55; }
.lightbox-placeholder em { font-style: normal; font-size: 11.5px; opacity: .7; word-break: break-all; }
.lightbox-stage.is-broken img { display: none; }
.lightbox-stage.is-broken .lightbox-placeholder { display: flex; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  width: 46px; height: 46px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ivory);
  transition: background .3s ease, border-color .3s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(130,251,255,.14); border-color: var(--brass-light); }
.lightbox-close { top: -20px; right: -20px; }
.lightbox-prev { left: -70px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -70px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 18px; height: 18px; }
.lightbox-counter {
  position: absolute; bottom: -42px; left: 50%; transform: translateX(-50%);
  font-size: 13px; color: var(--sage); letter-spacing: .05em;
}

/* ---------- 19. HİZMETLER SAYFASI ---------- */
.service-section { padding: 100px 0; }
.service-section.alt { background: var(--ink-2); }
.service-section-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: start; }
.service-badge { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.service-badge .service-icon { margin-bottom: 0; }
.service-badge-num { font-size: 14px; color: var(--sage-dim); font-weight: 700; letter-spacing: .06em; }
.service-detail h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 20px; }
.service-detail > p { color: var(--sage); font-size: 15.5px; margin-bottom: 30px; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.service-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ivory); }
.service-list li svg { width: 18px; height: 18px; color: var(--brass-light); flex-shrink: 0; margin-top: 2px; }

.related-project-card {
  display: flex; align-items: center; gap: 18px;
  padding: 18px; border-radius: 14px;
  background: var(--pine);
  border: 1px solid rgba(130,251,255,.18);
  transition: transform .4s ease, border-color .4s ease;
}
.related-project-card:hover { transform: translateY(-5px); border-color: rgba(130,251,255,.42); }
.related-project-card .media-frame { width: 84px; height: 84px; flex-shrink: 0; border-radius: 10px; }
.related-project-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--sage); margin-bottom: 5px; }
.related-project-card h4 { font-size: 16px; }
.related-project-arrow { margin-left: auto; width: 32px; height: 32px; border-radius: 999px; border: 1px solid rgba(130,251,255,.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.related-project-arrow svg { width: 14px; height: 14px; color: var(--brass-light); }

/* ---------- 20. HAKKIMIZDA ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: start; }
.about-photo { position: relative; border-radius: 18px; overflow: hidden; }
.about-photo .media-img { object-position: 50% 12%; }
.about-photo-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 26px;
  background: linear-gradient(180deg, transparent 0%, rgba(3,20,19,.92) 90%);
}
.about-photo-overlay .name { font-size: 19px; font-weight: 700; }
.about-photo-overlay .title { font-size: 13.5px; color: var(--sage); margin-top: 4px; }
.about-copy p { color: var(--sage); font-size: 15.5px; margin-bottom: 22px; }
.about-copy p:first-of-type { color: var(--ivory); font-size: 17px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.value-item {
  padding: 24px; border-radius: 14px; background: var(--ink-2); border: 1px solid rgba(130,251,255,.14);
  transition: transform .4s cubic-bezier(.16,.84,.44,1), border-color .4s ease, background .4s ease, box-shadow .4s ease;
}
.value-item:hover { transform: translateY(-6px); border-color: rgba(130,251,255,.4); background: var(--pine); box-shadow: 0 20px 40px -22px rgba(0,0,0,.55); }
.value-item svg { width: 24px; height: 24px; margin-bottom: 14px; color: var(--brass-light); transition: transform .4s cubic-bezier(.16,.84,.44,1); }
.value-item:hover svg { transform: scale(1.1) rotate(-6deg); }
.value-item h4 { font-size: 15.5px; margin-bottom: 6px; }
.value-item p { font-size: 13.5px; color: var(--sage); }

/* ---------- 21. İLETİŞİM ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 26px; margin-top: 40px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: rgba(130,251,255,.08); display: flex; align-items: center; justify-content: center;
}
.contact-info-icon svg, .contact-info-icon .icon-mask { width: 20px; height: 20px; color: var(--brass-light); }
.contact-info-item h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--sage-dim); margin-bottom: 6px; font-weight: 600; }
.contact-info-item a, .contact-info-item p { font-size: 15.5px; color: var(--ivory); }
.contact-info-item a:hover { color: var(--brass-light); }
.contact-socials { display: flex; gap: 12px; margin-top: 12px; }
.contact-socials a {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s ease, transform .3s ease;
}
.contact-socials a:hover { border-color: var(--brass-light); transform: translateY(-3px); }
.contact-socials svg, .contact-socials .icon-mask { width: 16px; height: 16px; color: var(--brass-light); }

.form-panel {
  background: var(--ink-2);
  border: 1px solid rgba(130,251,255,.18);
  border-radius: 18px;
  padding: 40px;
  transition: transform .45s cubic-bezier(.16,.84,.44,1), border-color .45s ease;
}
.form-panel:hover { transform: translateY(-6px); border-color: rgba(130,251,255,.34); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field label { font-size: 13px; color: var(--sage); font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--ivory);
  font-size: 14.5px;
  font-family: inherit;
  transition: border-color .3s ease, background .3s ease;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brass-light); background: rgba(130,251,255,.05);
}
.form-field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2393a9a4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.form-note { font-size: 12.5px; color: var(--sage-dim); margin-top: 14px; text-align: center; }

/* ---------- 21b. HARİTA ---------- */
.map-panel {
  background: var(--ink-2);
  border: 1px solid rgba(130,251,255,.16);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .45s ease, box-shadow .45s ease;
}
.map-panel:hover { border-color: rgba(130,251,255,.34); box-shadow: 0 26px 50px -30px rgba(0,0,0,.6); }
.map-panel-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
  padding: 28px 30px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.map-panel-header .eyebrow { margin-bottom: 10px; }
.map-panel-header h3 { font-size: 20px; }
.map-panel-header p { color: var(--sage); font-size: 14px; margin-top: 4px; }
.map-frame { position: relative; width: 100%; aspect-ratio: 21 / 9; background: var(--pine); }
.map-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: invert(92%) hue-rotate(180deg) contrast(88%) brightness(0.95) saturate(0.85);
}
.map-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(130,251,255,.08);
}

/* ---------- 22. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .how-grid, .about-grid, .contact-grid, .service-section-inner { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-detail-head { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 2; }
}

@media (max-width: 900px) {
  .main-nav, .header-actions .lang-toggle, .header-actions .btn-whatsapp, .header-actions .btn-primary { display: none; }
  .hamburger { display: block; }
  .mobile-overlay .lang-toggle, .mobile-overlay .btn-whatsapp, .mobile-overlay .btn-primary { display: inline-flex; }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .section { padding: 80px 0; }
  .services-grid, .projects-grid, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-band { margin: 0 16px; padding: 46px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 10px; right: 10px; }
  .service-list { grid-template-columns: 1fr; }
  .map-panel-header { padding: 22px 20px; }
  .map-frame { aspect-ratio: 4 / 3; }
}

/* ---------- 23. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-group > *, .hero-content > *, .page-hero-inner > * { opacity: 1 !important; transform: none !important; }
}
