.hero-loader {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 99999 !important;
  background-color: rgb(3, 3, 3) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  display: block !important; /* ← BU ÇOK ÖNEMLİ! */
}

.hero-loader::before {
  display: none !important;
}

.detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.detail-topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  opacity: 0.9;
}

/* =========================
   HERO
========================= */
.project-detail-hero {
  padding: 40px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.breadcrumb a {
  text-decoration: none;
}

/* Text üstte – kapak altta */
.detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* =========================
   HERO COVER (WIDE + SPACE)
========================= */
.detail-hero-grid .detail-cover {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 24px;
  overflow: hidden;
}

.detail-hero-grid .detail-cover img {
  width: 100%;
  height: auto;
  min-height: 520px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

/* =========================
   HERO TEXT
========================= */
.detail-title {
  margin-bottom: 12px;
}

.detail-subtitle {
  max-width: 760px;
  opacity: 0.9;
}

/* =========================
   META PILLS
========================= */
.detail-meta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.detail-pill {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 16px;
}

.detail-pill-label {
  font-size: 12px;
  opacity: 0.65;
  margin-bottom: 6px;
}

.detail-pill-value {
  font-size: 16px;
  font-weight: 600;
}

/* =========================
   CTA ROW
========================= */
.detail-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.detail-secondary-link {
  text-decoration: none;
  opacity: 0.85;
}

/* =========================
   PHOTO SECTIONS
========================= */
.detail-section-wrap {
  padding: 10px 0 90px;
}

.photo-section {
  padding: 40px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.photo-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.photo-section-title {
  margin: 0;
}

.photo-section-subtitle {
  margin: 0;
  opacity: 0.75;
}


/* =========================
   PHOTO GRID
========================= */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.photo-item {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.photo-item img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.photo-grid-2 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 18px;
}



.photo-item-2 {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.photo-item-2 img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;

}
.photo-item-3 {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.photo-item-3 img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.photo-item-4{
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.photo-item-4 img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;

}
.photo-item-5 {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.photo-item-5 img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;

}


.photo-item:hover img {
  transform: scale(1.05);
}

/* =========================
   BOTTOM CTA
========================= */
.detail-bottom-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* =========================
   FOOTER
========================= */
.detail-footer {
  padding: 26px 0;
}

.detail-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* gap: 14px; */
  flex-wrap: wrap;
  flex-direction: column;
}

.detail-footer-text {
  margin: 0;
}

/* =========================
   RESPONSIVE
========================= */

/* Tablet */
@media (max-width: 991px) {
  .project-detail-hero {
    padding: 40px 0;
  }

  .detail-meta-row {
    grid-template-columns: 1fr 1fr;
  }

  .detail-hero-grid .detail-cover {
    width: calc(100vw - 64px);
    border-radius: 20px;
  }

  .detail-hero-grid .detail-cover img {
    min-height: 420px;
    border-radius: 20px;
  }

  .photo-item img {
    height: 340px;
  }
}

/* Mobile */
@media (max-width: 479px) {
  .detail-meta-row {
    grid-template-columns: 1fr;
  }

  .detail-hero-grid .detail-cover {
    width: calc(100vw - 32px);
    border-radius: 18px;
  }

  .detail-hero-grid .detail-cover img {
    height: 420px;
    object-fit: cover;
    border-radius: 18px;
  }

  /* 🔥 FOTO GALERİ: MOBİLDE 2'Lİ GRID */
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px; /* istersen ayarla */
  }

  .photo-item img {
    height: 180px; 
    object-fit: cover;
  }
  .photo-item-2 img {
    height: 220px; 
    object-fit: cover;
  }
}
