@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display+SC:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap');

* {
  box-sizing: border-box;
  font-family: "Golos Text", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  transition: all 0.5s linear;
  scroll-behavior: smooth;
}

body {
  box-sizing: border-box;
  margin: auto;
}

/* PRELOADER */

.preloader {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background: #fff;
  z-index: 1001;
}

.preloader-image {
  height: 300px;
  overflow: hidden;
}

.preloader img {
  margin-top: -2px;
  max-width: 100%;
}

.loaded_hiding .preloader {
  transition: 0.3s opacity;
  opacity: 0;
}

.loaded .preloader {
  display: none;
}

/* PRELOADER finish*/

h1 {
  font-size: 44px;
  text-transform: uppercase;
  margin-bottom: 80px;
}

h2 {
  font-size: 32px;
  text-transform: uppercase;
  margin-bottom: 60px;
}

h4 {
  font-size: 24px;
  margin: 10px 0;
}

h5 {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 1em 0;
  letter-spacing: .1em;
}

h6 {
  font-size: 16px;
  letter-spacing: .1em;
  margin: 12px 0;
}

p {
  font-size: 20px;
  line-height: 2em;
  letter-spacing: .1em;
}

p::first-letter {
  font-family: "Playfair Display SC", serif;
  font-style: italic;
  font-size: 5em;
}

.text-highlight {
  display: inline-block;
  font-family: "Playfair Display SC", serif;
  font-style: italic;
  font-size: 1.5em;
  line-height: 1em;
  padding: 0 10px 2px;
  background-color: #EEB4CC;
}

.long-word {
  word-break: break-all;
}

a {
  text-decoration: none;
  color: #000;
}

button {
  border: none;
}

.btn {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin: 10px 30px;
}

.btn-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
}

.btn span {
  padding: 10px 8px 10px 0;
}

ion-icon {
  font-size: 2em;
  padding-right: 10px;
}

.btn:hover ion-icon {
  transform: translateX(10px);
}

.pink {
  background: none;
}

.pink::before {
  content: "";
  display: block;
  width: 44px;
  height: 100%;
  background-color: #EEB4CC;
  position: absolute;
  border-radius: 100px;
  left: -1em;
  z-index: -1;
  transition: all 600ms ease;
}

.pink:hover::before {
  width: 125%;
}

.pink:hover ion-icon {
  transform: translateX(10px);
}

.btn_second {
  color: #000;
  font-size: 14px;
  letter-spacing: 1.5px;
  padding: 10px 26px;
  border-radius: 30px;
  background-color: #fff;
  border: #EEB4CC 2px solid;
  cursor: pointer;
}

.btn_second:hover {
  background-color: #EEB4CC;
}

.btn_second-active {
  border: #EEB4CC 1px solid;
  background-color: #EEB4CC;
}

.image {
  max-width: 100%;
}

header {
  max-width: 100%;
  top: 0;
  left: 0;
  position: sticky;
  background: rgba(255, 255, 255, .3);
  transition: transform 1s ease-in-out;
  padding: 20px 0;
  z-index: 10;
}

#navbar:hover {
  background: #fff;
  transition: all 0.5s ease;
}

.header-container {
  margin-left: auto;
  margin-right: auto;
  padding: 0 150px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-width: 120px;
}

nav ul {
  display: flex;
  gap: 20px;
}

nav ul li {
  display: inline-block;
  font-size: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .0);
}

nav ul a {
  color: #000;
  padding-right: 40px;
}

nav ul li:hover {
  border-bottom: 1px solid #EEB4CC;
}

.descktop-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.lang {
  padding-left: 40px;
}

.lang_active {
  font-weight: 600;
}

.lang_inactive {
  color: #EEB4CC;
}

.lang_inactive:hover {
  color: #000;
  font-weight: 600;
}

/* Kebab Menu Base Styles */

.kebab-menu {
  position: relative;
  display: none;
}

.kebab-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kebab-trigger:focus {
  background: #EEB4CC;
}

.kebab-trigger:focus .kebab-dot {
  background-color: #fff;
}

