:root {
    --flame: #D55227;
    --anti-flash-white: #F1F1F1;
    --light-silver: #D9D9D9;
    --cultured: #F8F8F8;
}

*, ::after, ::before {
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
}

.text-orange {
    color: var(--flame);
}

.border-orange {
    border-color: var(--flame) !important;
}

.btn {
    border: 3px solid transparent;
    transition: .2s !important;
}

.btn:hover {
    background-color: var(--flame) !important;
    border-color: var(--flame) !important;
    color: white !important;
}

.btn-white {
    color: var(--flame);
    background-color: #fff;
    border-color: #fff;
}

.btn-orange {
    color: #fff;
    background-color: var(--flame);
    border-color: var(--flame);
}

.btn-orange:hover {
    background-color: white !important;
    border-color: var(--flame) !important;
    color: var(--flame) !important;
}

.btn-orange:hover svg path{
    fill: var(--flame);
}

.full-btn {
    width: -webkit-fill-available;
}

.floor-info span {
    font-size: 18px;
    font-weight: 600;
    line-height: 60px;
    margin-right: 5px;
}
.floor-info path {
    fill: #D45428;
}

.btn-outline-orange {
    color: var(--flame);
    border-color: var(--flame);
}

.bg-light-silver {
    background-color: var(--light-silver);
}

.accordion-button,
.accordion-item,
.form-control {
    background-color: var(--cultured) !important;
}

#header {
    transition: all 0.5s;
    z-index: 10000;
    padding: 20px 0;
}

header path {
    fill: white;
}



.img-container {
    position: relative;
    display: inline-block;
}
 .area, .areaSM, .areaApartment {
    fill: transparent;
}
.highlighted {
    fill: rgba(204, 201, 199, 0.75);
    /* Additional styles for the highlighted area */
}

.sticky-top.header-scrolled {
    padding: 10px 0;
    box-shadow: 0px 2px 2px rgb(38 46 48 / 20%);
}

.sticky-top.header-scrolled {
    /*background: rgba(255, 255, 255, 1);*/
    background: var(--flame);
}

body:not(.main) header {
    background: var(--flame);
}

.header-scrolled .m,
.header-scrolled .r {
    /*fill: var(--flame);*/
}

.header-scrolled .black-text,
.header-scrolled .black-text {
    /*fill: black;*/
}

.sticky-top.header-scrolled .navbar-light .navbar-nav .nav-link {
    /*color: black !important;*/
}

body:not(.main) section:first-of-type {
    padding-top: 60px;
}


.hero {
    margin-top: -103px;
}

.hero,
.buid-two {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
}

#mainCarouselControls,
.buid-two img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 1;
}

.hero .container,
.buid-two .container {
    z-index: 3;
    height: 100vh;
}

.carousel-caption {
    width: 80%;
    left: 10%;
    right: 10%;
}

.icon-insta:hover {
    background: var(--flame);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 200px;
}

.icon-facebook:hover {
    color: var(--flame);!important;
}

.vertical-line:before {
    content: "";
    height: 20%;
    width: 2px;
    background: white;
    position: absolute;
    top: 22%;
    left: 25px;
}

.vertical-line:after {
    content: "";
    height: 20%;
    width: 2px;
    background: white;
    position: absolute;
    bottom: 22%;
    left: 25px;
}


.img-position img, .position-img img {
    max-width: 187px;
}

.img-position image {
    width: 187px;
}
/*.icon-insta:hover {*/
/*    background: -moz-linear-gradient(top, #e72c83 0%, #a742c6 100%);*/
/*    background: -webkit-linear-gradient(top, #e72c83 0%, #a742c6 100%);*/
/*    background: linear-gradient(to bottom, #e72c83 0%, #a742c6 100%);*/
/*    -webkit-background-clip: text;*/
/*    -moz-background-clip: text;*/
/*    background-clip: text;*/
/*    -webkit-text-fill-color: transparent;*/
/*}*/

.fb-insta {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-block {
    width: 15px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.list-style-none {
    list-style: none;
}

.ul-tick {
    list-style: none;
}

.accordion-item .accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: transparent !important;
    color: #000;
}

.accordion-button::after {
    content: "\F4FE";
    font-family: bootstrap-icons !important;
    background-image: none;
    transition: all 0.5s;
    background-color: var(--anti-flash-white);
    color: var(--flame);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    font-size: 30px;
}

.accordion-button:not(.collapsed)::after {
    background-image: none;
    content: "\F2EA";
    font-family: bootstrap-icons !important;
    background-color: var(--flame);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-button::after {
    transition: all 0.5s;
}

.hidden {
    display: none;!important;
}

/*------------------------------------*\
#FOOTER
\*------------------------------------*/
.majestic-block {
    background-color: white;
    color: var(--flame);
    font-weight: 600;
    font-size: 8px;
    padding-top: 28px;
    padding-bottom: 27px;
}

.footer {
    background-color: var(--flame);
}

.footer:before {
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    position: absolute;
    bottom: 70px;
    z-index: 3;
    left: 0;
    right: 0;
    margin: auto;
}

.pattern-left,.pattern-right {
    bottom: 70px;
}

.tooltiptext {
    visibility: hidden;
    font-size: 15px;
    /*color: var(--flame);*/
    text-align: center;
    border-radius: 6px;
    padding: 5px;

    /*!* Position the tooltip *!*/
    position: absolute;
    z-index: 1;
}

#tooltipMap {
    top: 46px;
    left: -64px;
}


.overlay {
    position: absolute;
    height: auto;
}


.carousel-item img {
    clip-path: ellipse(95% 77% at 50% 22%);
}


.carousel-item img {
    filter: brightness(75%); /* Adjust to make text readable */
}

.slid-title a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 1365px) {
    .pattern-left {
        display: none;
    }
    .sticky-top:not(.header-scrolled) .navbar {
        border-bottom: 2px solid #fff;
    }

    .hero {
        min-height: 740px;
        height: 100%;
    }
    .hero .carousel-inner, .hero .carousel-item {
        height: 100%;
    }
    .carousel-inner img {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        z-index: 1;
    }
    .carousel-item img {
        clip-path: ellipse(150% 77% at 50% 22%);
    }
}


