@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:wght@500&display=swap");
@import "./styles/development-bundle.css";

/* ── OSMO Scaling System ── */
:root {
  --size-unit: 14;
  --size-container-ideal: 1440;
  --size-container-min: 992px;
  --size-container-max: 1920px;
  --size-container: clamp(var(--size-container-min), 100vw, var(--size-container-max));
  --size-font: calc(var(--size-container) / (var(--size-container-ideal) / var(--size-unit)));

  --primary-color: #d3e04d;
  --secondary-color: #35608f;
  --hero-color: #69a4cf;
  --hero-color2: #8dd3f9;
  --text-color: #2e3b4e;
  --light-background: #e4f2fa;
  --dark-lime: #b1b73b;
}

@media screen and (max-width: 991px) {
  :root {
    --size-container-ideal: 834;
    --size-container-min: 768px;
    --size-container-max: 991px;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --size-container-ideal: 550;
    --size-container-min: 480px;
    --size-container-max: 767px;
  }
}

@media screen and (max-width: 479px) {
  :root {
    --size-container-ideal: 390;
    --size-container-min: 320px;
    --size-container-max: 479px;
  }
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: var(--size-font);
  height: 100%;
}

/* Lenis smooth scroll */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}


/* ── Cascading Slider ── */
[data-cascading-viewport] {
  --gap: 0.5em;
}

[data-cascading-slide] {
  --clip: 0;
  --radius: 0.75em;
}

.cascading-slider {
  width: 100%;
  max-width: 90em;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding: 2em 0;
}

.cascading-slider__collection {
  width: 100%;
}

.cascading-slider__list {
  width: 100%;
  height: 28em;
  position: relative;
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .cascading-slider__list {
    height: 20em;
  }
}

.cascading-slider__item {
  cursor: pointer;
  will-change: transform, clip-path;
  clip-path: inset(0px calc(var(--clip) * 1px) round var(--radius));
  user-select: none;
  height: 100%;
  position: absolute;
  inset: 0% auto auto 0%;
}

.cascading-slider__item[data-status="active"] {
  cursor: default;
}

.cascading-slider__item-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.cascading-slider__item-bg {
  z-index: 0;
  position: absolute;
  inset: 0%;
}

.cascading-slider__img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.cascading-slider__nav {
  gap: 1em;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  margin-top: 1.5em;
  display: flex;
}

.cascading-slider__button {
  color: var(--secondary-color);
  background-color: var(--light-background);
  border: none;
  border-radius: 0.25em;
  justify-content: center;
  align-items: center;
  width: 3em;
  height: 3em;
  padding: 0.75em;
  display: flex;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cascading-slider__button:hover {
  background-color: var(--primary-color);
  color: var(--text-color);
}

.cascading-slider__button-arrow.is--prev {
  transform: rotate(-180deg);
}

/* ── Bouncy Button ── */
:root {
  --ease-elastic: linear(0, 0.55 7.5%, 0.85 12%, 0.95 14%, 1.03 16.5%, 1.09 20%, 1.13 22%, 1.14 23%, 1.15 24.5%, 1.15 26%, 1.13 28%, 1.11 31%, 1.05 39%, 1.02 43%, 0.99 47%, 0.98 52%, 0.97 59%, 1.002 81%, 1);
}

.btn-bounce {
  color: var(--text-color);
  padding-left: 2em;
  padding-right: 2em;
  font-family: "Poppins", sans-serif;
  font-size: 1em;
  text-decoration: none;
  position: relative;
  display: inline-block;
  width: fit-content;
}

button.btn-bounce {
  border: none;
  cursor: pointer;
  background: none;
}

.btn-bounce-bg {
  z-index: 0;
  background-color: var(--primary-color);
  border-radius: 100em;
  position: absolute;
  inset: 0%;
}

.btn-bounce-text {
  z-index: 1;
  display: block;
  position: relative;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn-bounce-text__wrap {
  padding-top: 0.85em;
  padding-bottom: 0.85em;
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .btn-bounce,
  .btn-bounce-text,
  .btn-bounce-text__wrap {
    transition: transform 0.65s var(--ease-elastic);
  }

  .btn-bounce-text {
    --text-duplicate-distance: 3em;
    text-shadow: 0px var(--text-duplicate-distance) currentColor;
  }

  .btn-bounce:hover {
    transform: scale(0.92) rotate(-3deg);
  }

  .btn-bounce:hover .btn-bounce-text__wrap {
    transform: rotate(3deg);
  }

  .btn-bounce:hover .btn-bounce-text {
    transform: translate(0px, calc(-1 * var(--text-duplicate-distance)));
  }
}


.body-bold {
  font-size: 24px;
  font-weight: 600;
}

/* Screen-reader-only utility: visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--secondary-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 0.5rem 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ── Focus styles (WCAG 2.4.7) ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.my-auto {
  margin-top: auto;
  margin-bottom: auto;
}

.hero {
  display: flex;
  justify-content: space-between;

  position: relative;
  background-color: var(--hero-color);
  color: white;

  padding: 0rem 12rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* max-width: 50%; */
  margin-bottom: 2rem;
}

.text-container {
  display: flex;
  align-items: center;
}

.green-bar {
  width: 5px;
  height: 100%;
  border-radius: 1rem;
  background-color: var(--primary-color);
  margin-right: 40px;
}

.hero h1 {
  line-height: 1.2;
  text-align: left;
}

.hero-content span {
  margin-top: 20px;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  background-color: var(--primary-color);
  color: var(--text-color);
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s;
  width: 100%;
  box-sizing: border-box;
}

.hero-content span:hover {
  background-color: var(--secondary-color);
  color: white;
}

.hero-image {
  max-width: 50%;
}

.hero-image img {
  max-width: 100%;
  height: 100%;
}

.info-section {
  display: flex;
  align-items: flex-start;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  gap: 3rem;
  margin: 6rem 0rem;
}

.info-text-container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  /* padding: 10000rem; */
}

