@import 'var.colors';
@import 'var.globals';
@import 'var.responsive';
@import 'var.typo';

@import 'mix.responsive';

@import 'base.globals';

@import 'plugin.icomoon';

@import 'utils.fontscale';
@import 'utils.spacing';
@import 'utils.text';
@import 'utils.flex';
@import 'utils.animations';

@import 'mod.button';
@import 'mod.table';
@import 'mod.checkbox-item';
@import 'mod.form-item';
@import 'mod.input';
@import 'mod.overlay';
@import 'mod.accessibility-tab-handler';

@import 'comp.header';
@import 'comp.hero';
@import 'comp.section';
@import 'comp.footer';

.pos-r {
  position: relative;
}
.pos-a {
  position: absolute;
}

.width-full {
  width: 100%;
}
.height-full {
  height: 100%;
}

ul {
  margin-left: 22px;
}
li {
  padding-left: 5px;
}

.cont-sm {
  max-width: 480px;
}
.cont-md {
  max-width: 620px;
}
.cont-xl {
  max-width: 1200px;
}

.line-left {
  border-left: 1px solid $primary-color;
  padding-left: 40px;
}
.line-bottom {
  border-bottom: 1px solid #a1a1a1;
}
.line-top-primary {
  border-top: 1px solid $secondary-color;
}

//home page
.home-first {
  min-height: 100vh;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #fff;
  position: relative;
}

.bottom-txt-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 525px;
  text-align: center;
  color: #fff;
}

.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.bg-img-gray {
  background-image: url('../img/nofollow/bg-gray.png');
  background-position: center;
  background-repeat: repeat;
  background-size: contain;
}

.bg-video {
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  z-index: -1;
}

.img-col {
  display: flex;
  flex-direction: column;
  width: 45%;
  padding: 40px;
  img {
    padding: 40px 0;
    object-fit: cover;
    height: 24vw;
  }
}

.img-col-right {
  margin-top: -160px;
}

