/* ÖZTÜRK TARIM PEYZAJ — component styles
   Design tokens taken from the live site's WoodMart theme settings:
   primary rgb(4,76,38) · alternative rgb(95,171,18) · EB Garamond + Mulish */

:root {
  --brand:    #044C26;
  --brand-dk: #033A1C;
  --brand-dp: #022611;
  --brand-lt: #5FAB12;
  --brand-l2: #549D0A;
  --sand:     #f7f7f7;

  --txt:      #777777;
  --title:    #242424;
  --link:     #333333;

  --radius:   5px;
  --ui:       Mulish, Arial, Helvetica, sans-serif;
  --serif:    Questrial, Arial, Helvetica, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--txt);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--title); }

.font-700 { font-weight: 700; }
.font-800 { font-weight: 800; }

/* ---------- NAV ---------- */
.nav-link {
  position: relative;
  padding: .75rem .95rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  color: var(--link);
  transition: color .2s;
}
.nav-link:hover { color: var(--brand); }
.nav-link::after {
  content: "";
  position: absolute;
  left: .95rem; right: .95rem; bottom: .35rem;
  height: 2px;
  background: var(--brand-lt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover::after, .nav-active::after { transform: scaleX(1); }
.nav-active { color: var(--brand); }

.mnav-link {
  padding: .85rem .25rem;
  border-bottom: 1px solid #f1f1f1;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  color: var(--link);
}
.mnav-link:hover { color: var(--brand); }

/* ---------- BUTTONS ---------- */
.btn-primary, .btn-ghost, .btn-dark, .btn-white, .btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.5rem;
  font-family: var(--ui);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background-color .22s, color .22s, border-color .22s;
  white-space: nowrap;
}
.btn-lg { padding: 1rem 2rem; font-size: 14px; }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-lt); }

.btn-accent { background: var(--brand-lt); color: #fff; }
.btn-accent:hover { background: var(--brand-l2); }

.btn-dark { background: var(--brand-dp); color: #fff; }
.btn-dark:hover { background: var(--brand-lt); }

.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #efefef; }

.btn-ghost { border: 2px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: var(--brand-lt); background: var(--brand-lt); }

/* ---------- SECTION HEADINGS ---------- */
.eyebrow, .eyebrow-lt {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--ui);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow { color: var(--brand-lt); }
.eyebrow-lt { color: var(--brand-lt); }
.eyebrow::before, .eyebrow-lt::before {
  content: "";
  width: 30px; height: 2px;
  background: currentColor;
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--title);
}

/* ---------- HERO SLIDER ---------- */
.slide { opacity: 0; visibility: hidden; transition: opacity .7s ease; }
.slide.is-active { opacity: 1; visibility: visible; }

.slide.is-active .slide-in > * { animation: slideUp .7s cubic-bezier(.22,.61,.36,1) backwards; }
.slide.is-active .slide-in > *:nth-child(1) { animation-delay: .1s; }
.slide.is-active .slide-in > *:nth-child(2) { animation-delay: .2s; }
.slide.is-active .slide-in > *:nth-child(3) { animation-delay: .3s; }
.slide.is-active .slide-in > *:nth-child(4) { animation-delay: .4s; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 2px solid rgba(255,255,255,.3);
  color: #fff;
  border-radius: var(--radius);
  transition: background-color .2s, border-color .2s;
}
.hero-arrow:hover { background: var(--brand-lt); border-color: var(--brand-lt); }

.hero-dot {
  width: 30px; height: 3px;
  background: rgba(255,255,255,.3);
  border-radius: 2px;
  transition: background-color .25s;
}
.hero-dot.is-active { background: var(--brand-lt); }

/* ---------- SERVICE CARDS ---------- */
.svc-card {
  position: relative;
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  height: 360px;
}
.svc-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.svc-card:hover .svc-card-img { transform: scale(1.07); }
.svc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.28) 55%, transparent 100%);
}
.svc-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  color: #fff;
}
.svc-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.4rem 1.5rem;
}
.svc-label {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: .35rem;
}
.svc-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.2;
  color: #fff;
}
.svc-text { margin-top: .45rem; font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,.65); }
.svc-more {
  display: inline-block;
  margin-top: .9rem;
  font-family: var(--ui);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-lt);
}
.svc-more::after { content: " →"; transition: margin-left .2s; }
.svc-card:hover .svc-more::after { margin-left: .25rem; }