.kebab-dots {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kebab-dot {
  width: 6px;
  height: 6px;
  background-color: #EEB4CC;
  border-radius: 50%;
}

.kebab-dropdown {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: #EEB4CC 1px solid;
  left: 0;
  width: 100%;
  background: white;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  z-index: 1000;
}

.kebab-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.kebab-item {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: left;
  border: none;
  background: none;
  color: #000;
  text-transform: uppercase;
  cursor: pointer;
}

.kebab-item:focus {
  background-color: #EBD6DF;
}

.lang-kebab {
  padding: 16px;
}

.lang-kebab a {
  font-size: 20px;
  margin-right: 20px;
}

/* KEBAB finish */

section {
  display: flex;
  flex-direction: column;
  padding: 100px 150px 0;
  margin: 100px 0;
}

.two-cols {
  justify-content: space-between;
  gap: 40px;
}

.col {
  width: 48%;
}

ol {
  padding-left: 20px;
}

ol li {
  padding: 8px 0;
}

/* HERO BLOCK */

.hero-block {
  padding-top: 0;
  height: 800px;
  margin-top: 0;
}

.hero-block-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  background: url(img/hero-block-img.jpg) no-repeat bottom left / contain;
  height: 100%;
}

.hero-block-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero-block-h1 {
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: none;
  text-align: end;
}

.hero-block-slogan {
  font-size: 32px;
  line-height: 1.2em;
  letter-spacing: .05em;
  text-align: end;
}

.hero-block-description {
  font-size: 24px;
  line-height: 2em;
  letter-spacing: .05em;
}

.hero-coordinates {
  display: flex;
  color: #999;
  font-size: 16px;
  padding-bottom: 20px;
  margin-right: 90px;
  gap: 30px
}

/* BLOCK TEAM start */

.block-team {
  display: flex;
}

.block-team-text {
  width: 60%;
}

.block-team-paragraph {
  width: 70%;
  margin-bottom: 40px;
}

.paragraph-1 {
  display: flex;
  justify-content: flex-start;
}

.paragraph-2 {
  display: flex;
  justify-content: flex-end;
}

.block-team-img {
  width: 25%;
}

.block-team-img img {
  width: 100%;
}

/* BLOCK TEAM finish */

/* PROJECT COMPOSITION */

.block-project_composition {
  display: flex;
  align-items: center;
}

.block-project_composition th,
.block-project_composition td {
  text-align: left;
  padding: 6px 80px 6px 12px;
}

.house img {
  width: 100%;
  max-height: 690px;
}

.block-project_composition-table {
  max-width: 540px;
  font-size: 20px;
}

.table-div {
  display: flex;
  flex-direction: column;
}

.table-custom-row {
  display: flex;
  background-color: #EBD6DF;
  padding: 6px 18px;
  margin-bottom: 20px;
}

.table-custom-first-col {
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 120px;
}

/* BEFORE - AFTER */

.before_after-container {
  display: grid;
  place-content: center;
  position: relative;
  overflow: hidden;
  --position: 50%;

}

.before_after-image_container {
  width: 100%;
  aspect-ratio: 7 / 3;
}

.before_after-slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

.img-before {
  position: absolute;
  inset: 0;
  width: var(--position);
}

