@keyframes shutter-in-left {

  0% {
    transform: rotateY(100deg);
    transform-origin: left;

    opacity: 0;
  }

  100% {
    transform: rotateY(0);
    transform-origin: left;
    opacity: 1;

  }
}

:root {
  /* --green: #82B03C; */
  --green:rgba(130, 176, 60, 0.7);
  --dark-green: #5a7138;
  --light-green: #9ed649;
}

.ccm-page h1,
.ccm-page h2,
.ccm-page h3 {

  font-weight: bold;
  color: #222222;
  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 25px;
  position: relative;
}

.ccm-page h1 {
  margin-bottom: 60px;
}

.ccm-page h1::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -30px;
  height: 2px;
  width: 50%;
  background: #222;
  left: 0;
}

.ccm-page p {
  color: #222222;
  font-size: 19px;
  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.8;
}

#ccm-panel-overlay {
  display: none !important;
}

#myNav,
.mobilenav {
  display: none !important;
}

.claus-header {
  padding: 30px 0;
}

.claus-header .row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-nav .nav li a {
  font-weight: 300;
  font-size: 19px;
  color: black;
  padding-left: 15px;
  padding-right: 15px;
  text-decoration: none;
}

.header-nav .nav li.nav-selected a {
  color: var(--green);
}

/*
.header-nav .nav li:last-of-type a {
  background: var(--green);
  color: white;
  margin-left: 10px;
  padding: 15px;
}
*/
.header-nav .nav li {}

.header-nav .nav {
  justify-content: flex-end;
}

.subheader {
  background: var(--green); /* Eén consistente opacity */
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Reset ALL container elements */
.subheader .container,
.subheader .row,
.subheader .col-md-6,
.subheader > div {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.subheader .nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  /* Verwijderd dubbele background */
}

.subheader .nav > li {
  position: relative;
  flex: 1;
  text-align: center;
  margin: 0; /* Remove margin-right */
  padding: 0;
}

.subheader .nav > li > a {
  display: block;
  padding: 12px 15px;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 17px;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

/* Divider styling */
.subheader .nav > li::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background: rgba(255,255,255,0.3);
}

.subheader .nav > li:last-child::after {
  display: none;
}

/* Hover en active states */
.subheader .nav > li > a:hover {
  color: rgba(255,255,255,0.8);
}

.subheader li.nav-selected > a {
  background: rgba(0,0,0,0.1);
}

.claus-slide {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 600px;
  display: flex !important;
  align-items: flex-end;
  padding-bottom: 50px;
}

.claus-slide-text {
  background: white;
  padding: 30px;
  animation: shutter-in-left 1s linear 0s 1 normal none;

  overflow: hidden;
  position: relative;
  border-left: 4px solid var(--green);
}

.claus-slide-text::before {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  background-image: url('../assets/design.png');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0.1;
  width: 200px;
  height: 151px;
}

.claus-slide-text h2 {
  font-weight: bold;
  text-transform: uppercase;
  color: black;
  font-size: 24px;
}

.btn-primary {
  background: var(--green);
  font-weight: bold;
  font-size: 16px;
  color: white;

  padding: 10px 20px;
  border: none;
}

.rslides_tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  margin-left: auto;
  margin-right: auto;
  z-index: 111;
  text-align: center;
}

.rslides_tabs li.rslides_here a {
  background: var(--green);
}

.toonzalen {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  justify-content: flex-end;
  color: white;
  font-size: 14px;
}

.toonzalen .toonzaal svg {
  width: 15px;
  fill: var(--green)
}

.toonzalen .toonzaal span {
  font-size: 16px;
  font-weight: 300;
  color: #fff;
}

.full-area {
  padding: 90px 0;
}

.about {
  border-left: 10px solid var(--green);
}

.vertical-images {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.vertical-images .vertical-image {
  flex: 1;
}

.vertical-image-source {
  height: 550px;
  background-position: center;
  background-size: cover;
}

.ccm-page .subtitle {
  font-weight: bold;
  color: var(--green);
  font-size: 14px;
  text-transform: uppercase;
}

#about .row {
  align-items: center;
}

