/*
Theme Name: Installtech Holland
Theme URI: https://installtechholland.nl/
Author: Installtech Holland
Author URI: https://installtechholland.nl/
Description: Custom WordPress theme voor Installtech Holland
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: installtechholland
*/

html, body {
  overflow-x: hidden;
}
:root {
    --bs-primary: #106eaa !important;
    --bs-danger: #da3c29 !important;
    --bs-secondary: #293639 !important;
  }
  
  .btn-primary,
  .bg-primary,
  .border-primary {
    background-color: #106eaa !important;
    border-color: #106eaa !important;
    color: #fff !important;
  }
  a.text-primary,
  .text-primary {
    color: #003366 !important;
  }
  .text-primary {
    color: #106eaa !important;
  }
  a.text-primary:hover {
    color: #0a4971 !important; /* eventueel iets donkerder voor hover */
  }
  .btn-primary:hover,
  .btn-primary:focus {
    background-color: #293639 !important;
    border-color: #293639 !important;
    color: #fff !important;
  }

  .btn-danger,
.bg-danger,
.border-danger {
  background-color: #da3c29 !important;
  border-color: #da3c29 !important;
  color: #fff !important;
}
a.text-danger,
.text-danger {
  color: #da3c29 !important;
}
a.text-danger:hover,
.text-danger:hover {
  color: #a42a1e !important; /* optioneel: iets donkerder voor hover */
}
  .btn-secondary,
  .bg-secondary,
  .border-secondary {
    background-color: #293639 !important;
    border-color: #293639 !important;
    color: #fff !important;
  }
  a.text-secondary,
  .text-secondary {
    color: #293639 !important;
  }
  a.text-secondary:hover {
    color: #13191a !important;
  }
  .btn-secondary:hover,
.btn-secondary:focus {
  background-color: #106eaa !important;
  border-color: #106eaa !important;
  color: #fff !important;
}

/* projecten section */
/* Project featured layout */
.projecten-featured img {
  object-fit: cover;
  width: 100%;
  max-height: 400px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Project kaarten grid */
.projecten-grid .project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.projecten-grid .project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.projecten-grid .project-card img {
  border-radius: 0;
  height: 160px;
  object-fit: cover;
  width: 100%;
}

.projecten-grid .project-card-title {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem;
  color: var(--bs-secondary);
  text-align: center;
}

.projecten-grid .btn {
  margin-bottom: 1rem;
}

/* CTA button onderaan */
.projecten-cta .btn {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

/* Diensten section */
.dienst-iconbar, .dienst-icoon {
  min-width: 100px;
  max-width: 160px;
  padding: 0.5rem 0;
}
.dienst-icoon img,
.dienst-icoon i {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto;
}
.dienst-titel {
  color: #fff;
  margin-top: 0.25rem;
  font-size: 1rem;
  white-space: normal;
  word-break: break-word;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

/* Navbar en footer in #003366 */
.navbar.bg-white,
.navbar.navbar-dark {
  background-color: #003366 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;

}

.navbar .navbar-brand,
.navbar .navbar-nav .nav-link,
.navbar .navbar-toggler,
.navbar .navbar-toggler-icon {
  color: #fff !important;
  fill: #fff !important;
}

.navbar .navbar-brand .text-primary {
  color: #fff !important;
}

.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .nav-link:focus,
.navbar .navbar-nav .nav-link:hover {
  color: #ffcc00 !important; /* optioneel: accentkleur bij hover/active */
}

footer.bg-light,
footer {
  background-color: #003366 !important;
  color: #fff !important;
}

footer .text-secondary,
footer .text-muted,
footer .nav-link,
footer .small {
  color: #fff !important;
}

footer .nav-link:hover,
footer a:hover {
  color: #ffcc00 !important; /* optioneel: accentkleur bij hover */
}

footer hr {
  border-color: #fff2;
}

/* Diensten sectie visueel opfrissen */
.diensten-balk {
  background-color: #f5f8fa;
  border-radius: 12px;
  padding: 3rem 1rem;
  margin-bottom: 2rem;
}

/* Dienstkaart met hover-effect */
.dienst-iconbar {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  min-width: 120px;
}
.dienst-iconbar:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* Iconen met cirkel-achtergrond */
.dienst-icoon img,
.dienst-icoon i {
  background-color: rgba(16, 110, 170, 0.08);
  border-radius: 50%;
  padding: 0.5rem;
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Diensttitel */
.dienst-titel {
  color: var(--bs-secondary);
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.hero-section {
  background-color: #f8fafb;
  min-height: 80vh;
  padding-block: 4rem;
  position: relative;
  z-index: 1;
}
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item img{width:100%;height:100%;object-fit:cover}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next{width:3rem;opacity:0;transition:opacity .2s ease}
.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next{opacity:1}
.hero-carousel .carousel-control-prev i,
.hero-carousel .carousel-control-next i{font-size:1.75rem;color:#fff;text-shadow:0 0 6px rgba(0,0,0,.5)}
.hero-bg{position:absolute;inset:0;background:var(--bs-primary);opacity:.07;clip-path:polygon(70% 0,100% 0,100% 100%,55% 100%);z-index:-1}
/* USP kaarten */
.usp-card {
  background: linear-gradient(180deg, #ffffff, #f9fbfc);
  border: 1px solid #e3e8ec;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  height: 100%;
  text-align: center;
}

.usp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.usp-card i {
  font-size: 2.25rem;
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 50%;
  display: inline-block;
  background-color: rgba(16, 110, 170, 0.1);
  color: var(--bs-primary);
  margin-bottom: 1rem;
}

/* Kleurtint-iconen op basis van context */
.usp-card.text-success i {
  background-color: rgba(25, 135, 84, 0.1);
  color: #198754;
}

.usp-card.text-danger i {
  background-color: rgba(218, 60, 41, 0.1);
  color: #da3c29;
}

.usp-card.text-warning i {
  background-color: rgba(255, 193, 7, 0.15);
  color: #ffc107;
}

.diensten-balk .row.flex-nowrap {
  overflow-x: hidden !important;
  max-width: 100%;
}
.diensten-balk {
  overflow-x: hidden;
}
.contact-hero {
  background: linear-gradient(180deg, #ffffff, #f9fbfc);
  border-bottom: 1px solid #e3e8ec;
  text-align: center;
}
.contact-content ul li {
  font-size: 1rem;
  color: var(--bs-secondary);
}
.contact-content ul i {
  font-size: 1.1rem;
}
.map-section iframe {
  border-radius: 12px;
}
/* Succes styling met hogere specificiteit */
.wpcf7 form.sent .wpcf7-response-output {
  border: 2px solid var(--bs-success, #198754) !important;
  background-color: #e9f6ef !important;
  color: var(--bs-success, #198754) !important;
  font-weight: 600;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card.project-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card.project-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.dienst-iconbar {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  min-width: 120px;
  max-width: 160px;
  display: block;
  text-align: center;
}

.dienst-iconbar:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  background-color: #f0f6fb;
}

.dienst-icoon img,
.dienst-icoon i {
  background-color: rgba(16, 110, 170, 0.08);
  border-radius: 50%;
  padding: 0.5rem;
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.dienst-titel {
  color: var(--bs-secondary);
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}
.hero-carousel .carousel-item {
  overflow: hidden;
}
.hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 123, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.diensten-scroller {
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE/Edge */
}
.diensten-scroller::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari */
}