/* ---------- HERO MARQUEE ---------- */
.lc-marquee-section {
  background: #fff;
  padding: 1.25rem 0;
  border-bottom: 1px solid #efefef;
}
.lc-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.lc-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: lc-scroll 38s linear infinite;
}
@keyframes lc-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.lc-marquee-logo {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: .5;
  transition: filter .3s, opacity .3s;
}
.lc-marquee-logo:hover { filter: none; opacity: 1; }

/* ---------- FEATURE LIST ---------- */
.feat-item { display: flex; gap: .95rem; }
.feat-check {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  margin-top: 4px;
  background: rgba(95,171,18,.14);
  color: var(--brand-lt);
  border-radius: 999px;
}

/* ---------- STATS ---------- */
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1rem; }
.stat-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  color: #fff;
}
.stat-num em { font-style: normal; color: var(--brand-lt); }
.stat-lbl {
  margin-top: .8rem;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* ---------- PROJECT CARDS ---------- */
.proj-card { display: block; }
.proj-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: #f1f1f1;
}
.proj-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.proj-card:hover .proj-media img { transform: scale(1.06); }
.proj-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2,38,17,.6), transparent 55%);
  opacity: 0;
  transition: opacity .35s;
}
.proj-card:hover .proj-media::after { opacity: 1; }
.proj-tag {
  position: absolute;
  top: .8rem; left: .8rem;
  z-index: 2;
  padding: .32rem .7rem;
  background: var(--brand-lt);
  color: #fff;
  font-family: var(--ui);
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.proj-title {
  margin-top: 1.05rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--title);
  transition: color .2s;
}
.proj-card:hover .proj-title { color: var(--brand); }
.proj-meta {
  margin-top: .25rem;
  font-family: var(--ui);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: #a5a5a5;
}

/* ---------- LINK ARROW ---------- */
.link-arrow {
  font-family: var(--ui);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  border-bottom: 2px solid rgba(95,171,18,.4);
  padding-bottom: .25rem;
  transition: color .2s, border-color .2s;
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--brand-lt); border-color: var(--brand-lt); }

/* ---------- FOOTER ---------- */
.foot-head {
  font-family: var(--ui);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.5rem;
}
.foot-link { color: rgba(255,255,255,.55); transition: color .2s; }
.foot-link:hover { color: var(--brand-lt); }

.soc-btn {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.6);
  border-radius: var(--radius);
  transition: background-color .2s, color .2s, border-color .2s;
}
.soc-btn:hover { background: var(--brand-lt); border-color: var(--brand-lt); color: #fff; }

/* ---------- HEADER SCROLL STATE ---------- */
#site-header.is-stuck { box-shadow: 0 4px 24px -8px rgba(2,38,17,.2); }

/* ---------- DROPDOWN NAV ---------- */
.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 235px;
  background: #fff;
  border: 1px solid #f1f1f1;
  border-radius: var(--radius);
  box-shadow: 0 16px 38px -16px rgba(2,38,17,.25);
  padding: .5rem 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 60;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-link {
  display: block;
  padding: .65rem 1.3rem;
  font-size: 16px;
  color: var(--link);
  transition: background-color .18s, color .18s;
}
.drop-link:hover { background: var(--sand); color: var(--brand); }

.mnav-sub {
  padding: .7rem .25rem .7rem 1.4rem;
  border-bottom: 1px solid #f7f7f7;
  font-size: 15px;
  color: #999;
}
.mnav-sub:hover { color: var(--brand); }

/* ---------- OUTLINE BUTTON ---------- */
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.5rem;
  font-family: var(--ui); font-weight: 800; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase;
  border: 2px solid var(--brand); color: var(--brand);
  border-radius: var(--radius);
  transition: background-color .22s, color .22s;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-outline.btn-lg { padding: 1rem 2rem; font-size: 14px; }

/* ---------- SERVICE ITEM LIST ---------- */
.hz-item {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: .85rem 0;
  border-bottom: 1px solid #f1f1f1;
  font-size: 17px;
  color: var(--title);
}
.hz-dot {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 22px; height: 22px; margin-top: 2px;
  background: rgba(95,171,18,.14);
  color: var(--brand-lt);
  border-radius: 999px;
}

/* ---------- ALT SERVICE CARDS (sidebar) ---------- */
.alt-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.3rem;
  background: var(--sand);
  border-radius: var(--radius);
  font-size: 17px; color: var(--title);
  transition: background-color .2s, color .2s;
}
.alt-card:hover { background: var(--brand); color: #fff; }
.alt-arrow { color: var(--brand-lt); transition: transform .2s; }
.alt-card:hover .alt-arrow { color: #fff; transform: translateX(3px); }

/* ---------- 3D BEFORE/AFTER ---------- */
.td-media { cursor: pointer; }
.td-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.td-before { opacity: 0; z-index: 2; transition: opacity .4s ease; }
.td-media:hover .td-before { opacity: 1; }
.proj-card:hover .td-media img { transform: none; }
.td-badge {
  position: absolute; top: .8rem; right: .8rem; z-index: 3;
  padding: .3rem .7rem;
  background: var(--brand-lt); color: #fff;
  font-family: var(--ui); font-weight: 800; font-size: 10.5px;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--radius);
  opacity: 0; transition: opacity .3s;
}
.td-media:hover .td-badge { opacity: 1; }
.td-media .proj-tag { z-index: 4; }
.td-badge { z-index: 4; }

.td-list-item {
  padding: .7rem 0 .7rem 1.4rem;
  border-bottom: 1px solid #ececec;
  position: relative;
  font-size: 16px; color: var(--title);
}
.td-list-item::before {
  content: ""; position: absolute; left: 0; top: 1.25rem;
  width: 6px; height: 6px; border-radius: 999px; background: var(--brand-lt);
}

/* ---------- REFERENCE CARDS ---------- */
.ref-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem;
  padding: 2rem 1.2rem;
  background: #fff;
  border: 1px solid #f1f1f1;
  border-radius: 12px;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}
