/* ==========================================================
   Aydın Topçu İnşaat · Projelerimiz (liste + detay)
   ========================================================== */

.pj-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.pj-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--theme2);
}
.pj-eyebrow--dark { color: var(--theme2); }

/* ---------- Sayfa başlığı ---------- */
.pj-hero::before {
  opacity: 1;
  background-image: linear-gradient(180deg, rgba(0, 22, 89, 0.55) 0%, rgba(0, 10, 40, 0.85) 100%);
}
.pj-hero .page-heading { padding-top: 240px; padding-bottom: 150px; }
.pj-hero .page-heading h1 { overflow-wrap: anywhere; }
.pj-hero__loc {
  position: relative;
  z-index: 9;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
}
.pj-hero__loc i { color: var(--theme2); margin-right: 6px; }
.pj-hero .breadcrumb-items { flex-wrap: wrap; row-gap: 6px; }
@media (max-width: 1199px) { .pj-hero .page-heading { padding-top: 200px; padding-bottom: 70px; } }
@media (max-width: 767px)  { .pj-hero .page-heading { padding-top: 150px; padding-bottom: 40px; } }
@media (max-width: 575px)  { .pj-hero .breadcrumb-items li { font-size: 13px; } }

/* ---------- Giriş ---------- */
.pj-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px 70px;
  align-items: end;
  margin-bottom: 50px;
}
.pj-intro h2 {
  margin-top: 14px;
  font-size: 46px;
  line-height: 1.15;
  color: var(--header);
}
.pj-intro__text p { margin: 0 0 22px; }
.pj-intro__count { display: flex; align-items: baseline; gap: 10px; }
.pj-intro__count strong {
  font-family: "Montserrat", sans-serif;
  font-size: 56px;
  line-height: 1;
  color: var(--theme2);
}
.pj-intro__count span {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--header);
}
@media (max-width: 991px) {
  .pj-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .pj-intro h2 { font-size: 34px; }
}
@media (max-width: 575px) {
  .pj-intro h2 { font-size: 28px; }
  .pj-intro__count strong { font-size: 44px; }
}

/* ---------- Süzgeç çipleri ---------- */
.pj-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 30px;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--border2);
}
.pj-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border2);
  border-radius: 999px;
  background: var(--white);
  font-size: 15px;
  font-weight: 500;
  color: var(--header);
  transition: all 0.3s ease;
}
.pj-chip span {
  min-width: 24px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--bg);
  font-size: 13px;
  text-align: center;
}
.pj-chip:hover { border-color: var(--theme2); color: var(--theme2); }
.pj-chip.is-active { background: var(--header); border-color: var(--header); color: var(--white); }
.pj-chip.is-active span { background: var(--theme2); color: var(--white); }
@media (max-width: 575px) {
  .pj-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -12px 36px;
    padding: 0 12px 20px;
    scrollbar-width: none;
  }
  .pj-filter::-webkit-scrollbar { display: none; }
  .pj-chip { flex: 0 0 auto; font-size: 14px; }
}

/* ---------- Proje satırları ---------- */
.pj-rows { display: grid; gap: 90px; }
.pj-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 60px;
}
.pj-row[hidden] { display: none; }
.pj-row--reverse .pj-row__media { order: 2; }
.pj-row__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
}
.pj-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pj-row__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 10, 40, 0.45));
  pointer-events: none;
}
.pj-row:hover .pj-row__media img { transform: scale(1.06); }
.pj-row__count {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}
.pj-row__body { position: relative; }
.pj-row__no {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 92px;
  font-weight: 800;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--border);
  margin-bottom: 12px;
}
.pj-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--theme2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pj-row__meta i { margin-right: 4px; }
.pj-row h3 { font-size: 40px; line-height: 1.15; margin-bottom: 16px; }
.pj-row h3 a { color: var(--header); transition: color 0.3s; }
.pj-row h3 a:hover { color: var(--theme2); }
.pj-row__text { margin: 0 0 24px; }
.pj-row__btn { margin-top: 6px; }

/* Kart bilgileri (19 Ekim 2026): en çok 5 kutu; 3 sütun, fazlası alt satıra sarar.
   Çizgiler: her kutunun altında yatay, satır içinde dikey ayraç. */
