
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
    color: #22211f;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif; 
}

main {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

.container{
    max-width: 1380px;
    padding: 0 20px;
    margin: auto;
}

a{
    text-decoration: none;
}

.header{
    display: flex;
    position: fixed;
    background: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0));
    width: 100%;
    height: 100px;
    z-index: 999;
    top:0;
}

.header-in{
    max-width: 1380px;
    padding: 0 20px;
    margin: auto;
    display: flex;
    width: 100%;
}

.logo h1{
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.header-top-left{
    align-content: center;
}

.header-top-right{
    width: 60%;
    align-content: center;
}

.menu{
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    line-height: 140%;
}

.menu li a{
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.video-background-wrapper {
  position: relative;
  width: 100%;
  height: 100vh; /* полноэкранный блок */
  overflow: hidden;
}

.video-background {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: white;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.block-title{
    font-size: 28px;
    text-align: center;
    font-family: "Libre Baskerville", serif;
    font-weight: 500;
    color: #252422;
    margin-top: 60px;
}

.block-title::before{
    position: relative;
    content: '';
    top: 41px;
    height: 1px;
    background: #d3bdb0;
    max-width: 680px;
    width: 100%;
    display: block;
    justify-self: anchor-center;
}

.block-title::after{
    position: relative;
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    left: 49.2%;
    background: white;
    border: 2px solid #d3bdb0;
    box-sizing: border-box;
    transform: rotate(-45deg);
}


.carts-propertie {
    margin: 30px 0 80px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px 60px;
    justify-content: center;
}

.cart-propertie{
    max-height: 500px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #f2edea;
    /* background-color: #f1f2f4; */
    border-radius: 10px;
    min-width: 440px;
    width: 30%;
}

.cart-propertie a{
    overflow: hidden;      
    border-radius: 8px;    
}

.cart-propertie img{
    display: block;
    transition: transform 0.3s ease; 
    aspect-ratio: 60 / 45;
}

.cart-propertie img:hover{
     transform: scale(1.05);
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.previe-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 80px;
    gap: 10px;
    border-bottom: solid 1px rgba(128, 128, 128, 0.64);
}

 .previe-icons .icon {
    width: 70px;
    height: 47px;
    margin: 0 15px;
    text-align: end;
    align-content: center;
    position: relative;
}

.previe-icons .icon:before {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    width: 40px;
    height: 40px;
    background-size: contain;
}

.previe-icons .group:before {
    background-image: url(assets/image/group1.svg);
}

.bed:before {
    background-image: url(assets/image/bed1.svg);
}

.apartment:before {
    width: 32px;
    height: 32px;
    top: 6px;
    background-image: url(assets/image/apartment1.svg);
}

.carts-propertie .title {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-top: 20px;
    justify-content: space-around;
    font-weight: 400;
     font-size: 16px;
  
}

.carts-propertie .title a {
    line-height: 140%;
    text-decoration: none;
    color: #000;
    font-family: "Libre Baskerville", sans-serif;
    font-size: 20px;
}

.carts-propertie .title span{
    color: #757679;
    line-height: 120%;

}

.about-us{
    line-height: 140%;
    padding: 0 10px 0 10px;
    margin-bottom: 60px;
}

.seo_text{
    border-top: 1px solid #d3bdb0;
    margin-top: 20px;
}

/*Gallery*/


.photo-carousel-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    
}

.swiper{
    padding: 15px 0 !important;
}

.photo-carousel .swiper-slide {
    width: 280px; /* Фиксированная ширина слайда */
    height: 320px; /* Фиксированная высота */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.photo-carousel .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Обрезает фото, сохраняя пропорции */
    border-radius: 8px;
    transition: transform 0.25s ease;
}

.photo-carousel .swiper-slide img:hover {
    transform: scale(1.03);
}

/* Стрелки навигации */
.photo-carousel .swiper-button-next,
.photo-carousel .swiper-button-prev {
    color: #000;
    background: rgba(255, 255, 255, 0.85);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-top: -20px;
}

.photo-carousel .swiper-button-next:after,
.photo-carousel .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 480px) {
    .photo-carousel .swiper-slide {
        width: 180px;
        height: 200px;
    }
}


/*_______Contact Us________*/

.footer{
    background-color:  #f2edea;
}

.page-title{
    font-size: clamp(1.625rem, 0.974rem + 1.73vw, 3.75rem);
    color: #d3bdb0;
    text-align: center;
    padding: 60px;
    font-weight: 700;
    font-family: "Libre Baskerville", sans-serif;
}

.contact-blocks{
    display: flex;
    gap: 40px;
    justify-content: right;
    padding: 60px 10px;
}

.contact-block{
    display: flex;
    gap:50px;
    margin: 10px 0;
}

.contacts-wrap {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
    gap: 14px;
    font-size: 18px;
    line-height: 140%;
    font-weight: 500;
    font-family: "Libre Baskerville", sans-serif;
    white-space: nowrap;
    
}
.contacts-wrap a{
    display: flex;
    align-items: center;
    gap: 15px;
    color: #252422;
}

.social{
    display: flex;
    gap: 10px;
    padding-left: 8px;
}

.icon-facebook svg, .icon-instagram svg{
    color: #bc9677;
    width: 32px;
    height: 32px;
}

.address{
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
    line-height: 28px;
}

.address .titile{
    font-family: "Libre Baskerville", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
}

.map-block{
    overflow: hidden;
    border-radius: 10px;
    width: 50%;
    max-height: 200px;
}

/*____________________________________*/

/*_______Apartments__________*/

.apartments-gallery-top {
    display: flex;
    width: 100%;
   
    max-height: 500px;
    margin: 60px auto 0;
   
}

.gallery-desktop{
    display: flex;
    gap: 8px;
    width: 100%;
    height: 500px;
    justify-content: space-between;
    border-radius: 15px;
    overflow: hidden;
}

.apartments-gallery-top img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.big-photo {
    flex: 0 0 60%; 
}

.small-photos {
    flex: 0 0 39.2%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.row {
    display: flex;
    gap: 8px;
    flex: 1;
    height: 49%;
}

.small-photo {
    flex: 1;
}

.apartments-gallery-top .gallery-mobile-scroll { display: none; }

/* Мобильная версия: < 1000px */
@media (max-width: 999px) {
    .apartments-gallery-top .gallery-desktop { display: none; }
    .apartments-gallery-top .gallery-mobile-scroll { 
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; 
        scrollbar-width: thin;
        scrollbar-color: #ccc #f5f5f5;
    }

    .apartments-gallery-top .gallery-mobile-scroll .scroll-container {
        display: flex;
        gap: 10px;
        padding: 0 10px;
        max-height: 100%;
    }

    .apartments-gallery-top .gallery-mobile-scroll .scroll-item {
        min-width: 90vw;
        border-radius: 15px;
        overflow: hidden;
    }
}



.apartments-column{
    display: flex;
    gap: 10px;
}
.apartments-column .left{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.apartments-column-item{
    padding: 30px 0;
    border-bottom: 1px solid #d3bdb0;
}

.acf-name{
    font-size: 27px;
    font-weight: 600;
    color: #d3bdb0;
    margin-bottom: 8px;
    font-family: "Libre Baskerville", serif;
}

.acf-address{
    font-weight: 300;
   
    font-size: 18px;
}
.acf-address span{
    font-weight: 600;
}

.item-title{
    font-size: 24px;
    text-align: left;
    font-family: "Libre Baskerville", serif;
    font-weight: 500;
    padding-bottom: 24px;
}

.features-icons{
    display: flex;
    margin-bottom: 40px;
   
}

.f-icon{
    align-items: end;
    display: flex;
    margin-right: 20px;
    gap: 5px;
}

.f-icon svg{
    width: 25px;
    height: 25px;
    
}


.description-apartment{
    line-height: 140%;
    font-size: 15px;
}
.description-apartment p{
    margin-block-start: 8px;
    margin-block-end: 8px;
}

.expandable-content {
    max-height: 100px; 
    overflow: hidden;
    transition: max-height 0.3s ease;
    position: relative;
}


.expandable-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
}

.expandable-block.expanded .expandable-content {
    max-height: none;
    overflow: visible;
}

.expandable-block.expanded .expandable-content::after {
    display: none;
}

.read-more-btn {
    margin-top: 20px;
    padding-right: 20px;
    padding-left: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    line-height: 120%;
    position: relative;
}

.read-more-btn::after {
    content: "";
    background-image: url(assets/image/arrow.svg);
    background-repeat: no-repeat;
    background-position: 100%  center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.expandable-block.expanded .read-more-btn::after {
    transform: rotate(180deg);
    background-position: 0  center;
}

.read-more-btn:hover {
    text-decoration: underline;
}

.check{
    display: flex;
    margin-top: 40px;
}

.check .item{
    padding: 16px;
    background: #F2F2F2;
    border-radius: 30px;
    width: 182px;
    align-items: center;
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.check .item svg{
    width: 25px;
    height: 25px;
}

.reserv{
    display: flex;
    width: 100%;
}

.reserv-right{
    position: relative;
}

#bookingForm {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    padding: 1.5rem;
    border-bottom: 1px solid #e1e1e1;
    border-radius: .3rem;
    position: sticky;
    top: 100px;
}

input#checkin, input#checkout {
    border-radius: 10px;
    padding: 5px 15px;
    margin: 5px 0;
    font-size: 16px;
    border: 1px solid #d3bdb0;
}



.form-group input:focus{
    border: 1px solid #aa876b !important;
    outline: none;
    box-shadow:0px 8px 10px rgba(0, 26, 52, .04), 0px 4.62222px 9.55556px rgba(0, 26, 52, .0303704), 0px .977778px 2.44444px rgba(0, 26, 52, .0196296);;
}

button#bookBtn {
    padding: 10px 15px;
    display: block;
    font-size: 16px;
    margin: 0px auto;
    text-transform: uppercase;
    font-weight: 700;
    width: 90%;
    border-radius: 15px;
    color: #bc9677;
    border: 1px solid #d3bdb0;
    transition: 0.5s ease;
}

button#bookBtn:hover{
    background-color: #d3bdb0;
    color: #fff;
}

.form-group label {
    padding: 10px 0;
    display: block;
}