.ref-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -18px rgba(2,38,17,.28); }
.ref-card img {
  height: 58px; width: auto; max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%); opacity: .6;
  transition: filter .3s, opacity .3s;
}
.ref-card:hover img { filter: grayscale(0); opacity: 1; }
.ref-ph {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  background: rgba(95,171,18,.12); color: var(--brand);
  border-radius: 999px;
  font-family: var(--ui); font-weight: 800; font-size: 22px;
}
.ref-name { font-size: 15px; color: var(--title); line-height: 1.45; }

/* ---------- CONTACT ---------- */
.ilt-item { display: flex; gap: 1.1rem; }
.ilt-icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: rgba(95,171,18,.12); color: var(--brand);
  border-radius: var(--radius);
}
.ilt-lbl {
  font-family: var(--ui); font-weight: 800; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: #a5a5a5;
  margin-bottom: .35rem;
}
.ilt-val { font-size: 17px; color: var(--title); }
a.ilt-val:hover { color: var(--brand); }

/* ---------- FORM ---------- */
.frm-lbl {
  display: block;
  font-family: var(--ui); font-weight: 700; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: #8a8a8a;
  margin-bottom: .5rem;
}
.frm-in {
  width: 100%;
  padding: .85rem 1rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  font-family: var(--serif); font-size: 16px; color: var(--title);
  transition: border-color .2s, box-shadow .2s;
}
.frm-in:focus {
  outline: none;
  border-color: var(--brand-lt);
  box-shadow: 0 0 0 3px rgba(95,171,18,.14);
}
textarea.frm-in { resize: vertical; min-height: 120px; }
/* themed dropdown; browsers without base-select keep the native look */
select.frm-in, select.frm-in::picker(select) { appearance: base-select; }
select.frm-in { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
select.frm-in::picker-icon { color: var(--brand); transition: rotate .2s; }
select.frm-in:open::picker-icon { rotate: 180deg; }
select.frm-in::picker(select) {
  margin-top: 6px;
  padding: .35rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
select.frm-in option { padding: .6rem .8rem; border-radius: 4px; font-size: 15px; }
select.frm-in option:hover, select.frm-in option:focus-visible { background: var(--sand, #f5f5f5); }
select.frm-in option:checked { color: var(--brand); font-weight: 600; }
select.frm-in option::checkmark { display: none; }

/* ---------- IN-PAGE SECTION JUMP ---------- */
.jump-link {
  flex-shrink: 0;
  padding: .55rem 1.2rem;
  background: var(--sand);
  border-radius: var(--radius);
  font-family: var(--ui); font-weight: 700; font-size: 12.5px;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--title);
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.jump-link:hover { background: var(--brand); color: #fff; }

/* ---------- MOBILE OFF-CANVAS DRAWER ---------- */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(2,38,17,.55);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 80;
}
.nav-overlay[hidden] { display: none; }
.nav-overlay.is-open { opacity: 1; }

.mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(340px, 86vw);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  box-shadow: -12px 0 40px -14px rgba(2,38,17,.35);
  z-index: 90;
  overscroll-behavior: contain;
}
.mobile-drawer.is-open { transform: translateX(0); }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid #f1f1f1;
  flex-shrink: 0;
}
.drawer-close {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  color: var(--title);
  transition: background-color .2s, color .2s, border-color .2s;
}
.drawer-close:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.drawer-body {
  display: flex; flex-direction: column;
  padding: 1rem 1.4rem 2rem;
  overflow-y: auto;
  flex: 1;
}

.drawer-foot {
  margin-top: auto;
  padding-top: 1.75rem;
  display: flex; flex-direction: column; gap: .4rem;
}
.drawer-tel { font-size: 18px; color: var(--title); }
.drawer-tel:hover { color: var(--brand); }
.drawer-mail { font-size: 14px; color: var(--txt); word-break: break-all; margin-top: .35rem; }
.drawer-mail:hover { color: var(--brand); }

body.nav-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .mobile-drawer, .nav-overlay { transition: none; }
}

/* ---------- PORTFOLIO FILTER ---------- */
.filter-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.25rem;
  background: var(--sand);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--ui); font-weight: 700; font-size: 12.5px;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--title);
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter-btn span {
  font-size: 11px;
  padding: .1rem .45rem;
  border-radius: 999px;
  background: rgba(0,0,0,.07);
  color: inherit;
}
.filter-btn:hover { border-color: var(--brand-lt); }
.filter-btn.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.filter-btn.is-active span { background: rgba(255,255,255,.2); }

