﻿/*
Theme Name: Indkilde
Description: Unikt tema designet og udviklet af Weltklasse
Version: 1.0
Author: Weltklasse
Author URI: https://weltklasse.dk
*/
*, *::before, *::after {
    box-sizing: border-box;
}
:root {
    --primary: #18306F;
    --secondary: #def1f9;
    --box-shadow: rgb(0 0 0 / 5%) 0px 1px 4px;
}
body, html {
	overflow-x: hidden;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  scroll-behavior: smooth;
  min-height: 100vh;
  position: relative;
}
body::before {
  content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(45deg, #EFF9FB 0%, #fff 100%);
    z-index: -1;   /* Make sure it sits behind all content */
    pointer-events: none; /* Keep it non-interactive */
}
.nav.secondary {
  display: none;
}
.call-button {
  margin-left: 15px;
}
.bde-rich-text p {
  margin: 0!important;
}
.bde-rich-text h2,
.bde-rich-text h3,
.bde-rich-text h4,
.bde-rich-text h5 {
  margin-bottom: 0.5rem;
}
.book-service a,
.call-button a,
.btn {
  position: relative;
  font-size: 0.8rem!important;
  text-align: center;
  border-radius: 25px!important;
  padding: 14px 24px!important;
  overflow: hidden;
  z-index: 0;
}
.call-button a {
  color: #def1f9!important;
  background: linear-gradient(134deg, var(--primary), #00587d, var(--primary)) -100% / 200%!important;
}
.book-service a {
  color: #18306F!important;
  background-color: #def1f9!important;
}
.book-service a::before,
.call-button a::before {
  content: '';
  position: absolute;
  bottom: 0px;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--primary);
  border-radius: 25px;
  background: linear-gradient(45deg, #def1f9 0%, #fff 100%);
  transition: all 500ms cubic-bezier(0.86, 0, 0.07, 1);
  opacity: 0;
  z-index: -1;
}
.call-button a:hover {
  color: var(--primary)!important;
}
.book-service a:hover {
  color: var(--secondary)!important;
}
.book-service a::before {
  background: linear-gradient(134deg, var(--primary), #00587d, var(--primary)) -100% / 200%!important;
}
.book-service a:hover::before,
.call-button a:hover::before {
  opacity: 1;
}
@media only screen and (min-width: 1400px) {
  .book-service,
  .call-button {
    display: block;
  }
}
@media (max-width: 1450px) {
  .nav {
    padding: 0 1rem;
  }
}
@media (max-width: 1399px) {
  .book-service,
  .call-button {
    display: none;
  }
  .nav.primary {
    display: none;
  }
  .nav.secondary {
    display: block;
  }
}
@media (max-width: 1024px) {
  .book-service,
  .call-button {
    display: block;
    width: 90%;
    margin: 0 auto!important;
    margin-top: 1rem!important;
  }

}
@media (max-width: 767px) {
  .nav.secondary {
    display: none;
  }
  .nav.primary {
    display: block;
  }
}

.bde-text,
.bde-rich-text  {
  font-size: clamp(0.9rem, 1.5vw, 1rem) !important;
  line-height: 1.5;
}
a.bde-text-link {
  font-size: clamp(0.9rem, 1.5vw, 1rem) !important; 
}
h1.bde-heading,
.bde-heading.h1 {
  font-size: clamp(2rem, 5vw, 2.5rem) !important;
}
h2.bde-heading,
.bde-heading.h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
}

h3.bde-heading,
.bde-heading.h3 {
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
}

h5.bde-heading {
  font-size: clamp(1.125rem, 2vw, 1.5rem) !important;
}
h6.bde-heading {
  font-size: clamp(1rem, 1.5vw, 1.25rem) !important;
}

.frosted {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: rgb(0 0 0 / 5%) 0px 1px 4px;
}
.frosted.light {
  background: rgba(255, 255, 255, 0.6);
}
.sidebar {
  position: relative;
  z-index: 999;
}
.frosted.sidebar .breakdance-menu-list li a,
.frosted.sidebar .breakdance-menu-list li.breakdance-menu-item--active a {
  font-weight: 700;
  color: #18306f;
}
.sidebar .breakdance-menu-overlay {
  background: rgba(255,255,255, 0);
}
.sidebar .breakdance-menu--offcanvas .breakdance-menu-list{
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  box-shadow: var(--box-shadow);
}
@media only screen and (max-width: 767px) {
  .sidebar {
    background: transparent!important;
    box-shadow: none!important;
  }
}
@media only screen and (max-width: 850px) {
  .special-columns .bde-column:first-of-type {
    width: 38%;
  }
}
.cta-box {
  transform: scale(1);
  transform-origin: center;
  transition: .3s ease-in-out;
}
.cta-box img {
  height: 222px!important;
  object-fit: cover;
}
.cta-box .bde-heading {
  margin-bottom: 0.5rem!important;
}
.cta-box:hover {
  transform: scale(1.01);
}
section.bde-section:not(section.bde-section:first-of-type) {
  background-color: rgba(255,255,255,0)!important;
}
.bde-section.narrow .section-container{
  max-width: 1150px!important;
}
.breakdance {
  background: none!important;
}
/* FOOTER */

.footer-wrapper {
  box-shadow: rgb(0 0 0 / 5%) 0px 1px 4px;
}


/**/
/* Hide native select but keep it in the DOM for forms & events */
select[data-custom-select] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
input::placeholder {
  color: #9aa1b5;
}
/* Wrapper */
.kd-select {
  position: relative;
  width: 100%;
  font-family: inherit;
}

/* Trigger "button" */
.kd-select__trigger {
  position: relative;
  width: 100%;
  border: none;
  background: #ffffff;
  border-radius: 8px;
  padding: 0 1rem;
  height: 40px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  color: var(--primary);
}

/* Label text */
.kd-select__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Placeholder style (when value is empty) */
.kd-select:not(.has-value) .kd-select__label {
  color: #9aa1b5;
}

/* Arrow icon (simple chevron) */
.kd-select__icon {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 0.18s ease;
}

/* Rotate arrow when open */
.kd-select.is-open .kd-select__icon {
  transform: rotate(-135deg);
}

/* Dropdown options box */
.kd-select__options {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 6px;
  padding: 6px 0;
  background: #ffffff;
  border-radius: 8px;
  max-height: 260px;
  overflow: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.18s ease;
  z-index: 50;
}

/* Show when open */
.kd-select.is-open .kd-select__options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Option item */
.kd-select__option {
  padding: 10px 18px;
  font-size: 14px;
  cursor: pointer;
  color: var(--primary);
}

.kd-select__option:hover {
  background: #f5f7fb;
}

.kd-select__option.is-selected {
  font-weight: 600;
}

/* Optional: focus outline */
.kd-select__trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.button-atom {
  border: none!important;
}
.breakdance .button-atom.button-atom--primary:not(.breakdance-form-button) {
  background: linear-gradient(134deg, var(--primary), #00587d, var(--primary)) -100% / 200%;
  border: 1px solid var(--primary)!important;
}
.button-atom::after {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0!important;
}
.button-atom::before {
  content: '';
  position: absolute;
  bottom: 0px;
  right: -1px;
  left: -1px;
  width: 110%;
  height: 110%;
  background: linear-gradient(45deg, #def1f9 0%, #fff 100%);
  transition: all 500ms cubic-bezier(0.86, 0, 0.07, 1);
  opacity: 0;
  z-index: -1;
}
.button-atom__text {
  transition: all 500ms cubic-bezier(0.86, 0, 0.07, 1);
}
.button-atom:hover > .button-atom__text {
  color: var(--primary)!important;
}
.button-atom.button-atom--secondary:hover > .button-atom__text {
  color: #fff!important;
}
.button-atom.button-atom--secondary::before {
  background: linear-gradient(134deg, var(--primary), #00587d, var(--primary)) -100% / 200%!important;
}
.button-atom:hover::before {
  opacity: 1;
}