/* Centrale project styles voor alle projectpagina's */

.hero-intro {
  max-width: 800px;
  margin: var(--space-4) auto var(--space-12);
}

.hero-quote {
  margin-top: var(--space-4);
  margin-bottom: var(--space-8);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
}

.hero-quote::first-letter {
  text-transform: uppercase;
}

.intro-text {
  font-size: var(--text-lg);
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-top: var(--space-10);
}

.project-images {
  max-width: 800px;
  margin: 0 auto var(--space-16);
}

.image-full {
  width: 100%;
}

.image-full img {
  width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 0;
}

.project-details {
  max-width: 800px;
  margin: var(--space-16) auto 0;
}

.detail-section {
  margin-bottom: var(--space-12);
}

.detail-section h2 {
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: 0;
  color: var(--color-accent);
}

.detail-section p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: var(--space-4);
  text-align: justify;
}

.detail-section p:last-child {
  margin-bottom: 0;
}

.section-with-image {
  max-width: 1200px;
}

.text-image-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-6);
  align-items: start;
}

.side-image {
  margin: 0;
  background: none;
}

.side-image img {
  width: auto;
  height: 370px;
  display: block;
}

.detail-swiper {
  margin-top: var(--space-8);
  padding: var(--space-2) 0 var(--space-8);
}

.detail-swiper .swiper-slide {
  height: auto;
}

.detail-swiper figure {
  margin: 0;
  background: rgba(0, 0, 0, 0.2);
}

.detail-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

:global(.swiper-button-next),
:global(.swiper-button-prev) {
  color: var(--color-accent);
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

:global(.swiper-button-next:hover),
:global(.swiper-button-prev:hover) {
  opacity: 1;
}

:global(.swiper-pagination-bullet) {
  background: var(--color-text-secondary);
  opacity: 0.3;
}

:global(.swiper-pagination-bullet-active) {
  background: var(--color-accent);
  opacity: 1;
}

.tech-image {
  margin: var(--space-8) auto 0;
  max-width: 500px;
  background: rgba(0, 0, 0, 0.2);
}

.tech-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .intro-text {
    font-size: var(--text-base);
  }
  .text-image-split {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}