.proj-card[hidden] { display: none; }

/* project titles sit alone now — give them a little breathing room */
.proj-card .proj-title { margin-bottom: .35rem; }

/* ---------- PROJECT PHOTO COUNT BADGE ---------- */
.proj-media { display: block; width: 100%; padding: 0; border: 0; background: #f1f1f1; cursor: pointer; }
.proj-count {
  position: absolute; bottom: .8rem; right: .8rem; z-index: 3;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .6rem;
  background: rgba(2,38,17,.78);
  color: #fff;
  font-family: var(--ui); font-weight: 700; font-size: 12px;
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(2,17,9,.96);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "bar bar bar" "prev stage next" "thumbs thumbs thumbs";
  opacity: 0;
  transition: opacity .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lb-bar {
  grid-area: bar;
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.lb-title { flex: 1; color: #fff; font-size: 17px; line-height: 1.3; }
.lb-count { font-family: var(--ui); font-size: 13px; color: rgba(255,255,255,.5); white-space: nowrap; }
.lb-close {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  color: #fff;
  transition: background-color .2s, border-color .2s;
}
.lb-close:hover { background: var(--brand-lt); border-color: var(--brand-lt); }

.lb-stage {
  grid-area: stage;
  display: grid; place-items: center;
  padding: 1.25rem;
  min-height: 0; min-width: 0;
}
.lb-stage img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}

.lb-arrow {
  display: grid; place-items: center;
  width: 54px;
  color: #fff;
  transition: color .2s;
}
.lb-prev { grid-area: prev; }
.lb-next { grid-area: next; }
.lb-arrow:hover { color: var(--brand-lt); }
.lb-arrow[disabled] { opacity: .25; cursor: default; }

.lb-thumbs {
  grid-area: thumbs;
  display: flex; gap: .5rem;
  padding: .9rem 1.25rem;
  overflow-x: auto;
  border-top: 1px solid rgba(255,255,255,.1);
  scrollbar-width: thin;
}
.lb-thumbs img {
  height: 58px; width: 82px;
  object-fit: cover;
  border-radius: 3px;
  opacity: .45;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity .2s, outline-color .2s;
  outline: 2px solid transparent;
}
.lb-thumbs img:hover { opacity: .8; }
.lb-thumbs img.is-active { opacity: 1; outline-color: var(--brand-lt); }

@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; grid-template-areas: "bar" "stage" "thumbs"; }
  .lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(0,0,0,.4); border-radius: var(--radius); }
  .lb-prev { left: .5rem; }
  .lb-next { right: .5rem; }
}
@media (prefers-reduced-motion: reduce) { .lightbox { transition: none; } }

