/*
 * Hero Block Styles - 3 Varianten
 * @author The Goodplace
 * @package The Goodplace
 */

/* Base Hero Styles */
.hero-block {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  height: auto;
}

.margin-block {
  margin: 100px 0;
}

/* .hero-content {
    min-height: 400px;

} */

.hero-dark-block {
  margin: 100px 0;
}

.padding-block {
  padding: 100px 0;
}

.white-box {
  background: #fff;
  width: 480px;
  min-height: 500px;
  overflow: hidden;
  padding: 60px 30px 60px 60px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

@media (max-width: 576px) {
  .white-box {
    border-radius: 120px 0;
    background: #fff;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 50px 30px 40px 30px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  }
}

/* Hero Variant 1: Volledig scherm met overlay */
.hero-block.hero-1 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.hero-block .hero-badge {
  border-radius: 3px;
  background: var(--color-malibu);
  display: flex;
  width: auto;
  height: auto;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-block .hero-title {
  font-style: normal;
  font-weight: 700;

  max-width: 650px;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.3s both;
}

@media (max-width: 576px) {
  .hero-block .hero-title {
    font-style: normal;
    font-weight: 700;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.3s both;
  }
}

.hero-block.hero-1 .hero-buttons {
  animation: fadeInUp 0.8s ease 0.5s both;
}

/* Hero Variant 2: Content box links */
.hero-block.hero-2 {
  min-height: 75vh;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-block.hero-hero-2 .hero-title,
.block-text-image-variants .blockquote,
.block-text-image-variants .block-title {
  color: #1c342e;
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 38px; /* 113.904% */
}

.block-text-image-variants .blockquote-footer {
  color: #1c342e;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 70px; /* 350% */
}

@media (max-width: 576px) {
  .hero-block.hero-hero-2 .hero-title,
  .block-text-image-variants .blockquote,
  .block-text-image-variants .block-title {
    color: #1c342e;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
  }

  .block-text-image-variants .blockquote-footer {
    color: #1c342e;
    font-size: 17px;
    font-style: normal;
    font-weight: 300;
    line-height: 60px;
  }
}

.hero-block .hero-description p {
  font-size: 19px;
  font-style: normal;
  font-weight: 300;
  line-height: 30px;
}

@media (max-width: 576px) {
  .hero-block .hero-description p {
    font-size: 17px;
    font-style: normal;
    font-weight: 300;
    line-height: 30px;
  }
}

.hero-block .hero-additional-text {
  font-size: 0.85rem;
  color: #1c342e;
  font-size: 15.273px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px; /* 183.325% */
}

/* Hero Variant 3: Split layout met ronde afbeelding */
.hero-block.hero-3 {
  min-height: 75vh;
}

.hero-block.hero-3 .hero-badge {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hero-block.hero-3 .hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.hero-block .hero-image-container,
.block-text-image-variants .hero-image-container {
  margin-left: auto;
  position: relative;
  width: 460px;
  height: 480px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.block-text-image-variants .hero-image-container-2 {
  margin: 0 auto;
  position: relative;
  width: 460px;
  height: 480px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

@media (max-width: 576px) {
  .hero-block .hero-image-container,
  .block-text-image-variants .hero-image-container {
    margin: 0 auto;
    position: relative;
    border-radius: 120px 0;
    width: 320px;
    height: 330px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  }
}

.hero-block .hero-image,
.block-text-image-variants .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.block-text-image-variants .text-block {
  max-width: 500px;
}

.block-text-image-variants .quote-block {
  max-width: 550px;
}

.opening-mark {
  color: var(--color-malibu);
  font-size: 155px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px;
}

@media (max-width: 576px) {
  .opening-mark {
    color: var(--color-malibu);
    font-size: 120px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
  }
}
.hero-block.hero-3 .hero-annotation {
  top: 20%;
  right: -10%;
  z-index: 3;
}

.hero-block.hero-3 .annotation-bubble {
  position: relative;
  max-width: 200px;
  border-radius: 15px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.hero-block.hero-3 .annotation-arrow {
  position: absolute;
  bottom: -8px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid white;
}

.hero-block.hero-3 .annotation-text {
  font-size: 0.9rem;
  color: #2c3e50 !important;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .hero-block.hero-2 .row,
  .hero-block.hero-3 .row {
    flex-direction: column-reverse;
  }

  .hero-block.hero-2 .hero-content-box,
  .hero-block.hero-3 .hero-content {
    margin-bottom: 2rem;
    text-align: center;
  }

  .hero-block.hero-3 .hero-image-container {
    width: 300px;
    height: 300px;
  }

  .hero-block.hero-3 .hero-annotation {
    position: static;
    margin-top: 1rem;
    text-align: center;
  }

  .hero-block.hero-3 .annotation-bubble {
    margin: 0 auto;
  }

  .hero-block.hero-3 .annotation-arrow {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .hero-block {
    min-height: 80vh;
    padding: 30px 0;
  }

  .hero-block.hero-1 .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-block.hero-2 .hero-content-box {
    padding: 2rem !important;
    margin: 1rem;
  }

  .hero-block.hero-2 .hero-title {
    font-size: 1.75rem;
  }

  .hero-block.hero-3 .hero-title {
    font-size: 2rem;
  }

  .hero-block.hero-3 .hero-image-container {
    width: 250px;
    height: 250px;
  }

  .hero-block .hero-buttons {
    flex-direction: column;
    /* align-items: center; */
  }

  .hero-block .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 575.98px) {
  .hero-block.hero-1 .hero-title {
    font-size: 2rem;
  }

  .hero-block.hero-2 .hero-content-box {
    padding: 1.5rem !important;
  }

  .hero-block.hero-3 .hero-image-container {
    width: 200px;
    height: 200px;
  }
}

/* Animation Enhancements */
.hero-block.has-animation .hero-content > *,
.hero-block.has-animation .hero-content-box > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.hero-block.has-animation .hero-content > *.aos-animate,
.hero-block.has-animation .hero-content-box > *.aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.hero-block.has-animation .hero-image-wrapper {
  opacity: 0;
  transform: scale(0.9);
  transition: all 1s ease;
}

.hero-block.has-animation .hero-image-wrapper.aos-animate {
  opacity: 1;
  transform: scale(1);
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus States for Accessibility */
.hero-block .btn:focus {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

/* Parallax Effect for Hero-1 and Hero-3 */
.hero-block.hero-1.parallax,
.hero-block.hero-3.parallax {
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero-block.hero-1.parallax,
  .hero-block.hero-3.parallax {
    background-attachment: scroll;
  }
}

/* Loading States */
.hero-block .hero-image-wrapper.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.btn-outline {
  background: transparent;
  color: white !important;
  display: inline-flex;
  padding: 10px 20px !important;
  justify-content: center;
  align-items: center;
  width: fit-content !important;
  gap: 10px;
  font-weight: 600 !important;

  font-size: 17px;
  border-radius: 999px;
  border: 1.5px solid #fff;
  transition: all 0.3s ease; /* Voegt een vloeiende overgang toe */
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1); /* Subtiele achtergrondkleur bij hover */
  border-color: #fff; /* Laat de randkleur hetzelfde of licht veranderen */
  color: #fff; /* Zorg ervoor dat de tekstkleur hetzelfde blijft */
}

.btn-outline-dark {
  background: transparent;
  color: #000 !important;
  width: fit-content !important;

  display: inline-flex;
  padding: 10px 20px !important;
  justify-content: center;
  align-items: center;
  font-weight: 600 !important;

  gap: 10px;
  font-size: 17px;
  border-radius: 999px;
  border: 1.5px solid #000;
  transition: all 0.3s ease; /* Voegt een vloeiende overgang toe */
}

.btn-outline-dark:hover {
  background: rgba(0, 0, 0, 0.1); /* Subtiele achtergrondkleur bij hover */
  border-color: #000; /* Laat de randkleur hetzelfde of licht veranderen */
  color: #000; /* Zorg ervoor dat de tekstkleur hetzelfde blijft */
}

.btn-green {
  background-color: var(--color-laserLemon);
  color: var(--color-shark) !important;
  display: inline-flex;
  padding: 10px 20px !important;
  justify-content: center;
  width: fit-content !important;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.btn-green:hover {
  background-color: var(--color-malibu);
  color: #fff;
}

/* Laserlemon bg: buttons malibu with shark text */
.hero-block.bg-laserLemon .btn,
.hero-block.bg-laserLemon-50 .btn {
  background-color: var(--color-malibu);
  color: var(--color-shark) !important;
  border-color: var(--color-malibu);
}

.hero-block.bg-laserLemon .btn:hover,
.hero-block.bg-laserLemon-50 .btn:hover {
  background-color: rgba(var(--color-malibu-rgb), 0.85);
  color: var(--color-shark) !important;
}

/* Hero 4 */

.hero-block.hero-hero-4 {
  margin-top: -48px;
  min-height: unset !important;
  padding: 0px;
}

.hero-block.hero-hero-4 .hero-hero-4__col-left,
.hero-block.hero-hero-4 .hero-hero-4__col-right {
  width: 50%;
}

.hero-block.hero-hero-4 .hero-hero-4__col-left {
  padding: 80px 0px;
}

.hero-block.hero-hero-4 .hero-hero-4__title-wrapper {
  max-width: 80%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-3deg);
}

.hero-block.hero-hero-4 .hero-hero-4__real-title {
  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;
}

.hero-block.hero-hero-4 .hero-hero-4__title-lines {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}

.hero-block.hero-hero-4 .hero-hero-4__title-lines:after {
  content: "";
  display: block;
  width: 2px;
  height: calc(100% + 32px);
  background-color: var(--color-laserLemon);
  position: absolute;
  top: 0;
  left: -30px;
}

.hero-block.hero-hero-4 .hero-hero-4__title-line {
  font-size: 56px;
  font-weight: 400;
  width: fit-content;
  height: fit-content;
  position: relative;
  width: 100%;
  margin-bottom: 0px;
}

.hero-block.hero-hero-4 .hero-hero-4__title-line:before {
  content: "";
  display: block;
  height: 1px;
  width: calc(100% + 100px);
  background-color: #c7d7ff;
  position: absolute;
  left: -60px;
  bottom: -15px;
  z-index: -1;
}

/* Laserlemon bg: shark lines */
.hero-block.hero-hero-4.bg-laserLemon .hero-hero-4__title-line:before,
.hero-block.hero-hero-4.bg-laserLemon-50 .hero-hero-4__title-line:before {
  background-color: rgba(var(--color-shark-rgb), 0.5);
}

.hero-block.hero-hero-4.bg-laserLemon .hero-hero-4__title-lines:after,
.hero-block.hero-hero-4.bg-laserLemon-50 .hero-hero-4__title-lines:after {
  background-color: var(--color-shark);
}

.hero-block.hero-hero-4 .hero-hero-4__slider {
  max-height: 100%;
}

.hero-block.hero-hero-4 .hero-hero-4__slider-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1/1;
  max-height: 650px;
}

.hero-block.hero-hero-4 .hero-hero-4__slider-pagination {
  bottom: 50px;
}

.hero-block.hero-hero-4 .hero-hero-4__slider-pagination .swiper-pagination-bullet {
  background-color: white;
  height: 14px;
  width: 14px;
  margin: 0 6px;
  opacity: 0.5;
}

.hero-block.hero-hero-4 .hero-hero-4__slider-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

.hero-block.hero-hero-4 .hero-hero-4__buttons {
  max-width: 80%;
  margin: 0 auto;
  margin-top: 100px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: end;
}

@media (max-width: 992px) {
  .hero-block.hero-hero-4 {
    flex-direction: column;
  }

  .hero-block.hero-hero-4 .hero-hero-4__col-left,
  .hero-block.hero-hero-4 .hero-hero-4__col-right {
    width: 100%;
  }

  .hero-block.hero-hero-4 {
    margin-top: 0px;
  }
}

@media (max-width: 1400px) {
  .hero-block.hero-hero-4 .hero-hero-4__title-lines {
    gap: 14px;
  }

  .hero-block.hero-hero-4 .hero-hero-4__title-lines:after {
    left: -20px;
  }

  .hero-block.hero-hero-4 .hero-hero-4__title-line {
    font-size: 40px;
  }

  .hero-block.hero-hero-4 .hero-hero-4__title-line:before {
    width: calc(100% + 80px);
    left: -40px;
    bottom: -6px;
  }
}

@media (max-width: 576px) {
  .hero-block.hero-hero-4 .hero-hero-4__title-lines {
    gap: 5px;
  }

  .hero-block.hero-hero-4 .hero-hero-4__title-lines:after {
    left: -20px;
  }

  .hero-block.hero-hero-4 .hero-hero-4__title-line {
    font-size: 24px;
  }

  .hero-block.hero-hero-4 .hero-hero-4__title-line:before {
    width: calc(100% + 40px);
    left: -40px;
    bottom: -3px;
  }
}
