/* Proje detay sayfası (projeler/detail.php) — Next.js derlemesindeki dondurulmuş
   Tailwind paketinde bulunmayan sınıflar yerine burada düz CSS kullanılır. */

.proje-detay-geri {
  display: block;
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid #2a2a2a;
}
.proje-detay-geri:hover {
  color: #fff;
}

/* Hero */
.proje-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.proje-hero__gorsel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proje-hero__golge {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.45));
}
.proje-hero__icerik {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 16px 40px;
}
.proje-hero__durum {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffc64d;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.proje-hero__baslik {
  color: #fff;
  font-weight: 300;
  font-size: 2.25rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.proje-hero__konum {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
}
@media (min-width: 640px) {
  .proje-hero__icerik { padding: 0 24px 56px; }
  .proje-hero__baslik { font-size: 3.5rem; }
}
@media (min-width: 1024px) {
  .proje-hero__icerik { padding: 0 32px 64px; }
  .proje-hero__baslik { font-size: 4.5rem; }
}

/* Yapışkan alt menü */
.proje-subnav {
  position: sticky;
  top: 56px;
  z-index: 20;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #2a2a2a;
  overflow-x: auto;
}
@media (min-width: 640px) {
  .proje-subnav { top: 64px; }
}
.proje-subnav__list {
  display: flex;
  gap: 4px;
  padding: 0 16px;
  max-width: 1280px;
  margin: 0 auto;
  white-space: nowrap;
}
.proje-subnav__link {
  display: inline-block;
  padding: 16px 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.proje-subnav__link:hover {
  color: #fff;
}

/* Bölümler */
.proje-bolum {
  padding: 64px 0;
  border-bottom: 1px solid #1c1c1c;
  scroll-margin-top: 110px;
}
.proje-bolum:last-of-type { border-bottom: none; }
.proje-bolum__baslik {
  color: #fff;
  font-weight: 300;
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0 0 24px;
}
.proje-bolum__metin {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 100%;
  white-space: pre-line;
}

/* Proje özellikleri */
.proje-ozellik-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) {
  .proje-ozellik-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .proje-ozellik-grid { grid-template-columns: repeat(5, 1fr); }
}
.proje-ozellik-kutu {
  border: 1px solid #2a2a2a;
  background: #0f0f0f;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}
.proje-ozellik-kutu__sayi {
  color: #ffc64d;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}
.proje-ozellik-kutu__etiket {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Harita */
.proje-harita {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  background: #0f0f0f;
}
.proje-harita iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Galeri */
.proje-galeri-sekmeler {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #0f0f0f;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  margin-bottom: 24px;
}
.proje-galeri-sekme {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.proje-galeri-sekme.aktif {
  background: #ffc64d;
  color: #111;
}
.proje-galeri-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .proje-galeri-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
.proje-galeri-foto {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid #2a2a2a;
  background: #0f0f0f;
}
.proje-galeri-foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}
.proje-galeri-foto:hover img {
  transform: scale(1.08);
}
.proje-galeri-bos {
  color: rgba(255, 255, 255, 0.4);
}

/* Lightbox */
.proje-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.proje-lightbox.acik {
  display: flex;
}
.proje-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}
.proje-lightbox__kapat {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 0;
  font-size: 20px;
  cursor: pointer;
}
.proje-lightbox__kapat:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Sizi Arayalım formu */
.proje-form-sarmal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  .proje-form-sarmal { grid-template-columns: 1fr 1fr; }
}
.proje-form {
  border: 1px solid #2a2a2a;
  background: #0f0f0f;
  border-radius: 16px;
  padding: 24px;
}
.proje-form__alan {
  margin-bottom: 16px;
}
.proje-form__alan label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}
.proje-form__alan input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #2a2a2a;
  background: #000;
  color: #fff;
  font-size: 15px;
  box-sizing: border-box;
}
.proje-form__alan input:focus {
  outline: none;
  border-color: #ffc64d;
}
.proje-form__gonder {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 0;
  background: #ffc64d;
  color: #111;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.proje-form__gonder:hover {
  background: #ffd97a;
}
.proje-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.proje-form__mesaj {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
}
.proje-form__mesaj.basarili {
  background: rgba(62, 207, 142, 0.12);
  border: 1px solid rgba(62, 207, 142, 0.3);
  color: #6fe3ab;
}
.proje-form__mesaj.hata {
  background: rgba(229, 72, 77, 0.12);
  border: 1px solid rgba(229, 72, 77, 0.3);
  color: #f29a9d;
}
.proje-form-telefon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.proje-form-telefon p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}
.proje-form-telefon a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 14px 24px;
  border-radius: 8px;
  background: rgba(255, 198, 77, 0.1);
  border: 1px solid rgba(255, 198, 77, 0.25);
  color: #ffc64d;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.proje-form-telefon a:hover {
  background: rgba(255, 198, 77, 0.18);
}
