/* Font Imports */
@font-face {
    font-family: 'Photograph Signature';
    src: url(assets/fonts/photograph_signature-webfont.woff2) format('woff2'),
         url(assets/fonts/photograph_signature-webfont.woff) format('woff');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "Futura", sans-serif;
    src: url(assets/fonts/futura-condensedlight-webfont.woff2) format('woff2'),
         url(assets/fonts/futura-condensedlight-webfont.woff) format('woff');
    font-style: normal;
    font-weight: 300;
}


/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,body{
    overflow-x: hidden;
}


/* Main Font Styling */
.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 70px;
}
.page-container{
    width: 1280px;
}
.main h2 {
    background: linear-gradient(180deg, #33E28C 19%, #4F94D9 82%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    font-weight: 350;
    font-size: 62px;
    line-height: 115%;
 
    margin: 5px 0px 17px 0px;
}

.main h3 {
    font-weight: 500;
    color:#a5a8a4;
    font-size: 50px;
}

.main h4 {
    font-weight: 500;
    color:#4E544D;
    font-size: 56px;
}

.main h7 {
    font-weight: 900;
    color:#4E544D;
    font-size: 17px;
    margin-bottom: 10px;
}

.main p {
    color:#4E544D;
    font-size: 16px;
    font-weight: 200;
}

.price {
    font-size: 34px;
    font-weight: 500;
    color: #71c9ff;
}

/* Room Header Styling */
.room-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    text-align: center;
    max-width: 770px;
    margin-top: 70px;
    width: 100%;
}

.room-subheader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    text-align: center;
    max-width: 100%;
    margin-top: 30px;
}

/* Carousel Container */
.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel Styling */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 540px;
    width: 100%;
    height: 400px;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-track img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ROOM BOOK BUTTON */
/* Room Book One */
.room-book-one {
    text-decoration: none;
    color: #4E544D;
    border: 1px solid #4E544D;
    padding: 8px 40px;
    margin: 22px 60px 20px 0px;
    width: 193px;
    position: relative; /* Added for pseudo-element positioning */
    transition: 0.3s;
    text-align: center;
}

/* Hover Effect for Book Button */
.room-book-one:hover {
    color: #4E544D;
}

/* Pseudo-element for Book Button */
.room-book-one:before {
    content: ""; /* Creates an empty pseudo-element (no text) */
    position: absolute; /* Position it absolutely inside the button */
    top: 0; /* Position it at the top edge of the button */
    left: 0; /* Position it at the left edge of the button */
    width: 0%; /* Initially, the pseudo-element has no width, so it's invisible */
    height: 100%; /* The pseudo-element will cover the full height of the button */
    background: #71c9ff; /* The initial background color of the pseudo-element */
    transition: width 0.5s ease, background 0.5s ease; /* Smooth transition for width change and background color change */
    z-index: -1; /* Ensures the pseudo-element stays behind the text (so text is visible) */
}

/* Hover Effect for the Book Button's Pseudo-element */
.room-book-one:hover:before {
    width: 100%; /* On hover, expand the pseudo-element to cover the full width of the button */
    background: #f8f8f8; /* Change the background color to match the text */
}

/* Room Book Two */
.room-book-two {
    text-decoration: none;
    color: #4E544D;
    border: 1px solid #4E544D;
    padding: 8px 40px;
    margin: 22px 0px 20px 275px;
    width: 193px;
    position: relative; /* Added for pseudo-element positioning */
    transition: 0.3s;
    text-align: center;
}

/* Hover Effect for Book Button */
.room-book-two:hover {
    color: #4E544D;
}

/* Pseudo-element for Book Button */
.room-book-two:before {
    content: ""; /* Creates an empty pseudo-element (no text) */
    position: absolute; /* Position it absolutely inside the button */
    top: 0; /* Position it at the top edge of the button */
    left: 0; /* Position it at the left edge of the button */
    width: 0%; /* Initially, the pseudo-element has no width, so it's invisible */
    height: 100%; /* The pseudo-element will cover the full height of the button */
    background: #71c9ff; /* The initial background color of the pseudo-element */
    transition: width 0.5s ease, background 0.5s ease; /* Smooth transition for width change and background color change */
    z-index: -1; /* Ensures the pseudo-element stays behind the text (so text is visible) */
}