.info-text-container h3 {
  color: var(--text-color);
}

.info-text-container .description {
  font-weight: 700;
}

.info-text-container p {
  color: var(--text-color);
  margin: 15px 0;
}

.info-button {
  /* margin-top: 20px; */
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  background-color: var(--primary-color);
  color: var(--text-color);
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s;
  /* max-width: 30%; */
  box-sizing: border-box;
  width: fit-content;
}

.info-button:hover {
  background-color: var(--secondary-color);
  color: white;
}

.steps-section {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.step-box {
  background-color: #35608f;
  color: white;
  width: 100%;
  text-align: center;
}

.step-box:nth-child(2) {
  background-color: #5989b5;
}

.step-box:nth-child(3) {
  background-color: #77b6df;
}

.step-box:nth-child(4) {
  background-color: #86caf1;
}

.quote-section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--light-background);
  padding: 3rem 0rem;
}

.green-divide {
  height: 5px;
  border-radius: 1rem;
  background-color: var(--primary-color);
  margin: 1rem;
}

article {
  height: 10px;
}

main {
  min-height: 70vh;
}

/* Werkwijze */

.werkwijze-container {
  color: white;
  overflow: hidden;
}

.werkwijze-container img {
  display: block;
  border: none;
  width: 100%;
}

.werkwijze-block {
  min-height: 25vh;
  display: flex;
  justify-content: space-between;
  padding: 12rem;
}

.werkwijze-block h2 {
  line-height: 1.2;
  text-align: left;
}

.werkwijze-text {
  max-width: 50%;
}

.werkwijze-image {
  min-width: 25%;
}

.werkwijze-image img {
  max-width: 100%;
  height: 100%;
}

#block1 {
  background-color: var(--secondary-color);
  z-index: 2;
}
#block2 {
  background-color: var(--hero-color);
  z-index: 2;
}
#block3 {
  background-color: var(--dark-lime);
  z-index: 2;
}
#block4 {
  background-color: var(--primary-color);
  color: black;
  z-index: 2;
}

/* Einde werkwijze */

/* Prijslijst */

.heading-title {
  color: var(--secondary-color);
  margin-bottom: 48px;
  padding-top: 24px;
}

.prijslijst-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
  gap: 10px;
}

.prijslijst-textbox {
  background-color: var(--light-background);
  min-height: 20vh;
  min-width: 75vw;
  padding: 0rem 12rem;
  z-index: -1; /* Ensure content is above the SVG */
  position: relative;
}

.prijslijst-container img {
  width: 100%;
  max-width: 150px;
  height: auto;
  position: relative;
  left: -50px; /* Adjust the overlap */
  z-index: 0; /* Ensure SVG is beneath the content */
}

.prijslijst {
  margin-top: 48px;
  margin-bottom: 64px;
  .row {
    row-gap: 64px;
  }
}

.card-text {
  background-color: var(--light-background);
  color: var(--secondary-color);
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  margin: auto;
  align-items: center;
  padding: 1rem;
  border-radius: 24px;
  padding: 24px 48px;
}

.card-icon {
  height: 100%;
}
.svg-container {
  position: relative;
  display: inline-block;
}

.svg-container img {
  display: block;
  max-height: 400px;
}
.cross {
  width: 400px;
  height: 400px;
  position: relative;
}

.cross:before,
.cross:after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 40px;
}

.cross:before {
  left: 50%;
  width: 30%;
  margin-left: -15%;
  height: 100%;
}

.cross:after {
  top: 50%;
  height: 30%;
  margin-top: -15%;
  width: 100%;
}

.cross-1:before,
.cross-1:after {
  background-color: #35608f;
}
.cross-2:before,
.cross-2:after {
  background-color: #8dd3f9;
}
.cross-3:before,
.cross-3:after {
  background-color: #b1b73b;
}
.cross-4:before,
.cross-4:after {
  background-color: #d3e04d;
}

.svg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 48px;
  pointer-events: none; /* Ensure text does not interfere with SVG interactions */
  font-weight: 500;
  display: flex;
  justify-content: center;
  width: 100%;
}

.body-small {
  font-size: 14px;
}
/* Einde prijslijst */

/* Contact */

/* Einde contact */

@media screen and (max-width: 991px) {
  .hero {
    padding: 0rem 3rem;
    justify-content: center;
  }

  .werkwijze-block {
    padding: 4rem 2rem;
  }

  .prijslijst-textbox {
    padding: 0 2rem;
    min-width: auto;
  }

  .info-section {
    flex-direction: column;
    padding: 0;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .mobile-hide {
    display: none;
  }

  .highlighted-box {
    min-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .steps-section {
    flex-direction: column;
  }

  .heading-title {
    margin-bottom: 32px;
  }
}

@media screen and (max-width: 767px) {
  .hero {
    padding: 0rem 1.5rem;
  }

  .werkwijze-block {
    padding: 2rem 1rem;
  }

  .werkwijze-text {
    max-width: 100%;
  }

  .heading-title {
    margin-bottom: 24px;
    padding-top: 16px;
  }
}

@media screen and (max-width: 479px) {
  .hero {
    padding: 0rem 1rem;
  }

  .werkwijze-block {
    padding: 1.5rem 0.75rem;
  }
}
