/* Import CSS files in order */
@import url('reset.css');
@import url('base.css');
@import url('color.css');
@import url('typography.css');
@import url('component.css');

:root{

    --header-height: 10rem;
    --section-gutter:var(--md);

}

::-webkit-scrollbar {
    width: 5px;
    background: var(--tertiary);
}

::-webkit-scrollbar-thumb {
    background: rgba(var(--primary-rgb), 0.90);
    border-radius: 0;
}

::-webkit-scrollbar-track {
    box-shadow: none;
}

/* Header */
header{height: var(--header-height); position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; display: flex; align-items: center; z-index: 9999;}
header.active{
	background-color: rgba(var(--primary-rgb), 0.90);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 12px rgba(var(--primary-rgb), 0.15);
	transition: background-color 0.3s, box-shadow 0.3s;
}
header .container{display: flex; align-items: center; gap: 1rem var(--lg);}
header nav ul{display: flex; align-items: center; gap: 0 var(--gutter);}
header nav ul li{display: flex; align-items: center;}
header nav ul li a{display: flex; align-items: center; justify-content: center; gap: 1rem; line-height: 1; font-family: "PPRightSans-CompactRegular"; font-size: 2.3rem; color: var(--text-color); white-space: nowrap; text-transform: uppercase;}
.language-switcher > *{display: flex; align-items: center; gap: 0 1rem; color: var(--text-color); line-height: 1; font-size: var(--fs-lg); font-family: var(--body-font);}
.language-switcher > * > *{display: block;}
header .logo a{position: relative; z-index: 99999;}
header .logo a svg{width: 22rem;}
header.home-page-header .logo a{opacity: 0; visibility: none; transition: var(--transition);}
header.home-page-header.active .logo a{opacity: 1; visibility: visible;}
header.home-page-header .logo svg path{fill: white;}
header.home-page-header .language-switcher{position: relative; z-index: 99999;}
header.home-page-header .language-switcher svg path{fill: white;}
header.home-page-header .language-switcher > *{color: white;}
header.home-page-header nav ul li a{color: white;}
header.header.active nav ul li a{color: white;}
header.header.active .logo svg path{fill: white;}
header.header.active .language-switcher > *{color: white;}
header.header.active .language-switcher svg path{fill: white;}
header.header.active .burger::before{background-color: white}
header.header.active .burger::after{background-color: white}

@media(width < 992px){
    header nav{position: fixed; left: 0; top: 0; width: 100%; height: 100dvh; display: flex; align-items: center; justify-content: center; background-color: var(--primary); z-index: 9999; opacity: 0; visibility: hidden; transition: var(--transition);}
    header nav ul{flex-direction: column; gap: var(--gutter) 0;}
    header nav ul li a{font-size: clamp(4rem, 6vw, 6vw);}
    header nav.active{opacity: 1; visibility: visible;}
    header .container{gap: 1rem var(--gutter);}
    html.menu-active, body.menu-active{overflow-y: hidden;}
    .menu-active header.header .burger::before, .menu-active header.header .burger::after{background-color: white}
    .menu-active header.header .logo svg path{fill: white;}
    header.header nav ul li a{color: white;}
}
@media(width < 768px){
    header .logo a svg{width: 18rem;}
}

/* Hero Section */
.hero-section{height: 100dvh; background-image: url('../images/hero-img.png'); background-position: center center; background-repeat: no-repeat; background-size: cover; display: flex; align-items: center;}
.hero-section svg{width: 60rem;}
.hero-section svg path{fill: white;}

