/*
Theme Name: apartmentstheme
Author: Val
Text Domain: apartmentstheme
*/

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-VariableFont.woff2') format('woff2-variations');
    font-weight: 100 900; 
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Italic-VariableFont.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
:root {
  /* colors 
  #4361ee
  */
  --clr-accent: 229 83% 60%;
  --clr-secondary: 180 100% 25%;
  --clr-light: 36 11% 92%;
  --clr-white: 0 0% 100%;
  --clr-dark: 0 0% 16%;
  --clr-black: 0 0% 0%;

  /* font-families */
  --ff-main: "Roboto", sans-serif;
}

/* Reset               */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Reset               */
/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-main);
  color: hsl(var(--clr-dark));
  background-color: hsl(var(--clr-white));
  line-height: 1.5;
  font-size: 1rem;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;

  scroll-margin-top: 4rem;
}

main {
  flex-grow: 1;
  margin-top: 80px;
}
.page-template-no-title-page main {
  margin-top: 0px;
}
a {
  color: hsl(var(--clr-accent));
}
a:hover {
  color: hsl(var(--clr-dark));
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.75rem;
}
.footer {
  background-color: hsl(var(--clr-dark));
  padding: 1rem 0.5rem;
}
.footer a {
  color: hsl(var(--clr-white) / 0.9);
  text-decoration: underline;
  transition: color 0.3s ease-in-out;
}
.footer a:hover {
  color: hsl(var(--clr-white) / 0.7);
  text-decoration: underline;
}
.footer-copyright {
  /*   display: flex;
  justify-content: center; */
  color: hsl(var(--clr-white) / 0.9);
  font-size: 0.875rem;

  max-width: 1260px;
  margin: 0 auto;
}

.header-logo-img figure {
  margin: 5px 0 0 0;
}
.header-logo-img img {
  height: 60px;
  width: auto;
}
.primary-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  background-color: hsl(var(--clr-accent) / 0.8);
  backdrop-filter: blur(10px);
  margin: 0 auto;
  border-bottom: 1px solid hsl(var(--clr-white) / 0.2);

  transition: all 0.3s ease-in-out;
}
.page-template-no-title-page .primary-header {
  background-color: transparent;
}
.primary-header.scrolled {
  background-color: hsl(var(--clr-black) / 0.3);
}

.logo-and-phones {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
table p {
  margin: 0;
  padding: 0;
}
h1 {
  color: hsl(var(--clr-black));
}

.hero-subtitle {
  border-radius: 3px;
  padding: 0.5rem 0.75rem;
  color: white;
  text-align: center;
  max-width: fit-content;
  font-size: 0.875rem;

  background-color: hsl(var(--clr-secondary) / 0.8);
}

.services .kt-inside-inner-col {
  position: relative;
  padding: 1rem 2rem 1.75rem 2rem;
}
.services {
  color: #fff;
}
.services .kt-inside-inner-col::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  background-color: hsl(var(--clr-dark) / 0.7);
  pointer-events: none;
  z-index: 1;
  transition:
    height 0.3s ease,
    background 0.3s ease;
}
.services h3 {
  font-size: 1.5rem;
  padding: 0.5rem 0.5rem 0.125rem 0.75rem;
  position: relative;
  z-index: 3;
  margin-bottom: 0.5rem;
  text-align: center;
}

.services a {
  position: relative;
  overflow: hidden;
  z-index: 2;
  text-decoration: none;
  display: block;
  max-width: fit-content;

  background-image: url(images/arrow-right-fill-white.svg);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 20px;
  padding: 0.5rem 1.75rem 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: hsl(var(--clr-white));

  transition: transform 0.3s ease-in-out;
}

.services a:hover {
  transform: translateY(-5px);
}
.btn1 a {
  position: relative;
  background-color: hsl(var(--clr-dark));
  color: hsl(var(--clr-white));
  display: block;
  max-width: fit-content;
  padding: 0.5rem 1.5rem;
  text-decoration: none;
}
.btn1 a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  height: 100%;
  width: 100%;

  border: 1px solid hsl(var(--clr-dark) / 0.7);
  transition: all 0.3s ease-in-out;
}
.btn1 a:hover {
  background-color: hsl(var(--clr-dark) / 1);
}
.btn1 a:hover::after {
  bottom: 0;
  right: 0;
}
.btn1.btn-phone a {
  padding: 0.5rem 1.5rem 0.5rem 2.5rem;
  background-image: url(images/phone-white.svg);
  background-position: center left 10px;
  background-repeat: no-repeat;
  background-size: 20px;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
}
.btn1.btn-email a {
  padding: 0.5rem 1.5rem 0.5rem 2.5rem;
  background-image: url(images/email-white.svg);
  background-position: center left 10px;
  background-repeat: no-repeat;
  background-size: 20px;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
}
.postheader {
  text-align: center;
}
.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

