/*
Theme Name: Villa 1910
Text Domain: villa
Version: 1.8
*/
:root {
  --blue: #077db7;
  --gold: #d0a113;
  --nero: #3d3d3d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

@font-face {
  font-family: "villa";
  src: url("fonts/villaaugusta1910-book.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

img {
  max-width: 100%;
}

body {
  margin: 0;
  line-height: 1.3;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
}

a {
  text-decoration: none;
  transition:all 0.3s ease;
}

p {
  margin-bottom: 1em;
}

h1,
h2,
h3 {
  font-family: "villa", sans-serif;
}

.hdgap{
  height:110px;
}
#header{
  height:110px;
  position:fixed;
  background-color:#fff;
  padding: 0px 40px;
  box-shadow:0 0 5px #00000045;
  width:100%;
  display:flex;
  justify-content: space-between;
  z-index: 11;
}
#header a.logo{
  display:flex;
  padding:10px 0;
}
#header .menu{
  display:flex;
  height:100%;
  gap:50px;
}
#header .menu li{
  display:block;
}
#header .menu li a{
  display: flex;
  height: 100%;
  align-items: center;
  text-transform: uppercase;
  color: #ccc;
  padding: 0 20px;
  color: #111;
  font-size: 20px;
  border-bottom:4px solid #fff;
}
#header .menu li a:hover,
#header .menu li.current-menu-item a{
  color:var(--gold);
  border-bottom:4px solid var(--gold);
}
#header .cta{
  display:flex;
  width: 240px;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
}
#header .cta a.topbtn{
  font-size: 13px;
  color:#fff;
  background:var(--gold);
  padding: 10px 20px;
  border-radius:20px;
  display:flex;
  align-items: center;
  gap: 15px;
}
#header .cta a.topbtn svg{
  width:14px;
}










/*menu btn*/
.m-menu {
  width: 30px;
  height: 32px;
  position: relative;
}

.m-menu span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #111;
  opacity: 1;
  left: 0;
  border-radius: 2px;
}

.m-menu span:nth-child(1) {
  top: 20px;
}

.m-menu span:nth-child(2) {
  top: 30px;
}

.m-menu span:nth-child(3) {
  top: 40px;
}

.m-menu {
  transform: rotate(0);
  transition: 0.5s ease-in-out;
  cursor: pointer;
  margin-right: 0;
  z-index: 10;
  position: absolute;
  right: 10px;
  top: 4px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: none;
}

.m-menu span {
  transform: rotate(0);
  transition: 0.25s ease-in-out;
  width: 35px;
  left: 13px;
}

.mm-open .m-menu span:nth-child(1) {
  top: 28px;
  transform: rotate(135deg);
}

.mm-open .m-menu span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.mm-open .m-menu span:nth-child(3) {
  top: 28px;
  transform: rotate(-135deg);
}

.sform{
  
}
.sform .elementor-field-type-acceptance label{
  color:#fff !important;
  font-size:11px;
}
.sform .elementor-field-type-submit{
  position:absolute;
  right:0;
  width: auto !important;
  padding: 0  !important;
}

.elementor-location-footer .menu-item a{
  background: url("data:image/svg+xml,%0A%3Csvg height='512' viewBox='0 0 24 24' width='512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='m22.707 11.293-7-7a1 1 0 0 0 -1.414 1.414l5.293 5.293h-17.586a1 1 0 0 0 0 2h17.586l-5.293 5.293a1 1 0 1 0 1.414 1.414l7-7a1 1 0 0 0 0-1.414z'/%3E%3C/svg%3E") no-repeat 0px 4px;
  background-size: 12px;
  padding-left: 25px !important;
}
.elementor-location-footer .menu-item.current-menu-item>a,
.elementor-location-footer .menu-item:hover>a{
  background: url("data:image/svg+xml,%0A%3Csvg height='512' viewBox='0 0 24 24' width='512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23caa431' d='m22.707 11.293-7-7a1 1 0 0 0 -1.414 1.414l5.293 5.293h-17.586a1 1 0 0 0 0 2h17.586l-5.293 5.293a1 1 0 1 0 1.414 1.414l7-7a1 1 0 0 0 0-1.414z'/%3E%3C/svg%3E") no-repeat 0px 4px;
  background-size: 12px;
}

.line1:after,
.line2:after{
  content:'' !important;
  display:block !important;
  width:2px;
  background-color:#fff;
  position:absolute;
  bottom:0;
}
.line1:after{
  top:0px;
  left:-75px;
}
.line2:after{
  top:0px;
  left:-75px;
}

.ssliderw{
  --swiper-navigation-color:#fff;
}
.ssliderw .swiper-slide {
    width: auto !important;
    height: auto;
}
.ssliderw img{
  
}


.grid3 .elementor-gallery__titles-container,
.grid2 .elementor-gallery__titles-container{
    display:none;
}
.elementor-gallery__titles-container>a{
}
.elementor-gallery__titles-container>a:hover{
  color:var(--gold);
}
.elementor-gallery__titles-container>a:after{
  display:none;
}
.elementor-gallery__titles-container>a.elementor-item-active{
  display:block;
  order:0;
}