@media (max-width: 992px) {
    .footer:before {
        bottom: 96px;
    }
}

@media (max-width: 768px) {
    .footer:before {
        width: 96%;
    }

    .majestic-block {
        background-color: transparent;
        color: white;
    }

    body:not(.main) section:first-of-type {
        padding-top: 20px;
    }

    #contact img {
        width: inherit;!important;
    }

    .nav-item.nav-link {
        font-size: medium;
        /*width: max-content;*/
    }

    details {
        width: max-content;
    }
}

/*--------- light dark button style ---------------*/

/* Hide the checkbox */
#mode-switch {
    display: none;
}

/* Style the label as a toggle switch */
#mode-switch-label {
    display: inline-block;
    background-color: var(--flame);
    border-radius: 42px;
    padding: 4px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: absolute;
    left: 32px;
    color: white;
    top: 16px;
}

/* Change background color when checked */
#mode-switch:checked + #mode-switch-label {

    background-color: var(--flame);
}

/* Style the switch handle */
#mode-switch-label .ball {
    content: '';
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    transform: translateX(-13px);

}

/* Move switch handle to the right when checked */
#mode-switch:checked + #mode-switch-label .ball {
    transform: translateX(13px);
}

/* Hide dark mode image by default */
#dark-mode-img {
    display: none;
    transition: opacity 0.3s ease;
}

/* Show dark mode image when checkbox is checked */
#mode-switch:checked ~ .image-container #dark-mode-img {
    display: block;
}

/* Hide light mode image when checkbox is checked */
#mode-switch:checked ~ .image-container #light-mode-img {
    display: none;
}

.image-container img {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.night {
    position: absolute;
    top: 13px;
    right: 10px;
}

.light {
    position: absolute;
    top: 13px;
    left: 10px;
}

/*------------------------------------*\
#FORM
\*------------------------------------*/

.form-control:focus {
    box-shadow: none !important;
}

/*------------------------------------*\
#SIDEBAR
\*------------------------------------*/
.navbar-side {
    position: inherit;
    width: 100%;
}

.close {
    position: relative;
}

.close:hover {
    opacity: 1;
}

.close:before,
.close:after {
    position: absolute;
    left: 33px;
    top: 8px;
    content: " ";
    height: 33px;
    width: 2px;
    background-color: var(--flame);
}

.close:before {
    transform: rotate(45deg);
}

.close:after {
    transform: rotate(-45deg);
}

.navbar-toggler {
    background-color: white !important;
}

.top-bloor {
    position: absolute;
    left: 0;
    top: 0;
    backdrop-filter: blur(8px); z-index: 1;
}

.f-lang-select a {
    color: #FFFFFF;
}

.f-lang-select li .active {
    background: #FFFFFF;
    color: var(--flame);;
}

@media (max-width: 1200px) {
    .navbar-side {
        height: 100%;
        max-width: 40rem;
        font-size: 1.6rem;
        position: fixed;
        top: 0;
        right: 0;
        padding: 0;
        list-style: none;
        background-color: #fff;
        background-image: url(../images/header-tranparent-bg.png);
        background-size: cover;
        overflow-y: scroll;
        z-index: 1000;
    }

    .navbar-nav {
        width: 100%;
    }

    .sticky-top .navbar-light .navbar-nav .nav-link.active {
        color: #fff !important;
        background-color: var(--flame);
        background-image: url(../images/header-tranparent-bg.png);
    }

    .navbar-light .navbar-nav .nav-link:not(.active) {
        color: #000 !important;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid #d8d8d8;
    }

    .navbar-side {
        width: 80%;
    }

    .navbar-side-item:hover {
        background-color: #64c6bd;
    }

    .navbar-side-item a {
        display: inline-block;
    }

    .side-link {
        padding-left: 1.7rem;
        padding-right: 1.2rem;
        color: #fff;
    }

    .side-link:active,
    .side-link:hover {
        text-decoration: none;
        color: #fff;
    }

    .navbar-side {
        -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
        transform: translateX(100%);
        -webkit-transition: 400ms ease;
        transition: 400ms ease;
    }

    .reveal {
        -webkit-transform: translateX(0%);
        -ms-transform: translateX(0%);
        transform: translateX(0%);
        -webkit-transition: 400ms ease;
        transition: 400ms ease;
    }

    .overlay {
        position: fixed;
        display: none;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        cursor: pointer;
        background-color: #5f5f5f;
        opacity: 0.6;
        z-index: 990;
    }
}
