/* ----------GENERAL SETTINGS----------- */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

@font-face {
    font-family: Romancio;
    src: url('/fonts/Romancio.otf');
}

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

* {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100dvh;
    /* font-size: clamp(.75rem, 1vw, 1rem); */    
}

:root {
    color-scheme: light;
}
  
/* ----------HEADER----------- */

header {
    height: max-content;
    font-family: 'Inter';
    font-weight: 500;
}

nav {
    container-type: inline-size;
    backdrop-filter: blur(30px);
    margin: auto 5dvw auto auto;
    padding: 0;
    position: relative;
    z-index: 9999;
}

nav #nav {
    gap: 10vw;
}

#logo-container {
    font-size: 1rem;
    padding: 0;
    margin: auto auto auto 5dvw;

}

#rooms-nav-booking a {
    background-color: rgba(43, 21, 21, 0.9);
    padding: 3dvh 4dvw 3dvh 4dvw;
    border-width: 0 2px 1px 2px;
    color: white;
    font-weight: 500;
}

#nav-booking a {
    background-color: rgba(43, 21, 21, 0.9);
    padding: 3dvh 4dvw 3dvh 4dvw;
    border-width: 0;
    color: white;
    font-weight: 500;
}

.custom-hover {
    text-decoration: none;
}

.custom-hover:hover {
    text-decoration-line: underline;
    text-decoration-line: 2px solid inherit;
}

/* ----------HEADER CONTAINER QUERIES----------- */

@container (min-width: 1199px) {
    #logo {
        display: none;
    }

    #rooms-logo {
        display: none;
    }
}

/* @container (max-width: 1200px) {
    #logo-container {
        display: none;
    }
} */

@container (max-width: 1198px) {
    #nav-booking {
        display: none;
    }
}

/* ----------COVER IMAGE----------- */

.cover {
    /* display: block; */
    height: 100dvh;
    width: 100dvw;
    background-image: url("images/MyZen_Cover.png");
    object-fit: cover;
}


/* ----------HOME PAGE V.1----------- */


.header-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-family: Romancio;
    color: white;
    line-height: 4.75rem;
    text-align: center;
    padding: 2rem 0 0 0;
}

.wrapper {
    position: fixed;
    inset: 0px;
    width: 60dvw;
    height: 67dvh;
    max-width: 100dvw;
    max-height: 100dvh;

    container-type: inline-size;
    margin: auto;
    backdrop-filter: blur(30px);
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 3fr 1fr 2fr;
}

.header-paragraph {
    font-family: 'Lora';
    font-size: clamp(.8rem, .5rem, 1rem);
    text-align: justify;
    padding: 2rem 1rem;
    line-height: 1.7rem;
    color: white;
}

.booking-button #booking-button {
    background-color: rgba(43, 21, 21, 0.9);
    display: inline-block;
    justify-content: center;
    padding: 2.5dvh 4dvw;
    border-radius: 25px;
    border-color: white;
    border-width: 1px;
    color: white;
}

.booking-buttona a #booking-button {
    text-align: center;
}

@container wrapper (max-width: 300px) {
    .wrapper {
        margin: auto;
        max-width: 100dvw;
        max-height: 100dvh;
        height: 70dvh;
        padding: 0;
    }
}

@media (max-width: 600px) {
    #nav-booking {
        display: none;
    }

    footer {
        display: none;
    }
}

@container (max-width: 600px) {
    .icons {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

@media (min-width: 1000px) {
    .header-paragraph {
        padding: 0 10dvw 0 10dvw;
        font-size: clamp(.8rem, 1rem, 1rem);
        line-height: 2rem;
        text-align: center;
    }

    .header-title {
        padding: 3rem 0;
        line-height: 7rem;
    }
}

@media (max-width: 1199px) {

    .cursor,
    .cursor2,
    .cursor3 {
        visibility: hidden;
    }
}



/* ----------HOME PAGE GRID SETTINGS----------- */

/* .wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: [row1-start] 25% [row1-end] 100px [third-line] auto [last-line];
    place-items: stretch center;
} */

/* ----------<MAIN> ROOMS PAGE GRID---------- */




/* ----------ROOMS.HTML HOMEPAGE----------- */
.rooms-body {
    overflow: visible;
    background-color: rgb(218, 218, 216);
    margin: 0;
}

/* .modal-section {
    display: none;
}

.modal-section:target {
    display: block;
} */

#rooms-homepage {
    margin: 25dvh 5dvw 0 5dvw;
    height: 100dvh;
}

.rooms-homepage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 25px;
    padding: 1rem;
    margin: 0;
}

.room {
    padding: 0.5rem;
    max-height: fit-content;
}

.room p,
.room  {
    color: black;
}

