/* ── Subpage Hero ── */
.subpage-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 280px;
  padding-bottom: 90px;
  padding-left: 5vw;
  padding-right: 5vw;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: 
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(23, 184, 174, 0.16) 0%, transparent 80%),
    linear-gradient(180deg, rgba(7, 11, 17, 0.85) 0%, var(--void) 100%),
    url('../img/mantabin-1.png');
  background-size: cover;
  background-position: center;
}

.subpage-hero h1 {
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.subpage-hero .hero-subtitle {
  font-size: 15px;
  color: var(--teal);
  font-family: 'Outfit', sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0;
}

/* ── Project Sections ── */
.project-section {
  padding: 80px 5vw 100px;
  max-width: 1440px;
  margin: 0 auto;
}

.project-section .section-head {
  max-width: 100%;
  margin-bottom: 48px;
}

.project-section .section-head h2,
.kizilay-section .section-head h2 {
  text-transform: none;
  line-height: 1.3;
  white-space: nowrap;
}

.project-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.project-text p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.project-text .highlight-text {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
}

.mantabin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--teal);
  color: var(--teal) !important;
  padding: 12px 28px;
  font-family: 'Outfit', sans-serif !important;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none !important;
  margin-top: 20px;
}

.mantabin-btn:hover {
  background: var(--teal);
  color: var(--void) !important;
  box-shadow: 0 0 24px rgba(23, 184, 174, 0.25);
}

/* ── Video ── */
.video-container {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  background: #000;
}

.video-container video {
  width: 100%;
  display: block;
  border-radius: 14px;
}

/* ── Gallery ── */
.project-gallery {
  margin-top: 60px;
}

.project-gallery h3 {
  font-size: 17px;
  font-family: 'Outfit', sans-serif !important;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  margin-bottom: 28px;
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gallery-image-box {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  aspect-ratio: 4 / 3;
  background: rgba(19, 28, 38, 0.25);
}

.gallery-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-image-box:hover img {
  transform: scale(1.05);
}

/* ── Kızılay ── */
.kizilay-section {
  padding: 80px 5vw 100px;
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.kizilay-section .section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.kizilay-card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.kizilay-card-wrapper .cert-card {
  max-width: 420px;
  width: 100%;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .project-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .subpage-hero {
    padding-top: 200px;
  }
}

@media (max-width: 580px) {
  .subpage-hero h1 {
    font-size: 28px;
  }
  .subpage-hero {
    padding-top: 160px;
    padding-bottom: 60px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
