/* =================================================================
   TASARIM TOKENLARI
   Renkleri ve fontları değiştirmek isterseniz sadece bu bölümü
   düzenlemeniz yeterli — site genelinde otomatik uygulanır.
   ================================================================= */
:root {
  /* Renkler */
  --ink:        #1B211F;   /* ana metin / koyu zemin */
  --ink-soft:   #4B534F;   /* ikincil metin */
  --bg:         #F1F3EE;   /* zemin — soğuk beton tonu beyaz */
  --paper:      #FFFFFF;   /* kart zemini */
  --steel:      #34515E;   /* çelik mavi-gri — ikincil vurgu */
  --safety:     #E1601F;   /* güvenlik turuncusu — ana vurgu, az kullanılır */
  --line:       #CBD1C9;   /* ince çizgiler / bölücüler */
  --line-dark:  rgba(241,243,238,0.25);

  /* Tipografi */
  --font-display: "Big Shoulders Display", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Ölçüler */
  --wrap: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--safety);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--safety);
  display: inline-block;
}
.eyebrow-light { color: #BFD0D6; }
.eyebrow-light::before { background: var(--safety); }

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--safety);
  color: #fff;
}
.btn-primary:hover { background: #C24E15; }
.btn-ghost {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(241,243,238,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.logo-mark { display: flex; align-items: center; }
.logo-mark img { height: 32px; width: auto; display: block; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}
.logo-text small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--steel);
}
.main-nav {
  display: flex;
  gap: 34px;
}
.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--safety);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--ink);
}

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
}
.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 720px) {
  .hero-bg-photo {
    object-position: 80% center;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,19,17,0.55) 0%, rgba(15,19,17,0.35) 38%, rgba(15,19,17,0.75) 100%),
    linear-gradient(90deg, rgba(15,19,17,0.85) 0%, rgba(15,19,17,0.15) 55%);
}
@media (max-width: 720px) {
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(15,19,17,0.6) 0%, rgba(15,19,17,0.4) 38%, rgba(15,19,17,0.8) 100%),
      rgba(15,19,17,0.55);
  }
}
.hero-inner {
  position: relative;
  padding: 100px 28px 160px;
}
.hero h1 {
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  color: var(--bg);
}
.hero h1 span { color: var(--safety); }
.hero-sub {
  max-width: 520px;
  margin: 26px 0 40px;
  font-size: 1.05rem;
  color: #C7D0CB;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* =================================================================
   HAKKIMIZDA
   ================================================================= */
.about { padding: 120px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}
.media-placeholder {
  aspect-ratio: 4/5;
  background: repeating-linear-gradient(135deg, #E2E6DE, #E2E6DE 10px, #DADFD5 10px, #DADFD5 20px);
  border: 1px dashed var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.corner-mark {
  position: absolute;
  width: 26px; height: 26px;
  border: 2px solid var(--safety);
}
.corner-mark.tl { top: -10px; left: -10px; border-right: none; border-bottom: none; }
.corner-mark.br { bottom: -10px; right: -10px; border-left: none; border-top: none; }

.about-copy h2 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 22px; }
.about-copy p { color: var(--ink-soft); max-width: 54ch; }

.stat-row {
  display: flex;
  gap: 40px;
  margin: 38px 0 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--steel);
  line-height: 1;
}
.stat span {
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}
.link-more {
  display: inline-block;
  margin-top: 30px;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 2px solid var(--safety);
  padding-bottom: 2px;
}

/* Hizmet Alanlarımız */
.services-wrap {
  margin-top: 90px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}
.services-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 36px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-item {
  background: var(--bg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 150px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-no {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--safety);
  line-height: 1;
}
.service-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* Vizyon & Misyon */
.mv-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.mv-card {
  background: var(--ink);
  color: var(--bg);
  padding: 36px 34px;
}
.mv-card .eyebrow { color: #BFD0D6; }
.mv-card .eyebrow::before { background: var(--safety); }
.mv-card p:last-child {
  margin: 0;
  color: #C7D0CB;
  font-size: 0.98rem;
  max-width: 48ch;
}

@media (max-width: 900px) {
  .mv-grid { grid-template-columns: 1fr; }
}

/* =================================================================
   PROJELER
   ================================================================= */
.projects { padding: 40px 0 130px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover { border-color: var(--steel); color: var(--ink); }
.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  display: block;
  color: inherit;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(27,33,31,0.08);
}
.pc-media {
  position: relative;
  aspect-ratio: 4/3;
  background: repeating-linear-gradient(135deg, #E2E6DE, #E2E6DE 10px, #DADFD5 10px, #DADFD5 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  overflow: hidden;
}
.pc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pc-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--safety);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 10px;
}
.pc-tag-done { background: var(--steel); }
.pc-tag-alt { background: var(--ink); }
.pc-body { padding: 18px 20px 22px; }
.pc-body h3 {
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0;
  margin-bottom: 4px;
}
.pc-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.project-card.is-hidden { display: none; }

/* =================================================================
   İLETİŞİM
   ================================================================= */
.contact {
  background: var(--ink);
  color: var(--bg);
  padding: 110px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.contact-info h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.contact-lead { color: #C7D0CB; max-width: 42ch; margin-bottom: 40px; }

.office { padding: 18px 0; border-top: 1px solid var(--line-dark); }
.office h3 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--safety);
  margin-bottom: 8px;
}
.office p { margin: 3px 0; color: #C7D0CB; font-size: 0.92rem; }
.office a:hover { color: #fff; }

.socials { display: flex; gap: 12px; margin-top: 30px; }
.socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
  color: #C7D0CB;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.socials a:hover { border-color: var(--safety); color: var(--safety); }

/* Sağ panel — Hızlı İletişim */
.contact-quick {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #16302E 0%, var(--ink) 65%);
  border: 1px solid var(--line-dark);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
}
.contact-quick-bg {
  position: absolute;
  right: -30px;
  bottom: -22px;
  width: 260px;
  height: auto;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}
.contact-quick .eyebrow { margin-bottom: 26px; }

.quick-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  border-top: 1px solid var(--line-dark);
  color: var(--bg);
  transition: padding-left 0.2s ease;
}
.contact-quick .quick-action:last-of-type { border-bottom: 1px solid var(--line-dark); }
.quick-action-text { display: flex; flex-direction: column; gap: 4px; }
.quick-action-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8FA3AA;
}
.quick-action-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bg);
}
.quick-action-arrow {
  font-size: 1.2rem;
  color: var(--safety);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.quick-action:hover { padding-left: 10px; }
.quick-action:hover .quick-action-arrow { transform: translateX(4px); }

.quick-note {
  margin: 28px 0 0;
  font-size: 0.82rem;
  color: #8FA3AA;
  line-height: 1.6;
}

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer {
  background: var(--ink);
  color: #8FA3AA;
  border-top: 1px solid var(--line-dark);
  padding: 22px 0;
  font-size: 0.82rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =================================================================
   PROJE DETAY SAYFASI
   ================================================================= */
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--bg);
  padding: 170px 0 64px;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
}
.detail-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,19,17,0.35) 0%, rgba(15,19,17,0.35) 40%, rgba(15,19,17,0.9) 100%),
    linear-gradient(90deg, rgba(15,19,17,0.75) 0%, rgba(15,19,17,0.1) 60%);
}
.detail-hero .wrap { position: relative; z-index: 1; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #BFD0D6;
  margin-bottom: 28px;
}
.back-link:hover { color: #fff; }
.detail-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--bg);
  text-transform: none;
  margin-bottom: 14px;
}
.detail-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.detail-meta p {
  margin: 0;
  color: #C7D0CB;
  font-size: 1rem;
}
.detail-tag {
  display: inline-block;
  background: var(--safety);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.detail-tag.is-done { background: var(--steel); }

/* Galeri — sola/sağa kayan slider */
.detail-gallery {
  padding: 60px 0;
}
.detail-gallery .section-head { border: none; margin-bottom: 24px; padding-bottom: 0; }

.slider-wrap { position: relative; }
.gallery-slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.gallery-slider::-webkit-scrollbar { display: none; }
.gallery-slider a {
  flex: 0 0 auto;
  width: min(560px, 78vw);
  scroll-snap-align: start;
  display: block;
}
.gallery-slider img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(27,33,31,0.12);
  transition: background 0.15s ease, color 0.15s ease;
}
.slider-btn:hover { background: var(--ink); color: var(--bg); }
.slider-btn.prev { left: -8px; }
.slider-btn.next { right: -8px; }
@media (max-width: 720px) {
  .slider-btn { display: none; }
  .gallery-slider a { width: 84vw; }
}