.before_after-slider {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.before_after-slider-line {
  position: absolute;
  inset: 0;
  width: .2rem;
  height: 100%;
  background-color: #fff;
  z-index: 10;
  left: var(--position);
  transform: translate(-50%);
  pointer-events: none;
}

.before_after-slider-btn {
  position: absolute;
  display: grid;
  place-items: center;
  top: 50%;
  left: var(--position);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 100;
}

.before_after-image_container-mob {
  display: none;
}

/* BEFORE - AFTER FINISH */

/* PORTFOLIO */

.expandingBlocks-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.expandingBlocks-box {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex: 1;
  min-width: 240px;
  height: 640px;
  color: #fff;
  font-weight: 600;
  background-blend-mode: multiply;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2em;
}

.expandingBlocks-box a {
  border: #fff;
}

.expandingBlocks-box:hover {
  flex-grow: 2;
  filter: none;
}

.object-1 {
  background: url(img/main-portfolio/main-portfolio-01.webp) no-repeat center /cover, rgb(0, 0, 0, .2);
  filter: grayscale(100%);
}

.object-2 {
  background: url(img/main-portfolio/main-portfolio-02.webp) no-repeat center /cover, rgb(0, 0, 0, .2);
  filter: grayscale(100%);
}

.object-3 {
  background: url(img/main-portfolio/main-portfolio-03.webp) no-repeat center /cover, rgb(0, 0, 0, .2);
  filter: grayscale(100%);
}

.object-4 {
  background: url(img/main-portfolio/main-portfolio-04.webp) no-repeat center /cover, rgb(0, 0, 0, .2);
  filter: grayscale(100%);
}

.object-5 {
  background: url(img/main-portfolio/main-portfolio-05.webp) no-repeat center /cover, rgb(0, 0, 0, .2);
  filter: grayscale(100%);
}

.block-portfolio {
  flex-direction: column;
}

.toggle {
  width: fit-content;
  padding: 0 0 4px;
  background: none;
  border-bottom: rgba(255, 255, 255, 0) 2px solid;
  color: #fff;
  font-size: large;
  cursor: pointer;
}

.toggle:hover,
.toggle:focus {
  border-bottom: #fff 2px solid;
}

.disclosure-widget {
  position: relative;
  overflow: hidden;

}

.disclosure-widget> :first-child {
  margin-block-start: 2rem;
}

.disclosure-widget> :last-child {
  margin-block-end: 1rem;
}

/* Demo Code */
.disclosure-widget {
  height: 0;
}

.disclosure-widget[open] {
  height: auto;
  height: calc-size(auto, size);
}

/* PORTFOLIO  FINISH*/

/* ABOUT ME */

.block-about {
  flex-direction: column;
}

.block-about_content {
  display: flex;
  font-size: 20px;
  Letter-spacing: 0.1em;
  line-height: 2em;
}

.block-about_content-col {
  width: 48%;
}

.block-about-paragraph {
  margin-bottom: 65px;
}

.block-about_row1 div:first-child {
  font-size: 24px;
  line-height: 1.8em;
}

.block-about_row2 {
  margin-left: 130px;
}

.aboutme-foto {
  text-align: right;
}

.aboutme-foto img {
  max-width: 100%;
  max-height: 1000px;
}

.block-about_content-mob {
  display: none;
}

.aboutme-foto-mob img {
  width: 100%;
}

/* CONTACTS */

.block-contacts {
  display: flex;
}

.block-contacts_logo img {
  max-width: 300px;
  padding: 20px 0;
  margin-left: 150px;
}

.block-contacts-list ol {
  list-style: none;
  counter-reset: contacts-list-item;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.block-contacts-list ol li {
  counter-increment: contacts-list-item;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px;
}

.block-contacts-list ol li a {
  padding-bottom: 4px;
  border-bottom: #fff 2px solid;
}

.block-contacts-list ol li a:hover {
  border-bottom: #EEB4CC 2px solid;

}

.contacts-list-margin-right {
  margin-right: 100px;
}

.block-contacts-list ol li::before {
  content: "0" counter(contacts-list-item);
  font-size: 40px;
  color: #EEB4CC;
  margin-right: 20px;
  position: relative;
  bottom: -4px;
}

/* CONTACTS end*/

/* PORTFOLIO start */

.portfolio-page {
  padding-top: 0;
  margin: 0;
}

.portfolio-page-container {
  background-image: url(img/bg-project-top.jpg);
  background-position: top right;
  background-repeat: no-repeat;
  padding-top: 80px;
  margin-bottom: 0;
}

.portfolio-page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio-page-content-text {
  max-width: 600px;
  background-color: #fff;
}

.portfolio {
  display: flex;
  flex-direction: column;
  background-image: url(/img/bg-catalog.jpg);
  background-size: 100%;
  background-position: top left;
  background-repeat: repeat-y;
  padding-top: 0;
}

.portfolio-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.portfolio-buttons button {
  margin: 8px 40px 8px 0;
}

.portfolio-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12rem 2rem;
}

.card-big {
  max-width: 35%;
}

.card-small {
  max-width: 25%;
}

.portfolio-card img {
  aspect-ratio: 2/3;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

.portfolio-card-image:hover img {
  transform: scale(1.05);
}

.portfolio-card-description {
  background-color: #fff;
  margin-bottom: 20px;
}

.portfolio-card-text {
  font-size: 14px;
  line-height: 1em;
  text-transform: uppercase;
}

.hide {
  display: none !important;
}

.portfolio-card {
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.active-filter {
  border-color: #fff
}

/* PORTFOLIO finish */

/* PROJECT PAGE start */

.project-block-hero {
  display: block;
  margin: -100px 0 0;
  padding: 0;
}

.project-block-hero img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  object-position: center;
}

.project-description {
  flex-direction: column;
  background-image: url(img/bg-project-descr.jpg);
  background-size: 100%;
  background-position: top left;
  background-repeat: no-repeat;
  margin: 0;
  padding-top: 80px;
  padding-bottom: 80px;
}

.project-description h1 {
  margin-bottom: 100px;
}

.project-description-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 150px;
}

.project-description-table {
  margin-bottom: 60px;
  font-size: 1rem;
  margin-top: 12px;
  text-wrap: wrap;
  min-width: 360px;
}

.project-description-table .table-div {
  width: auto;
}

.project-description-table .table-custom-first-col {
  min-width: 140px;
  margin-right: 0;
}

.project-description-text {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 20px;
  line-height: 2em;
  letter-spacing: .1em;
}

.project-description-text-col {
  width: 45%;
}

.project-gallery {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12rem 2rem;
  background-image: url(img/bg-project-gallery.jpg);
  background-size: 100%;
  background-position: top left;
  background-repeat: repeat-y;
  margin: 0;
  padding-bottom: 40px;
}

.project-gallery img {
  width: 100%;
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.05);
}

