.hero {
    background: #fff;
    /* of: background: url('../images/hero-bg.jpg') center/cover no-repeat; */
    padding: 2rem 0;
  }
  
  .hero .hero-logo img {
    max-width: 200px;
  }
  
  .hero h1 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #222;
  }
  
  .hero p {
    color: #555;
  }
  
  .hero-icons i {
    color: #007bff;
  }
  
  .hero-photo {
    position: relative;
    background: url('/static/images/hero-background.jpg') center/cover no-repeat;
    height: 100vh; /* of min-height: 600px; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
  }
  
  .hero-photo .hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5); /* 50% zwart overlay */
    pointer-events: none;
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
  }
  
  /* Eventueel: hero-icons wit maken zonder aparte kleur */
  .hero-photo .hero-icons i {
    color: #fff;
  }
  
  

  section {
    /* Uniforme padding */
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .bg-light {
    background-color: #f8f9fa !important;
  }
  
  .card {
    border: none;
    border-radius: .5rem;
    overflow: hidden;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .card-title {
    font-size: 1.25rem;
    font-weight: 600;
  }
  
  .card-text {
    color: #555;
  }

  /* DIENSTEN */
  .diensten {
    background-color: #f5f7f6;
    padding: 100px 0;
    position: relative;
  }

  .diensten h2 {
    text-align: center;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #3e3a31;
    text-transform: uppercase;
  }

  .card {
    border: none;
    transition: all 0.4s ease;
    transform: translateY(0);
  }

  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  /* OVER ONS */
  .over-ons {
    background-color: #fff;
    background: url("/static/images/cta-bg.jpg") center/cover no-repeat;
    padding: 100px 0;
    position: relative;
    color: white;
  }

  .overons-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}


  .over-ons h2 {
    color: #fafafa;
    font-weight: 600;
    text-transform: uppercase;
  }

  .over-ons img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  

  /* CTA SECTION */
.cta-section {
    position: relative;
    padding: 120px 0;
    background: url("/static/images/cta-bg.jpg") center/cover no-repeat;
    color: white;
    text-align: center;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.cta-content {
    position: relative;
    z-index: 5;
}

/* Title */
.cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Rotating animated words */
.cta-rotate {
    display: inline-block;
    height: 55px;
    overflow: hidden;
    vertical-align: bottom;
    position: relative;
}

.cta-rotate span {
    display: block;
    animation: rotateWords 8s infinite;
    font-weight: 700;
}

/* Each span appears for 2 seconds 
.cta-rotate span:nth-child(1) { animation-delay: 0s; }
.cta-rotate span:nth-child(2) { animation-delay: 2s; }
.cta-rotate span:nth-child(3) { animation-delay: 4s; }
.cta-rotate span:nth-child(4) { animation-delay: 6s; }
*/

@keyframes rotateWords {
    /* 1. Tekst 1: renoveren? (0% - 22.5%) */
    0% { transform: translateY(0); }
    22.5% { transform: translateY(0); }

    /* 2. Tekst 2: je tuin aanleggen? (25% - 47.5%) */
    25% { transform: translateY(-100%); }
    47.5% { transform: translateY(-100%); }

    /* 3. Tekst 3: een zwembad laten bouwen? (50% - 72.5%) */
    50% { transform: translateY(-200%); }
    72.5% { transform: translateY(-200%); }

    /* 4. Tekst 4: herstellingen laten uitvoeren? (75% - 97.5%) */
    75% { transform: translateY(-300%); }
    97.5% { transform: translateY(-300%); }

    /* Spring terug naar boven voor de volgende loop */
    100% { transform: translateY(0); }
}

/* Subtitle */
.cta-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Button */
.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: #ffffff;
    color: #000;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background: #f1f1f1;
    transform: translateY(-3px);
}

/* Fade-in animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s forwards ease-out;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* CONTACT */
.contact {
    background: #f5f7f6;
    padding: 100px 0;
  }

  .contact h2 {
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
  }

  .form-control, .btn-light {
    border-radius: 8px;
  }

  footer {
    background-color: #f8f9fa;
    padding: 2rem 0;
    text-align: center;
    margin-top: 0;
  }

  .lang-select {
          border: none;
          background: transparent;
          font-weight: 500;
          color: #333;
      }
      .lang-select:hover {
          color: #4caf50;
      }

  /* Animaties */
  .fade-in {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: none;
  }

  .slide-in-left {
    transform: translateX(-60px);
  }

  .slide-in-right {
    transform: translateX(60px);
  }

  .slide-in-up {
    transform: translateY(40px);
  }
