:root {
    --primary: #2C3E50;
    --secondary: #3498DB;
    --light-bg: #e6e8ffcf;
    --white: #fff;
    --text-dark: #333;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

body {
  background: 
    url('achtergrond.png') no-repeat center center fixed; /* jouw bestandsnaam hier */
  background-size: cover;
  background-attachment: fixed;
  background-color: #e6e8ffcf; /* fallback voor langzaam ladende achtergrond */
  font-family: 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.1;
  min-height: 130vh;
  margin: 0;
}

.top-div, .bottom-div {
  width: 100%;
  text-align: center;
  padding: 40px 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-size: 1.2rem;
  font-weight: 500;
}

/* ====== Slider ====== */
.slider-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.slider {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 250px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
  text-align: center;
  padding: 10px;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
}

.slide h1 {
  margin-bottom: 10px;
  font-size: 2rem;
  color: #333;
}

.slide p {
  font-size: 1.1rem;
  color: #666;
}

/* Optioneel: fade overlay effect */
.slider::before, .slider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0px;
  z-index: 2;
  pointer-events: none;
}

.slider::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0));
}

.slider::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
}

.site-header {
    background: var(--primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
    height: auto;
}

.nav-links a:hover {
    color: var(--secondary);
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: var(--white);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    background: linear-gradient(to right, var(--secondary), #5DADE2);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
    border-radius: var(--radius);
    margin: 20px auto;
    box-shadow: var(--shadow);
    max-width: 1100px; 
}

.hero h1 {
    font-size: 3rem;
}

.hero p {
    font-size: 1.25rem;
}

.hero span {
    color: #6c6b67;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px 20px;
}

.card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    width: 280px; 
    text-align: center; 
}

.cards-dienst {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 20px;
}

.card-dienst {
    background: var(--white);
    padding: 10px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    width: 220px; 
    text-align: center; 
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.info-container {
  display: flex;
  align-items: center;
  max-width: 800px;
  margin: 40px auto;
  gap: 30px;
  text-align: left;
}

.divider {
  width: 3px;                   
  height: 80%;                
  background-color: var(--secondary); 
  border-radius: 2px;
  min-height: 350px;            
  flex-shrink: 0;               
}

.info-image img {
  width: 250px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.info-text {
  flex: 1;
  color: var(--text-dark);
  font-size: 0.9rem;  
  text-align: right;
}

.info-text h2 {
  color: var(--primary);
  margin-bottom: 12px;
}

.info-text p {
  margin-bottom: 12px;
  text-align: left;
}

.info-block {
    background: var(--white);
    padding: 20px 20px;
    max-width: 800px;
    margin: 40px auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.info-block-dienst {
  background: var(--white);
  padding: 5px 5px;
  max-width: 750px;
  margin: 10px auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;     
  height: 175px;      
}

.info-block h2 {
    margin-bottom: 12px;
    color: var(--primary);
}

.info-block p {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.content-section {
    background: var(--white);
    margin: 20px;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

#contact {
  background: var(--white);
  max-width: 900px;
  margin: 40px auto;
  padding: 30px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: 'Segoe UI', sans-serif;
  color: var(--text-dark);
}

#contact .container.contact-info .row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

#contact .contact-form address {
  font-style: normal;
  line-height: 1.6;
  font-size: 1rem;
  color: var(--primary);
}

#contact .contact-form h3 {
  margin-bottom: 20px;
  color: var(--primary);
}

.col-sm-4, .col-md-4, .col-sm-8, .col-md-8 {
  flex: 1;
  min-width: 280px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="phone"],
.contact-form select,
.contact-form textarea {
  width: 100%;          /* vult de container volledig */
  height: 45px;         /* zelfde hoogte voor alle velden behalve textarea */
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Segoe UI', sans-serif;
  transition: border-color 0.3s ease;
  box-sizing: border-box; /* belangrijk zodat padding bij width hoort */
}

.contact-form textarea {
  height: 120px;        /* groter tekstvak */
  resize: vertical;
}

.contact-form button {
  background: var(--secondary);
  color: var(--white);
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #2E86C1;
}

.site-footer {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 2.5px;

    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
	height: 7,5%;
}


.contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center; /* of left als je wil */
  margin: 20px 0;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: var(--shadow);
  user-select: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.mail-btn {
  background-color: #3498DB;
}

.mail-btn:hover {
  background-color: #2874A6;
}

.phone-btn {
  background-color: #3498DB;
}

.phone-btn:hover {
  background-color: #2874A6;
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--primary);
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        padding: 20px;
        border-radius: var(--radius) 0 0 var(--radius);
        box-shadow: var(--shadow);
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
    .site-footer {
        display: none;
    }
  .info-container {
    flex-direction: column;
    text-align: center;
  }
  .divider {
    display: none;
  }
  .info-text {
    text-align: center;
    font-size: 1rem;
  }
  .info-image img {
    width: 100%;
    max-width: 400px;
    display: none;
  }
    #contact .container.contact-info .row {
    flex-direction: column;
  }
  
  .col-sm-4, .col-md-4, .col-sm-8, .col-md-8 {
    min-width: 100%;
  }
}