/* ============================================================
   PROJELER SAYFASI - ÖZEL STİLLER
   ============================================================ */

/* ----- HERO BÖLÜMÜ (Breadcrumb tarzı - küçük yükseklik) ----- */
.proje-hero {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.proje-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 8s ease;
}

.proje-hero:hover .proje-hero-bg {
  transform: scale(1.05);
}

.proje-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 21, 34, 0.85) 0%,
    rgba(0, 21, 34, 0.5) 40%,
    rgba(0, 21, 34, 0.3) 70%,
    rgba(0, 21, 34, 0.2) 100%
  );
  z-index: 1;
}

.proje-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
  text-align: left;
}

/* ----- HERO YAZI SIRALAMASI ----- */

/* 1. PROJELERİMİZ - En küçük (20px), aralıklı, beyaz */
.proje-hero-badge {
  font-family: var(--font-tt-fors);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

/* 2. Gold Çizgi */
.proje-hero-line {
  width: 40px;
  height: 3px;
  background: var(--gold2);
  margin-bottom: 16px;
  border-radius: 2px;
}

/* 3. 1992'DEN BERİ - Orta boy (32px), beyaz */
.proje-hero-kicker {
  font-family: var(--font-tt-fors);
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

/* 4. Ana Başlık - Büyük, gold + beyaz */
.proje-hero-content h1 {
  font-family: var(--font-pompei);
  font-size: 35px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Gold renkli kısım */
.proje-hero-content h1 .highlight-gold {
  color: var(--gold2);
  font-weight: 600;
}

/* Beyaz kısım */
.proje-hero-content h1 .text-white {
  color: #fff;
  font-weight: 500;
}

/* ----- PROJE LİSTESİ BÖLÜMÜ ----- */
.proje-liste {
  background: #001522;
  padding: 30px 20px 60px;
  min-height: 300px;
}

.proje-liste-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ----- FİLTRE BUTONLARI (Radüslü - Gold Çerçeveli) ----- */
.proje-filter-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.proje-filter-btn {
  background: transparent;
  border: 2px solid rgba(246, 185, 31, 0.35);
  border-radius: 30px;
  padding: 8px 24px;
  font-family: var(--font-tt-fors);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.proje-filter-btn .filter-count {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s ease;
}

.proje-filter-btn:hover {
  border-color: var(--gold2);
  color: rgba(255, 255, 255, 0.8);
}

/* Aktif buton - Gold dolu */
.proje-filter-btn.active {
  background: var(--gold2);
  border-color: var(--gold2);
  color: #101010;
}

.proje-filter-btn.active .filter-count {
  color: #101010;
  opacity: 0.7;
}

/* ----- PROJE TABLOSU (Yatay Liste) ----- */
.proje-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold2) transparent;
}

.proje-table-wrapper::-webkit-scrollbar {
  height: 4px;
}
.proje-table-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.proje-table-wrapper::-webkit-scrollbar-thumb {
  background: var(--gold2);
  border-radius: 4px;
}

.proje-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  table-layout: fixed;
}

/* ----- PROJE SATIRI (Desktop) ----- */
.proje-row {
  border-bottom: 1px solid rgba(246, 185, 31, 0.08);
  transition: all 0.3s ease;
}

.proje-row:hover {
  background: rgba(246, 185, 31, 0.04);
}

.proje-row td {
  padding: 18px 12px;
  vertical-align: middle;
}

/* ----- SÜTUN GENİŞLİKLERİ (Desktop) ----- */
.proje-col-image {
  width: 290px;
  max-width: 290px;
  min-width: 200px;
  padding-right: 8px !important;
}

.proje-col-separator {
  width: 30px;
  max-width: 30px;
  min-width: 20px;
  padding: 0 !important;
  text-align: center;
}

.proje-col-info {
  width: auto;
  min-width: 200px;
}

.proje-col-meta {
  width: auto;
  min-width: 180px;
}

.proje-col-action {
  width: 140px;
  max-width: 160px;
  min-width: 110px;
  text-align: right;
}

/* ----- GOLD SEPERATOR (Ayraç) ----- */
.proje-col-separator span {
  display: block;
  width: 2px;
  height: 50px;
  margin: 0 auto;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(246, 185, 31, 0.15) 15%,
    rgba(246, 185, 31, 0.5) 40%,
    var(--gold2) 50%,
    rgba(246, 185, 31, 0.5) 60%,
    rgba(246, 185, 31, 0.15) 85%,
    transparent 100%
  );
  border-radius: 2px;
}