.header-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.header-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  outline: none;
  border: 1px solid hsl(var(--clr-white) / 0.4);
  border-radius: 7px;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  line-height: 1;

  background-color: hsl(var(--clr-accent) / 1);
  color: hsl(var(--clr-white) / 1);

  font-size: 0.938rem;

  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.header-btn:hover {
  background-color: hsl(var(--clr-accent) / 0.8);
}
.header-btn span {
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-languages {
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-languages li {
  list-style: none;
}
.header-languages a {
  border-radius: 6px;
  text-decoration: none;
  color: hsl(var(--clr-white) / 1);
  font-weight: 400;
  display: block;
  padding: 0.25rem;
  transition: background-color 0.3s ease-in-out;
}
.header-languages a:hover {
  background-color: hsl(var(--clr-white) / 0.2);
}
.subtitle {
  font-size: 0.875rem;
  border-radius: 5px;
  padding: 0.25rem 1rem;
  color: hsl(var(--clr-black) / 0.8);
  background-color: hsl(var(--clr-black) / 0.1);
  width: fit-content;
}
.subtitle-center {
  font-size: 0.875rem;
  border-radius: 5px;
  padding: 0.25rem 1rem;
  color: hsl(var(--clr-black) / 0.8);
  background-color: hsl(var(--clr-black) / 0.1);
  width: fit-content;
  margin: 0 auto;
}
.benefit .kt-inside-inner-col {
  padding: 1rem;
  background-color: hsl(var(--clr-black) / 0.05);
  border-radius: 8px;
}
.grey-bg .kt-inside-inner-col {
  background-color: hsl(var(--clr-white) / 1);
}
.benefit h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}
.benefit p {
  margin: 0;
  font-size: 0.938rem;
}
.benefit img {
  height: 48px;
  width: auto;
}

.apartment-benefit .kt-inside-inner-col {
  padding: 1rem;
  background-color: hsl(var(--clr-black) / 0.05);
  border-radius: 8px;
}
.grey-bg .kt-inside-inner-col {
  background-color: hsl(var(--clr-white) / 1);
}
.apartment-benefit h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}
.apartment-benefit p {
  margin: 0;
  font-size: 0.938rem;
}
.apartment-benefit img {
  border-radius: 5px;
  height: 150px;
  width: 100%;
  object-fit: cover;
}

/*--------------main navigation  */
.main-nav {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 15px;
}
.main-nav ul {
  list-style-type: none;
  display: flex;
}
.main-nav .nav li {
  /* text-transform: uppercase; */
  font-weight: 700;
  font-size: 1rem;
  padding: 0 10px;
  display: flex;
  align-items: center;
}
.main-nav .nav a {
  color: hsl(var(--clr-white) / 1);
  margin: 0px;
  display: block;
  text-decoration: none;
  padding: 0;
  transition: color 0.3s ease-in-out;
  position: relative;
}
.main-nav .nav li:first-of-type {
  border-left: 0;
  box-shadow: none;
}

.main-nav .nav a:hover {
  color: hsl(var(--clr-white) / 0.8);
}
.main-nav .nav a::after {
  content: "";
  background-color: hsl(var(--clr-white) / 0.8);
  position: absolute;
  height: 1px;
  width: 100%;
  display: block;
  margin: 0 auto;
  scale: 0;
  transition: width 0.2s ease-in-out;
  transition: scale 0.3s ease-in-out;
}
.main-nav .nav a:hover::after {
  content: "";
  background-color: hsl(var(--clr-white) / 0.8);
  height: 1px;
  width: 100%;
  scale: 1;
}

