/* OVERMIJ.CSS - VOLLEDIGE, SCHONE VERSIE - 100% BREEDTE */
/* ISOLERD - GEBRUIKT JE ROOT VARIABELEN */

.overmij-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem; /* Minimaal - past bij je site */
  width: 100%;
}

.overmij {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--kleur-achtergrond) 0%, #f5f5f0 100%);
  min-height: 80vh;
  width: 100%;
}

.overmij-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 2.5rem 2rem 0;
}

.overmij-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

.overmij-text h2 {
  font-size: 2.5rem;
  color: var(--kleur-basis);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.overmij-text p {
  color: #555;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.feature-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 4px solid var(--kleur-basis);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--kleur-basis);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  overflow: hidden;
}

.feature-icon .feature-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.feature-card h3 {
  color: var(--kleur-basis);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.cta-overmij {
  display: inline-block;
  background: var(--kleur-knop);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 2rem;
  box-shadow: 0 4px 15px rgba(160,82,45,0.3);
}

.cta-overmij:hover {
  background: var(--kleur-knop-secondair);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(160,82,45,0.4);
}

/* PROFIELFOTO */
.overmij-foto-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
}

.foto-frame {
  width: 280px;
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  border: 5px solid white;
  background: var(--kleur-achtergrond);
  position: relative;
  line-height: 0;
}

.profile-foto {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.foto-frame:hover .profile-foto {
  transform: scale(1.05);
}

.foto-caption {
  text-align: center;
  font-style: italic;
  color: #666;
  font-size: 0.95rem;
}

/* DESKTOP: FOTO RECHTS */
@media (min-width: 769px) {
  .overmij-container {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }
  
  .overmij-foto-section {
    justify-self: end;
  }
}

/* MOBIEL: FOTO BOVENAAN, GECENTREERD */
@media (max-width: 768px) {
  .overmij-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding: 0 1rem;
  }
  
  .overmij-text h2 {
    font-size: 2rem;
  }
  
  .overmij-foto-section {
    order: -1;
    margin-bottom: 2rem;
    width: 100%;
    justify-self: center;
  }
  
  .foto-frame {
    width: 250px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1rem;
  }
  
  .overmij-wrapper {
    padding: 0 1rem;
  }
}

/* SMAL MOBIEL */
@media (max-width: 480px) {
  .foto-frame {
    width: 220px;
    max-width: 100%;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    padding: 0 0.5rem;
  }
  
  .overmij {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .overmij-wrapper {
    padding: 0;
  }
}
