/* Fonts (1. Content & 2. Header)
-------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;200;300;400;500;600;700;800;900&family=Noto+Sans+Thai:wght@100;200;300;400;500;600&display=swap');

/*

font-family: 'Noto Sans JP', sans-serif;
font-family: 'Noto Sans Thai', sans-serif;

*/

@font-face {
    font-family: 'Baskerville';
    src: url('../fonts/BASKVILL.eot') format('eot'),
        url('../fonts/BASKVILL.woff') format('woff');
}


/* Body
-------------------------------------------- */

:root {
    --primary-color: #224ba0;
    --secondary-color: #040928;
    --overlay-background-color: #e8e2d6;
    --footer-background-color: #e8e2d6;
    --white-color: #fff;
    --text-primary-color: #0a0a0a;
    --text-primary-hover-color: #224ba0;
    --text-secondary-color: #004966;
    --text-secondary-hover-color: #021c3d;
    --text-muted-color: #979797;
    --navigation-color: transparent;
    --background-body-color: #f4f1ef;
    --background-article-color: #fafcf3;
    --background-header-color: #212121;
    --button-primary-color: #040928;
    --button-primary-hover-color: #224ba0;
    --button-secondary-color: #e7f0fd;
    --button-secondary-hover-color: #aeb8c6;
    --danger-color: #ff0006;


}

/* Body
-------------------------------------------- */

html {
    padding: 0;
    margin: 0;
    background-color: var(--background-body-color);
}

body {
    position: relative;
    font-size: 16px;
    width: 100%;
    height: auto;
    color: #111;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    background-color: #25324d;
    margin: auto;
    font-family: 'Noto Sans Thai', sans-serif;
}

/* Main / Section Config
-------------------------------------------- */

section,
header,
footer {
    position: relative;
    z-index: 1;
    max-width: 1800px;
    margin: 0 auto;
    background-color: var(--background-body-color);
}

main,
section {
    width: 100%;
}

main,
footer {
    position: relative;
    z-index: 100;
}

