/* ==========================================================================
   PAGE.CSS — WESPENNESTVERWIJDEREN.NL
   Gedeelde page-level styles voor subpagina's
   ========================================================================== */

/* ========== HERO SUBPAGE ========== */
.hero-sub {
  position: relative;
  padding: var(--space-2xl) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.hero-sub::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.6) 100%);
  z-index: 1;
}

.hero-sub .container {
  position: relative;
  z-index: 2;
}

.hero-sub h1 {
  color: #fff;
  margin-bottom: var(--space-sm);
}

.hero-sub p {
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
  max-width: 600px;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  padding: var(--space-md) 0;
  font-size: 0.875rem;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  color: var(--color-text-light);
}
.breadcrumb li + li::before {
  content: '\203A';
  margin: 0 var(--space-sm);
  color: var(--color-text-light);
}
.breadcrumb a {
  color: var(--color-text);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--color-accent);
}
.breadcrumb [aria-current="page"] {
  color: var(--color-text-light);
}

/* ========== CONTENT SECTION ========== */
.content-section {
  padding: var(--space-2xl) 0;
}
.content-section:nth-child(even) {
  background: var(--color-bg-alt);
}
.content-section h2 {
  margin-bottom: var(--space-md);
}
.content-section h3 {
  margin-bottom: var(--space-sm);
  margin-top: var(--space-lg);
}
.content-section p,
.content-section li {
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}
.content-section ul {
  padding-left: 1.5rem;
  margin-bottom: var(--space-md);
  list-style: disc;
}

/* ========== CONTENT BLOCK (tekst + foto) ========== */
.content-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
  margin-bottom: var(--space-lg);
}
@media (min-width: 768px) {
  .content-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
  }
}
.content-block__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.content-block__img img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

/* ========== DIENST DETAIL CARDS ========== */
.dienst-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.dienst-detail-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .dienst-detail-card {
    grid-template-columns: 300px 1fr;
  }
  .dienst-detail-card:nth-child(even) {
    direction: rtl;
  }
  .dienst-detail-card:nth-child(even) > * {
    direction: ltr;
  }
}

.dienst-detail-card__img {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
}

.dienst-detail-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dienst-detail-card h3 {
  margin-bottom: var(--space-sm);
}

.dienst-detail-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.dienst-detail-card ul {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.dienst-detail-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.dienst-detail-card li svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ========== CONTACT GRID ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.contact-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.contact-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
}

.contact-card h3 {
  margin-bottom: var(--space-sm);
}

.contact-card p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.contact-card .btn {
  width: 100%;
}

/* ========== OVER ONS TEAM ========== */
.team-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

@media (min-width: 768px) {
  .team-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-stat {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
}

.team-stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.team-stat__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ========== PHOTO GRID ========== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

@media (min-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.3s;
}

.photo-grid img:hover {
  transform: scale(1.03);
}