.header-logo {
  text-align: left;
}

.header-logo img {
  width: 300px;
}

.claus-service {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.claus-service:nth-of-type(2) {
  flex-direction: row-reverse;
}

.claus-service .images {
  flex: 50%;
  width: 50%;
}

.claus-service .service-content {
  flex: 50%;
  width: 50%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: #f4f4f4;
  padding: 45px;
}

#services .item {
  height: 450px;
  width: 100%;
  background-position: bottom;
  background-size: cover;
  background-repeat: no-repeat;
}

.owl-carousel .nav-btn {
  height: 47px;
  position: absolute;
  width: 26px;
  cursor: pointer;
  top: 160px !important;
}

.owl-next {
  height: 47px;
  position: absolute;
  width: 26px;
  cursor: pointer;
  top: 160px !important;
  right: 9px;
  font-size: 81px;
  color: white;
}

.owl-prev {
  height: 47px;
  position: absolute;
  width: 26px;
  cursor: pointer;
  top: 160px !important;
  left: 9px;
  font-size: 81px;
  color: white;
}

.owl-carousel .owl-prev.disabled,
.owl-carousel .owl-next.disabled {
  pointer-events: none;
  opacity: 0.2;
}

.owl-carousel .prev-slide {
  background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGhlaWdodD0iNTEycHgiIGlkPSJMYXllcl8xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgd2lkdGg9IjUxMnB4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cG9seWdvbiBwb2ludHM9IjE2MCwxMTUuNCAxODAuNyw5NiAzNTIsMjU2IDE4MC43LDQxNiAxNjAsMzk2LjcgMzEwLjUsMjU2ICIvPjwvc3ZnPg==') no-repeat scroll 0 0;
  left: -33px;
}

.owl-carousel .next-slide {
  background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGhlaWdodD0iNTEycHgiIGlkPSJMYXllcl8xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgd2lkdGg9IjUxMnB4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cG9seWdvbiBwb2ludHM9IjE2MCwxMTUuNCAxODAuNyw5NiAzNTIsMjU2IDE4MC43LDQxNiAxNjAsMzk2LjcgMzEwLjUsMjU2ICIvPjwvc3ZnPg==') no-repeat scroll -24px 0px;
  right: 33px;
}

.owl-carousel .prev-slide:hover {
  background-position: 0px -53px;
}

.owl-carousel .next-slide:hover {
  background-position: -24px -53px;
}

.claus-service h2 {
  margin-bottom: 60px;
  position: relative;
}

.claus-service h2::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -30px;
  height: 2px;
  width: 50%;
  background: #222;
  left: 0;
}

.owl-prev span,
.owl-next span {
  font-size: 70px;
  color: white;
}

.claus-service .btn {
  background: transparent !important;
  border: 2px solid #222 !important;
  color: #222 !important;
}

.cta {
  min-height: 550px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
}

.cta h2 {
  color: white;
  font-size: 45px;
}

.claus-footer {
  padding: 60px 0;
  min-height: 300px;
  background: #f4f4f4;
}

.claus-footer ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.claus-footer ul a {
  color: black;
  text-decoration: none;
  color: #222222;
  font-size: 19px;
  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.8;
}

.copy {
  width: 100%;
  font-style: italic;
}

.banner-images {
  display: flex;
  flex-wrap: wrap;
}

.banner-images .banner-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  flex: 1;
  height: 450px;
}

.subheader li.nav-selected a {
  color: var(--dark-green);
}

.true {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1111;
}

.copy {
  padding-top: 20px;
}

.ccm-block-template-aanbod .ccm-block-page-list-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.ccm-block-template-aanbod .ccm-block-page-list-page-entry-vertical {
  position: relative;
  flex: 1 33%;
  max-width: 33%;
}

.ccm-block-template-aanbod .ccm-block-page-list-title,
.ccm-block-template-aanbod .ccm-block-page-list-title a {
  text-align: center;
  font-size: 1.25em;
  font-weight: bold;
  color: white;
  margin: 10px 0;
  text-underline-offset: 3.5px;
  text-decoration: none;
}