/* ---------- PROJECT DETAIL ---------- */
.geri-link {
  display: inline-flex; align-items: center;
  font-family: var(--ui); font-weight: 700; font-size: 12.5px;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.geri-link:hover { color: var(--brand-lt); }

.bilgi-kutu { padding: 1.9rem; background: var(--sand); border-radius: 12px; }
.bilgi-baslik {
  font-family: var(--ui); font-weight: 800; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand);
}
.bilgi-et {
  font-family: var(--ui); font-weight: 700; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: #a5a5a5;
  margin-bottom: .25rem;
}
.bilgi-dg { font-size: 16px; color: var(--title); line-height: 1.5; }

/* gallery grid */
.gal-item {
  display: block; width: 100%; padding: 0; border: 0;
  position: relative; overflow: hidden;
  border-radius: 12px; aspect-ratio: 4 / 3; background: #ececec;
  cursor: pointer;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.gal-item:hover img { transform: scale(1.05); }

/* prev / next */
.pn-link { display: flex; flex-direction: column; gap: .4rem; }
.pn-yon {
  font-family: var(--ui); font-weight: 700; font-size: 11.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-lt);
}
.pn-ad { font-size: 18px; color: var(--title); line-height: 1.4; transition: color .2s; }
.pn-link:hover .pn-ad { color: var(--brand); }
.pn-link.text-right { align-items: flex-end; text-align: right; }

/* ---------- BLOG LISTING ---------- */
.yazi-kart { display: flex; flex-direction: column; }
.yazi-medya {
  display: block; overflow: hidden;
  border-radius: 12px; aspect-ratio: 4 / 3; background: #ececec;
}
.yazi-medya img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.yazi-kart:hover .yazi-medya img { transform: scale(1.05); }
.yazi-govde { padding-top: 1.35rem; }
.yazi-tarih {
  font-family: var(--ui); font-weight: 700; font-size: 11.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-lt);
}
.yazi-baslik { margin-top: .7rem; font-size: 1.3rem; line-height: 1.35; color: var(--title); }
.yazi-baslik a:hover { color: var(--brand); }
.yazi-ozet { margin-top: .75rem; line-height: 1.75; }
.yazi-devam {
  display: inline-block; margin-top: 1.1rem;
  font-family: var(--ui); font-weight: 800; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brand);
}
.yazi-devam::after { content: " →"; transition: margin-left .2s; }
.yazi-devam:hover::after { margin-left: .25rem; }

/* ---------- BLOG ARTICLE ---------- */
.yazi-icerik { font-size: 17.5px; line-height: 1.85; }
.yazi-icerik p { margin-bottom: 1.4rem; }
.yazi-icerik h2, .yazi-icerik h3, .yazi-icerik h4 {
  margin: 2.6rem 0 1rem;
  font-family: var(--serif); color: var(--title); line-height: 1.3;
}
.yazi-icerik h2 { font-size: 1.75rem; }
.yazi-icerik h3 { font-size: 1.45rem; }
.yazi-icerik h4 { font-size: 1.22rem; }
.yazi-icerik ul { margin: 0 0 1.4rem 1.2rem; list-style: disc; }
.yazi-icerik li { margin-bottom: .55rem; padding-left: .3rem; }
.yazi-icerik strong { color: var(--title); }
.yazi-gorsel { margin: 2.2rem 0; }
.yazi-gorsel img { width: 100%; height: auto; border-radius: 12px; display: block; }

/* related posts rail */
.yan-yazi { display: flex; gap: .9rem; align-items: flex-start; }
.yan-yazi img { width: 84px; height: 64px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.yan-tarih {
  display: block;
  font-family: var(--ui); font-weight: 700; font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-lt);
}
.yan-ad { display: block; margin-top: .3rem; font-size: 15.5px; line-height: 1.4; color: var(--title); }
.yan-yazi:hover .yan-ad { color: var(--brand); }


/* ---------- HOMEPAGE PROJECT MARQUEE ---------- */
.pm-wrap { overflow: hidden; }
.pm-track {
  display: flex;
  width: max-content;
  animation: lc-scroll 70s linear infinite;
}
.pm-wrap:hover .pm-track, .pm-wrap:focus-within .pm-track { animation-play-state: paused; }
/* margin instead of gap so -50% lands exactly on the second copy */
.pm-card { width: 300px; margin-right: 1.25rem; flex-shrink: 0; }
@media (min-width: 1024px) { .pm-card { width: 330px; } }
@media (prefers-reduced-motion: reduce) {
  .pm-wrap { overflow-x: auto; }
  .pm-track { animation: none; }
}