/* Footer */
footer{padding: var(--xl) 0;}
.footer-content{min-height: 52.6rem; display: flex; flex-direction: column; justify-content: space-between; gap: var(--md);}
.footer-links li{display: flex;}
.footer-links li:not(:last-child){margin-bottom: var(--gutter-half);}
.footer-links li a{color: var(--primary); display: flex; line-height: 1; white-space: nowrap; transition: var(--transition);} 
.footer-links li a:hover{color: var(--secondary);}
.footer-content-row{display: flex; gap: var(--gutter) var(--lg);}
.sodial-media{display: flex; align-items: center; justify-content: center; gap: var(--gutter-half);}
.other-links{display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--gutter-half) var(--gutter);}
.other-links li{display: flex;}
.other-links li a{display: flex; align-items: center; line-height: 1; font-size: var(--h6); color: var(--primary); transition: var(--transition);}
.other-links li a:hover{color: var(--secondary);}
footer h6{font-family: "PPTelegraf-Regular";}
@media(width < 1200px){
    footer{padding: var(--lg) 0;}
    .footer-content-row:last-child{flex-direction: column; justify-content: center; gap: var(--gutter); text-align: center;}
}
@media(width < 992px){
    footer{padding: var(--md) 0;}
    .footer-content{min-height: 40rem;}
}
@media(width < 768px){
    .footer-content-row{flex-direction: column; justify-content: center; gap: var(--gutter); text-align: center;}
    .footer-links{display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--gutter-half) var(--gutter);}
    .footer-links li:not(:last-child){margin-bottom: 0;}
    footer a img.footer-logo{max-width:25rem;}
}

/* Main and Section */
main, .section{padding: var(--section-gutter) 0;}
main.main{padding-top: calc(var(--header-height) + (var(--section-gutter) / 2));}
@media(width < 992px){
    main, .section{padding: var(--sm) 0;}   
}
@media(width < 768px){
    main, .section{padding: var(--gutter) 0;}   
}

/* Section Header */
.section-header:not(:last-child){margin-bottom: var(--section-gutter);}
.section-header .container.d-flex{display: flex; align-items: flex-end; justify-content: space-between; gap: var(--gutter);}
.section-header article h3:not(:last-child){margin-bottom: var(--md);}
.section-header h5 a{color: var(--text-color);}
@media(width < 1200px){
    .section-header .container.d-flex{flex-direction: column; align-items: flex-start;}
    .section-header article h3:not(:last-child){margin-bottom: var(--gutter);}
}

/* Section Content */
.section-content:not(:last-child){margin-bottom: var(--section-gutter);}

.intro{display: flex;}
.intro figure{width: 33.333%;}
.intro figure img{object-fit: cover; width: 100%; height: 100%;}
.intro-content{flex: 1 0 0%; padding: var(--md) var(--lg); background-color: var(--primary); display: flex; flex-direction: column; justify-content: space-between; gap: var(--gutter); color: white;}
.intro-content p{color: white;}
@media(width < 1200px){
    .intro-content{padding: var(--md) var(--sm);}
}
@media(width < 992px){
    .intro{flex-direction: column;}
    .intro figure{width: 100%; height: 40rem;}
}
@media(width < 768px){
    .intro figure{height: 30rem;}
}
@media only screen and (min-width: 600px) {
.content-grid > :not(:last-child){margin-bottom: .5rem;}
}
.page-banner{height: 100rem; background-size: cover; background-repeat: no-repeat; background-position: center center;}
.page-banner-1{background-image: url('../images/page-banner-1.jpg');}
.page-banner-2{background-image: url('../images/page-banner-2.jpg');}
@media(width < 1200px){
    .page-banner{height: 55rem;}
}
@media(width < 992px){
    .page-banner{height: 50rem;}
}
@media(width < 768px){
    .page-banner{height: 40rem;}
}
@media(width < 640px){
    .page-banner{height: 30rem;}
}

.block{display: flex;}
.block figure img{object-fit: cover; width: 100%; height: 100%; display: flex;}
.block-1{min-height: 105rem;}
.block-1 figure{width: 60%;}
.block-1 .content{background-color: var(--secondary); padding: var(--md); display: flex; align-items: flex-end; justify-content: center;}
.block-1 .content article{max-width: 45rem;}
.block-1 .content article > :not(:last-child){margin-bottom: var(--md);}
.block-1 .content article > *{color: white;}
.block-1 .content article a{color: white;}
@media(width < 1200px){
    .block-1{min-height: 80rem;}
}
@media(width < 992px){
    .block.block-1{flex-direction: column;}
    .block-1{min-height: auto;}
    .block.block-1 figure{width: 100%;}
    .block-1 .content{padding: var(--md) var(--gutter);}
    .block-1 .content article > :not(:last-child){margin-bottom: var(--gutter);}
    .block-1 .content article{max-width: 100%;}
}