.ccm-block-template-aanbod .ccm-block-page-list-page-entry-thumbnail {
  display: flex;
  justify-content: center;
}

.ccm-block-template-aanbod .ccm-block-page-list-page-entry-thumbnail img {
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 15px;
}

.ccm-block-template-aanbod .ccm-block-page-list-page-entry-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: visibility 1s ease-in-out;
}

.ccm-block-template-aanbod .ccm-block-page-list-description {
  padding: 1rem 2rem;
  color: white;
}

.ccm-block-template-aanbod .ccm-block-page-list-page-entry-vertical:hover .ccm-block-page-list-page-entry-thumbnail::before,
.ccm-block-template-aanbod .ccm-block-page-list-page-entry-vertical .ccm-block-page-list-page-entry-thumbnail::before {
  content: " ";
  width: 100%;
  background: #008000;
  height: 100%;
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  border-radius: 15px;

}

.ccm-block-template-aanbod .ccm-block-page-list-page-entry-vertical:hover .ccm-block-page-list-page-entry-thumbnail::before {
  opacity: 0.5;
}

.ccm-block-template-aanbod .ccm-block-page-list-page-entry-vertical:hover .ccm-block-page-list-page-entry-text {
  opacity: 1;
}

/* Product list */

.ccm-block-product-list {
  display: flex;
  justify-self: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ccm-block-product-list__item {
  flex: 0 0 calc(33.33% - 20px);
  margin-bottom: 30px;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.2s;
  border-radius: 10px;
}

.ccm-block-product-list__item:hover {
  transform: scale(1.01);
}

.ccm-block-product-list__item--discount .ccm-block-product-list__item-discount-badge {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--green);
  padding: 10px 15px;
  border-radius: 10px 0 10px 0;

  color: #FFF;
  font-size: 1.6875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3125rem;
}

.ccm-block-product-list__item-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.ccm-block-product-list__item-content {
  padding: 0 10px;
}

.ccm-block-product-list__item-name {
  margin: 10px 0;
  font-size: 30px;
  font-weight: 600 !important;
}