.light-line {
    margin: 0 auto;
    max-width: 1800px;
    height: 7px;
    background: var(--background-body-color) linear-gradient(to right, var(--background-body-color), #00a1f1, var(--background-body-color)) top/ 90% 7px no-repeat;
}

.uk-container {
    max-width: 1400px;
}

a,
.uk-link {
    color: var(--text-primary-color);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Baskerville';
}

a:hover,
.uk-link:hover,
.uk-link-toggle:hover .uk-link {
    color: var(--text-primary-color);
}

button,
a,
label,
.uk-button,
.uk-label {
    white-space: nowrap;
    overflow: hidden;
}

.uk-background-default {
    background-color: var(--white-color);
}

.uk-background-muted {
    background-color: #f8f8f8;
}

.uk-background-primary {
    background-color: var(--primary-color);
}

.uk-background-secondary {
    background-color: var(--secondary-color);
}

.uk-button-primary {
    background-color: var(--button-primary-color);
    color: var(--white-color);
    font-family: 'Noto Sans JP', sans-serif;
}

.uk-button-primary:hover {
    background-color: var(--button-primary-hover-color);
    color: var(--white-color);
}

.uk-button-primary:active,
.uk-button-primary.uk-active {
    background-color: var(--button-primary-color);
    color: var(--white-color);
}

.uk-button-secondary {
    background-color: var(--button-secondary-color);
    color: var(--secondary-color);
    font-family: 'Baskerville' !important;
}

.uk-button-secondary:hover {
    background-color: var(--button-secondary-hover-color);
    color: var(--secondary-color);
}

.uk-button-secondary:active,
.uk-button-secondary.uk-active {
    background-color: var(--button-secondary-color);
    color: var(--secondary-color);
}

.uk-button {
    border-radius: 25px;
}


/* Text
-------------------------------------------- */

.heading {
    color: var(--text-secondary-color);
}

.subheading {
    color: var(--primary-color) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Noto Sans JP', sans-serif;
}

p {
    color: var(--text-primary-color);
}

.uk-text-muted {
    color: var(--text-muted-color) !important;
}

.uk-text-emphasis {
    color: var(--text-secondary-color) !important;
}

.uk-text-primary {
    color: var(--text-primary-color) !important;
}

h1.uk-text-primary {
    font-size: 53px;
    font-weight: 400;
    letter-spacing: 0.07em;
}

.uk-text-secondary {
    color: var(--secondary-color) !important;
}

.uk-text-success {
    color: #32d296 !important;
}

.uk-text-warning {
    color: #faa05a !important;
}

.uk-text-danger {
    color: #f0506e !important;
}

.uk-text-white {
    color: var(--white-color) !important;
}

.uk-height-large {
    height: 500px !important;
}

/* Text
-------------------------------------------- */

.listing-with-icon {
    li {

        padding-left: 0;

        &::before {
            content: "";
            display: inline-flex;
            width: 20px;
            height: 20px;
            background: url(../images/icon/tick.png) center center no-repeat;
            background-size: 100%;
            position: relative;
            top: 5px;
            left: 0;
            margin-right: 10px;
        }
    }
}

.scroll-down {

    position: relative;
    z-index: 999;

    .animated-text {
        color: #fff;
        position: absolute;
        right: -55px;
        bottom: 90px;
        transform: translate(-50%, -50%);
        background: inherit;
        padding: 0 40px;
        height: 25px;
        overflow: hidden;
    }

    .line {
        text-transform: uppercase;
        text-align: center;
        font-size: 14px;
        line-height: 25px;
        font-family: "Noto Sans", sans-serif;
    }

    .line:first-child {
        animation: anim 5s infinite;
    }

    @keyframes anim {
        0% {
            margin-top: 0;
        }

        16% {
            margin-top: -25px;
        }

        33% {
            margin-top: -50px;
        }

        50% {
            margin-top: -75px;
        }

        66% {
            margin-top: -50px;
        }

        82% {
            margin-top: -25px;
        }

        100% {
            margin-top: 0;
        }
    }

    .scrolldown {
        position: absolute;
        bottom: -50px;
        right: 100px;
        transform: translate(-50%, -50%);
        width: 1px;
        height: 100px;
        background-color: transparent;
    }

    .scrolldown:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(transparent, #fff, #fff, transparent);
        animation: animate 2s linear infinite;
    }

    @keyframes animate {
        0% {
            transform-origin: top;
            transform: scaleY(0);
        }

        50% {
            transform-origin: top;
            transform: scaleY(1);
        }

        51% {
            transform-origin: bottom;
            transform: scaleY(1);
        }

        100% {
            transform-origin: bottom;
            transform: scaleY(0);
        }
    }
}

/* Navigation
-------------------------------------------- */

nav {

    position: relative;
    z-index: 999;
    padding: 15px 0;
    transition: all 0.4s;
    background: transparent;
    max-width: 1800px !important;
    margin: auto;
    left: 0;
    right: 0;
     backdrop-filter: saturate(180%) blur(3px);
         -webkit-backdrop-filter: saturate(1) blur(3px);
            background-color: rgba(255, 255, 255, 0.01);
            border-bottom: solid 1px rgba(255,255,255,0.1);

    .site-logo>a>img {
        display: block;
        width: 150px;
        height: 90px;
        filter: brightness(0) invert(1);
        object-fit: contain;
        transition: all 0.3s;
    }

    a {
        color: var(--white-color);
        text-decoration: none !important;
    }

    .uk-navbar {
        
        .uk-navbar-right,
        .uk-navbar-left {
            gap: 0 !important;
        }

        a.booknow-btn {
            color: var(--white-color) !important;
            background-color: var(--primary-color) !important;
            border: none !important;
            backdrop-filter: saturate(180%) blur(10px);
            -webkit-backdrop-filter: saturate(1.8) blur(10px);
            border-radius: 30px;
            padding: 0 20px;
            height: 35px;
            line-height: 33px;
            font-family: 'Noto Sans JP', sans-serif;
            font-size: 13px;
            letter-spacing: 0.07em;
            text-transform: uppercase;
            margin-top: 24px;

            &:hover {
                background-color: var(--secondary-color) !important;
            }
        }
        .menu-primary-menu-container {

            ul {
                margin: 0 !important;
                padding: 0 !important;
                list-style: none !important;

                li {
                    display: inline-block;
                    margin: 0;
                    position: relative;
                    z-index: 500;

                    &.current_page_item {

                        a,
                        a:hover {
                            color: var(--white-color) !important;
                            background-color: rgba(255,255,255,0) !important;
                            border: solid 1px rgba(255, 255, 255, 0.7);
                            backdrop-filter: saturate(180%) blur(10px);
                            -webkit-backdrop-filter: saturate(1.8) blur(10px);
                            border-radius: 30px;
                            text-decoration: none !important;
                            line-height: 35px;

                            &::after {
                                display: none !important;
                            }
                        }
                    }

                    a {
                        font-size: 12px;
                        padding: 0 10px !important;
                        font-family: 'Noto Sans JP', sans-serif;
                        font-weight: 700;
                        letter-spacing: 0.09em;
                        background-color: transparent;
                        border-radius: 5px;
                        position: relative;
                        line-height: 30px;
                        text-transform: uppercase;
                        display: inline-table;
                        line-height: 80px;

                        &::after {
                            content: "";
                            display: block;
                            position: absolute;
                            left: 0;
                            right: 0;
                            bottom: 0;
                            width: calc(100% - 30px);
                            margin: auto;
                            height: 1px;
                            background-color: var(--white-color);
                            opacity: 0;
                            transition: all 0.3s;
                        }

                        &:hover {
                            color: var(--white-color);
                            background-color: transparent !important;
                        }

                        &:hover::after {
                            opacity: 1;
                        }
                    }

                    &:hover {
                        >.sub-menu {
                            display: block;
                        }
                    }

                    .sub-menu {
                        position: absolute;
                        left: 0;
                        top: 30px;
                        display: none;
                        min-width: 180px;
                        background-color: var(--white-color);
                        padding: 0;

                        li>a {
                            line-height: 40px;
                            padding: 0 10px !important;
                        }
                    }
                }
            }
        }

        .social-media {
            margin: 25px 0 0 15px;
        }

    }

    &~pre {
        display: none;
    }

    .social-media {
        a {
            border: solid 1px var(--white-color);

            &:hover {
                color: var(--white-color);
            }
        }
    }

}

nav.navbar-small {
    height: 60px;
    padding: 0;
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(1.8) blur(10px);
    background-color: rgba(10, 10, 10, 0.4);
    background: linear-gradient(156deg, rgba(34, 75, 160, 1) 16%, rgba(34, 46, 76, 0.5) 65%);

    .site-logo>a img {
        width: 100px;
        height: 60px;
        filter: inherit;
        object-fit: contain;
        filter: brightness(0) invert(1);
        transition: all 0.3s;
    }

    .site-nav,
    .uk-navbar-item,
    .uk-navbar-nav a,
    .site-nav a {
        height: 60px;
        min-height: 50px;
    }

    .uk-navbar {
        .menu-primary-menu-container {
            ul {
                li {
                    a {
                        text-shadow: inherit;
                        color: #fff;
                        line-height: 60px;
                    }

                    &.current_page_item {
                        a {
                            line-height: 35px;
                        }
                    }
                }
            }
        }
        a.booknow-btn {
            margin-top: 13px;
        }

        .social-media {

            margin-top: 15px;

            a {
                border: solid 1px var(--text-muted-color);
                color: var(--secondary-color);
            }
        }
    }

    .uk-navbar-dropdown-nav>li>a {
        height: auto;
        min-height: 20px;
    }
}

nav .hamburger {
    display: block;
    width: 30px;
    height: 35px;
    background-color: transparent;
    position: absolute;
    top: 18px;
    right: 0;
    transition: all 0.4s;
    overflow: hidden;

    span {
        position: relative;
        display: block;
        width: 100%;
        height: 4px;
        border-radius: 2px;
        background-color: #0a0a0a;
        margin: 6px 0;
        transition: all 0.5s;
    }

    span:first-child {
        transform: translateX(-10px);
    }

    span:last-child {
        transform: translateX(-10px);
    }
}

nav .hamburger.active {

    width: 20px;

    span:first-child {
        transform: translateX(-30px);
    }

    span:last-child {
        transform: translateX(40px);
    }
}

nav.navbar-small .hamburger {
    top: 8px;
}

@media (max-width: 1024px) {
    nav .hamburger {
        display: block;
    }

    nav .site-nav {
        display: none;
    }
}

@media (min-width: 1024px) {
    nav .hamburger {
        display: none;
    }

    nav .site-nav {
        display: block;
    }
}

/* Header
-------------------------------------------- */

header {

    position: relative;
    width: 100%;
    height: fit-content;

    .slideshow {
        position: relative;
        z-index: 10;
        height: 100vh;

        .uk-slideshow-items {

            height: 100vh;
            background-color: var(--background-header-color);

            &>li {
                .img-cover {
                    &>img {
                        opacity: 0.4;
                    }
                }

                .content {

                    height: 100vh;

                    &>article {

                        margin-top: 0;
                        margin-left: 40px;

                        h1,
                        p {
                            color: var(--white-color);
                        }

                        h1 {
                            font-size: 53px;
                            font-weight: 400;
                            letter-spacing: 0.07em;
                            -webkit-text-fill-color: transparent;
                            -webkit-background-clip: text;
                            background-image: linear-gradient(90deg, #fff 0, #fff 5%, #0ff 7%, #00dfff 12%, #00dfff 17%, #fff 29%, #fff 100%);
                            background-size: 150%;
                            background-position: 100% 0;
                            -webkit-animation: scanText 7s cubic-bezier(.42, 0, .04, 1.29) infinite;
                            animation: scanText 7s cubic-bezier(.42, 0, .04, 1.29) infinite;
                        }

                        p {
                            font-weight: 400;
                            -webkit-text-fill-color: transparent;
                            -webkit-background-clip: text;
                            background-image: linear-gradient(90deg, #fff 0, #fff 5%, #0ff 7%, #00dfff 12%, #00dfff 17%, #fff 29%, #fff 100%);
                            background-size: 150%;
                            background-position: 100% 0;
                            -webkit-animation: scanText 7s cubic-bezier(.42, 0, .04, 1.29) infinite;
                            animation: scanText 7s cubic-bezier(.42, 0, .04, 1.29) infinite;
                        }

                        @-webkit-keyframes scanText {
                            from {
                                background-position: 100% 0;
                            }

                            to {
                                background-position: -200% 0;
                            }
                        }

                        @keyframes scanText {
                            from {
                                background-position: 100% 0;
                            }

                            to {
                                background-position: -200% 0;
                            }
                        }
                    }
                }
            }
        }
    }

    .uk-slideshow-nav {
        position: absolute;
        bottom: 11vh;
        left: 0;
        z-index: 50;
    }

    &.page {
        .header-page {
            h1 {
                font-weight: 100;
                letter-spacing: 0.2em;
                line-height: 40px;
                font-size: 42px;
                top: 57%;
                position: relative;
                margin: auto;
                float: left;
                z-index: 15;
                display: table;
                -webkit-text-fill-color: transparent;
                -webkit-background-clip: text;
                // background-image: linear-gradient(90deg, #fff 0, #fff 5%, #0ff 7%, var(--primary-color) 12%, var(--primary-color) 17%, #fff 29%, #fff 100%);
                background-image: linear-gradient(180deg, #ffffff00 0, #ffffff00 5%, #00ffff00 7%, #224ba000 12%, #224ba000 18%, #fff 79%, #fff 100%);
                background-size: 150%;
                background-position: 100% 0;
                -webkit-animation: scanText 7s cubic-bezier(.42, 0, .04, 1.29) infinite;
                animation: scanText 7s cubic-bezier(.42, 0, .04, 1.29) infinite;
            }

            .overlay {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                background-color: #091b3f;
                background-image: linear-gradient(180deg, #ffffff00 0, #ffffff00 5%, #00ffff00 7%, #224ba000 12%, #224ba000 18%, #091b3f 79%, #091b3f 100%);
                z-index: 5;
                opacity: 0.4;
            }
        }

        .breadcrumb {
            width: 100%;
            background-color: var(--white-color);
            text-align: left;
            padding-left: 10px;

            ul {
                margin: 0 !important;
                padding: 10px 0 !important;
            }

            span,
            a {
                line-height: 30px;
                font-size: 12px;
                font-weight: 600;
                letter-spacing: 0.1em;
                font-family: 'Noto Sans JP', sans-serif;
                color: var(--text-primary-color);
            }
        }
    }
}

/* Banner Section
-------------------------------------------- */

.banner {

    position: relative;
    width: 100%;
    margin: 0 0 10px 0;
    overflow: hidden;

    &.single {
        background: url(../images/bg-textture.png) bottom right no-repeat;
        background-size: cover;
        background-color: var(--primary-color);

        .banner-wrapper {
            width: 100%;
            height: 600px;

            .img-wrapper {

                position: absolute;
                left: 0;
                top: 0;
                width: 50%;

                .slideshow>.uk-slideshow-items {
                    height: 600px;
                    position: relative;
                    z-index: 10;
                }

                &::after {
                    content: "";
                    display: block;
                    position: absolute;
                    right: 0;
                    top: 0;
                    width: 100%;
                    height: 100%;
                    z-index: 20;
                    background: rgb(33, 79, 160);
                    background: linear-gradient(90deg, rgba(33, 79, 160, 0) 17%, rgba(33, 79, 160, 1) 90%);
                }
            }

            .info-wrapper {

                float: right;
                width: 50%;
                position: relative;
                left: -50px;

                h1,
                h2,
                h3,
                h4,
                h5,
                h6,
                p,
                span,
                div {
                    color: var(--white-color) !important;
                }
            }

        }
    }

    &.multiple {

        background: url(../images/bg-textture-2.png) top left no-repeat;
        background-size: cover;
        background-color: var(--primary-color);

        .slideshow {

            height: 600px;
            position: relative;
            z-index: 15;

            ul>li {
                .img-cover {

                    position: absolute;
                    top: 0;
                    right: 0;
                    width: 60%;
                    left: auto !important;
                    overflow: hidden;
                    z-index: 1;

                    img {
                        position: absolute;
                        width: 100%;
                        height: 100%;
                    }

                    &::after {
                        content: "";
                        display: block;
                        position: absolute;
                        left: 0;
                        top: 0;
                        width: 100%;
                        height: 100%;
                        z-index: 5;
                        background: rgb(33, 79, 160);
                        background: linear-gradient(90deg, rgba(33, 79, 160, 1) 17%, rgba(33, 79, 160, 0) 90%);
                    }
                }

                .info-wrapper {

                    position: relative;
                    z-index: 30;

                    h1,
                    h2,
                    h3,
                    h4,
                    h5,
                    h6,
                    p,
                    span,
                    div {
                        color: var(--white-color) !important;
                    }

                    .short-description {

                        margin: 0 0 20px 0;

                        span {
                            display: inline-flex;
                            font-size: 12px;
                            margin-right: 10px;

                            &::before {
                                content: "";
                                width: 23px;
                                height: 16px;
                                position: relative;
                            }

                            &.bed::before {
                                content: "\f236";
                                width: 18px;
                                font-family: 'FontAwesome';
                                font-size: 14px;
                                margin-right: 0;
                                top: -2px;
                            }

                            &.bath::before {
                                content: "\f3c5";
                                width: 18px;
                                font-family: 'FontAwesome';
                                font-size: 14px;
                                margin-right: 0;
                                top: -2px;
                            }

                            &.person::before {
                                content: "\f406";
                                width: 18px;
                                font-family: 'FontAwesome';
                                font-size: 14px;
                                margin-right: 0;
                                top: -2px;
                            }
                        }
                    }
                }
            }

            .uk-slideshow-nav {
                position: relative;
                top: -25vh;
                left: 0;
            }
        }
    }


}

/* card-wrapper
-------------------------------------------- */

.promotion {
    &::after {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 50%;
        z-index: 1;
        background: var(--secondary-color);
    }
}

.card-wrapper {

    z-index: 10;
    position: relative;

    .uk-panel {
        position: relative;
        height: 30vw;
        max-height: 350px;
        border-radius: 30px;
        overflow: hidden;
        z-index: 10;

        &:hover {
            img {
                transform: scale(1, 1);
            }
        }

        img {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 1;
            transform: scale(1.05, 1.05);
            transition: all 0.3s;
        }

        .content-wrapper {

            width: 100%;

            &>* {
                position: relative;
                z-index: 15;
            }

            h3 {
                width: 80%;
                color: var(--white-color);
                font-size: 18px;
                font-weight: 500;
                text-wrap: balance !important;
                margin-bottom: -15px !important;
                margin-top: 5px !important;
                white-space: normal;
                word-break: break-word;
            }

            label {
                font-size: 10px !important;
                background-color: var(--danger-color);
                color: var(--white-color);
                font-family: 'Noto Sans JP', sans-serif;
                line-height: 18px !important;
                padding: 0 25px 2px 25px !important;
                border-radius: 10px;
            }

            .uk-icon {
                display: block;
                width: 40px;
                height: 40px;
                border-radius: 50%;
                background-color: rgba(255, 255, 255, 0.5);
                bottom: 25px;
                right: 25px;
            }

            &::after {
                content: "";
                display: block;
                position: absolute;
                left: 0;
                bottom: 0;
                width: 100%;
                height: 90%;
                background: rgb(0, 0, 0, 0.2);
                background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 17%, rgba(0, 0, 0, 0) 90%);
                z-index: 10;
            }
        }
    }
}

/* About us
-------------------------------------------- */
section.about-us,
section.title-page {

    height: 80vh;

    .uk-container {
        z-index: 10;

        h1,
        h2,
        h3,
        h4,
        h5,
        h6,
        p {
            color: var(--white-color) !important;
        }
    }

    .background-cover {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-color: var(--primary-color);
        background-position: top center !important;

        &::after {
            content: "";
            display: block;
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            background-color: var(--background-header-color);
            z-index: 2;
            opacity: 0.6;
        }
    }
}

section.about-us {
    padding-bottom: 130px;
}

section.title-page {
    height: auto;
    background-color: #21335a;

    &.accommodation {
        h1 {
            font-size: 35px !important;
        }
        .booking-box {
            .action {
                padding-top: 15px;
                .uk-button {
                    height: fit-content;
                    line-height: 20px;
                    transition: all 0.3s;
                    border-radius: 30px;

                    &.uk-button-default {
                        padding: 8px 20px !important;
                        background-color: var(--primary-color);
                        border-color: var(--primary-color);
                    }
                    &.uk-button-primary {
                        padding: 9px 20px !important;
                    }
                    &:hover{
                        background-color: var(--white-color);
                        color: var(--secondary-color) !important;
                    }
                }
                .uk-button-default {
                    color: var(--white-color) !important;
                }
            }
        }
    }
}


/* perfect-destination
-------------------------------------------- */
section.perfect-destination {

    .uk-slider {
        position: relative;
        z-index: 40;
        margin-top: -140px;
        overflow: hidden;

        img {
            height: 350px;
            object-fit: cover;
        }
    }

    .content {
        position: relative;
        z-index: 50;
        background-color: var(--background-body-color);
        border: solid 1px #f4f4f4;
        margin-top: -195px;

        &::after {
            content: "";
            display: block;
            position: absolute;
            left: 100%;
            top: 0;
            width: 250px;
            height: 100%;
            background: #13326a;
            background: linear-gradient(90deg, var(--background-body-color) 20%, rgba(255, 255, 255, 0) 90%);
        }
    }
}

/* Property
-------------------------------------------- */

section.property {

    .recommend-title {
            font-weight: 800;
            margin-top: 60px !important;
            color: var(--text-primary-color);
            font-size: 27px;
    }

    .carousel .uk-slider-container-offset {
        width: 96%;
        float: right;
        clear: both;
    }
    .carousel,
    .villa-wrapper {

        position: relative;
        margin-top: -195px;
        overflow: hidden;

        .uk-slider-container-offset {
            margin-left: 0 !important;
        }

        .uk-slider-items.uk-grid {
            padding-top: 10px !important;
            padding-bottom: 20px !important;
        }

        .uk-slider,
        .villa-item {

            position: relative;
            z-index: 50;
            overflow: hidden;

            .uk-card-default {
                background-color: transparent !important;
                box-shadow: initial !important;
            }

            .uk-grid {
                margin-left: 0 !important;
            }

            .uk-dotnav{
                margin-left: 2vw;
            }
            .uk-dotnav>*>* {
                width: 25px !important;
                height: 5px !important;
                border-radius: 3px !important;
            }

            .uk-card {

                overflow: hidden;

                .img-wrapper>img {
                    object-fit: cover;
                    min-height: 280px;
                    max-height: 280px;
                    border-radius: 25px;
                    width: 100%;
                }

                 h4 {
                        background: var(--primary-color);
                        position: relative;
                        top: -20px;
                        margin: 0 20px;
                        padding: 10px 10px;
                        border-radius: 15px;
                        font-size: 15px !important;
                        font-weight: 600 !important;
                        color: var(--white-color) !important;
                        letter-spacing: 0.04em;
                        text-align: center;
                        text-transform: uppercase;
                    }

                .uk-card-body {

                    padding: 0 0 20px 0 !important;
                    margin-top: -20px !important;
                    text-align: center;

                    .uk-button {
                        padding: 0 !important;
                        margin-right: 15px !important;
                        font-size: 13px !important;
                        text-transform: uppercase;

                        span {
                            position: relative;
                            top: -1px;
                        }
                    }

                    p,
                    span {
                        color: #283337;
                    }

                    p {
                        font-size: 13px;
                        line-height: 20px;
                        text-align: center;
                    }

                    .short-description {

                        text-align: center;
                        border-bottom: solid 2px #ffffff;
                        padding-bottom: 5px;

                        span {
                            display: inline-flex;
                            font-size: 12px;
                            margin-right: 10px;

                            &::before {
                                content: "";
                                width: 23px;
                                height: 16px;
                                position: relative;
                            }

                            &.bed::before {
                                content: "\f236";
                                width: 18px;
                                font-family: 'FontAwesome';
                                font-size: 14px;
                                margin-right: 5px;
                                top: -2px;
                            }

                            &.bath::before {
                                content: "\f2cd";
                                width: 18px;
                                font-family: 'FontAwesome';
                                font-size: 14px;
                                margin-right: 3px;
                                top: -2px;
                            }

                            &.person::before {
                                content: "\f406";
                                width: 18px;
                                font-family: 'FontAwesome';
                                font-size: 14px;
                                margin-right: 0;
                                top: -2px;
                            }
                        }
                    }
                }
            }
        }
    }

    .villa-wrapper {
        margin-top: 0;
    }
}

/* Filter
-------------------------------------------- */

.accommodation-filter {
    .item {
        label {

            text-indent: 15px;
            font-size: 14px;
            text-transform: uppercase;

            &.bed::before {
                content: "\f236";
                width: 18px;
                font-family: 'FontAwesome';
                font-size: 14px;
                margin-right: 10px;
                top: -2px;
            }

            &.person::before {
                content: "\f406";
                width: 18px;
                font-family: 'FontAwesome';
                font-size: 14px;
                margin-right: 10px;
                top: -2px;
            }
        }
        .uk-select {
            border-radius: 10px;
            font-size: 14px;
            line-height: 20px;
        }
    }
}

/* Carousel
-------------------------------------------- */

.general-carousel {

    .uk-slider {
        overflow: hidden;

        .uk-card {

            overflow: hidden;
            border-radius: 25px;
            border: solid 2.5px #e7f0fd;

            .img-wrapper>img {
                width: 100%;
                object-fit: cover;
                min-height: 250px;
                max-height: 250px;
            }

            .uk-card-body {
                background-color: var(--background-article-color);

                h4,
                p,
                span {
                    color: var(--text-secondary-color);
                }

                h4 {
                    margin: 15px 0 0 0;
                }

                p {
                    font-size: 13px;
                    line-height: 20px;
                }

                .short-description {
                    span {
                        display: inline-flex;
                        font-size: 12px;
                        margin-right: 10px;

                        &::before {
                            content: "";
                            width: 23px;
                            height: 16px;
                            position: relative;
                        }

                        &.plot::before {
                            background: url(../images/icon/icon-land.png) center center no-repeat;
                            background-size: 100%;
                            display: inline-flex;
                            margin-right: 5px;
                        }

                        &.location::before {
                            content: "\f3c5";
                            width: 18px;
                            font-family: 'FontAwesome';
                            font-size: 14px;
                            margin-right: 0;
                            top: -2px;
                        }

                        &.clock::before {
                            content: "\f017";
                            width: 18px;
                            font-family: 'FontAwesome';
                            font-size: 14px;
                            margin-right: 0;
                            top: 0;
                        }
                    }
                }
            }
        }
    }
}

/* Villa Detail
-------------------------------------------- */

.villa-meta {

    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    li {
        color: var(--white-color);
        list-style: none;
        display: inline-block;
        width: calc(33.3333% - 11px) !important;
        height: 50px;
        font-size: 10px;
        text-align: center;
        position: relative;
        padding: 0 5px;

        // &::before{
        //     content: "";
        //     display: block;
        //     width: 1px;
        //     height: 100%;
        //     position: absolute;
        //     left: 0;
        //     top: 0;
        //     border-left: solid 1px rgba(255,255,2555,0.1);
        // }

        &:first-child::before {
            border: none !important;
        }
        span.num{
            display:block;
            width: 100%;
            font-size: 22px;
            font-weight: 800;
            margin-top: -5px;
        }
        span.uk-icon{
            display: block;
            width: 30px;
            height: 23px;
            margin: auto;
            text-align: center;
        }
        span.pool-icon {
            width: 30px;
            height: 28px;
            display: block;
            margin: auto;
            background: url(../images/icon/swimming-pool-sign.svg) center center no-repeat;
            background-size: contain;
        }
    }
}

.villa-detail {
    .single-carousel {
        background-color: #f1f1f1;
        padding: 25px;

        img {
            width: 100%;
            height: 25vw;
            object-fit: cover;
        }
    }
    h2 {
        font-weight: 800;
        margin-top: 60px !important;
        color: var(--text-primary-color);
        font-size: 27px;
    }
    .villa-amenities {
        width: 100%;
        overflow: hidden;
    }
    ul {
        display: block;
        padding: 0 !important;
        margin: 0 !important;
        li {
            display: inline-block;
            list-style: none;
            padding: 0 30px;
            line-height: 40px;
            position: relative;
            font-size: 15px;
            font-weight: 400;
            letter-spacing: 0.03em;
            text-indent: -10px;
            color: #524848;

            &::before {
                content: "◦";
                position: relative;
                left: -25px;
                color: #797979;
            }
            &:last-child::after {
                content: "◦";
                position: relative;
                right: -25px;
                color: #797979;
            }
        }
    }
    p {
            font-size: 15px;
            font-weight: 400;
            letter-spacing: 0.03em;
            color: #524848;
    }
}

/* Blog
-------------------------------------------- */

.blog {

    article,
    article>.uk-inline {

        margin: 0 0 10px 0 !important;
        padding-left: 0 !important;

        &:first-child {
            width: 100px;
        }

        &:last-child {
            width: calc(100% - 100px);
        }

        h4,
        a {
            font-size: 13px;
            margin: 5px 0 0 0;
        }

        img {
            width: 85px;
            height: 85px;
            object-fit: cover;
            border-radius: 8px;
            background-color: var(--white-color);
        }
    }
}


/* Social Media
-------------------------------------------- */

.social-media {

    transition: all 0.3s;

    a {

        display: inline-block;
        padding: 0;
        font-size: 14px;
        line-height: 30px;
        width: 30px;
        height: 30px;
        color: var(--text-primary-color);
        background-color: var(--button-secondary-color);
        border: none !important;
        text-align: center;
        overflow: hidden;
        border-radius: 50%;
        margin: 0 5px 0 0;
        transition: all 0.4s;

        &:hover {
            background-color: var(--button-primary-color);
            color: var(--button-primary-color);
        }

        &.facebook::before {
            content: "\f39e";
            font-family: FontAwesome;
        }

        &.twitter::before {
            content: "\f099";
            font-family: FontAwesome;
        }

        &.instagram::before {
            content: "\f16d";
            font-family: FontAwesome;
        }

        &.tiktok::before {
            content: "\e07b";
            font-family: FontAwesome;
        }

        &.youtube::before {
            content: "\f167";
            font-family: FontAwesome;
        }

        &.tripadvisor::before {
            content: "";
        }

        &.tripadvisor>i {
            color: var(--text-primary-color);
        }
    }
}

/* Newsletter
-------------------------------------------- */
.newsletter {
    background-color: var(--footer-background-color);

    form {
        input {
            width: 280px;
            height: 40px;
            padding: 0 20px;
            border-radius: 20px;
            font-size: 13px;
        }

        button {
            color: var(--white-color);
            height: 40px;
            line-height: 40px;
            border-radius: 20px;
            background-color: var(--secondary-color);

            &:hover {
                background-color: var(--primary-color);
                color: var(--white-color);
            }
        }
    }
}

/* Footer
-------------------------------------------- */

footer {

    background-color: var(--footer-background-color);
    padding: 30px 0;
    position: relative;

    .footer-logo img {
        max-width: 180px;
    }

    .uk-grid {
        position: relative;
        z-index: 200;
    }

    h4 {
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 15px;
        font-weight: 800 !important;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        padding: 0 0 15px 0;
        margin: 0 0 15px 0;
        color: var(--text-secondary-color);
    }

    p,
    a {
        font-weight: 400;
        font-size: 13px;
        line-height: 25px;
        color: var(--text-primary-color);
        font-family: 'Noto Sans Thai', sans-serif;
        display: block;
    }

    a {
        font-weight: 500 !important;

        &:hover {
            color: var(--text-primary-color);
        }
    }

    .social-media {
        a {
            background-color: transparent;
            width: 35px;
            height: 35px;
            font-size: 16px;
            border: solid 2px #f9eed9 !important;
            line-height: 35px;

            &:hover {
                color: #fff !important;
            }
        }
    }

    .copyright {
        color: var(--text-primary-color);
        font-size: 12.5px;
        letter-spacing: 0.02em;
        font-weight: 500;
        opacity: 0.7;

        a {
            color: var(--text-primary-color);
            font-family: 'Noto Sans Thai', sans-serif;
        }
    }
}



/* Review
-------------------------------------------- */

.review {

    background-color: var(--secondary-color);

    &::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 1;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 33%;
        background-color: var(--footer-background-color);
    }

    .container {
        max-width: 1800px;
        margin: auto;
        padding: 16px;
        position: relative;
        display: flex;
        overflow: hidden;
        z-index: 10;

        &::after {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
        }

        .orb {
            width: 250px;
            height: 250px;
            line-height: 100px;
            font-size: 40px;
            font-weight: bold;
            text-align: center;
            background: #999;
            display: inline-block;
            margin: 0 10px;
            border-radius: 30px;
            overflow: hidden;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        /* Animation Class */
        &.right-to-left {
            .scroll-wrapper {
                display: flex;
                -webkit-animation: marquee 40s linear infinite;
                animation: marquee 40s linear infinite;
            }

            &:hover {
                .scroll-wrapper {
                    animation-play-state: paused;
                }
            }
        }

        &.left-to-right {
            .scroll-wrapper {
                display: flex;
                -webkit-animation: marquee_left_to_right 40s linear infinite;
                animation: marquee_left_to_right 40s linear infinite;
            }

            &:hover {
                .scroll-wrapper {
                    animation-play-state: paused;
                }
            }
        }

        @-webkit-keyframes marquee {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-100%);
            }
        }

        @keyframes marquee {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-100%);
            }
        }

        @-webkit-keyframes marquee_left_to_right {
            0% {
                transform: translateX(-100%);
            }

            100% {
                transform: translateX(0);
            }
        }

        @keyframes marquee_left_to_right {
            0% {
                transform: translateX(-100%);
            }

            100% {
                transform: translateX(0);
            }
        }
    }
}