:root {
    --primary-color: #497154;
    --secondary-color: #FFFDF3;
    --text-color: #111111;
    --white-color: #FFFFFF;
    --black-color: #111111;
    --underline-left: 0;
    --underline-width: 0;
}

body,
html {
    font-family: "Mulish", sans-serif;
    font-size: clamp(15px, calc(6.67px + 0.694vw), 20px);
    line-height: 1.8em;
    font-weight: 300;
    color: var(--text-color);
    margin: 0;
    background: var(--secondary-color);
}

small {
    display: inline-block;
    font-size: 0.6em;
    line-height: 1.4;
}

.container-xxl {
    max-width: 1920px;
    margin: 0 auto;
    padding-inline: 6rem;
}

.siteBtn {
    background: transparent;
    color: var(--black-color);
    padding: 0rem 1.25rem;
    border: none;
    border-radius: 3rem;
    cursor: pointer;
    line-height: 1;
    font-weight: 500;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.siteBtn.with_border {
    border: 1px solid var(--black-color);
}

.siteBtn:hover,
.siteBtn:active,
.siteBtn:focus {
    color: var(--white-color);
    background: transparent;
}

.siteBtn span {
    position: relative;
    z-index: 5;
}

.siteBtn::after {
    position: absolute;
    content: '';
    inset: -1px;
    z-index: 2;
    background: var(--primary-color);
    border-radius: 3rem;
    transform: translateX(-110%);
    transform-origin: center bottom;
    transition: transform 0.3s ease;
}

.siteBtn:hover::after,
.siteBtn:active::after,
.siteBtn:focus::after {
    transform: translateX(0);
}

.siteBtn::before {
    position: absolute;
    content: '';
    inset: 0;
    z-index: 1;
    border-radius: 3rem;
    background: transparent
}

.siteBtn.whiteBtn::before {
    background: var(--secondary-color);
}

.whiteBtn {
    border: 1px solid var(--secondary-color) !important;
}

.siteSection {
    padding-block: 6rem;
}

.headFont {
    font-family: "Antic Didone", sans-serif;
}

.sectionTitle {
    font-family: "Antic Didone", sans-serif;
    font-size: 3.2rem;
    line-height: 1.2;
    font-weight: 400;
    margin: 0;
    color: var(--black-color);
}

.sectionSubTitle {
    font-family: "Antic Didone", sans-serif;
    font-size: 2rem;
    line-height: 1.35;
    font-weight: 400;
    margin: 0;
    color: var(--black-color);
}

.p_col_2 {
    columns: 2;
    column-gap: 4rem;
}

.img_hover_box {
    width: 100%;
    overflow: hidden;
}

.img_hover_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    overflow: hidden;
    transform-origin: center center;
    transition: transform 1.5s ease;
}

.img_hover_box:hover img {
    transform: scale(1.1);
}

.tooltip {
    font-size: 0.7rem;
    line-height: 1.2;
}

.content-gap {
    gap: 3rem;
}

/*---------------- PRELOADER STYLES ----------------*/

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#preloader-counter {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.preloader-content img {
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    animation: fadePulse 1.5s infinite alternate;
}

@media (max-width: 767px) {
    .preloader-content img {
        width: 120px;
        height: auto;
    }

    #preloader-counter {
        font-size: 1rem;
    }
}