.ccm-block-product-list__item-price-line {
  font-size: 19px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ccm-block-product-list__item--discount .ccm-block-product-list__item-price {
  text-decoration: line-through;
  color: #999;
}

.ccm-block-product-list__item-discount-price {
  color: var(--green);
}

.ccm-block-product-list__item-description {
  margin-top: 10px;
  min-height: 8rem;
}

.ccm-block-product-list__item-price-group {
  display: grid;
  grid-template-columns: 1.5fr 1.4fr;
  gap: 10px;
}

.ccm-block-product-list__item-link {
  display: inline-block;
  padding: 10px 20px;
  background: var(--green);
  color: #FFF;
  font-size: 1.125rem;
  font-weight: bold;
  border-radius: 15px;
  text-decoration: none;
  background: var(--green);
  text-align: center;
  transition: all 0.2s;
  width: 100%;
  opacity: 0;
}

.ccm-block-product-list__item-link:hover {
  opacity: 0;
  background: var(--dark-green);
  color: #FFF;
}

.ccm-block-product-list__item:hover .ccm-block-product-list__item-link {
  opacity: 1;
}

.ccm-block-page-list-page-entry-content {
  position: relative;
}

.ccm-block-page-list-page-entry-read-more {
  display: flex;
  justify-content: center;
}

.ccm-block-page-list-page-entry-link {
  text-decoration: none;
}


/* test */

/* Base styles */
.toonzaal-sections {
  padding: 30px 0;
  background-color: #fff;
}
.toonzaal-sections .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
/* Row en column structuur */
.toonzaal-sections .row {
  display: flex;
  margin: 0 -15px;
  flex-wrap: nowrap;
}
.toonzaal-sections .col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}
/* Image section */
.toonzaal-sections .col-md-6:first-child {
  position: relative;
}
.toonzaal-sections img {
  width: 100%;
  height: auto;
  display: block;
}
/* Address bar */
.address-bar {
  background-color: #90B765;
  color: white;
  padding: 10px 15px;
  text-align: center;
  border-radius: 3px;
  margin-top: -4px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  font-size: 16px;
}
/* Contact section */
.contact-icons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.contact-box {
  flex: 1;
  border: 1px solid #e0e0e0;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0; /* Voorkomt overflow */
}
.contact-box .value {
  color: #333;
  font-size: 14px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.contact-box i.fa-phone, 
.contact-box i.fa-envelope {
  color: var(--green) !important; 
  /* !important om te overrulen als ergens anders kleur gedefinieerd is */
}
/* Opening hours section */
.opening-hours {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}
.left-section, .right-section {
  flex: 1;
  max-width: 48%;
  min-width: 0;
}
.opening-hours::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #e0e0e0;
  transform: translateX(-50%);
}
/* Specifieke breakpoints voor geleidelijke transitie */
@media (max-width: 1200px) {
  .toonzaal-sections .container {
    max-width: 960px;
  }
}
@media (max-width: 992px) {
  .toonzaal-sections .container {
    max-width: 720px;
  }
  
  .contact-box .value {
    font-size: 13px;
  }
}
/* Tablet breakpoint - begin aanpassingen maar behoud layout */
@media (max-width: 850px) {
  .toonzaal-sections .row {
    margin: 0 -10px;
  }
  
  .toonzaal-sections .col-md-6 {
    padding: 0 10px;
  }
  
  .contact-icons {
    gap: 15px;
  }
  
  .contact-box {
    padding: 15px;
  }
  
  .opening-hours {
    gap: 15px;
  }
}
/* Mobile breakpoint - volledige layout aanpassing */
@media (max-width: 768px) {
  .toonzaal-sections .row {
    flex-direction: column;
    margin: 0;
  }
  
  .toonzaal-sections .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }
  
  .contact-icons {
    flex-direction: column;
  }
  
  .contact-box {
    width: 100%;
  }
  
  .opening-hours {
    flex-direction: column;
  }
  
  .opening-hours::after {
    display: none;
  }
  
  .left-section, .right-section {
    max-width: 100%;
  }
  
  .row.mt-5 {
    margin-top: 30px !important;
  }
}
/* Voorkom text overflow in alle situaties */
.contact-box .value,
.hours-row {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}
.text-area .tekst,
.text-area .number,
.contact-box .number,
.contact-box .tekst {
    font-size: clamp(11px, 2.5vw, 24px) !important;
}

/* Voor verschillende schermgroottes */
@media (max-width: 992px) {
    .text-area .tekst,
    .text-area .number,
    .contact-box .number,
    .contact-box .tekst {
        font-size: clamp(10px, 2vw, 20px) !important;
    }
}

@media (max-width: 768px) {
    .text-area .tekst,
    .text-area .number,
    .contact-box .number,
    .contact-box .tekst {
        font-size: clamp(9px, 1.8vw, 18px) !important;
    }
}


/* Adjust layout for medium screens */
@media (max-width: 1200px) and (min-width: 769px) {
  .toonzaal-sections .row {
    display: block;  /* Change from flex to block */
  }

  .toonzaal-sections .col-md-6 {
    flex: none;  /* Remove flex properties */
    max-width: none;
    width: 100%;
    padding: 0;
  }

  /* Remove the negative margins that were causing alignment issues */
  .toonzaal-sections .row {
    margin: 0;
  }

  /* Create a new flex container for contact info */
  .contact-info-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
  }

  /* Style contact boxes */
  .contact-box {
    flex: 1 1 calc(50% - 10px);
    margin: 0;
  }

  /* Opening hours specific styles */
  .opening-hours {
    margin-left: 0;
    padding-left: 0;
    width: 100%;
  }

  .left-section, 
  .right-section {
    margin-left: 0;
    padding-left: 0;
  }

  /* Force removal of any auto margins */
  .showroom-section,
  .atelier-section {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: left;
  }
}
@media (max-width: 767.98px) {
  /* col-md-6 wordt automatisch 100% breed (col-12),
     dus de rechterkolom komt vanzelf onder de linker. */
  .toonzaal-sections {
    padding: 30px 0;
  }
  .address-bar {
    margin-bottom: 15px;
  }
  .cta {
    padding: 40px 0;
  }


}