@font-face {
    font-family: "Fertigo Pro";
    src: url("../fonts/FertigoPro-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Nunito Sans";
    src: url("../fonts/Nunito-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Nunito SemiBold";
    font-style: normal;
    font-style: normal;
    src: url("../fonts/Nunito-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: "mr-eaves-modern";
    src: url("../fonts/MrEavesXLModNarOT-Book.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Bio Sans";
    src: url("../fonts/BioSans-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/CormorantGaramond-Light.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Crimson Pro";
    src: url("../fonts/CrimsonPro-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "megalona";
    src: url("../fonts/megalona.otf") format("opentype");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: "Noto Sans Georgian ExtraCondensed";
    src: url("../fonts/NotoSansGeorgian_ExtraCondensed-Light.ttf")
        format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Raleway ExtraLight";
    src: url("../fonts/Raleway-Light.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: "Bio Sans", sans-serif;
    background: #e6e2db;
    color: #014851;
    overflow-x: hidden;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #e6e2db;
    color: #014851;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: relative;
}

.logo img {
    height: 40px;
    margin-left: 50px;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #014851;
}

nav {
    display: flex;
}

nav button {
    margin-right: 20px;
}

nav ul {
    margin-right: 100px;
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
}

nav ul li {
    display: flex;
    align-items: center;
}

nav ul li {
    color: #014851;
    text-decoration: none;
    /* font-family: "Fertigo Pro", serif; */
    /* font-family: "Cormorant Garamond"; */
    font-family: "Noto Sans Georgian ExtraCondensed";
    transition: 0.3s ease-in-out;
}
a {
    color: #014851;
    text-decoration: none;
    font-family: "Nunito Sans", sans-serif;
    transition: 0.3s ease-in-out;
}

nav ul li a:hover,
nav ul li a.active {
    color: #7c6845;
}

.cta {
    font-size: 15px;
    background: #978459;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-family: "Nunito SemiBold", sans-serif;
    transition: 0.3s ease-in-out;
    border-radius: 0px;
}

.cta:hover {
    background: #7c6845;
}

@media (max-width: 100%) {
    .menu-toggle {
        display: block;
        justify-content: center;
    }

    nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #e6e2db;
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
        padding: 0;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px 0;
        /* background-color: red; */
    }

    nav ul li {
        display: block;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 10px;
    }

    nav ul li .cta {
        width: 80%;
        margin: 10px auto;
        display: block;
        text-align: center;
    }

    nav.active {
        display: block;
        animation: fadeIn 0.3s ease-in-out;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
    background-color: #978459;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100vh;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: translateX(100%);
}

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

.slide.active {
    opacity: 1;
    transform: translateX(0);
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 72, 81, 0.5);
}

.caption {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
}

.caption h1 {
    /* font-family: "Fertigo Pro", serif; */
    font-family: "Cormorant Garamond";
    font-size: 50px;
}

.caption p {
    /* font-family: "mr-eaves-modern", sans-serif; */
    font-family: "Nunito Sans", sans-serif;
    font-size: medium;
    color: white;
}

@media (max-width: 768px) {
    .carousel {
        height: 40vh;
    }
    .caption {
        top: 20%;
        left: 50%;
    }
    .caption h1 {
        font-size: 20px;
    }
    .caption p {
        font-size: 10px;
    }
}

#tagline {
    text-align: center;
    padding-bottom: 30px;
    background: #e6e2db;
}

.tagline-container h2 {
    font-size: 2.5rem;
    font-weight: bold;
    position: relative;
    display: inline-block;
    color: #014851;
    /* font-family: "Fertigo Pro", serif; */
    font-family: "Cormorant Garamond";
}

.underline {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -18px;
    width: 90%;
    height: 12px;
    border: solid 5px #978459;
    border-color: #978459 transparent transparent transparent;
    border-radius: 80%/12px 12px 0 0;
    z-index: -1;
}

.tagline-container p {
    font-size: 1rem;
    color: #014851;
    font-family: "Bio Sans", serif;
    margin-top: -20px;
}

#video-profile {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e6e2db;
    padding: 0 50px 0 50px;
    box-sizing: border-box;
}

#video-profile video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

#story {
    text-align: center;
    padding: 30px 20px 50px 20px;
    background: #e6e2db;
}

.story-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2 {
    font-size: 2.5rem;
    font-weight: bold;
    /* font-family: "Fertigo Pro", serif; */
    font-family: "Cormorant Garamond";
}

.story-container p {
    font-size: 1.2rem;
    color: #014851;
    line-height: 1.6;
    /* font-family: "mr-eaves-modern", sans-serif; */
    font-family: "Crimson Pro";
    letter-spacing: 1px;
    /* font-size: medium; */
    margin-top: 12px;
}

/* .download-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #978459;
    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
    font-family: "Nunito SemiBold", sans-serif;
}

.download-btn:hover {
    background: #7c6845;
    color: #e6e2db;
} */

.download-btn {
    display: inline-block;
    /* display: inline-block; */
    /* padding: 12px 20px; */
    padding: 12px 0px;
    /* background: #978459; */
    color: #014851;
    font-size: 1rem;
    text-decoration: underline;
    text-underline-offset: 6px;
    border-radius: 8px;
    transition: 0.3s;
    font-family: "Nunito SemiBold", sans-serif;
    width: 180px;
}

.download-btn:hover {
    text-decoration: underline;
    /* background: #7c6845; */
}

@media (max-width: 768px) {
    .story-container {
        max-width: 600px;
    }
}

#resort {
    /* text-align: center; */
    padding: 20px 20px 60px 20px;
    background: #f9f9f9;
    background-image: url("/margo-utomo/assets/patterns/pattern1.png");
    background-repeat: repeat;
    background-position: center;
}

.resort-container {
    max-width: 1200px;
    margin: 0 auto;
}

.resort-container h2 {
    text-align: center;
}

.resort-wrapper {
    display: flex;
    justify-content: center;
    /* gap: 40px; */
    margin-top: 40px;
    /* flex-wrap: wrap; */
}

.resort-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* text-align: center; */
    /* background: white; */
    padding: 20px;
    border-radius: 10px;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
    width: 48%;
}

.resort-item img {
    width: 100%;
    height: 400px;
    margin-bottom: 8px;
    object-fit: cover;
}

.resort-content {
    display: flex;
    flex-direction: column;
    /* align-items: center;     */
}

.resort-content h3 {
    font-size: 1.8rem;
    font-weight: bold;
    /* font-family: "Fertigo Pro", serif; */
    font-family: "Cormorant Garamond";

    margin-top: 4px; /* hilangkan jarak atas */
    margin-bottom: 4px;
}

.resort-content h5 {
    font-size: 0.8rem;

    font-weight: normal;
    /* font-family: "Fertigo Pro", serif; */
    font-family: "Raleway ExtraLight";
    letter-spacing: 4px;
    margin-top: 12px; /* hilangkan jarak atas */
    margin-bottom: 12px;
    text-transform: uppercase;
}

.resort-content p {
    /* font-family: "Nunito Sans", sans-serif; */
    font-family: "Crimson Pro";
    /* font-family: "mr-eaves-modern", sans-serif; */
    color: #014851;
    letter-spacing: 1px;
    margin-top: 0;
    /* text-align: center; */
    font-size: 1rem;
    margin-top: 12px;
    line-height: 1.2;
}

.discover-btn {
    display: inline-block;
    /* display: inline-block; */
    /* padding: 12px 20px; */
    padding: 50px 0px 0px 0px;
    /* background: #978459; */
    color: #014851;
    font-size: 1rem;
    text-decoration: underline;
    text-underline-offset: 6px;
    border-radius: 8px;
    transition: 0.3s;
    font-family: "Nunito SemiBold", sans-serif;
    width: 110px;
}

.discover-btn:hover {
    text-decoration: underline;
    /* background: #7c6845; */
}

@media (max-width: 768px) {
    .resort-container {
        max-width: 700px;
    }
}

#tour {
    padding: 60px 20px;
    background: #e6e2db;
}

