/* ============================================================
   Villakent Proje Detay Sayfası
   ============================================================ */

/* ── Project Hero ─────────────────────────────────────────── */
.prj-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}
.prj-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 40%;
  opacity: 0.28;
  transform: scale(1.03);
}
.prj-hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 140px 24px 80px;
}
.prj-back {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
  transition: color 0.3s ease;
}
.prj-back:hover { color: var(--gold); }

.prj-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0;
}
.prj-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto;
}


/* ── Project Info Bar ─────────────────────────────────────── */
.prj-info-bar {
  background: var(--dark-2);
  border-top: 1px solid rgba(196,148,90,0.18);
  border-bottom: 1px solid rgba(196,148,90,0.18);
  padding: 40px 0;
}
.prj-info-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  text-align: center;
}
.prj-info-item {
  padding: 12px 20px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.prj-info-item:last-child { border-right: none; }

.prj-info-label {
  display: block;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.prj-info-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: rgba(255,255,255,0.85);
}


/* ── Gallery Sections ─────────────────────────────────────── */
.vk-section { background: var(--white); }
.vk-dark { background: var(--dark); }

.vk-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.vk-gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.vk-gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
}
.vk-gallery-item:hover::after {
  background: rgba(0,0,0,0.15);
}

.vk-gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.vk-gallery-item:hover img {
  transform: scale(1.05);
}

.vk-wide {
  grid-column: span 2;
}
.vk-wide img {
  height: 340px;
}


/* ── CTA Section ──────────────────────────────────────────── */
.vk-cta {
  background: var(--bg-light);
}


/* ── Lightbox ─────────────────────────────────────────────── */
.vk-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.vk-lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.vk-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: default;
}
.vk-lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none; border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
  z-index: 2001;
}
.vk-lightbox-close:hover { color: var(--gold); }


/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .prj-info-grid { grid-template-columns: repeat(2,1fr); }
  .prj-info-item:nth-child(2) { border-right: none; }
  .prj-info-item:nth-child(3),
  .prj-info-item:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .vk-gallery { grid-template-columns: repeat(2,1fr); }
  .vk-wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .prj-hero { min-height: 55vh; }
  .prj-hero-content { padding: 120px 20px 60px; }

  .prj-info-grid { grid-template-columns: 1fr 1fr; }

  .vk-gallery { grid-template-columns: 1fr 1fr; }
  .vk-wide { grid-column: span 2; }
  .vk-gallery-item img { height: 200px; }
  .vk-wide img { height: 240px; }
}

@media (max-width: 480px) {
  .vk-gallery { grid-template-columns: 1fr; }
  .vk-wide { grid-column: span 1; }
  .vk-gallery-item img,
  .vk-wide img { height: 220px; }
  .prj-info-grid { grid-template-columns: 1fr; }
  .prj-info-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .prj-info-item:last-child { border-bottom: none; }
}