.image-gallery-slider{overflow: hidden;}
.image-gallery-slider .swiper-slide{width: auto; display: flex; height: 43.1rem;}
.image-gallery-slider .swiper-slide figure img{object-fit: cover; width: 100%; height: 100%;}
@media(width < 1200px){
    .image-gallery-slider .swiper-slide{height: 35rem;}
}
@media(width < 992px){
    .image-gallery-slider .swiper-slide{height: 30rem;}
}
.slider .swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.7));
    z-index: 1;
    pointer-events: none;
}
.scroll-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
    align-items: flex-start;
}
.scroll-block-column:first-child{padding: calc(var(--header-height) + var(--gutter)) var(--gutter); background-color: #CFB69A; display: flex; flex-direction: column; align-items: center; padding: 0;}
.scroll-block-column:first-child > *{padding: calc(var(--header-height) + var(--gutter)) var(--gutter); width: 100%; height: 100dvh;}
@media only screen and (max-width: 599px) {
.scroll-block-column:first-child > *{padding: calc(var(--header-height)/2) 0; width: 100%; height: 100dvh;}
}
.scroll-block-article{display: flex; flex-direction: column; max-width: 59.5rem; height: 100%;}
.scroll-block-article > :not(:last-child){margin-bottom: var(--md);}
.scroll-block-article .scroll-block-article-image{flex: 1 0 0%;}
.scroll-block-article-image{background-size: cover; background-repeat: no-repeat; background-position: center center;}
.scroll-block-article-image-executive{background-image: url('../images/img-room-executive.jpg');}
.scroll-block-article-image-superior{background-image: url('../images/img-room-superior.jpg');}
.scroll-block-article-image-twin{background-image: url('../images/img-room-twin.jpg');}
.scroll-block-article-image-juniorsuite{background-image: url('../images/img-room-juniorsuite.jpg');}
.scroll-block-article-image-suite{background-image: url('../images/img-room-suite.jpg');}
.scroll-block-image{background-size: cover; background-repeat: no-repeat; background-position: center center; padding: var(--md); display: flex; align-items: flex-end; justify-content: flex-end; height: 100dvh;}
.scroll-block-image-executive{background-image: url('../images/scroll-img-executive.jpg');}
.scroll-block-image-superior{background-image: url('../images/scroll-img-superior.jpg');}
.scroll-block-image-twin{background-image: url('../images/scroll-img-twin.jpg');}
.scroll-block-image-juniorsuite{background-image: url('../images/scroll-img-juniorsuite.jpg');}
.scroll-block-image-suite{background-image: url('../images/scroll-img-suite.jpg');}
.scroll-block-image a{color: white;}
@media(width < 1200px){
    .scroll-block-image{padding: var(--md) var(--gutter);}
}
@media(width < 992px){
    .scroll-block{grid-template-columns: 1fr;}
    .scroll-block-column:first-child{padding: var(--section-gutter) var(--gutter);}
    .scroll-block-column{height: auto; min-height: 100dvh;}
    .scroll-block-article > :not(:last-child){margin-bottom: var(--gutter);}
}

.content-page-banner-wrap{position: relative;}
.content-page-banner{height: 86rem; background-position: center center; background-repeat: no-repeat; background-size: cover;}
.content-page-banner-1{background-image: url('../images/page-banner-bg-1.jpg');}
.content-page-banner-2{background-image: url('../images/page-banner-bg-2.jpg');}
.content-page-banner-piscina {background-image: url('../images/page-banner-bg-piscina.jpg');}
.content-page-banner-content{max-width: 79rem; position: absolute; right: 0; bottom: 0; padding: var(--md) var(--lg); background-color: #974437;}
.content-page-banner-content p{color: white;}
@media(width < 1200px){
    .content-page-banner{height: 70rem;}
    .content-page-banner-content{max-width: 60rem; padding: var(--gutter);}
}
@media(width < 992px){
    .content-page-banner{height: 50rem;}
    .content-page-banner-content{max-width: 50rem;}
}
@media(width < 768px){
    .content-page-banner{height: 40rem;}
    .content-page-banner-content{position: static; max-width: 100%;}
}
@media(width < 576px){
    .content-page-banner{height: 30rem;}
}

.slider .swiper-slide{width: auto;}
.slide-1, .slide-2{position: relative;}
.slide-1-content, .slide-2-content{position: absolute; left: 0; bottom: 0; padding: var(--gutter);z-index:2;}
.slide-1-content p, .slide-2-content p{color: white;}
.slide-1 figure{aspect-ratio: 1.5/1; height: 70rem;}
.slide-2 figure{aspect-ratio: 1/1.2; height: 51rem;}
.slide-1 figure img, .slide-2 figure img{object-fit: cover; width: 100%; height: 100%;}
@media(width < 1200px){
    .slide-1 figure{height: 60rem;}
}
@media(width < 992px){
    .slide-1 figure{height: 50rem;}
}
@media(width < 768px){
    .slide-1 figure{height: 40rem;}
}
@media(width < 576px){
    .slide-1 figure{height: 30rem;}
}

.post{background-color: var(--tertiary); padding: var(--lg);}
.post figure{aspect-ratio: 1.6/1;}
.post figure img{width: 100%; height: 100%; object-fit: cover;}
.post > *{color: var(--primary);}
.post > :not(:last-child){margin-bottom: var(--sm);}
@media(width < 1200px){
    .post{padding: var(--sm) var(--gutter);}
    .post > :not(:last-child){margin-bottom: var(--gutter);}
}

article p:not(:last-child){margin-bottom: var(--gutter);}

.border-list li{padding: var(--gutter-half) 0;}
.border-list li{border-bottom: .1rem solid var(--primary);}
.border-list li p a{color: var(--primary);}
.image-post-link{display: block;}
.image-post-link-content{padding: var(--gutter); background-color: var(--tertiary);}
.image-post-link h3{color: var(--text-color);}
.image-post-link h3:not(:last-child){margin-bottom: .5rem;}
@media(width < 768px){
    .image-post-link-content{padding: var(--gutter-half);}
    .image-post-link h3:not(:last-child){margin-bottom: 0;}
}

.post-item:not(:last-child){margin-bottom: var(--lg);}
.post-item{background-color: var(--tertiary); padding: var(--lg); display: grid; grid-template-columns: 1fr 2fr; gap: var(--gutter) var(--lg);}
.post-item article{display: flex; flex-direction: column;}
.post-item article p{flex: 1 0 0%;}
.post-item article > :not(:last-child){margin-bottom: var(--gutter);}
.post-item article a{color: var(--primary);}
@media(width < 1400px){
    .post-item:not(:last-child){margin-bottom: var(--md);}
    .post-item{padding: var(--md) var(--gutter); gap: var(--gutter);}
}
@media(width < 992px){
    .post-item:not(:last-child){margin-bottom: var(--gutter);}
    .post-item{padding: var(--sm) var(--gutter); grid-template-columns: 1fr;}
}

/* Scroll Section */
.scroll-block-image-wrap{position: relative; isolation: isolate;}
.scroll-block-image{position: absolute; left: 0; top: 0; width: 100%; height: 100dvh; opacity: 0;}
.scroll-block-image-wrap > :first-child{opacity: 1; z-index: 1;}
.scroll-block-image-wrap > :last-child{opacity: 1 !important; z-index: -1;} 
.scroll-block-column{min-height: 100dvh;}
@media(width < 992px){
    .scroll-block-image{position: static !important; opacity: 1 !important;}
}

/* Intro Animation */
.intro-animation-section{width: 100%; height: 100dvh; position: fixed; left: 0; top: 0; z-index: 999999; display: flex; pointer-events: none;}
.intro-animation-logo-block{flex: 1 0 0%; background-color: var(--body-color); position: relative;}
.intro-animation-bg-block{background: url('../images/hero-img.png') center center no-repeat; background-size: cover;}
.intro-animation-logo{position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);}
.wrapper{opacity: 0;}
.intro-animation-bg-block{width: 0;}
.intro-animation-logo{opacity: 0;}

/* Hide body and html scrollbar during intro animation */
html.intro-animation-active,
body.intro-animation-active {
    overflow: hidden;
    height: 100dvh;
}
.hero-logo{height: 0; overflow: hidden;}


:root {
--swiper-wrapper-transition-timing-function: linear !important;
}

.swiper-wrapper {
transition-timing-function: linear !important;
}
.swiper-wrapper {
      -webkit-transition-timing-function: linear;
      -o-transition-timing-function: linear;
      transition-timing-function: linear;
    }