.tour-container {
    max-width: 1200px;
    margin: -20px auto 0 auto;
}

.tour-container h2 {
    text-align: center;
}

.tour-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.tour-column {
    margin-top: 20px;
}

.tour-column.left {
    flex: 0 0 48%;
}

.tour-column.right {
    flex: 0 0 48%;
}

.tour-column img {
    width: 100%;
    height: 400px;
    display: block;
    border-radius: 0px;
    object-fit: cover;
}

.tour-column .tour-content {
    margin-top: 16px;
    width: 100%;
}

.fade {
    animation: fadeEffect 1.5s ease-in-out;
}

@keyframes fadeEffect {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

.tour-content {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* .tour-content p {
    font-size: 1rem;
    color: #014851;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #014851;
    font-family: "Nunito Sans", sans-serif;
    font-family: "Crimson Pro";
    font-family: "mr-eaves-modern", sans-serif;
} */

.tour-content h3 {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: "Cormorant Garamond";
    /* font-family: "Fertigo Pro", serif; */

    margin-top: 4px; /* hilangkan jarak atas */
    margin-bottom: 2px;
}

.tour-content h5 {
    font-size: 0.8rem;

    font-weight: normal;
    /* font-family: "Fertigo Pro", serif; */
    font-family: "Raleway ExtraLight";
    letter-spacing: 4px;
    margin-top: 12px; /* hilangkan jarak atas */
    margin-bottom: 12px;
    text-transform: uppercase;
}

.tour-content p {
    /* font-family: "Nunito Sans", sans-serif; */
    /* font-family: "mr-eaves-modern", sans-serif; */
    /* text-align: center; */
    font-family: "Crimson Pro";
    color: #014851;
    letter-spacing: 1px;
    margin-top: 0;
    font-size: 1rem;
    margin-top: 12px;
    line-height: 1.2;
}

/* .tour-btn {
    align-self: flex-start;
    display: inline-block;
    padding: 12px 20px;
    background: #978459;
    color: #ffffff;
    font-size: 1rem;
    border-radius: 8px;
    transition: 0.3s;
    font-family: "Nunito SemiBold", sans-serif;
    margin-left: auto;
}

.tour-btn:hover {
    background: #7c6845;
} */

.tour-btn {
    display: flex-block;
    /* display: inline-block; */
    /* padding: 12px 20px; */
    padding: 12px 0px;
    /* background: #978459; */
    color: #014851;
    font-size: 1rem;
    text-decoration: underline;
    text-underline-offset: 6px;
    border-radius: 8px;
    transition: 0.3s;
    font-family: "Nunito SemiBold", sans-serif;
    width: 110px;
}

.tour-btn:hover {
    text-decoration: underline;
    /* background: #7c6845; */
}

@media (max-width: 768px) {
    .tour-container {
        max-width: 700px;
    }
}

#product {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;

    background-image: url("/margo-utomo/assets/patterns/pattern2.png");
    background-repeat: repeat;
    background-position: center top;
}

.product-container {
    max-width: 1200px;
    margin: -20px auto 0 auto;
}

.product-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-slider {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.product-slide {
    flex: 0 0 calc(25% - 20px);
    position: relative;
    background: #eee;
    border-radius: 0px;
    width: 300px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease-in-out;
}

.product-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.product-name {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    /* font-family: "Fertigo Pro", serif; */
    font-family: "Cormorant Garamond";
}

.product-slide:hover .product-overlay {
    opacity: 1;
}

#gallery {
    text-align: center;
    padding: 60px 20px;
    background-color: #e6e2db;
    overflow: hidden;
}

.gallery-container {
    max-width: 1200px;
    margin: -20px auto 0 auto;
}

.myGallerySwiper {
    position: relative;
    overflow: hidden;
    padding-bottom: 8px;
}

.myGallerySwiper::before,
.myGallerySwiper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.myGallerySwiper::before {
    left: 0;
    background: linear-gradient(to right, #e6e2db, rgba(255, 245, 230, 0));
}

.myGallerySwiper::after {
    right: 0;
    background: linear-gradient(to left, #e6e2db, rgba(255, 245, 230, 0));
}

.gallery-modal {
    display: flex;
    position: fixed;
    inset: 0;
    background-color: rgba(255, 245, 230, 0);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(0px);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease,
        opacity 0.3s ease;
}

.gallery-modal img {
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    /* border-radius: 12px; */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gallery-modal.active {
    opacity: 1;
    pointer-events: auto;
    background-color: rgba(255, 245, 230, 0.7);
    backdrop-filter: blur(8px);
}

.gallery-modal.active img {
    transform: scale(1);
    opacity: 1;
}

.swiper {
    width: 100%;
}

.swiper .swiper-wrapper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    overflow: hidden;
    padding: 20px 0;
    /* margin:0 20px; */
    /* background-color: red; */
}

.swiper-slide img {
    height: auto;
    /* max-height: 100%; */
    width: 95%;
    margin: 0 4px;
    object-fit: contain;
    cursor: pointer;
}

#visit {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;

    background-image: url("/margo-utomo/assets/patterns/pattern4.png");
    background-repeat: repeat;
    background-position: center bottom;
}

.visit-container {
    max-width: 1200px;
    margin: -20px auto 0 auto;
}

.visit-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.visit-box {
    width: 45%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    /* font-family: "Fertigo Pro", serif; */
    font-family: "Cormorant Garamond";
}

.visit-box p {
    font-family: "Nunito Sans", sans-serif;
    /* font-family: "mr-eaves-modern", sans-serif; */
}

.visit-map iframe {
    width: 100%;
    border-radius: 10px;
}

.visit-btn {
    margin-top: 10px;
    /* background: #978459; */
    color: #014851;
    /* padding: 12px 20px; */
    /* padding: 0px 12px; */
    tex-decoration: underline;
    /* border-radius: 5px; */
    cursor: pointer;
    font-size: 16px;
    font-family: "Nunito SemiBold", sans-serif;
}

.visit-btn:hover {
    /* background: #7c6845; */
    tex-decoration: underline;
}

.visit-box p {
    margin-top: 10px;
    color: #333;
    font-size: 14px;
}

footer {
    background-color: #014851;
    color: white;
    text-align: center;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;

    background-image: url("/margo-utomo/assets/patterns/pattern5.png");
    background-repeat: repeat;
    background-position: center bottom;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.footer-sections {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    padding-bottom: 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    padding: 10px;
}

.footer-column.about {
    flex: 2;
}

.footer-column h4 {
    color: #978459;
    /* font-family: "Fertigo Pro", serif; */
    font-family: "Cormorant Garamond";
    font-size: 18px;
}

.footer-column p {
    color: #e6e2db;
    font-family: "Bio Sans", sans-serif;
    font-size: 15px;
}

.footer-social {
    width: 100%;
    text-align: center;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: white;
    color: #014851;
    border-radius: 50%;
    font-size: 18px;
    transition: 0.3s ease-in-out;
    text-decoration: none;
}

.footer-social a:hover {
    background-color: #978459;
    color: #e6e2db;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        justify-content: space-between;
    }

    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #e6e2db;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    nav ul {
        flex-direction: column;
        gap: 12px;
        margin: 0 0 16px 0;
        padding: 0;
        /* align-items: center; */
    }

    nav ul li {
        padding: 8px 0;
    }

    nav button.cta {
        margin: 8px 0;
        width: 30%;
    }

    select.changeLang {
        width: 30%;
        margin-top: 8px;
        padding: 10px;
    }

    .menu-toggle {
        display: block;
        margin-right: 16px;
    }

    .tour-wrapper {
        flex-direction: column;
    }

    .tour-slider,
    .tour-content {
        width: 100%;
    }

    .tour-row {
        flex-direction: column;
        width: 100%;
    }

    .tour-column.left,
    .tour-column.right {
        flex: 0 0 100%;
    }

    .tour-column img {
        height: 450px;
    }
}

@media (max-width: 450px) {
    .resort-wrapper {
        flex-direction: column;
    }
    .resort-item {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }
    .resort-content p {
        text-align: left;
    }

    .container {
        justify-content: space-between;
    }

    nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background: #e6e2db;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    nav ul {
        flex-direction: column;
        gap: 12px;
        margin: 0 0 16px 0;
        padding: 0;
        /* align-items: center; */
    }

    nav ul li {
        padding: 8px 0;
    }

    nav button.cta {
        margin: 8px 0;
        width: 50%;
    }

    select.changeLang {
        width: 50%;
        margin-top: 8px;
        padding: 10px;
    }

    .menu-toggle {
        display: block;
        margin-right: 16px;
    }
}