.section-slider {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.slider-wrap {
  width: 55%;
  height: 85vh;
  img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.slider-main {
  height: 80%;
}
.slider-thumbs {
  height: 20%;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background-color: $light-gray;
  border: 10px solid $light-gray;
  border-right: none;
  img {
    opacity: 0.5;
    transition: all 0.25s;
    &:hover {
      opacity: 1;
    }
  }
}
.swiper-slide-active {
  img {
    opacity: 1;
  }
}

.swiper-button-prev,
.swiper-button-next {
  color: transparent !important;
}

.slider-thumb {
  img {
    padding-right: 10px;
    cursor: pointer;
  }
}

.slider-btn-prev,
.slider-btn-next {
  position: absolute;
  left: 0;
  top: 47%;
  z-index: 5;
  height: 50px;
  width: 50px;
  img {
    object-fit: contain;
  }
}
.slider-btn-next {
  left: auto;
  right: 0;
}

.slider-txt-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section-img-txt {
  position: relative;
  height: 80vh;
  max-height: 750px;
  background-image: url('../img/exterior-pool.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  color: #fff;
  &:before {
    position: absolute;
    content: '';
    background-color: #292929f2;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: all 2s ease-in-out;
  }
}
.section-img-txt.in-viewport {
  &:before {
    background-color: #292929a6;
  }
}

.imgs-location-top,
.imgs-location-bottom {
  height: 340px;
  display: flex;
  justify-content: center;
  img {
    height: 100%;
    object-fit: cover;
    padding: 10px;
  }
}
.imgs-location-top {
  align-items: flex-end;
  img:nth-child(1) {
    width: 35%;
    height: 90%;
  }
  img:nth-child(2) {
    width: 45%;
  }
}
.imgs-location-bottom {
  align-items: flex-start;
  img:nth-child(1) {
    width: 45%;
    height: 65%;
  }
  img:nth-child(2) {
    width: 25%;
  }
  img:nth-child(3) {
    width: 25%;
    height: 65%;
  }
}

.arrow-right,
.arrow-down {
  transition: all 0.25s;
}
.arrow-right-wrap {
  &:hover {
    color: #888;
    .arrow-right {
      transform: translateX(3px);
      opacity: 0.75;
    }
  }
}
.arrow-down-wrap {
  &:hover {
    .arrow-down {
      transform: translateY(3px);
      opacity: 0.8;
    }
  }
}

.txt-float {
  display: flex;
  width: auto;
  justify-content: flex-start;
  color: #ddd;
  h2 {
    transition: all 3s ease;
    transform: translateX(10%);
  }
}
.txt-float.in-viewport h2 {
  transform: translateX(4%);
}

//location page

.location-main-img {
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  z-index: -1;
  height: 100%;
  width: 100%;
  display: none;
}

.location-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 50%;
  width: 100%;
  background: linear-gradient(transparent, #0e0e0e);
  display: none;
}

.attraction-box {
  position: relative;
  width: 330px;
  box-shadow: 0px 0px 7px rgba(71, 71, 71, 0.15);
  margin: 15px;
  img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }
}
.attraction-desc {
  padding: 15px 20px 30px 20px;
}

.imgs-location2 {
  display: flex;
  width: 65%;
  padding-left: 5%;
  padding-right: 5%;
  height: 75vh;
}
.imgs-location2-left,
.imgs-location2-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  img {
    width: 100%;
    object-fit: cover;
    padding: 10px;
  }
}
.imgs-location2-left {
  width: 60%;
  align-items: flex-end;
  img:nth-child(1) {
    height: 35%;
    width: 80%;
  }
  img:nth-child(2) {
    height: 65%;
  }
}
.imgs-location2-right {
  width: 40%;
  img:nth-child(1) {
    height: 50%;
  }
  img:nth-child(2) {
    height: 35%;
    width: 75%;
  }
}

.txt-float-loc {
  display: flex;
  width: auto;
  color: #ddd;
  h2 {
    transform: translateX(30vw);
    transition: all 3s ease;
  }
}
.txt-float-loc.in-viewport {
  h2 {
    transform: translateX(12vw);
  }
}

//contact page

.contact-first {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 100px;
}
.logo-contact {
  height: 450px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  h4 {
    font-weight: 400;
  }
  .fs-base {
    border-bottom: 1px solid $secondary-color;
  }
  a {
    transition: all 0.2s;
    &:hover {
      color: $secondary-color;
    }
  }
}
.contact-map {
  width: 100%;
  height: 90vh;
}

//inquiry page
.inquiry-first {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 350px;
}
.inquiry-wrap {
  position: relative;
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: -250px;
}

.date-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 5%;
  cursor: default;
}
.inquiry-box {
  flex: 1;
  border: 2px solid $light-gray;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.inquiry-p {
  padding: 50px 15%;
}
.inquiry-bottom {
  height: 160px;
  padding: 20px 15%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quantity-wrap {
  display: flex;
  align-items: center;
  .minus,
  .plus {
    border: 1px solid $primary-color;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.25s;
    &:hover {
      background-color: $light-gray;
    }
  }
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  input[type='number'] {
    -moz-appearance: textfield;
  }
  span {
    &::selection {
      background: #fff;
      color: $primary-color;
    }
  }
}
.quantity-input {
  height: 40px;
  width: 40px;
  background-color: #f1f1f1;
  border: none;
  margin: 0 15px;
  text-align: center;
}

.prices-wrap {
  padding: 50px 8%;
  border: 2px solid $light-gray;
}
.prices-table {
  display: flex;
  border: 1px solid $light-gray;
  margin-bottom: 30px;
}
.prices-col {
  flex: 1;
  text-align: center;
  &:first-child {
    border-right: 1px solid $light-gray;
  }
}
.prices-row {
  padding: 8px 5px;
  border-bottom: 1px solid $light-gray;
  &:first-child,
  &:last-child {
    border: none;
  }
}

.minStay-txt {
  text-align: center;
  color: $secondary-color;
}

.inquiry-form.hide {
  display: none;
}
.thank-you {
  display: none;
  background-color: #fff;
  min-height: 80vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 50;
}
.thank-you.show {
  display: flex;
}

//calendar
.calendar-wrap {
  padding: 60px 5%;
  border: 2px solid $light-gray;
}

.vc-container {
  width: 100% !important;
  font-family: $ff-sans !important;
  border: none !important;
}
.grid {
  gap: 5vw !important;
}
.vc-bg-blue-600 {
  background-color: $secondary-color !important;
}
.vc-bg-blue-200 {
  background-color: $light-gray !important;
}
.vc-text-gray-400 {
  color: $secondary-color !important;
  text-decoration: line-through;
}
.vc-text-gray-500 {
  color: $primary-color !important;
}
.vc-text-gray-600 {
  color: $primary-color !important;
}
.vc-text-blue-900 {
  color: $primary-color !important;
}
.vc-text-lg {
  font-size: 21px !important;
}
.vc-rounded-full {
  border-radius: 0 !important;
}
.vc-font-medium {
  font-weight: 100 !important;
}
.vc-font-semibold {
  font-weight: 400 !important;
}
.vc-day-content,
.vc-highlight {
  height: 45px !important;
  width: 100% !important;
}
.vc-grid-cell {
  margin: 5px 0 !important;
}
.vc-header {
  margin-bottom: 40px;
}
.vc-title {
  margin-top: -10px;
}
.vc-h-full {
  width: 100%;
}

//cookies
.cookies-page {
  a {
    color: $secondary-color;
    transition: all 0.2s;
    &:hover {
      opacity: 0.7;
    }
  }
}

//loader
.main-loader {
  background-image: url('../img/villa-unikat-10.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: fixed;
  height: 100vh;
  width: 100%;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderWrap 0.2s ease 2s forwards;
}
.loader-overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: #fff;
  opacity: 0.8;
}
.logo-wrap {
  position: relative;
  z-index: 5;
  animation: logoWrap 0.5s linear 1.4s forwards;
}
.logo-wrap-left {
  height: 100%;
  position: absolute;
  width: 50%;
  right: 50%;
  top: 0;
  background-color: #fff;
  border-bottom: 5px solid #fff;
  z-index: -1;
  animation: halfBg 0.5s linear 0.8s forwards;
}
.logo-wrap-right {
  height: 100%;
  position: absolute;
  width: 50%;
  top: 0;
  left: 50%;
  background-color: #fff;
  border-bottom: 5px solid #fff;
  z-index: -1;
  animation: halfBg 0.5s linear 0.8s forwards;
}
.logo-loader {
  height: 40vh;
  padding: 30px 55px;
}
.loader-line {
  position: absolute;
  bottom: 0;
  height: 5px;
  width: 1%;
  background-color: $secondary-color;
  animation: loaderLine 0.75s ease forwards;
}

@keyframes loaderLine {
  0% {
    width: 1%;
  }
  99% {
    width: 100%;
    background-color: $secondary-color;
  }
  100% {
    background-color: #fff;
  }
}
@keyframes halfBg {
  0% {
    width: 50%;
  }
  1% {
    border-bottom: 5px solid $secondary-color;
  }
  100% {
    width: 0%;
    border-bottom: 5px solid $secondary-color;
  }
}
@keyframes logoWrap {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(70vh);
  }
}
@keyframes loaderWrap {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}

//media

@media (max-width: 1400px) {
  .txt-facilities {
    margin-right: 0;
    padding-left: 5%;
  }
  .img-col {
    padding: 20px;
    img {
      padding: 20px 0;
    }
  }
  .img-col-right {
    margin-top: -100px;
  }
  .slider-wrap {
    height: 450px;
  }
  .slider-thumbs {
    padding: 5px;
  }
  .slider-thumb {
    margin: 5px;
  }
  .imgs-location2 {
    padding-right: 0%;
    padding-left: 0%;
  }
  .contact-map {
    height: 70vh;
  }
}

@media (max-width: 1000px) {
  .md-u-flex-fd--c {
    flex-direction: column;
  }
  .md-u-flex-fd--cr {
    flex-direction: column-reverse;
  }
  .line-left {
    padding-left: 20px;
  }
  .txt-facilities {
    max-width: 100%;
  }
  .img-col {
    padding: 10px;
    img {
      padding: 10px 0;
    }
  }
  .section-slider {
    align-items: flex-start;
    padding: 0 4%;
    margin-top: 0;
    margin-bottom: 60px;
  }
  .slider-wrap {
    width: 100%;
    margin-top: 40px;
  }
  .imgs-location {
    padding-left: 0;
    padding-right: 0;
  }
  .imgs-location-top,
  .imgs-location-bottom {
    height: 250px;
    img {
      padding: 5px;
    }
  }
  .section-location {
    padding-top: 40px;
    padding-bottom: 50px;
  }
  .imgs-location2 {
    width: 100%;
    height: 500px;
    padding: 50px 4% 50px 0;
  }
  .vc-day-content,
  .vc-highlight {
    height: 35px !important;
  }
  .calendar-wrap {
    padding: 50px 5% 20px 5%;
  }
  .date-wrap {
    padding: 20px 4%;
  }
  .inquiry-p {
    padding: 20px 4%;
  }
  .inquiry-bottom {
    padding: 20px 4%;
  }
  .contact-first {
    padding-bottom: 50px;
  }
  .prices-wrap {
    padding: 20px 4%;
  }
  .txt-float.in-viewport h2 {
    transform: translateX(4%);
  }
  .txt-float-loc.in-viewport {
    h2 {
      transform: translateX(6vw);
    }
  }
}

@media (max-width: 600px) {
  .sm-u-flex-fd--c {
    flex-direction: column;
  }
  .sm-u-flex-fd--r {
    flex-direction: row;
  }
  .home-first {
    .bottom-txt-wrap {
      padding-bottom: 50px;
    }
  }
  .bottom-txt-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .img-col {
    width: 100%;
    img {
      height: 200px;
      padding: 7px 0;
    }
  }
  .img-col-right {
    margin-top: -20px;
  }
  .section-img-txt {
    height: 500px;
    margin-top: 50px;
  }
  .imgs-location-top {
    img:nth-child(1) {
      width: 50%;
      height: 70%;
    }
  }
  .imgs-location-bottom {
    height: auto;
    flex-direction: column;
    align-items: center;
    img:nth-child(2) {
      width: 60%;
    }
    img:nth-child(3) {
      width: 75%;
      height: 65%;
    }
  }
  .section-slider {
    margin-bottom: 50px;
  }
  .slider-wrap {
    height: 300px;
    margin-top: 20px;
  }
  .slider-thumbs {
    padding: 2px;
    border: 7px solid #efefef;
    border-left: none;
  }
  .slider-thumb {
    margin: 0;
    img {
      padding-right: 0;
    }
  }
  .slider-btn-prev,
  .slider-btn-next {
    top: 44%;
    height: 35px;
    width: 35px;
  }
  .txt-float {
    padding: 70px 0 10px 0;
  }
  .imgs-location2 {
    padding: 10px 4% 10px 0;
  }
  .imgs-location2-left,
  .imgs-location2-right {
    img {
      padding: 5px;
    }
  }
  .attraction-box {
    width: 100%;
  }
  .logo-contact {
    height: 350px;
  }
  .contact-map {
    height: 350px;
  }
  .inquiry-bottom {
    margin-top: 30px;
    height: 120px;
  }
  .swiper-button-prev {
    left: 5px !important;
  }
  .swiper-button-next {
    right: 5px !important;
  }
  .swiper-container {
    .btn {
      padding: 10px 15px;
    }
  }
  .main-loader {
    background-image: url('../img/villa-unikat-10-m.jpg');
  }
  .logo-wrap {
    margin-top: -50px;
  }
  .logo-loader {
    height: 35vh;
  }
  .location-main-img {
    display: block;
  }
  .location-video {
    display: none;
  }
  .location-overlay {
    display: block;
  }
}

@media (max-width: 400px) {
  .prices-col:first-child {
    flex: unset;
    width: 60%;
  }
  .prices-col:last-child {
    flex: unset;
    width: 40%;
  }
  .prices-row:first-child {
    height: 70px;
  }
}