.project-gallery h6 {
  background-color: #fff;
}

.img-60 {
  max-width: 60%;
}

.img-30 {
  max-width: 30%;
}

/* Modal start */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  display: flex;
  align-items: center;
  position: relative;
  max-height: 800px;
}

.modal-content img {
  width: 100%;
  max-height: 800px;
  display: block;
}

.close,
.prev,
.next {
  position: fixed;
  width: 50px;
  height: 50px;
  top: 48%;
  background-color: #EEB4CC;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  padding: 16px;
}

.close:hover,
.prev:hover,
.next:hover {
  background-color: #EBD6DF;
}

.close {
  font-size: 48px;
  font-weight: 600;
  color: #EEB4CC;
  top: 2%;
  right: 2%;
  transform: none;
}

.prev {
  left: 2%;
}

.next {
  right: 2%;
}

/* Modal finish */

.project-gallery-btn_back {
  margin: 40px 0;
  padding-top: 0;
}

/* FOOTER */

footer {
  padding: 100px 150px;
  background-color: #fff;
  margin-bottom: 40px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-container a:hover hr {
  background-color: #EEB4CC;
}

.footer-container-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-container hr {
  width: 100%;
  border: none;
  background-color: black;
  height: 3px;
}

.pink-point {
  color: #EEB4CC;
  font-size: .5em;
  vertical-align: middle;
}

footer a:hover {
  color: #EEB4CC;
}

.footer-container-right {
  display: flex;
  flex-direction: column;
  width: 60%;
}

.footer-nav {
  border-top: #000 1px solid;
  border-bottom: #000 1px solid;
}

.footer-nav ul {
  display: flex;
  justify-content: space-around;
  padding: 40px 0;
  margin: 0;
  text-transform: uppercase;
}

.footer-nav ul li {
  display: inline-block;
  font-size: 14px;
  padding-left: 10px;
}

.footer-nav ul li:first-child {
  padding-left: 0;
}

.footer-coordinates {
  display: flex;
  justify-content: space-evenly;
  color: #EEB4CC;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-copyright {
  display: flex;
  justify-content: space-evenly;
  font-size: small;
  color: #493D43;
  margin-top: 20px;
}

.footer-copyright div {
  padding-left: 2em;
}

.toTop {
  position: fixed;
  bottom: 40px;
  right: 60px;
  z-index: 1;
}

.toTop-img {
  width: 60px;
  height: auto;
}

.toTop:hover {
  transform: scale(1.1);
}

/* PAGE 404 */

.page404 {
  margin: auto;
  padding: 40px;
  flex-direction: column;
  align-items: center;
}

.page404-text_1_row {
  font-size: 48px;
  font-weight: 600;
  text-align: center;
  margin-top: 20px;
}

.page404-text_2_row {
  font-size: 40px;
  text-transform: uppercase;
  text-align: center;
  margin: 10px 0;
}