html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 16px;
}

body {
  font-family: "nudista-web", "sans-serif";
  background-color: #F6F1EE;
  --sb-track-color: #272727;
  --sb-thumb-color: #bda580;
  --sb-size: 10px;
}

body::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 10px;
  border: 2px solid #232E33;
}

@supports not selector(::-webkit-scrollbar) {
  body {
      scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}

.menu-item {
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid #FFF;
}

nav .main-menu .pll-parent-menu-item {
    position: relative; 
    cursor: pointer; 
    box-sizing: border-box; 
}

nav .main-menu .pll-parent-menu-item > a {
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

nav .main-menu .pll-parent-menu-item ul {
    display: none; 
    position: absolute;
    top: 90%;
    left: -1px;
    width: calc(100% + 2px); 
    margin-left: -1px;
    min-width: 0;
    z-index: 999; 
    background: var(--color-secondary);
    box-sizing: border-box;
    border: 1px solid #FFF;
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    list-style: none;
    padding: 0; 
    margin: 0;
}

nav .main-menu .pll-parent-menu-item.active > a {
    border-bottom: none !important; 
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

nav .main-menu .pll-parent-menu-item.active > ul {
    display: block; 
}

nav .main-menu .pll-parent-menu-item ul li a {
    display: block;
    padding: 4px 0px 4px 4px;
    color: #FFF;
    text-decoration: none;
    line-height: 1.5;
}

nav .main-menu .pll-parent-menu-item ul li a:hover {
    color: var(--color-primary)
}

nav .main-menu .pll-parent-menu-item ul li:last-child a {
    border-bottom: none;
    padding-bottom: 4px; 
}

nav .main-menu .pll-parent-menu-item > a:after {
    content: "\f078"; 
    font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif; 
    font-weight: 900; 
    margin-left: 8px;
    font-size: 0.7em;
    vertical-align: middle;
    transition: transform 0.3s ease;
    transform: rotate(0deg); 
    display: inline-block;
}

nav .main-menu .pll-parent-menu-item.active > a:after {
    transform: rotate(180deg);
}

.lang-item {
  border: none;
}

.menu-item-17:hover {
  background-color: var(--color-accent-green);
  color: #FFF;
  transition: all ease-in-out 300ms;
}

.menu-item-17 > a::before {
    content: "\f061";
    font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif;
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.7em;
    vertical-align: middle;
    display: inline-block;
}

.property-location-section-wrapper {
    background-image: url('../images/background-jet.png');
    background-blend-mode: lighten;
    height: auto;
    background-repeat: no-repeat;
    background-size: cover;
}

.title-description-block span {
    color: var(--color-secondary);
}

.title-description-block.dark span {
    color: var(--color-primary);
}

.slick-slide {
    margin: 0 16px; 
}

.slick-list {
  margin: 0 -16px;
}

.slick-dots {
    list-style: none;
    text-align: center;
    padding: 0;
    margin-top: 20px;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 1px solid var(--color-secondary);
    border-radius: 50%;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.slick-dots li.slick-active button {
    background: transparent; 
}

.slick-dots li.slick-active button::before {
    content: '';
    width: 10px; 
    height: 10px; 
    border-radius: 50%;
    background: var(--color-accent-green);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.link-wrapper a {
  color: var(--color-primary);
  text-decoration: underline;
}

.title-description-block strong {
    font-weight: 600;
    color: var(--color-secondary);
}

#technical-section .title-description-block strong {
    color: var(--color-primary) !important;
}

a[class*="impressum"]:last-of-type,
a[class*="cookie-statement"]:last-of-type {
    display: none;
}

.cmplz-btn {
    background-color: var(--color-secondary) !important;
    color: #FFF !important;
    font-size: 10px !important;
    padding: 8px 4px !important;
    height: 40px !important;
}

.pll-parent-menu-item,
.sub-menu {
  background-color: var(--color-secondary);
}

@media (max-width: 80em) {
    .sub-menu {
        margin-top: 8px;
        display: flex;
        gap: 16px;
        padding-top: 8px;
        border-top: 1px solid var(--color-accent-green);
    }
    .menu-item {
        border: none !important;
    }
    .menu-item-17 > a::before {
        content: '' !important;
        margin: 0 !important;
    }
    .menu-item-17 {
        padding: 0 !important;
    }
    .menu-item-17:hover {
        background: transparent !important;
    }
    .pll-parent-menu-item {
      padding-left: 0;
    }
    .pll-parent-menu-item a[href="#pll_switcher"] {
        display: none;
    }
}

/* Complianz Cookie Banner Alignment */
.cmplz-btn.cmplz-manage-consent.manage-consent-1.cmplz-show {
    position: fixed !important;
    left: 1 !important;
    right: auto !important;
    max-width: calc(100% - 3rem) !important;
}

@media (min-width: 85.375em) {
    .cmplz-btn.cmplz-manage-consent.manage-consent-1.cmplz-show {
        left: calc(50% - 640px) !important;
        right: auto !important;
    }
}

@media (max-width: 85.375em) {
    #cmplz-manage-consent .cmplz-manage-consent {
        left: 24px !important;
    }
}

/* Lightbox styles */
.lightbox-img {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.lightbox-img:hover {
  opacity: 0.8;
}

#lightboxModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  overflow: auto;
}

.lightbox-content {
  position: relative;
  background-color: #000;
  margin: auto;
  padding: 0;
  width: 100%;
  max-width: 95%;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 80px;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.7);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-prev,
.lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  color: white;
  background-color: var(--color-secondary);
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s ease;
  border-radius: 999px;
  user-select: none;
  border: none;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-next {
  right: 20px;
  padding-left: 4px;
}

.lightbox-prev {
  left: 20px;
  padding-right: 4px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}