/*
Theme Name: Divi Child Theme
Theme URI: https://bouilliart.be
Description: Child Theme For Divi
Author: Sara Claeys
Author URI: https://adverdream.be
Version: 1.1.0
Template: Divi
*/

/* --- Custom Buttons --- */
.button-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  position: relative;
  padding: 8px 25px;
  border-radius: 2px !important;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button.yellow {
  background-color: #FCD431;
  color: #4A4E4E;
  border: none;
}

.button.outlined {
  background-color: transparent;
  border: 1px solid #FCD431;
  color: #FCD431;
}

.button.dark-blue {
  background-color: #031724;
  color: #FCD431;
  border: none;
}
.button.dark-blue:hover {
  background-color: #031724;
}

.button i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

/* Donderslag effect on hover */
.button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

.button:hover::after {
  left: 125%;
}

.button:hover {
  transform: scale(1.05) rotateZ(0.2deg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.button:hover i {
  transform: rotate(-10deg) scale(1.2);
}

/* Mobile button */
@media (max-width: 480px) {
  .button {
    width: 100%;
    justify-content: center;
    font-size: 15px;
  }
}

/* --- Custom Service Tabs --- */
.custom-service-container {
  display: flex;
  gap: 50px;
  align-items: stretch;
}

/* ------ Left Column: Menu ------ */
.service-menu {
  width: 33%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.service-menu a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: #ffffff;
  border-radius: 2px;
  text-decoration: none;
  color: #031724;
  font-weight: 600;
  transition: all 0.3s ease;
}
.service-menu a img {
    width: 50px;
    height: 50px;
    background-color: #F4F5FA;
    border-radius: 50%;
    padding: 10px;
    box-sizing: border-box;
    object-fit: contain;
    margin-right: 15px;
}
.service-menu a:hover {
  background-color: #e9ebf3;
}
.service-menu a.active {
  background-color: #fcd431;
  color: #031724
}

/* ------ Right Column: Content ------ */
.service-content-area {
  width: 67%;
  display: flex;
}
.service-content-pane {
  display: none;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 2px;
  width: 100%;
}
.service-content-pane.active {
  display: flex;
  flex-direction: column;
}

/* ------ Intern Layout Content ------ */
.content-pane-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 100%;
}
.content-pane-inner .image-column {
  width: 50%;
  height: 100%;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.content-pane-inner .image-column img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.content-pane-inner .image-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(3, 23, 36, 0.1); 
  z-index: 1;
  border-radius: 2px; 
}
.content-pane-inner .text-column {
  width: 50%;
}
.content-pane-inner img {
  max-width: 100%;
  border-radius: 2px;
}
.content-pane-inner h4 {
  font-size: 23px !important;
  font-family: Montserrat;
  font-weight: 600 !important;
  color: #031724;
  margin-top: 0;
}
.content-pane-inner p {
  font-size: 17px;
  color: #031724;
  line-height: 1.5em;
}
.content-pane-inner ul {
  list-style: none;
  padding-left: 0;
  margin-top: 25px;
}
.content-pane-inner li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 600;
  color: rgba(3, 23, 36, 0.7);
  line-height: 1.5em;
}
.content-pane-inner li::before {
  content: '\e052';
  font-family: 'ETmodules';
  color: #fcd431;
  font-size: 20px;
  margin-right: 15px;
  margin-top: -1px;
}
.content-pane-inner .et_pb_button {
    background-color: #fcd431 !important;
    color: #031724;
    border:none !important;
}

/* -- Style Icon Grid -- */
.icon-grid-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.icon-grid-wrapper .icon-grid-item {
    display: flex;
    align-items: flex-start;
    flex-basis: calc(50% - 10px);
    justify-content: flex-start;
}

.usp-icon {
  width: 48px;
  padding-right: 15px;
}

.icon-grid-wrapper .icon-grid-item p {
    margin: 0;
    color: rgba(3, 23, 36, 0.7);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.5em;
}

/* Op mobiele schermen (tot 767px breed) */
@media (max-width: 767px) {
    .icon-grid-wrapper .icon-grid-item {
        flex-basis: 100%;
    }
}