/* ============================================
   EW-G Elektriciteitswerken - Responsive CSS
   ============================================ */

/* ============================================
   GROOT SCHERM (1200px+)
   ============================================ */
@media (min-width: 1200px) {
  .about-company-two .tekst-blok { padding-left: 60px; }
}

/* ============================================
   MEDIUM-GROOT (992px - 1199px)
   ============================================ */
@media (min-width: 992px) and (max-width: 1199px) {
  #theme-main-banner .camera_caption h1 { font-size: 58px; }
  .header-two .theme-menu-wrapper .bg-wrapper { padding-left: 140px; }
  .about-company-two .tekst-blok { padding-left: 30px; }
}

/* ============================================
   TABLET EN KLEINER (991px en minder)
   ============================================ */
@media (max-width: 991px) {
  .section-spacing { margin-bottom: 70px; }

  /* Header menu mobiel */
  .header-two .theme-menu-wrapper .bg-wrapper {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between !important;
    padding: 0 15px;
  }
  .header-two .theme-menu-wrapper .bg-wrapper .logo {
    position: static !important;
    transform: none !important;
    float: none !important;
  }
  .header-two .theme-menu-wrapper .bg-wrapper .menu-wrapper {
    position: static !important;
    width: auto !important;
    float: none !important;
  }
  .header-two .theme-menu-wrapper .right-widget ul li { line-height: 70px; }
  .header-two #mega-menu-holder > ul > li > a { padding-top: 0; padding-bottom: 0; }
  .header-two #mega-menu-holder > ul > li.active > a:after { display: none; }
  .header-two .collapse-button .icon-bar { background: var(--kleur-primair); }
  .header-two .menu-collapser { margin: 12px 0; }

  /* Hero */
  #theme-main-banner .camera_caption h1 { font-size: 28px; }
  .meraba { height: 200px !important; }

  /* Stats balk */
  .stats-balk .stat-item { margin-bottom: 20px; }

  /* About pagina */
  .about-company-two { padding: 60px 0; }
  .about-company-two .tekst-blok { padding-left: 0; margin-top: 30px; }
  .about-company-two .ervarings-badge { right: 0; }
  .about-company-two .foto-wrapper img { height: 350px; }

  /* Why we best */
  .why-we-best,
  .why-we-best .overlay { height: auto; }
  .why-we-best .overlay { padding: 60px 0; }
  .why-we-best .wrapper .img-box {
    height: 250px;
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .why-we-best .wrapper .best-list-item {
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 40px 20px;
  }
  .why-we-best { margin-bottom: 200px; }

  /* Contact pagina */
  .contact-us-section .contactinfo-blok {
    padding-right: 0;
    margin-bottom: 40px;
  }

  /* Footer */
  .theme-footer-two { padding-top: 36px; }
  .theme-footer-two .top-footer [class*="col-"] { margin-bottom: 28px; }
  .theme-footer-two .bottom-footer { margin-top: 6px; }
}

/* ============================================
   TABLET PORTRET (768px - 991px)
   ============================================ */
@media (min-width: 768px) and (max-width: 991px) {
  #theme-main-banner { height: 50vh !important; }
  .our-solution .single-solution-block { margin-top: 20px; }
}

/* ============================================
   MOBIEL (767px en minder)
   ============================================ */
@media (max-width: 767px) {
  h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  .theme-title-one h2 { font-size: 28px; }

  /* Hero */
  .meraba { height: 250px !important; min-height: 250px !important; max-height: 250px !important; }
  #theme-main-banner .camera_caption p {
    font-size: 10px;
    letter-spacing: 0.15em;
    margin-bottom: 6px !important;
  }
  #theme-main-banner .camera_caption h1 {
    font-size: 16px !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
    white-space: normal;
  }
  #theme-main-banner .camera_caption h1 br { display: none; }

  /* Navigation */
  .header-two .top-header,
  .header-two .top-header .social-icon { text-align: center; }
  .header-two .top-header .left-widget li { margin: 0 6px; }
  .header-two .top-header .social-icon li { margin: 8px 5px 0; }

  /* Sections */
  .section-spacing { margin-bottom: 55px; }
  .our-solution { padding: 60px 0; }
  .contact-us-section { padding: 60px 0; }
  .projecten-grid { padding: 60px 0; }
  .about-company-two { padding: 55px 0; }

  /* Contact form */
  .contact-us-section .form-wrapper { padding: 30px 20px; }

  /* Why we best */
  .why-we-best .wrapper .best-list-item li { padding-left: 60px; }
  .why-we-best { margin-bottom: 160px; }

  /* Footer */
  .theme-footer-two .logo-widget .social-icon { justify-content: center; }
  .theme-footer-two .top-footer .title { text-align: center; }
  .theme-footer-two .top-footer .footer-list ul { text-align: center; }
}

/* ============================================
   KLEIN MOBIEL (575px en minder)
   ============================================ */
@media (max-width: 575px) {
  /* Hero */
  .meraba { height: 360px !important; min-height: 360px !important; max-height: 360px !important; }
  #theme-main-banner .camera_caption h1 {
    font-size: 24px !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
    white-space: normal;
  }
  #theme-main-banner .camera_caption h1 br { display: none; }

  /* Stats */
  .stats-balk .stat-item { margin-bottom: 16px; }
  .stats-balk .stat-getal { font-size: 34px; }

  /* Cards */
  .our-solution .single-solution-block { padding: 28px 20px; }
  .why-we-best .wrapper .best-list-item { padding: 35px 15px; }

  /* Succes/fout melding */
  #success, #error {
    width: 88%;
    left: 6%;
    padding: 30px 15px;
    border-radius: var(--radius);
  }

  /* Modal */
  .modal-content { padding: 28px 20px; }

  /* Footer */
  .theme-footer-two .bottom-footer p { font-size: 11px; }
}

/* ============================================
   ANIMATIES
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeIn 0.6s ease forwards;
}