@media (max-width: 1200px) {
    .rooms-homepage-grid {
        grid-template-columns: 1fr;
        grid-template-rows: .5fr 1.5fr;
        top: 10dvh;
        max-height: fit-content;
    }

    main {
        margin: 0;
        padding: 0 0 20svh 0;
    }

    #more-info {
        padding: 0 0 20dvh 0;
    }

    #rooms-homepage {
        margin-top: 10dvh;
    }

    footer {
        position: relative;
        bottom: 0;
        backdrop-filter: blur(30px);
    }

    footer p {
        font-size: clamp(.4rem, 5dvw, .8rem);
        text-align: start;
    }

    .imgs {
        max-width: 100%;
        padding: 1rem;

    }

    .rooms-homepage-img {
        height: fit-content;
        padding: 0;
        margin: 0;
    }

    footer img {
        visibility: hidden;
    }
}

.rooms-homepage-info {
    height: fit-content;
}

.rooms-homepage-info h1 {
    color: black;
    font-family: Romancio;
    font-size: clamp(4rem, 10vw, 7rem);
    padding: 0 0 0 1rem;
    text-align: left;
    line-height: 7rem;
    margin: 0;
}


.rooms-homepage-info p {
    color: black;
    text-align: left;
    padding: 1rem 5rem 0 1rem;
    font-family: 'Lora';
    font-size: clamp(.8rem, 1vw, 1rem);
    text-align: justify;
}

.rooms-booking-button {
    border: 0 2px 1px 2px;
    border-color: black;
}

.rooms-homepage-img img {
    display: block;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 10%;
}

.rooms-button {
    display: flex;
    flex: 1;
    min-width: fit-content;
    width: 20.5dvw;
    padding: 2.5dvh 4dvw;
    margin: 3dvh 0 2dvh 2dvh;
    border-radius: 25px;
    border-color: black;
    border-width: 1px;
    text-align: center;
}

.rooms-button a {
    margin: auto;
}

.bounce-right {
    -webkit-animation: bounce-right 0.8s both;
    animation: bounce-right 0.8s both;
}

/*----ROOMS INFO-----*/
.imgs {
    max-width: 100%;
    display: block;
    border-radius: 10%;
    padding-top: 2rem;
}

.rooms-info {
    font-family: 'Romancio';
    font-size: clamp(2.5rem, 5dvw, 4rem);
    margin: 2dvh 10dvw 10dvh 10dvw;
    display: block;
}

@media (min-width: 1200px) {

    .rooms-info-wrapper {
        display: grid;
        gap: 20px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
}

/* .room {
    border: 1px solid rgba(43, 21, 21, 0.9);
    padding: 1rem;
    border-radius: 2%;
} */

.features {
    padding: 0.6rem;
    max-height: fit-content;
    margin: 0;
    filter: drop-shadow(0 0 1rem rgba(163, 135, 135, 0.3));
    border-radius: 5%;
}

.more-info {
    font-size: clamp(0.8rem, 3dvw, 1.1rem);
    font-family: 'Lora' !important;
    text-decoration-line: underline;
    text-decoration-color: #000;
    padding: 1rem 0 2rem 0;
    font-weight: 500;
    font-style: italic;
    text-indent: 10%;
}

.icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    container-type: inline-size;
}

.features-icons {
    padding: 0.8rem;
    text-align: center;
    place-items: center;
    text-wrap: wrap;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    font-family: 'Lora';
    text-transform: capitalize;
    font-style: italic;
    font-size: clamp(0.5rem, 2dvw, 0.8rem);
    color: black;
}


.features-icons img {
    width: 2em;
    display: block;
}

/* rooms info homepage*/
.rooms-info-wrapper h3 {
    font-weight: 500;
    font-family: Romancio;
    font-size: clamp(1.5rem, 3vw, 2rem);
    padding: 2rem 3rem 0 4rem;
    text-align: left;
    line-height: 2rem;
}

.room-info-description {
    text-align: justify;
    padding: 2rem;
    font-family: 'Lora';
    font-size: clamp(.8rem, 1vw, 1rem);
    text-align: justify;
}

