/*
Theme Name: QuickOnline Child
Theme URL: https://xlboxnederland.nl/
Description: Child theme voor XLBox Nederland
Author: QuickOnline B.V.
Author URL: https://quickonline.nl/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* Algemene reset */
html, body {
  overflow-x: hidden;
}

/* Cookie melding */
#cmplz-message-1-optin {
  animation: fadeIn 0.5s ease-in 2s;
}

/* Scrolling anker points */
[id] {
  scroll-margin-top: 180px; /* hoogte van je vaste navigatie */
}


/* Afbeeldingen vullen container */
.img-container, .img-container > div { height: 100%; }
.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}

/* Achtergrond body */
body { background:#2D363F; transition: background-color 1s ease; }
body.bg-dark { background:#25303B; }

/* Hover effecten knoppen */
.elementor-button .elementor-button-icon {
  display: inline-block;
  transition: transform 0.4s ease;
}

.elementor-button:hover .elementor-button-icon {
  transform: translateX(6px);
}

/* Hover effect MET gradient overlay */
.hover-gradient {
  position: relative;
  overflow: hidden;
}

.hover-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #ffffff00 56%, #1d1d1d 100%);
  z-index: 1;
  pointer-events: none;
}

.hover-gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform .5s ease;
  z-index: 0;
}

.hover-gradient:hover::after {
  transform: scale(1.1);
}

/* Hover effect ZONDER gradient overlay */
.hover-zoom {
  position: relative;
  overflow: hidden;
}

.hover-zoom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform .5s ease;
  z-index: 0;
}

.hover-zoom:hover::before {
  transform: scale(1.1);
}


/*Watermerk*/
.watermark-section { position: relative; overflow: hidden; }

.watermark-section .watermark-text{
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);   /* altijd exact midden */
  white-space: nowrap;
  width: max-content;

  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

/* tablet: schaal */
@media (max-width: 1220px){
  .watermark-section .watermark-text{
    transform: translate(-50%, -50%) scale(0.8);
  }
}

/* Metrics divider */
.metric-block { position: relative; }
.metric-block:not(:nth-child(4n))::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  height: 160px; width: 2px;
  background: #4c555f;
}
@media (max-width:1024px) {
  .metric-block::after { display: none; }
}

/* Alleen voor knoppen met .btn-tekstueel */
.btn-tekstueel .elementor-button-content-wrapper {
  display: inline-flex;       /* Tekst en icoon netjes naast elkaar */
  align-items: center;        /* Verticaal centreren */
  justify-content: flex-start !important;  /* Tekst links uitlijnen */
  gap: 5px;                   /* Ruimte tussen tekst en icoon */
  text-align: left !important;
}

.btn-tekstueel .elementor-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-tekstueel .elementor-button-icon svg {
  position: relative;
  top: -1px; /* Eventueel finetunen voor perfecte uitlijning */
}

/* Accordion styling */
/* Alleen accordeon-items binnen een container met class 'accordion' */
.accordion .e-n-accordion-item {
    border-bottom: 1px solid #4c555f;
    margin-bottom: 20px; /* optioneel */
}

/* Verwijder de originele border onder de titel */
.accordion .e-n-accordion-item-title {
    border-bottom: none !important;
}

/* TABEL STYLING */
.xlbox-compare-wrap{
  width:100%;
  overflow-x:auto;
}

/* Basis tabel */
.xlbox-compare-wrap .custom-compare-table{
  width:100%;
  min-width:900px;
  border-collapse:collapse;
  table-layout:fixed;
  font-size:16px;
}

/* Header */
.xlbox-compare-wrap .custom-compare-table thead th{
  background:#25303B;
  padding:14px 16px;
  border:1px solid #4C555F;
  text-align:left;
}

/* Header tekst */
.xlbox-compare-wrap .custom-compare-table thead th h4{
  margin:0;
  font-size:inherit;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.5px;
  line-height:1.2;
}

/* Body cell styling */
.xlbox-compare-wrap .custom-compare-table td{
  padding:14px 16px;
  border:1px solid #4C555F;
  background:#414A52;
  vertical-align:top;
}

/* Eerste kolom */
.xlbox-compare-wrap .custom-compare-table th:nth-child(1),
.xlbox-compare-wrap .custom-compare-table td:nth-child(1){
  width:28%;
  font-weight:600;
}

/* Tweede & derde kolom */
.xlbox-compare-wrap .custom-compare-table th:nth-child(2),
.xlbox-compare-wrap .custom-compare-table td:nth-child(2),
.xlbox-compare-wrap .custom-compare-table th:nth-child(3),
.xlbox-compare-wrap .custom-compare-table td:nth-child(3){
  width:36%;
}

/* Responsive */
@media (max-width:768px){

  .xlbox-compare-wrap .custom-compare-table{
    font-size:15px;
    min-width:750px;
  }

  .xlbox-compare-wrap .custom-compare-table thead th{
    font-size:15px;
  }

}

.grecaptcha-badge { 
visibility: hidden; 
}