.grid2 .gallery-filter-select{
  display:none;
}
.gallery-filter-select{
  height:40px;
  margin: auto auto 30px;
  display:block;
  width:400px;
  padding-left:20px;
  border-radius:20px;
  border:1px solid var(--gold);
  color:var(--gold);
  text-transform: uppercase;
  background: url("data:image/svg+xml,%3Csvg enable-background='new 0 0 128 128' height='512' viewBox='0 0 128 128' width='512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23d0a113' d='m64 88c-1.023 0-2.047-.391-2.828-1.172l-40-40c-1.563-1.563-1.563-4.094 0-5.656s4.094-1.563 5.656 0l37.172 37.172 37.172-37.172c1.563-1.563 4.094-1.563 5.656 0s1.563 4.094 0 5.656l-40 40c-.781.781-1.805 1.172-2.828 1.172z'/%3E%3C/svg%3E") no-repeat right 10px top 10px;
  background-size:20px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.gslider .swiper-slide{
  padding:100px 0;
  cursor: pointer;
}
.gslider .swiper-slide-active{
  cursor:default;
}
.gslider .swiper-slide img{
  transition:all 0.3s ease;
  transform: scale(1);
}


.gslider .swiper-slide-active img{
  transform: scale(1.7);
  display: block;
}

.grid2 img{
  aspect-ratio:3/2;
  display:block;
  border:none !important;
}
table{
  width:100%;
  border-collapse:collapse;
  text-transform:uppercase
  
}
table td{
  border:none;
  border-bottom:1px solid #787878;
  padding:10px 0;
  font-size:26px;
  font-weight: 500;
}
table td:last-child{
  text-align:right;
}

.floorboxes{
  display:grid;
  grid-template-columns:1fr 300px 1fr;
}
.floorboxes .floors{
  padding: 30px 30px 0;
}


.floorbtn{
  gap:50px;
  display:flex;
  flex-direction:column;
  padding-top: 30px;
  align-items: center;
}
.floorbtn .fbtn{
  border:2px solid var(--gold);
  border-radius:30px;
  padding:10px 0px;
  display:block;
  text-align:center;
  width:173px;
  font-size:12px;
  color: var(--gold);
  font-weight: 500;
  cursor: pointer;
}
.floorbtn .fbtn:hover,
.floorbtn .fbtn.active{
  background-color:var(--gold);
  color:#fff;
}
.floorinfo>div{
    display:none;
  font-size:20px;
  color:#787878;
  letter-spacing:0.01em;
}
.floorinfo>div.active{
  display:block;
}
.floorinfo h3{
  font-size:48px;
  font-weight:normal;
  color:var(--gold);
  line-height:0.95em;
  margin-bottom:20px;
}

.language-switcher{
  display:flex;
  flex-direction:column;
  height: 20px;
}
.language-switcher li{
  display:none;
}

.language-switcher li.active,
.language-switcher:hover li{
  display:block;
}
.language-switcher li.active{
  order:0;
}

nav .language-switcher{
    display:none;
  }



@media(max-width:1400px){
  #header .menu{
    gap:10px;
  }
  #header .cta{
    width:auto;
  }
}
@media(max-width:1200px){
  #header nav{
    position:absolute;
    left:0;
    right:0;
    top:100%;
    background-color:#fff;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    visibility: hidden;
  }
  #header .menu{
    display:flex;
    flex-direction:column;
    padding: 30px 0;
    align-items: center;
    gap: 20px;
  }
  .m-menu{
    display:block;
    top:25px;
  }
  #header .cta{
    margin-right:40px;
  }
  .mm-open #header nav{
    opacity:1;
      visibility:visible;
    pointer-events:all;
  }

  .floorboxes{
    grid-template-columns:1fr;
  }
  .floorboxes .floors img{
    display:block;
    margin:auto;
  }
  .floorbtn{
    flex-direction:row;
    flex-wrap: wrap;
    gap: 15px;
  }
  
}

@media(max-width:767px){
  #header,
  .hdgap{
    height:70px;
  }
  #header{
    padding: 0 20px;
  }
  .logo img{
    max-width: 130px;
  }
  
  #header .cta a.topbtn{
    margin-right: 20px;
    padding: 6px 15px;
    font-size: 12px;
  }
  .m-menu{
    top:4px;
  }
  .floorbtn .fbtn{
    width:100%;
  }
  .floorbtn{
    padding-bottom:30px;
  }
  .floorinfo>div{
    font-size:16px;
  }
  table td{
    font-size:14px;
    padding: 5px 0;
  }
  .gslider .swiper-slide-active img{
    transform: scale(1);
  }
  .gslider .swiper-slide{
    padding:0;
  }
  .elementor-location-footer .elementor-nav-menu{
    column-count: 2;
    width: 100%;
  }
  .cta .language-switcher{
    display:none;
  }
  nav .language-switcher,
  .language-switcher li{
    display:block;
  }
  nav .language-switcher{
    display:flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    padding-bottom: 50px;
  }
}

