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

#ecos-hero {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.ecos-container {
    margin-bottom: 0;
}

.ecos-hero-container {
    width: 100%;
    height: 400px;
    position: relative;
    overflow-y: auto;
}
/* .ecos-hero-container {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    padding: 0;
} */
.ecos-hero-container-title {
    width: 100%;
    /* height: 100px; */ /* Hapus atau komentar baris ini */
    box-sizing: border-box;
    padding: 8px;
    overflow: visible;
    position: relative;
    margin-bottom: 30px; /* Pastikan margin bawah 0 */
}

.ecos-hero-container-title h1 {
    padding: 0px;
    align-items: center;
    text-align: center;
    justify-content: center;
    line-height: 1.0;
    font-size: 2.3rem;
    font-weight: bold;
    font-family: "Cormorant Garamond";
}

.ecos-hero-container-title h5 {
    font-size: 0.7rem;

    font-weight: normal;
    /* font-family: "Fertigo Pro", serif; */
    font-family: "Raleway ExtraLight";
    letter-spacing: 4px;
    margin-top: 12px; /* hilangkan jarak atas */
    margin-bottom: 40px;
    text-transform: uppercase;
}
.ecos-hero-container-title p {
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: bold;
    font-family: "Cormorant Garamond";
    padding-left: 200px;
    padding-right: 200px;
    letter-spacing: 0.6px;
}

#eco-description .ecos-hero-container-title {
    text-align: center;
    padding-left: 60px;
    padding-right: 60px;
}
#eco-description .ecos-hero-container-title h1,
#eco-description .ecos-hero-container-title h5,
#eco-description .ecos-hero-container-title p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/*
#eco-hero {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.eco-hero-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.eco-hero-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.ecos-hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: #014851;
    text-align: center;
    z-index: 2;
    font-family: "Fertigo Pro", sans-serif;
}

#eco-description {
    padding-bottom: 0;
    padding-top: 60px;
    padding-left: 100px;
    padding-right: 100px;
    background: #f9f9f9;
}

.eco-container {
    max-width: 1200px;
    margin: -10px auto 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.eco-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 0;
}

.eco-text {
    flex: 1;
}

.eco-text h2 {
    font-size: 1.5rem;
    color: #014851;
}

.eco-text p {
    font-size: 1.2rem;
    color: #014851;
    line-height: 1.5;
    font-family: "Crimson pro", sans-serif;
}
.special-facilities li,
.common-facilities li {
    font-family: "Nunito Sans", sans-serif;
    font-size: 1rem;
    color: #014851;
}

.eco-facilities {
    flex: 1;
}

.facility-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    text-align: center;
}

.facility-card h3 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #014851;
    font-family: "Fertigo Pro", sans-serif;
    font-size: 1.5rem;
}

.facility-slider {
    position: relative;
}

.swiper-slide ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.swiper-slide ul li {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    justify-content: center;
}

.swiper-slide ul li i {
    margin-right: 8px;
    color: #014851;
}

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

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

.rooms-container {
    margin: -20px auto 0 auto;
}

.rooms-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

#eco-rooms .room-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

#eco-rooms .room-card img {
    width: 100%;
    border-radius: 10px;
}

#eco-rooms .room-card h3 {
    margin-top: 10px;
    text-align: center;
    font-family: "Fertigo Pro", sans-serif;
    color: #978459;
}

.special-facilities,
.common-facilities {
    list-style: disc;
    padding-left: 20px;
}

.btn-wrapper {
    display: flex;
    justify-content: center;
}

.book-room {
    font-size: 15px;
    background: #978459;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-family: "Fertigo Pro", sans-serif;
    transition: 0.3s ease-in-out;
    border-radius: 8px;
}

.book-room:hover {
    background: #7c6845;
}

#eco-hero {
    width: 100%;
    background: #f9f9f9;
    padding-top: 0;
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
}

.eco-hero-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 90%;
    width: 100%;
    min-height: 320px;
}

.eco-hero-col {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}

.eco-hero-col-left {
    flex: 0 0 60%;
    max-width: 60%;
    background: #eee;
}

.eco-hero-col-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 320px;
}

.eco-hero-col-right {
    flex: 1;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.eco-hero-col-right h1 {
    font-size: 1.5rem;
    font-family: "Cormorant Garamond", serif;
    color: #014851;
    margin-bottom: 18px;
    margin-top: 0;
    text-align: left;
}

.eco-hero-col-right p {
    color: #014851;
    margin: 0;
    text-align: left;
    letter-spacing: 0.5px;
    font-size: 1rem;
    font-weight: normal;
    font-family: "Cormorant Garamond";

}

@media (max-width: 800px) {
    .eco-hero-card {
        flex-direction: column;
        max-width: 98vw;
    }
    .eco-hero-col-left,
    .eco-hero-col-right {
        max-width: 100%;
        flex: 1 1 100%;
    }
    .eco-hero-col-right {
        padding: 24px 12px;
    }
    .eco-hero-col-left img {
        min-height: 180px;
    }
}

.eco-facilities-card {
    margin: 24px auto 0 auto;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 24px 16px;
    max-width: 90%;
    width: 100%;
}

.eco-facilities-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px 32px; /* row-gap column-gap */
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 3 * 48px; /* opsional: batasi tinggi jika ingin fix 3 baris */
}

.eco-facilities-list li {
    display: flex;
    align-items: center;
    width: 30%; /* 3 per baris */
    min-width: 180px;
    margin-bottom: 0;
    font-family: "Nunito Sans", sans-serif;
    font-size: 1rem;
    color: #014851;
    gap: 10px;
}

.eco-facility-icon {
    font-size: 1.6rem;
    color: #978459;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-facility-text {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.3;
}

@media (max-width: 900px) {
    .eco-facilities-list li {
        width: 45%; /* 2 per baris di tablet */
        min-width: 140px;
    }
}
@media (max-width: 600px) {
    .eco-facilities-list li {
        width: 100%; /* 1 per baris di mobile */
        min-width: 0;
        justify-content: flex-start;
    }
    .eco-facilities-card {
        padding: 16px 4px;
    }
}

.eco-rooms-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 24px;
    margin-top: 40px;
}

.eco-room-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    width: 100%; /* 3 per baris */
    min-width: 280px;
    max-width: 350px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 32px;
}

@media (max-width: 1100px) {
    .eco-room-item {
        width: 45%;
    }
}
@media (max-width: 700px) {
    .eco-item {
        width: 95%;
    }
}

.rooms-grid {
    display: flex;
    flex-wrap: wrap; /* Ubah ke wrap agar bisa lebih dari 1 kolom */
    justify-content: center;
    gap: 24px 24px; /* Jarak antar item */
    margin-top: 40px;
    padding: 0;
}

.room-simple {
    width: 31.5%; /* 3 kolom per baris, beri sedikit ruang untuk gap */
    min-width: 260px;
    max-width: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

.room-simple img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 10px;
}
.room-simple 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;
}

.room-simple 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;
}

.room-simple h4 {
    font-size: 1rem;
    color: #978459;
    margin: 10px 0 0 0;
}

.special-facilities,
.common-facilities {
    list-style: disc;
    padding-left: 20px;
    margin: 0 0 8px 0;
}

@media (max-width: 1100px) {
    .room-simple {
        width: 48%;
    }
}
@media (max-width: 700px) {
    .room-simple {
        width: 98%;
    }
}
