:root {
    --primary-color: #2e0500;
    --accent-color: #c29a58;
    --secondary-color: #f9f6f2;
    --text-color: #222222;
}

/* Text Focus In */
@-webkit-keyframes text-focus-in {
    0% {
        -webkit-filter: blur(12px);
        filter: blur(12px);
        opacity: 0;
    }
    100% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
@keyframes text-focus-in {
    0% {
        -webkit-filter: blur(12px);
        filter: blur(12px);
        opacity: 0;
    }
    100% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
/* Loading animation */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    65%,
    100% {
        transform: rotate(360deg);
    }
}

@keyframes smoothRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background-color: var(--secondary-color);
}
/* Loading screen */

#loading-screen {
    position: fixed;
    inset: 0;
    background: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.4s ease;
}

#loading-screen.hide {
    opacity: 0;
    pointer-events: none;
}

.container {
    --uib-size: 40px;
    --uib-color: #2e0500;
    --uib-speed: 1.5s;
    --dot-size: calc(var(--uib-size) * 0.17);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: var(--uib-size);
    width: var(--uib-size);
    animation: smoothRotate calc(var(--uib-speed) * 1.8) linear infinite;
}

.dot {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    width: 100%;
    animation: rotate var(--uib-speed) ease-in-out infinite;
}

.dot::before {
    content: "";
    height: var(--dot-size);
    width: var(--dot-size);
    border-radius: 50%;
    background-color: var(--uib-color);
    transition: background-color 0.3s ease;
}

.dot:nth-child(2),
.dot:nth-child(2)::before {
    animation-delay: calc(var(--uib-speed) * -0.835 * 0.5);
}

.dot:nth-child(3),
.dot:nth-child(3)::before {
    animation-delay: calc(var(--uib-speed) * -0.668 * 0.5);
}

.dot:nth-child(4),
.dot:nth-child(4)::before {
    animation-delay: calc(var(--uib-speed) * -0.501 * 0.5);
}

.dot:nth-child(5),
.dot:nth-child(5)::before {
    animation-delay: calc(var(--uib-speed) * -0.334 * 0.5);
}

.dot:nth-child(6),
.dot:nth-child(6)::before {
    animation-delay: calc(var(--uib-speed) * -0.167 * 0.5);
}

/* Header Section */
header {
    background-color: var(--primary-color);
    padding: 15px 25px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.navbar-logo img {
    width: 50px;
    height: 35px;
}

.navbar-menu {
    position: absolute;
    font-family: "Cinzel", sans-serif;
    display: flex;
    flex-direction: column;
    padding: 15px 15px 15px 35px;
    gap: 35px 0;
    background-color: var(--primary-color);
    height: 100dvh;
    top: 50px;
    width: 250px;
    right: 0;
    transform: translateX(110%);
    transition: all 0.5s ease-in-out;
}

.navbar-menu a {
    position: relative;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
}

.navbar-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    top: 25px;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease-in-out;
}

.navbar-menu a:hover::after {
    width: 100%;
}

.navbar-menu a:hover {
    color: var(--accent-color);
}

.navbar-menu.pop-up {
    transform: translateX(10%);
    transition: all 0.5s ease-in-out;
}

.reservasi-button {
    display: none;
}

main {
    margin-top: 0px;
}
/* Hero Section */