.pj-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 30px;
  border-top: 1px solid var(--border2);
}
.pj-specs li {
  padding: 14px 12px 14px 16px;
  border-bottom: 1px solid var(--border2);
  border-left: 1px solid var(--border2);
  min-width: 0;
}
.pj-specs li:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.pj-specs--1, .pj-specs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pj-specs--1 { grid-template-columns: minmax(0, 1fr); }
.pj-specs--2 li:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.pj-specs--2 li:nth-child(2) { padding-left: 16px; border-left: 1px solid var(--border2); }
.pj-specs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pj-specs--4 li:nth-child(n) { padding-left: 16px; border-left: 1px solid var(--border2); }
.pj-specs--4 li:nth-child(odd) { padding-left: 0; border-left: 0; }
/* 5 kutu: üstte 3, altta 2 geniş kutu (6 sütunlu ızgara), satırlar eşit uzunlukta */
.pj-specs--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pj-specs--5 li { grid-column: span 2; }
.pj-specs--5 li:nth-child(n + 4) { grid-column: span 3; }
.pj-specs--5 li:nth-child(4) { padding-left: 0; border-left: 0; }
.pj-specs span {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pj-specs strong {
  display: block;
  margin-top: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  line-height: 1.3;
  color: var(--header);
}

@media (max-width: 1199px) {
  .pj-row { gap: 40px; }
  .pj-row h3 { font-size: 32px; }
  .pj-row__no { font-size: 70px; }
}
@media (max-width: 991px) {
  .pj-rows { gap: 64px; }
  .pj-row { grid-template-columns: 1fr; gap: 26px; }
  .pj-row--reverse .pj-row__media { order: 0; }
  .pj-row__no { font-size: 56px; margin-bottom: 8px; }
}
@media (max-width: 575px) {
  .pj-rows { gap: 50px; }
  .pj-row h3 { font-size: 26px; }
  .pj-row__no { font-size: 48px; }
  /* Telefon: 2 sütun; tek kalan son kutu tam genişlik */
  .pj-specs, .pj-specs--1, .pj-specs--2, .pj-specs--4, .pj-specs--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-specs li:nth-child(n) { grid-column: auto; }
  .pj-specs li:nth-child(n) { padding-left: 14px; border-left: 1px solid var(--border2); }
  .pj-specs li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .pj-specs li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pj-specs strong { font-size: 16px; }
  .pj-row__btn { display: block; text-align: center; padding: 20px 24px; }
}

/* ---------- Durum rozetleri (birden fazla olabilir; sıra: Satışta, Yapım Aşamasında, Tamamlandı) ---------- */
.pj-badges {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}
.pj-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
  background: var(--header);
  box-shadow: 0 6px 16px rgba(0, 10, 40, 0.18);
}
.pj-badge--satista { background: var(--theme2); }
.pj-badge--devam { background: #0b6bcb; }
.pj-badge--tamamlandi { background: #16794c; }
.pj-facts .pj-badge { font-size: 12px; padding: 5px 10px; box-shadow: none; }
.pj-facts .pj-facts__durum strong { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.pj-chip:disabled { opacity: 0.45; cursor: default; pointer-events: none; }
@media (max-width: 575px) {
  .pj-badges { top: 12px; left: 12px; right: 12px; gap: 6px; }
  .pj-badge { padding: 5px 10px; font-size: 11px; }
}

/* ---------- Butonlar ---------- */
.pj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}
.pj-btn i { font-size: 18px; }
.pj-btn--wa { background: #1fa855; color: var(--white); }
.pj-btn--wa:hover { background: #178a45; color: var(--white); }
.pj-btn--line { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.pj-btn--line:hover { background: var(--white); color: var(--header); }
.pj-btn--block { width: 100%; }

/* ---------- Alt çağrı bandı ---------- */
.pj-cta { padding-bottom: 120px; }
.pj-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 50px 60px;
  background: var(--header);
  background-image: radial-gradient(circle at 100% 0, rgba(255, 94, 21, 0.28), transparent 45%);
}
.pj-cta h3 { color: var(--white); font-size: 32px; line-height: 1.25; margin-bottom: 10px; }
.pj-cta p { color: rgba(255, 255, 255, 0.75); margin: 0; }
.pj-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
@media (max-width: 991px) {
  .pj-cta { padding-bottom: 80px; }
  .pj-cta__box { flex-direction: column; align-items: flex-start; padding: 40px 30px; }
  .pj-cta h3 { font-size: 26px; }
}
@media (max-width: 575px) {
  .pj-cta__box { padding: 32px 22px; }
  .pj-cta__actions, .pj-cta__actions .pj-btn { width: 100%; }
}

/* ---------- Detay: galeri ---------- */
.pj-gallery { margin-bottom: 70px; }
.pj-gallery__main { position: relative; background: #0b1430; }
.pj-gallery__item { position: relative; display: block; aspect-ratio: 3 / 2; max-height: 78vh; width: 100%; overflow: hidden; }
/* Oranı kutuya uymayan görsellerde boşluğu aynı görselin bulanık kopyası doldurur */
.pj-gallery__item::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: var(--pj-bg) center / cover no-repeat;
  filter: blur(28px) brightness(0.55);
}
.pj-gallery__item img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.pj-gallery__zoom {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--header);
  opacity: 0;
  transition: opacity 0.3s;
}
.pj-gallery__item:hover .pj-gallery__zoom,
.pj-gallery__item:focus-visible .pj-gallery__zoom { opacity: 1; }
.pj-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 54px;
  height: 54px;
  margin-top: -27px;
  display: grid;
  place-items: center;
  border: 0;
  background: var(--white);
  color: var(--header);
  font-size: 18px;
  transition: all 0.3s;
}
.pj-gallery__nav:hover { background: var(--theme2); color: var(--white); }
.pj-gallery__prev { left: 20px; }
.pj-gallery__next { right: 20px; }
.pj-gallery__nav.swiper-button-disabled { opacity: 0.4; pointer-events: none; }
.pj-gallery__counter {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 3;
  padding: 6px 14px;
  background: rgba(0, 10, 40, 0.7);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.pj-gallery__thumbs { margin-top: 14px; }
.pj-gallery__thumbs .swiper-slide {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.pj-gallery__thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.pj-gallery__thumbs .swiper-slide-thumb-active { opacity: 1; outline: 3px solid var(--theme2); outline-offset: -3px; }
@media (max-width: 767px) {
  .pj-gallery { margin: 0 -12px 50px; }
  .pj-gallery__item { aspect-ratio: 4 / 3; }
  .pj-gallery__thumbs { padding: 0 12px; }
  .pj-gallery__nav { width: 42px; height: 42px; margin-top: -21px; font-size: 15px; }
  .pj-gallery__prev { left: 10px; }
  .pj-gallery__next { right: 10px; }
  .pj-gallery__counter { left: 10px; bottom: 10px; }
  .pj-gallery__zoom { display: none; }
}

/* ---------- Detay: içerik ---------- */
.pj-content h2 { margin: 14px 0 22px; font-size: 42px; line-height: 1.15; color: var(--header); }
.pj-content p { margin-bottom: 18px; }
.pj-content__sub {
  margin: 44px 0 20px;
  padding-bottom: 14px;
  font-size: 24px;
  color: var(--header);
  border-bottom: 1px solid var(--border2);
}
.pj-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 30px;
}
.pj-features li { display: flex; gap: 12px; line-height: 1.5; color: var(--header); }
.pj-features i {
  flex: 0 0 26px;
  height: 26px;
  display: grid;
  place-items: center;
  margin-top: -1px;
  background: rgba(255, 94, 21, 0.12);
  color: var(--theme2);
  font-size: 12px;
  border-radius: 50%;
}
.pj-map { aspect-ratio: 16 / 9; background: var(--bg); }
.pj-map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 767px) {
  .pj-content h2 { font-size: 30px; }
  .pj-features { grid-template-columns: 1fr; }
  .pj-map { aspect-ratio: 4 / 3; }
}

/* ---------- Detay: yan sütun ---------- */
.pj-aside { position: sticky; top: 120px; display: grid; gap: 24px; }
.pj-card { padding: 34px 30px; background: var(--bg); }
.pj-card h5 { font-size: 22px; color: var(--header); margin-bottom: 18px; }
.pj-facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border2);
  font-size: 16px;
  line-height: 1.4;
}
.pj-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.pj-facts strong { color: var(--header); font-weight: 600; text-align: right; }
.pj-card--ask { background: var(--header); }
.pj-card--ask h5 { color: var(--white); margin-bottom: 8px; }
.pj-card--ask > p { color: rgba(255, 255, 255, 0.7); font-size: 15px; line-height: 1.5; margin-bottom: 20px; }
.pj-form { display: grid; gap: 12px; }
.pj-form input,
.pj-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 16px; /* iOS'ta odaklanınca yakınlaştırmayı önler */
  outline: none;
  transition: border-color 0.3s;
}
.pj-form textarea { resize: vertical; min-height: 110px; }
.pj-form input::placeholder,
.pj-form textarea::placeholder { color: rgba(255, 255, 255, 0.55); }
.pj-form input:focus,
.pj-form textarea:focus { border-color: var(--theme2); }
.pj-call {
  display: block;
  margin-top: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.pj-call:hover { color: var(--theme2); }
@media (max-width: 991px) {
  .pj-aside { position: static; }
}

/* ---------- Detay: önceki / sonraki ---------- */
.pj-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border2);
}
.pj-pager__item { display: flex; align-items: center; gap: 18px; color: var(--header); }
.pj-pager__item--next { justify-content: flex-end; text-align: right; }
.pj-pager__item img { width: 110px; aspect-ratio: 4 / 3; object-fit: cover; flex-shrink: 0; }
.pj-pager__item span { font-family: "Montserrat", sans-serif; font-size: 20px; font-weight: 700; line-height: 1.3; }
.pj-pager__item small {
  display: block;
  margin-bottom: 4px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--theme2);
}
.pj-pager__item:hover span { color: var(--theme2); }
.pj-pager__all {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--header);
  transition: all 0.3s;
}
.pj-pager__all:hover { background: var(--theme2); color: var(--white); }
@media (max-width: 767px) {
  .pj-pager { grid-template-columns: 1fr 1fr; margin-top: 50px; }
  .pj-pager__all { display: none; }
  .pj-pager__item img { display: none; }
  .pj-pager__item span { font-size: 16px; }
}

/* Henüz girilmemiş künye bilgisi ("-"): soluk (19 Ekim 2026) */
.pj-specs li.is-bos strong,
.pj-facts li.is-bos strong { color: #9aa3b5; font-weight: 500; }
