/* ========== Kleuren & Basisvariabelen ========== */
:root {
  --primary: #007bff;
  --primary-hover: #0056b3;
  --text-dark: #343a40;
  --text-muted: #4b5563;
  --heading-dark: #1e293b;
  --light-bg: #f4f4f4;
  --white: #fff;
  --shadow-sm: 0 8px 15px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 12px 20px rgba(0, 0, 0, 0.15);
  --navbar-dark: #111; /* Zeer donker, bijna zwart */
  --dropdown-dark: #222;
}

/* ========== Algemene Body-Styling ========== */
body {
  font-family: 'Poppins', sans-serif;
  margin-top: 55px;
  background-color: var(--light-bg);
  color: var(--text-dark);
}

/* ========== Typografie & Titels ========== */
.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 3rem;
  text-align: center;
  letter-spacing: -0.02em;
}

/* ========== Header (Gebruikt voor Hero-achtige secties) ========== */
.header-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 1rem;
  animation: fadeInUp 1s ease-in-out both;
}
.header-content h1 {
  font-size: 3.2rem;
  margin-bottom: 0.5rem;
}
.header-content h2 {
  font-size: 1.8rem;
  font-weight: 500;
  color: #cbd5e1;
}
.header-content p {
  font-size: 1.1rem;
  color: #e2e8f0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Navigatie ========== */
.custom-navbar {
  background-color: var(--navbar-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.custom-navbar .navbar-brand,
.custom-navbar .nav-link {
  color: var(--white) !important;
  font-size: 1rem;
}
.custom-navbar .navbar-brand {
  font-weight: 400;
  letter-spacing: 1px;
}
.custom-navbar .nav-link {
  margin: 0 12px;
  transition: color 0.3s ease;
}
.custom-navbar .nav-link:hover,
.custom-navbar .dropdown-item:hover {
  color: #bbb !important;
}
.custom-navbar .nav-link.active {
  /* Matcht de afbeelding: geen underline, maar bold/wit is al voldoende in de HTML */
  font-weight: bold; 
}
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}
.navbar-toggler-icon {
  /* Standaard Bootstrap icon, dit werkt op de meeste setups */
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== Dropdown Menu ========== */
.dropdown-dark {
  background-color: var(--dropdown-dark);
  border: none;
  border-radius: 0;
}
.dropdown-dark .dropdown-item {
  color: var(--white);
  font-size: 1.05rem;
}
.dropdown-dark .dropdown-item:hover {
  background-color: #333;
  color: #ddd;
}

/* ========== Hero Section ========== */
.hero-section {
  position: relative;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
}

/* ========== Particles Header (indien gebruikt) ========== */
#particles-header {
  position: relative;
  height: 300px;
  background-color: black;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#particles-js {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#particles-header h1 {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  font-weight: bold;
}

/* ========== Kaarten (Services, Projecten) ========== */
.card,
.service-card {
  border: none;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover,
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.card-body {
  padding: 2rem;
}
.card-title {
  font-size: 1.5rem;
  color: #2563eb;
  margin-bottom: 1rem;
}
.card-text {
  color: var(--text-muted);
  line-height: 1.7;
}
.card-footer.bg-transparent.border-top-0 {
  display: flex;
  justify-content: left;
  padding: 0.75rem 2rem;
}

/* ========== Afbeeldingen ========== */
.fixed-height-img,
.project-image {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.fixed-height-img {
  height: 200px;
}
.project-image {
  height: 400px;
  transition: transform 0.3s ease-in-out;
}
.project-image:hover {
  transform: scale(1.03);
}
.about-img {
  max-width: 75%;
  height: auto;
}

/* ========== Knoppen ========== */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: 10px;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease-in-out;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: scale(1.05);
}

/* ========== Layout Helpers ========== */
#overmij .col-md-7,
#overmij .col-md-5 {
  margin-bottom: 0;
}
.col-md-6 {
  margin-bottom: 2.5rem;
}
.boxvoorspul {
  display: flex;
  justify-content: space-between;
}
.naarrechts {
  text-align: right;
}

/* ========== Niet-Interactieve Elementen ========== */
.raak {
  user-select: none;
  pointer-events: none;
}

/* Custom styling voor de contactkaart (om de achtergrond van de kaart te matchen met de afbeelding) */
.card {
    background-color: var(--white); 
}
/* Stijl de container om de top padding te geven voor de vaste navbar */
.container.mt-5.mb-5 {
    padding-top: 5rem; 
}