.main-nav .nav .current_page_item a {
  color: hsl(var(--clr-white) / 0.9);
}
.main-nav .nav .current_page_item a::after {
  /* content: "";
  background-color: rgba(var(--clr-white), 0.8);
  height: 1px;
  width: 100%;
  scale: 1; */
}
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
}
@media only screen and (max-width: 768px) {
  .hamburger {
    position: absolute;
    z-index: 101;
    right: 5px;
    top: 20px;
    /* transform: translateY(-30px); */
    padding: 0px;
    display: flex;
    cursor: pointer;
    transition-property: opacity, filter, top;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
  }
  .sticky .hamburger {
    /* top: 22px; */
  }
  .hamburger:hover {
    /* opacity: 0.7; */
  }
  .hamburger.is-active:hover {
    /* opacity: 0.7; */
  }
  .hamburger.is-active .hamburger-inner,
  .hamburger.is-active .hamburger-inner::before,
  .hamburger.is-active .hamburger-inner::after {
    /*     background-color: rgb(var(--clr-accent)); */
    background-color: hsl(var(--clr-white));
  }

  .hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
  }

  .hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
  }

  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: hsl(var(--clr-white));
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
  }

  .hamburger-inner::before,
  .hamburger-inner::after {
    content: "";
    display: block;
  }
  .hamburger-inner::before {
    top: -8px;
  }
  .hamburger-inner::after {
    bottom: -8px;
  }

  .hamburger--squeeze .hamburger-inner {
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  .hamburger--squeeze .hamburger-inner::before {
    transition:
      top 0.075s 0.12s ease,
      opacity 0.075s ease;
  }
  .hamburger--squeeze .hamburger-inner::after {
    transition:
      bottom 0.075s 0.12s ease,
      transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  .hamburger--squeeze.is-active .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .hamburger--squeeze.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition:
      top 0.075s ease,
      opacity 0.075s 0.12s ease;
  }

  .hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition:
      bottom 0.075s ease,
      transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    position: absolute;
    z-index: 99;
    text-align: left;
    top: 0;
    left: 0;
    /* background: hsl(var(--clr-black) / 1); */
    background: #444;
    width: 100%;
    height: 100vh;
    padding: 20px 10px 10px 30px;
    transform: translateX(-100%);
    transition: transform 400ms ease-in-out;
  }
  .main-nav.show-nav {
    transform: translateX(0);
  }
  .main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 10px 0px;
    gap: 15px;
  }

  .main-nav .nav li {
    border: 0;
    box-shadow: none;
    margin: 5px 0;
  }
  .main-nav .nav li {
    font-size: 1.25rem;
  }
  /* .main-nav .nav .current_page_item a,
  .main-nav .nav a,
  .header-languages a {
    color: hsl(var(--clr-black) / 0.8);
  } */
}
.subheading {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}
.standart-page h2 {
  font-size: 1.875rem;
}
@media (max-width: 768px) {
  .postheader {
    font-size: 1.75rem;
  }
  .standart-page h2 {
    font-size: 1.5rem;
  }
  .header-info {
    flex-direction: column;
    align-items: start;
    justify-content: start;
  }
  .header-logo-img img {
    height: 50px;
    width: auto;
  }

  h1 {
    font-size: 1.5rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
.designed-by {
  max-width: 1260px;
  text-align: right;
  padding: 0.5rem 0.25rem 0;
  margin: 0 auto;
}
.designed-by,
.designed-by a {
  font-size: 0.75rem;
  font-family: var(--ff-main);
  font-weight: 400;
  color: hsl(var(--clr-white) / 0.4);
}
.designed-by a {
  transition: color 0.3s ease-in-out;
}
.designed-by a:hover {
  color: hsl(var(--clr-white) / 1);
}

/* POPUPS */
/* Overlay */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;

  align-items: flex-start;
  overflow-y: auto;
  padding: 40px 15px;
  z-index: 9999;
}

/* Popup box */
.popup {
  background: #fff;
  width: 100%;
  max-width: 520px;
  padding: 30px;
  position: relative;
  border-radius: 12px;
  animation: popupFade 0.25s ease-out;

  margin: auto;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hide all language forms by default */
.form-lang {
  display: none;
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flatpickr-calendar.open,
.flatpickr-calendar.arrowTop,
.flatpickr-calendar.arrowBottom,
#ui-datepicker-div {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  z-index: 999999 !important;

  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.flatpickr-calendar::before,
.flatpickr-calendar::after {
  display: none !important;
}
/* POPUPS */

.forminator-ui#forminator-module-3125.forminator-design--flat
  .forminator-textarea {
  max-height: 80px;
  /* 	padding-top:10px; */
}
.error-page {
  width: 100%;
  margin: 2rem auto;
  font-size: 20px;
  text-align: center;
}
.forminator-consent__label p{
	margin-top:5px !important;
}
.forminator-consent__label p:first-of-type{
	margin-top:0 !important;
}
.popup-form a {
  color: hsl(var(--clr-accent));
}
.popup-form a:hover {
  color: hsl(var(--clr-accent)/ .8);
}