/* Hover Effect for the Book Button's Pseudo-element */
.room-book-two:hover:before {
    width: 100%; /* On hover, expand the pseudo-element to cover the full width of the button */
    background: #f8f8f8; /* Change the background color to match the text */
}



/* Responsive Design */
@media screen and (max-width: 1440px) {
    
    .page-container{
        width: auto;
    }
    .main{
        margin: 0 20px;
    }
    .flex-layout-one .content-layout{
        margin-left: 20px;
    }
    .flex-layout-two .content-layout{
        margin-right: 20px;
    }
    .room-book-two {
        margin: 22px 0px 20px 260px;
    }
}

@media screen and (max-width: 1024px) {
    
    .carousel-wrapper {
        margin: 0;
    }
    .content-layout {
        max-width: 50% !important;
    }
    .room-book-two {
        margin: 22px 0px 20px 300px;
    }
    .flex-layout-one .content-layout{
        margin-left: 20px;
    }
    .flex-layout-two .content-layout{
        margin-right: 20px;
    }
}

@media screen and (max-width: 768px) {
    .flex-layout-one .content-layout{
        margin-left: 20px;
    }
    .flex-layout-two .content-layout{
        margin-right: 20px;
    }
    .carousel-wrapper {
        height: 250px;
    }
    .room-book-two {
        margin: 22px 0px 20px 205px;
        padding: 5px 29px;
        width: 165px;
        font-size: 15px;
        text-align: center;
    }
    .room-book-one {
        padding: 5px 29px;
        margin: 22px 60px 20px 0px;
        width: 165px;
        font-size: 15px;
        text-align: center;
    }
    .main h4 {
        font-size: 35px;
    }
    .main p {
        font-size: 14px;
    }
    .price {
        font-size: 25px;
    }
    .flex-layout-one .content-layout{
        margin-left: 20px;
    }
    .room-header {
        margin-bottom: 70px;
    }
}

@media screen and (max-width: 425px) {
    .main h7 {
        font-size: 13px;
        margin-bottom: 0px;
    }
    .main h2 {
        font-size: 50px;
        line-height: 100%;
        margin: 0px 0px 17px 0px;
    }
    .main h4 {
        font-size: 35px;
    }
    .main p {
        font-size: 12px;
    }
    .price {
        font-size: 25px;
    }
    .content-layout {
        align-items: center !important;
        text-align: center;
        max-width: 80% !important;
    }
    .carousel-wrapper {
        margin: 0;
        height: 250px;
    }
    .room-book-two {
        padding: 5px 29px;
        margin: 0;
        width: 180px;
        font-size: 15px;
    }
    .flex-layout-two {
        flex-direction: column !important;
        margin-top: 40px;
        align-items: center;
        align-content: center;
        justify-content: center !important;
        flex-wrap: wrap;
    }
    .flex-layout-two .content-layout{
        margin-left: 0px;
        padding-bottom: 10px;
    }
    .room-book-one {
        padding: 5px 29px;
        margin: 0;
        width: 180px;
        font-size: 15px;
    }
    .flex-layout-one {
        flex-direction: column !important;
        margin-top: 40px;
        align-items: center;
        align-content: center;
        justify-content: center !important;
        flex-wrap: wrap;
    }
    .flex-layout-one .content-layout{
        margin-left: 0px;
        padding-bottom: 10px;
    }
    .room-header {
        margin-bottom: 70px;
    }

    #cavanna-section,#cottage2-section,
    #cottage3-section,#smallvip-section,
    #vip1-section,#vip2-section,
    #duke-section,#drake-section,
    #sapphire-section,#ruby-section,
    #aquamarine-section,#diamond-section,
    #banana-section,#mango-section,
    #santol-section,#guava-section,
    #bamboo-section,#guyabano-section,
    #coconut-section,#tamarind-section{
        border: 1px solid #212121;
        border-radius: 5px;
        box-shadow: #4E544D;
        background-color:#faf9f6;
    }
}

@media screen and (max-width: 375px) {
    .carousel-wrapper {
        height: 220px;
    }
    .main h2{
        font-size: 45px;
    }
}

@media screen and (max-width: 375px) {
    .carousel-wrapper {
        height: 195px;
    }
    .main h2{
        font-size: 40px;
    }
    .main h4{
        font-size: 40px;
    }
    .main h7{
        font-size: 12px;
    }
}