@keyframes fadePulse {
    from {
        opacity: 0.6;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/*---------------- HEADER STYLES ----------------*/

.siteHeader {
    padding-block: 0.6rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--black-color);
}

.siteLogo img {
    width: 6rem;
    height: auto;
}

.siteHeader_rightTop,
.siteHeader_right {
    gap: 0.8rem;
}

.siteHeader_rightTop_whatsapp img {
    width: 1.9rem;
    height: 1.9rem;
    object-fit: contain;
    object-position: center;
}

.siteHeader_rightBottom,
.siteHeader_nav {
    gap: 1.6rem;
}

.siteHeader_nav_menuIcon {
    width: 2rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 1.2rem;
}

.siteHeader_nav_menuIcon span {
    height: 0.15rem;
    background: var(--white-color);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.siteHeader_nav_menuIcon span::after {
    position: absolute;
    inset: 0;
    content: '';
    background: var(--primary-color);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.siteHeader_nav_menuIcon span:nth-child(2):after {
    transform: translateX(100%);
}

.siteHeader_nav_menuIcon:hover span::after {
    transform: translateX(0);
}

.siteHeader_nav {
    position: relative;
}

.siteHeader_nav::after {
    content: '';
    position: absolute;
    bottom: 0rem;
    height: 0.1rem;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    left: var(--underline-left);
    width: 1rem;
}

.siteHeader_nav a {
    display: inline-block;
    font-size: 1rem;
    line-height: 1.1;
}

.siteHeader .siteBtn {
    height: 1.9rem;
}

.siteHeader .siteBtn::before {
    background: var(--secondary-color);
}

/*---------------- SCROLLBAR STYLES ----------------*/

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a5942;
}

* {
    scrollbar-color: var(--primary-color) transparent !important;
    scrollbar-width: thin !important;
}

.c-scrollbar_thumb {
    background: var(--primary-color) !important;
    opacity: 1;
}

/*---------------- MEGA MENU STYLES ----------------*/

.megaMenu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1999;
    width: 100%;
    height: 100vh;
    display: none;
}

.megaMenu.show {
    display: block;
}

.megaMenu_overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.megaMenu span {
    display: block;
    width: 100%;
    flex-grow: 1;
    background: var(--primary-color);
    transform: translateX(-100%);
}

.megaMenu span:nth-child(even) {
    transform: translateX(100%);
}

.megaMenu.show .megaMenu_overlay span {
    animation: slideIn 0.5s forwards;
}

.megaMenu.show .megaMenu_overlay span:nth-child(2) {
    animation: slideInRight 0.5s forwards;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    to {
        transform: translateX(-100%);
    }
}

@keyframes slideOutRight {
    to {
        transform: translateX(100%);
    }
}

.megaMenu_content {
    z-index: 2;
    width: calc(100% - 12rem);
    max-width: 1920px;
    height: 100%;
    position: relative;
    margin: 0 auto;
    padding-block: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.megaMenu_close {
    position: absolute;
    top: 6rem;
    right: 1rem;
    z-index: 99;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
}

.megaMenu_close span {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 0.15rem;
    background: var(--black-color);
    transform-origin: center;
    transform: translate(-50%, -50%) rotate(45deg);
    overflow: hidden;
}

.megaMenu_close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.megaMenu_close span::after {
    position: absolute;
    inset: 0;
    content: '';
    background: var(--white-color);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.megaMenu_close:hover span::after {
    transform: translateX(0);
}

.megaMenu_nav {
    width: 50%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.megaMenu_nav a {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
    padding-block: 1rem;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.megaMenu_nav li {
    padding-block: 0.25rem;
    position: relative;
    z-index: 2;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.megaMenu_nav li:hover {
    transform: translateX(2rem);
}

.megaMenu_nav li:hover a {
    color: var(--primary-color);
    font-weight: 500;
}

.megaMenu_nav::after {
    content: '';
    position: absolute;
    left: 0px;
    top: var(--dot-top, 0);
    transform: translateY(-50%);
    width: 2px;
    height: 3.5rem;
    background: linear-gradient(90deg, rgb(255, 253, 243, 0.9) 25%, rgba(255, 255, 255, 0));
    opacity: 0;
    z-index: 1;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    mix-blend-mode: lighten;
    transition: opacity 0.3s ease, top 0.3s ease, width 0.3s ease;
}

.megaMenu_nav.dot-active::after {
    opacity: 1;
    width: 100%;
}

/*---------------- FOOTER STYLES ----------------*/

.siteFooter {
    background: #FFFCEE;
}

.siteFooter_logo img {
    width: 10rem;
    height: auto;
}

.siteFooter_head {
    font-size: 1.6rem;
}

.socialLinks img {
    width: 1.5rem;
}

/*---------------- PAGETITLE STYLES ----------------*/

.pageBanner {
    background-color: var(--black-color);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 40rem;
}

.aminities_list {
    gap: 1rem 2rem;
    width: 100%;
    max-width: 70rem;
}

.aminities_item {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}

.aminities_item img {
    width: 1.2rem;
    height: 1.2rem;
    object-fit: contain;
    object-position: center;
}

.aminities_item p {
    font-size: 1rem;
    line-height: 1;
    margin: 0;
}

.aminities_divider {
    width: 1px;
    height: 1rem;
    background: var(--black-color);
}

.photoCardWrap {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    flex-wrap: nowrap;
    align-items: center;
    max-width: 50rem;
}

.photoCard {
    width: 17rem;
    aspect-ratio: 340/425;
}

.photoCard img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    padding: 1rem 1rem 2.5rem 1rem;
    background: var(--secondary-color);
    box-shadow: 0px 15px 15px #D9D3B4;
    transform-origin: center;
    transform: rotate(-3deg);
}

.photoCardWrap:nth-child(even) .photoCard img {
    transform: rotate(3deg);
}

.photoCardContent {
    width: 1%;
    flex-grow: 1;
    text-align: left;
}

/*---------------- RESPONSIVE STYLES ----------------*/

@media(max-width: 1399px) {
    .container-xxl {
        padding-inline: 4rem;
    }
}

@media(max-width: 1199px) {
    .aminities_list {
        max-width: 58rem;
    }

    .megaMenu_nav {
        width: 90%;
    }
}

@media(max-width: 991px) {

    body,
    html {
        font-size: 14px;
    }

    .container-xxl {
        padding-inline: 2rem;
    }

    .aminities_list {
        gap: 1rem;
    }
}

@media(max-width: 767px) {
    .p_col_2 {
        columns: 1;
    }

    .sectionTitle {
        font-size: 3rem;
    }

    .sectionSubTitle {
        font-size: 1.8rem;
    }

    .pageBanner {
        min-height: 40rem;
        height: auto;
        padding-block: 10rem 4rem !important;
    }

    .content-gap {
        gap: 2rem;
    }
}

@media(max-width: 576px) {
    .container-xxl {
        padding-inline: 1.5rem;
    }

    .siteLogo img {
        width: 4.5rem;
    }

    .megaMenu_nav {
        width: 100%;
    }

    .megaMenu_content {
        width: calc(100% - 6rem);
    }

    .megaMenu_nav a {
        font-size: 1.25rem;
        padding-block: 0.5rem;
    }

    .megaMenu_close {
        top: 2rem;
        right: 0;
    }
    .photoCard {
        width: 40vw;
        max-width: 15rem;
        aspect-ratio: 340/425;
    }
    .photoCard img {
        padding: 1rem 8% 2.5rem 8%;
    }
    .photoCardWrap {
        gap: 1.5rem;
    }
    .photoCardWrap {
        align-items: start;
    }
}

@media(max-width: 360px) {

    body,
    html {
        font-size: 13px;
    }
}