.detail-about {
  padding: 20px 0 100px;
  border-top: 1px solid var(--line);
}
.detail-about-inner {
  max-width: 760px;
  padding-top: 56px;
}
.detail-about p:last-child {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}
.detail-specs {
  margin: 0;
  border-top: 1px solid var(--line);
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.spec-row dt {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.spec-row dd {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}

/* =================================================================
   LIGHTBOX — fotoğrafı sayfa üzerinde büyütüp gösterme
   ================================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,14,13,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 32px;
}
.lightbox.is-open { display: flex; }
.lightbox-img {
  max-width: 88vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.1);
  user-select: none;
}
.lightbox-close,
.lightbox-arrow {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lightbox-close:hover,
.lightbox-arrow:hover { background: var(--safety); border-color: var(--safety); }
.lightbox-close {
  top: 22px;
  right: 28px;
  z-index: 2;
}
.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-arrow.prev { left: 24px; }
.lightbox-arrow.next { right: 24px; }
.lightbox-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: #C7D0CB;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .lightbox-close, .lightbox-arrow { width: 40px; height: 40px; }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-arrow.prev { left: 8px; }
  .lightbox-arrow.next { right: 8px; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 18px 28px;
    gap: 18px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .project-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 26px; flex-wrap: wrap; }
}