/* ----- GÖRSEL (270px) ----- */
.proje-image-wrap {
  position: relative;
  width: 270px;
  height: 130px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.proje-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.proje-row:hover .proje-image-wrap img {
  transform: scale(1.08);
}

.proje-status {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--gold2);
  color: #101010;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.proje-status.tamamlandi {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.proje-status.planlanan {
  background: rgba(100, 200, 255, 0.2);
  color: #6bc9ff;
  border: 1px solid rgba(100, 200, 255, 0.25);
}

/* ----- PROJE BİLGİSİ ----- */
.proje-col-info {
  min-width: 180px;
}

.proje-kod {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold2);
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 2px;
}

.proje-ad {
  font-family: var(--font-tt-fors);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px 0;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proje-ozet {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ----- LOKASYON & TESLİM ----- */
.proje-col-meta {
  min-width: 160px;
}

.proje-lokasyon,
.proje-teslim {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  padding: 3px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proje-lokasyon i,
.proje-teslim i {
  width: 16px;
  color: var(--gold2);
  font-size: 14px;
  text-align: center;
  flex-shrink: 0;
}

/* Mobil için meta bilgiler (sadece mobilde görünür) */
.proje-meta-mobile {
  display: none;
}

/* ----- İNCELE BUTONU (Desktop) ----- */
.proje-col-action {
  min-width: 100px;
}

.proje-incele-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold2);
  color: #101010;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  min-width: 110px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(246, 185, 31, 0.2);
}

.proje-incele-btn .btn-icon {
  display: inline-flex;
  transition: transform 0.3s ease;
}

.proje-incele-btn .btn-icon i {
  font-size: 14px;
  color: #101010;
}

.proje-incele-btn .btn-text {
  color: #101010;
}

.proje-incele-btn:hover {
  background: #e6aa1a;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(246, 185, 31, 0.35);
}

.proje-incele-btn:hover .btn-icon {
  transform: translateX(6px);
}

/* ----- FİLTRE GEÇİŞLERİ ----- */
.proje-row.hidden {
  display: none;
}

/* ============================================================
   MOBİL RESPONSIVE (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .proje-table {
    min-width: 820px;
  }

  .proje-col-image {
    width: 220px;
    max-width: 220px;
    min-width: 160px;
  }

  .proje-image-wrap {
    width: 200px;
    height: 100px;
  }

  .proje-col-info {
    min-width: 160px;
  }

  .proje-col-meta {
    min-width: 150px;
  }

  .proje-col-action {
    width: 120px;
    max-width: 130px;
    min-width: 90px;
  }

  .proje-ad {
    font-size: 18px;
  }

  .proje-incele-btn {
    font-size: 13px;
    padding: 10px 20px;
    min-width: 90px;
  }
}

/* ============================================================
   MOBİL RESPONSIVE (max-width: 850px) - 3 SÜTUN GEÇİŞ
   ============================================================ */
@media (max-width: 850px) {
  /* Hero */
  .proje-hero {
    height: 140px;
  }

  .proje-hero-content {
    padding: 0 24px;
  }

  .proje-hero-badge {
    font-size: 14px;
    letter-spacing: 2.5px;
    margin-bottom: 6px;
  }

  .proje-hero-line {
    width: 28px;
    height: 2.5px;
    margin-bottom: 10px;
  }

  .proje-hero-kicker {
    font-size: 22px;
    letter-spacing: 0.8px;
  }

  .proje-hero-content h1 {
    font-size: 28px;
    line-height: 1.25;
  }

  /* Filtre - yatay kaydırma */
  .proje-filter-wrapper {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    margin-bottom: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .proje-filter-wrapper::-webkit-scrollbar {
    display: none;
  }

  .proje-filter-btn {
    flex: 0 0 auto;
    padding: 6px 18px;
    font-size: 13px;
    border-width: 1.5px;
    white-space: nowrap;
  }

  .proje-filter-btn .filter-count {
    font-size: 12px;
  }

  /* ----- TABLO 3 SÜTUN (Mobil) - Satırlar arası boşluklu ----- */
  .proje-table-wrapper {
    overflow-x: hidden;
    padding: 4px 0;
  }

  .proje-table {
    min-width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 18px; /* Satırlar arası dikey boşluk */
  }

  .proje-row {
    display: table;
    width: 100%;
    table-layout: fixed;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(246, 185, 31, 0.15);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    /* Satır içi boşluklar */
    margin-top: 9px;
    margin-bottom: 9px;
  }

  .proje-row:hover {
    border-color: rgba(246, 185, 31, 0.35);
    background: rgba(255, 255, 255, 0.05);
  }

  .proje-row td {
    padding: 14px 10px;
    vertical-align: middle;
    border: none;
  }

  /* Sütun 1: Görsel - Büyük */
  .proje-col-image {
    width: 32%;
    max-width: 32%;
    min-width: 32%;
    padding-right: 6px !important;
    padding-left: 8px !important;
  }

  .proje-image-wrap {
    width: 100%;
    max-width: 160px;
    height: 110px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .proje-status {
    font-size: 8px;
    padding: 2px 10px;
    top: 6px;
    right: 6px;
    border-radius: 12px;
  }

  /* Sütun 2: Bilgi - Başlık Belirgin, diğerleri küçük */
  .proje-col-info {
    width: 46%;
    max-width: 46%;
    min-width: 46%;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .proje-kod {
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 1px;
  }

  .proje-ad {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 3px 0;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .proje-ozet {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Mobil meta bilgileri - küçük */
  .proje-meta-mobile {
    display: flex !important;
    flex-direction: column;
    gap: 1px;
    margin-top: 2px;
  }

  .proje-meta-mobile .proje-lokasyon,
  .proje-meta-mobile .proje-teslim {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 1px 0;
  }

  .proje-meta-mobile .proje-lokasyon i,
  .proje-meta-mobile .proje-teslim i {
    font-size: 10px;
    width: 14px;
    color: var(--gold2);
  }

  /* Desktop meta sütununu gizle */
  .proje-col-meta {
    display: none !important;
  }

  /* Separatörleri gizle (mobilde) */
  .proje-col-separator {
    display: none !important;
  }

  /* Sütun 3: İncele Butonu - Yeni Tasarım */
  .proje-col-action {
    width: 22%;
    max-width: 22%;
    min-width: 22%;
    text-align: center;
    padding-left: 2px !important;
    padding-right: 8px !important;
    vertical-align: middle;
  }

  .proje-incele-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: transparent;
    padding: 4px 8px;
    min-width: auto;
    width: 100%;
    max-width: 70px;
    margin: 0 auto;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .proje-incele-btn .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gold2);
    background: rgba(246, 185, 31, 0.08);
    transition: all 0.3s ease;
  }

  .proje-incele-btn .btn-icon i {
    font-size: 16px;
    color: var(--gold2);
    transition: transform 0.3s ease;
  }

  .proje-incele-btn .btn-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--gold2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
  }

  .proje-incele-btn:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
  }

  .proje-incele-btn:hover .btn-icon {
    background: rgba(246, 185, 31, 0.15);
    border-color: var(--gold2);
    transform: scale(1.05);
  }

  .proje-incele-btn:hover .btn-icon i {
    transform: translateX(3px);
  }

  .proje-incele-btn:hover .btn-text {
    color: #fff;
  }

  .proje-liste {
    padding: 16px 16px 0px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
  }

  .proje-liste-container {
    padding-bottom: 16px;
  }

  /* Ana main alanı - kaydırma için */
  .projeler-main {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Hero sabit kalsın, liste kayabilsin */
  .proje-hero {
    flex-shrink: 0;
  }

  .proje-liste {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ============================================================
   ÇOK KÜÇÜK MOBİL (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  .proje-hero {
    height: 110px;
  }

  .proje-hero-badge {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 4px;
  }

  .proje-hero-line {
    width: 22px;
    height: 2px;
    margin-bottom: 6px;
  }

  .proje-hero-kicker {
    font-size: 16px;
    letter-spacing: 0.5px;
  }

  .proje-hero-content h1 {
    font-size: 20px;
    line-height: 1.3;
  }

  .proje-filter-btn {
    font-size: 11px;
    padding: 4px 12px;
    border-width: 1.5px;
  }

  /* Tablo 3 Sütun - Satır arası boşluk */
  .proje-table {
    border-spacing: 0 14px; /* Daha küçük ekran için boşluk */
  }

  .proje-row td {
    padding: 10px 6px;
  }

  .proje-col-image {
    width: 30%;
    max-width: 30%;
    min-width: 30%;
    padding-left: 6px !important;
    padding-right: 4px !important;
  }

  .proje-image-wrap {
    max-width: 120px;
    height: 85px;
    border-radius: 8px;
  }

  .proje-status {
    font-size: 7px;
    padding: 1px 8px;
    top: 4px;
    right: 4px;
    border-radius: 10px;
  }

  .proje-col-info {
    width: 46%;
    max-width: 46%;
    min-width: 46%;
  }

  .proje-kod {
    font-size: 10px;
  }

  .proje-ad {
    font-size: 15px;
  }

  .proje-ozet {
    font-size: 11px;
  }

  .proje-meta-mobile .proje-lokasyon,
  .proje-meta-mobile .proje-teslim {
    font-size: 10px;
  }

  .proje-meta-mobile .proje-lokasyon i,
  .proje-meta-mobile .proje-teslim i {
    font-size: 9px;
    width: 12px;
  }

  .proje-col-action {
    width: 24%;
    max-width: 24%;
    min-width: 24%;
    padding-right: 6px !important;
  }

  .proje-incele-btn .btn-icon {
    width: 38px;
    height: 38px;
    border-width: 1.5px;
  }

  .proje-incele-btn .btn-icon i {
    font-size: 14px;
  }

  .proje-incele-btn .btn-text {
    font-size: 10px;
  }

  .proje-liste {
    padding: 12px 12px 0px;
  }
}

/* ============================================================
   ÇOK KÜÇÜK MOBİL (max-width: 380px)
   ============================================================ */
@media (max-width: 380px) {
  .proje-table {
    border-spacing: 0 12px; /* En küçük ekran için boşluk */
  }

  .proje-col-image {
    width: 28%;
    max-width: 28%;
    min-width: 28%;
  }

  .proje-image-wrap {
    max-width: 95px;
    height: 70px;
  }

  .proje-col-info {
    width: 44%;
    max-width: 44%;
    min-width: 44%;
  }

  .proje-ad {
    font-size: 13px;
  }

  .proje-ozet {
    font-size: 10px;
  }

  .proje-meta-mobile .proje-lokasyon,
  .proje-meta-mobile .proje-teslim {
    font-size: 9px;
  }

  .proje-col-action {
    width: 28%;
    max-width: 28%;
    min-width: 28%;
  }

  .proje-incele-btn .btn-icon {
    width: 34px;
    height: 34px;
  }

  .proje-incele-btn .btn-icon i {
    font-size: 12px;
  }

  .proje-incele-btn .btn-text {
    font-size: 9px;
  }
}

/* ============================================================
   EKSTRA: HERO İLE TABLO ARASI HİZA (sol yaslama)
   ============================================================ */
.proje-hero-content,
.proje-liste-container {
  padding-left: 60px;
  padding-right: 60px;
}

@media (max-width: 1024px) {
  .proje-hero-content,
  .proje-liste-container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 850px) {
  .proje-hero-content,
  .proje-liste-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .proje-hero-content,
  .proje-liste-container {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* ============================================================
   MOBİL: CONTACT STRIP VE FOOTER DÜZENİ
   ============================================================ */
@media (max-width: 850px) {
  /* Proje listesinden sonra contact strip gelsin */
  .projeler-main {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .proje-liste {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
  }

  .proje-liste-container {
    padding-bottom: 16px;
  }

  .contact-strip-mobile {
    margin-top: 0;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
  }

  .site-footer {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
  }

  /* Body düzeni - tam ekran mobil kaydırma */
  body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
  }

  .site-header {
    flex-shrink: 0;
  }

  .projeler-main {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}