@keyframes bounce-right {
    0% {
        -webkit-transform: translateX(48px);
        transform: translateX(48px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 1;
    }

    24% {
        opacity: 1;
    }

    40% {
        -webkit-transform: translateX(26px);
        transform: translateX(26px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    65% {
        -webkit-transform: translateX(13px);
        transform: translateX(13px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    82% {
        -webkit-transform: translateX(6.5px);
        transform: translateX(6.5px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    93% {
        -webkit-transform: translateX(4px);
        transform: translateX(4px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    25%,
    55%,
    75%,
    87%,
    98% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    100% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        opacity: 1;
    }
}


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

footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    bottom: 0;
    backdrop-filter: blur(60px);
}

footer img {
    grid-area: 1/1/1/2;

}

footer p {
    grid-area: -2/3/-1/-1;
    margin: auto;
    font-size: 0.7rem;
    font-family: 'Lora';
}

/*Cool Part*/
/* body{
	width: 100%;
	height: 100vh;
	background: #1f2029;
	overflow: hidden;
	font-family: 'Inter', sans-serif;
} */

/* #Cursor
================================================== */
.cursor,
.cursor2,
.cursor3 {
    position: fixed;
    border-radius: 50%;
    transform: translateX(-50%) translateY(-50%);
    pointer-events: none;
    left: -100px;
    top: 50%;
    mix-blend-mode: difference;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}

.cursor {
    background-color: #fff;
    height: 0;
    width: 0;
    z-index: 99999;
}

.cursor2,
.cursor3 {
    height: 36px;
    width: 36px;
    z-index: 99998;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out
}

.cursor2.hover,
.cursor3.hover {
    -webkit-transform: scale(2) translateX(-25%) translateY(-25%);
    transform: scale(2) translateX(-25%) translateY(-25%);
    border: none
}

.cursor2 {
    border: 2px solid #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.cursor2.hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.2);
}

.section {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
    height: 100vh;
}

.moving-image {
    background: url('/images/MyZen_Cover.png') repeat fixed;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
}



.case-study-wrapper {
    position: absolute;
    top: 50%;
    left: 20px;
    z-index: 10;
    width: auto;
    margin: 0;
    padding: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    list-style: none;
}

.case-study-wrapper .case-study-name {
    margin: 0;
    padding: 0;
}

.case-study-wrapper .case-study-name a {
    position: relative;
    list-style: none;
    margin: 0 auto;
    display: inline-block;
    text-align: center;
    padding: 0;
    margin-top: 6px;
    margin-bottom: 6px;
    font-family: 'Inter';
    font-size: 17px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 1px;
    color: rgb(0, 0, 0);
    text-decoration: none;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
    text-decoration: none;
}

.case-study-wrapper .case-study-name a:hover {
    text-decoration: none;
}

.case-study-wrapper .case-study-name.active a {
    color: #fff;
}

.case-study-wrapper .case-study-name a:before {
    position: absolute;
    content: '';
    left: -5px;
    top: 50%;
    height: 0;
    width: 4px;
    transform: translateY(-50%);
    background: linear-gradient(45deg, #f19872, #e86c9a);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.case-study-wrapper .case-study-name:nth-child(2) a:before {
    background: linear-gradient(45deg, #0947db, #07d89d);
}

.case-study-wrapper .case-study-name:nth-child(3) a:before {
    background: linear-gradient(45deg, #ee2d29, #f8ae2c);
}

.case-study-wrapper .case-study-name:nth-child(4) a:before {
    background: linear-gradient(45deg, #3a3d98, #6f22b9);
}

.case-study-wrapper .case-study-name.active a:before {
    height: 100%;
}

.case-study-images {
    position: absolute;
    top: 50%;
    left: 70px;
    width: calc(100% - 90px);
    max-width: 500px;
    margin: 0;
    padding: 0;
    z-index: 5;
    list-style: none;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.case-study-images li {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    opacity: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(14, 14, 14, .35);
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}

.case-study-images li.show {
    opacity: 1;
}

.case-study-images li img {
    width: 100%;
    height: auto;
    display: block;
}

.case-study-images li p {
    position: absolute;
    top: 20px;
    left: 20px;
    text-align: left;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 1px;
    color: #fff;
    font-weight: 300;
    margin: 0;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, .8);
    border-radius: 3px;
    display: inline-block;
}

.case-study-images li .info {
    position: relative;
    padding: 12px 20px;
    background-color: rgba(0, 0, 0, .5);
    display: block;
}

.case-study-images li .info img {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 10px;
}

.case-study-images li .info a {
    background-color: #000;
    font-size: 11px;
    text-transform: uppercase;
    line-height: 28px;
    letter-spacing: 2px;
    color: #fff;
    font-weight: 300;
    position: absolute;
    right: 20px;
    top: 10px;
    height: 28px;
    padding: 0 20px;
    border-radius: 3px;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}

.case-study-images li .info a:hover {
    text-decoration: none;
}

/*About Page*/

.about-moving-image {
    background: url('/images/myzen story/Fountain.jpg') repeat fixed;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 100%;
    opacity: 0.4;
}

.about-info {
    padding: 2rem; 
    position: relative;
    max-width: 750px; 
    font-family: 'Lora'; 
    color:black; 
    backdrop-filter:blur(30px); 
    border-radius: 10%;
    background-color: transparent;
    z-index: 9999;
    text-align: justify;
    line-height: 1.25rem;
    top: 30%;
    
}

.about-info-header{
    font-family: 'Romancio';
    font-size: clamp(1.5rem, 3vw, 2rem);
    padding: 2rem;
    display: block;
}

/* FACILITIES PAGE */