.hero {
    padding: 0 30px;
    position: relative;
    width: 100%;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url("assets/img/hero-img.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-header {
    position: relative;
    font-family: "Cormorant Garamond", sans-serif;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-header::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 80px;
    bottom: -7%;
    background-color: var(--accent-color);
    -webkit-animation: text-focus-in 2s cubic-bezier(0.55, 0.085, 0.68, 0.53)
        both;
    animation: text-focus-in 2s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

.hero-header h1 {
    font-family: "Cormorant Garamond", sans-serif;
    color: var(--accent-color);
    font-size: 16px;
    font-weight: bold;
    -webkit-animation: text-focus-in 2s cubic-bezier(0.55, 0.085, 0.68, 0.53)
        both;
    animation: text-focus-in 2s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

.hero-header h2 {
    color: var(--secondary-color);
    font-size: 36px;
    -webkit-animation: text-focus-in 2s cubic-bezier(0.55, 0.085, 0.68, 0.53)
        both;
    animation: text-focus-in 2s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

.hero-header h3 {
    color: var(--accent-color);
    font-size: 24px;
    font-weight: 700;
    -webkit-animation: text-focus-in 2s cubic-bezier(0.55, 0.085, 0.68, 0.53)
        both;
    animation: text-focus-in 2s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

.hero-text {
    font-family: "Poppins", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-text p {
    color: var(--secondary-color);
    letter-spacing: 1.1px;
    -webkit-animation: text-focus-in 2s cubic-bezier(0.55, 0.085, 0.68, 0.53)
        both;
    animation: text-focus-in 2s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

.hero-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--accent-color);
    width: max-content;
    gap: 10px;
    padding: 12px 8px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    -webkit-animation: text-focus-in 2s cubic-bezier(0.55, 0.085, 0.68, 0.53)
        both;
    animation: text-focus-in 2s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

.hero-button a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 500;
}

.hero-button:hover {
    transition: all 0.3s ease-in-out;
    transform: scale(110%);
    cursor: pointer;
}

/* Kamar Section */
.kamar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 45px 30px;
}

.kamar-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
}

.kamar-header {
    position: relative;
    text-align: center;
    width: 100%;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.kamar-header h1 {
    font-family: "Cormorant Garamond", sans-serif;
    text-transform: uppercase;
    font-size: 32px;
    font-weight: 600;
}

.kamar-header::before {
    content: "";
    position: absolute;
    background-color: var(--accent-color);
    width: 80px;
    height: 2px;
    top: 54px;
}

.kamar-header p {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

.kamar-produk-container {
    position: relative;
    width: 90%;
    max-width: 400px;
    height: auto;
    padding: 20px 10px;
    box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden !important;
}

.kamar-produk {
    padding: 10px 20px;
    box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.kamar-produk.swiper-slide {
    height: auto;
}

.kamar-produk-img img {
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    width: 100%;
    height: 138px;
}

.kamar-produk-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kamar-produk-detail h2 {
    font-family: "Cormorant Garamond", sans-serif;
    color: var(--text-color);
    font-size: 24px;
    font-weight: 600;
}

.kamar-produk-detail-icon {
    font-family: "Poppins", sans-serif;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    width: max-content;
    font-weight: 500;
}

.kamar-produk-detail h3 {
    color: var(--accent-color);
    width: 70%;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
}

.kamar-produk .status {
    color: var(--text-color);
    font-family: "Poppins";
    position: relative;
    font-weight: 500;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kamar-produk .status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    left: 0;
    flex-shrink: 0;
}

.kamar-produk .status.ready::before {
    background: #1e9e5a;
}

.kamar-produk .status.booked::before {
    background: #d32f2f;
}

.kamar-produk .status.maintenance::before {
    background: #c98a00;
}

.kamar-produk-container .kamar-produk-detail a {
    transition: all 0.3s ease-in-out;
    text-align: center;
    font-family: "Poppins", sans-serif;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 16px;
    background-color: var(--primary-color);
    width: max-content;
    width: 100%;
    padding: 12px 8px;
    border-radius: 8px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.kamar-produk-detail a:hover {
    transition: all 0.3s ease-in-out;
    transform: scale(110%);
    -webkit-transform: scale(110%);
    -moz-transform: scale(110%);
    -ms-transform: scale(110%);
    -o-transform: scale(110%);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.kamar-main-button {
    position: relative;
    width: 100%;
    border: 2px solid var(--accent-color);
    text-align: center;
    padding: 12px 8px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.kamar-main-button a {
    display: block;
    font-family: "Poppins", sans-serif;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    width: 100%;
}

.kamar-main-button:hover {
    background-color: var(--accent-color);
}

.kamar-main-button:hover a {
    color: var(--secondary-color);
}

/* Fasilitas */

.fasilitas {
    background-color: var(--secondary-color);
    position: relative;
    height: auto;
    width: 100%;
    padding: 45px 35px;
}

.fasilitas-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
}

.fasilitas-header {
    position: relative;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 35px;
    color: var(--text-color);
}

.fasilitas-header h1 {
    text-transform: uppercase;
    text-align: center;
    font-family: "Cormorant Garamond", sans-serif;
    font-size: 32px;
    position: relative;
    width: 100%;
}

.fasilitas-header h1::after {
    content: "";
    display: block;
    background-color: var(--accent-color);
    width: 80px;
    height: 2px;
    margin: 30px auto 0;
}

.fasilitas-header p {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

.fasilitas-content {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
    width: 100%;
}

.fasilitas-card {
    position: relative;
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex: 1 1 180px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.3);
    width: 30%;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.fasilitas-card h2 {
    position: relative;
    text-transform: uppercase;
    font-family: "Cormorant Garamond";
    font-size: 24px;
    font-weight: 500;
    width: 100%;
}

.fasilitas-card h2::after {
    content: "";
    display: block;
    background-color: var(--accent-color);
    width: 80px;
    height: 2px;
    margin: 15px auto 0;
}

.fasilitas-card p {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

.fasilitas-card img {
    background-color: #dddddd;
    padding: 10px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

/* Footer Section */
.footer {
    position: relative;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    height: auto;
}

.footer-container {
    padding: 45px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 25px;
}

.footer-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-header img {
    width: 75px;
    height: 70px;
}

.footer-header-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-header-text h1 {
    text-transform: uppercase;
    font-family: "Cormorant Garamond", sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1.2px;
}

.footer-header-text h2 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.1px;
    line-height: 20px;
}

.footer-container p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 550;
    letter-spacing: 1.3px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact,
.footer-location {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-social-media {
    display: flex;
    gap: 20px;
}

@media only screen and (min-width: 480px) and (max-width: 576px) {
    .hero-header {
        width: 70%;
    }

    .hero-text {
        width: 80%;
    }
}

@media only screen and (min-width: 577px) and (max-width: 768px) {
    .hero-header {
        width: 70%;
    }

    .hero-header h1 {
        font-size: 20px;
    }

    .hero-header h2 {
        font-size: 40px;
    }

    .hero-header h3 {
        font-size: 28px;
    }

    .hero-text {
        width: 75%;
    }

    .hero-text p {
        font-size: 16px;
    }

    /* Kamar Section */
    .kamar-header h1 {
        font-size: 36px;
    }

    .kamar-header p {
        font-size: 16px;
    }

    .kamar-produk-container {
        width: 100%;
        max-width: 600px;
        padding: 0px;
    }

    /* Fasilitas Section */
    .fasilitas-card {
        flex: 1 1 200px;
    }

    .fasilitas .hero-header h1 {
        font-size: 40px;
    }

    .fasilitas-header p {
        font-size: 16px;
    }

    .fasilitas-card h2 {
        font-size: 28px;
    }

    .fasilitas-card p {
        font-size: 16px;
    }
}

/* ukuran tablet */
@media only screen and (min-width: 769px) and (max-width: 1023px) {
    .navbar {
        display: flex;
    }

    .hero-header {
        width: 50%;
    }

    .hero-header h1 {
        font-size: 20px;
    }

    .hero-header h2 {
        font-size: 42px;
    }

    .hero-header h3 {
        font-size: 32px;
    }

    .hero-text {
        width: 60%;
    }

    /* Kamar Section */

    .kamar-header h1 {
        font-size: 42px;
    }

    .kamar-produk-container {
        max-width: 800px;
    }

    /* Fasilitas Section */
    .fasilitas-card {
        flex: 0 1 300px;
        width: 70%;
    }

    .fasilitas-header {
        width: 80%;
    }

    .fasilitas .hero-header h1 {
        font-size: 42px;
    }

    .fasilitas-header p {
        font-size: 16px;
    }

    .fasilitas-card h2 {
        font-size: 32px;
    }

    .fasilitas-card p {
        font-size: 16px;
    }
}

@media only screen and (min-width: 1024px) {
    .navbar {
        display: flex;
    }

    .navbar-menu {
        position: static;
        transform: translateX(0);
        height: auto;
        width: max-content;
        display: flex;
        flex-direction: row;
        background-color: transparent;
        gap: 20px;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
    }

    .navbar-menu.pop-up {
        display: none;
    }

    /* Hero Section */

    .hero-header {
        width: 100%;
    }

    .hero-header h1 {
        font-size: 24px;
    }

    .hero-header h2 {
        font-size: 48px;
    }

    .hero-header h3 {
        font-size: 36px;
    }

    .hero-text {
        width: 40%;
    }

    /* Kamar Section */

    .kamar-header h1 {
        font-size: 42px;
    }

    .kamar-produk-container {
        max-width: 1200px;
    }

    .kamar-main-button {
        width: 80%;
    }

    /* Fasilitas Section */
    .fasilitas-content {
        width: 100%;
    }

    .fasilitas-card {
        flex: 0 1 280px;
        width: 30%;
        padding: 30px 35px;
    }

    .fasilitas-header {
        width: 80%;
    }

    .fasilitas .hero-header h1 {
        font-size: 48px;
    }

    .fasilitas-header p {
        font-size: 16px;
    }

    .fasilitas-card h2 {
        font-size: 28px;
    }

    .fasilitas-card p {
        font-size: 16px;
    }

    .hamburger-menu {
        display: none;
    }

    .reservasi-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: auto;
        background-color: var(--accent-color);
        padding: 8px 15px;
        border-radius: 10px;
        transition: all 0.2s ease-in;
        -webkit-transition: all 0.2s ease-in;
        -moz-transition: all 0.2s ease-in;
        -ms-transition: all 0.2s ease-in;
        -o-transition: all 0.2s ease-in;
    }

    .reservasi-button:hover {
        transform: scale(110%);
        -webkit-transform: scale(110%);
        -moz-transform: scale(110%);
        -ms-transform: scale(110%);
        -o-transform: scale(110%);
        transition: all 0.2s ease-in;
        -webkit-transition: all 0.2s ease-in;
        -moz-transition: all 0.2s ease-in;
        -ms-transition: all 0.2s ease-in;
        -o-transition: all 0.2s ease-in;
        cursor: pointer;
    }

    .reservasi-button a {
        font-family: "Poppins", sans-serif;
        font-size: 16px;
        text-decoration: none;
        color: var(--secondary-color);
    }

    .footer-container {
        position: relative;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 35px 80px;
    }

    .footer-content {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        gap: 50px;
    }

    .footer-contact,
    .footer-location {
        gap: 10px;
        font-size: 16px;
    }
    .footer-social-media {
        display: flex;
        flex-direction: row;
        width: max-content;
    }

    .footer-social-media img {
        height: 32px;
        width: 32px;
    }
}
