* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: 'Poppins' ,sans-serif;
    overflow-x: hidden;
}



/* Navbar Styles */
.header {
    top: 0;
    left: 0;
    width: 100%;
    background: #FCFAEE;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.nav-container {
    max-width: 80%;
    margin: 0 auto;
    padding: 1rem 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}




.nav-logo a img {
    width: 12rem;
    height: 50%;
}

@media (max-width:375px) {
    .nav-logo a img {
        width: 10rem;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #798645;
    font-size: 0.813rem;
    transition: color 0.3s ease;
    font-family: "Poppins", serif;
    font-weight: bold;
    font-style: normal;
}

.nav-link:hover {
    color: #565F36;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 2;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: #333;
}

@media screen and (max-width: 1240px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        backdrop-filter: blur(10px);
        width: 100%;
        max-width: 300px;
        height: 100vh;
        padding: 4rem 2rem;
        transition: right 0.3s ease;
        z-index: 2;
    }

    .nav-link {
        color: white;
    }

    .nav-link:hover {
        color: rgb(203, 203, 203);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin: 1rem 0;
        
    }

    .nav-item a {
        color: black;
        z-index: 2;
    }

    /* Overlay when menu is active */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.237); /* Warna putih dengan transparansi */
        backdrop-filter: blur(10px); /* Efek blur pada latar belakang */
        box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1); /* Bayangan untuk efek 3D */
        z-index: -1; /* Pastikan layer ini di belakang menu */
    }
    
}

/* -----------------------------------------bagian content */

.hero {
    max-width: 80%;
    display: flex;
    justify-content: center;
    margin: 0rem auto;
}

@media (max-width:1100px){
    .hero {
        flex-wrap: wrap;
        justify-content:normal;
    }
}





.content-1 p {
    max-width: 600px;
    font-weight: 300;
}

@media (max-width:1100px) {
    .content-1 p {
        max-width: 1000px;
    }
}

.content-1 h2 {
    font-size: 2.3rem;
    color: #464646;
    padding: 25px 0px 0px 0px;
}

.content-1 h3 {
    font-size: 1.3rem;
    margin-top: 20px;
    color: #464646;
}


.grid-fasilitas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 15px 0px;
}

@media (max-width:720px) {
    .grid-fasilitas {
        grid-template-columns: repeat(2,minmax(0, 1fr));
    }

}

.facility-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 10px;
    background-color: #f4f4f4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.facility-text {
    color: #555;
    font-size: 16px;
}

@media (max-width:720px) {
    .facility-text {
        font-size: 12px;
    }
}

.icon i {
    width: 20px;
    height: 20px;
    fill: #666;
}





h1 {
    color: #4a4a4a;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.switch-container {
    width: 80%;
    margin: 1rem auto;
    justify-content: center;
}

@media (max-width:320px) {
    .switch-container {
        width: 100%;
        padding: 0 1rem;
    }
}

.switch-container h4 {
    font-size: 2.1rem;
}

.switch-container p {
    font-size: 1.2rem;
    font-weight: 300;
    padding:  0 0 10px 0;
}

@media (max-width:380px) {
    .switch-container h4 {
        font-size: 1.7rem;
    }

    .switch-container p {
        font-size: 1rem;
    }
}

.switch-bar {
    display: flex;
    background-color: #ececec;
    border-radius: 12px;
    padding: 0.5rem ;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.switch-bar span {
    font-weight: 300;
    font-family: 'Poppins' ,sans-serif;
    font-weight: 400;
}

.switch-option {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: none;
    color: #555;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}


.switch-option:hover {
    background-color: rgb(103 103 103 / 10%);
    color: #000000;
}

.switch-option.active {
    background-color: #8D984E;
    color: white;
    font-weight: 500;
}

.switch-option .icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .switch-option {
        padding: 0.25rem;
        font-size: 0.875rem;
    }
    
    .switch-option .icon {
        width: 14px;
        height: 14px;
    }

    .switch-bar span {
        font-size: 12px;
    }
}


.slider-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    border-radius: 25px;
}

@media (min-width: 640px) {
    .slider-container {
        max-width: 384px;
    }
}

@media (min-width: 768px) {
    .slider-container {
        max-width: 448px;
    }
}

.slider {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 133.33%; /* Aspect ratio 3:4 */
    overflow: hidden;
    border-radius: 25px;
}

.slider-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

.nav-button {
    width: 12%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    padding: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 1;
}

@media (max-width:320px) {
    .nav-button {
        width: 14%;
    }
}

polyline {
    width: 30px;
    font-size: 30px;
}


.nav-button:hover {
    background: rgba(255, 255, 255, 1);
}

.prev {
    left: 8px;
}

.next {
    right: 8px;
}

.nav-button svg {
    width: 16px;
    height: 16px;
}

.dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 1;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    width: 12px;
}

@media (min-width: 640px) {
    .nav-button {
        padding: 12px;
    }
    .prev {
        left: 16px;
    }
    .next {
        right: 16px;
    }
    .nav-button svg {
        width: 24px;
        height: 24px;
    }
    .dots {
        bottom: 16px;
        gap: 8px;
    }
    .dot {
        width: 8px;
        height: 8px;
    }
    .dot.active {
        width: 16px;
    }
}

footer {
    background-color: #798645;
}

.footer-kontainer {
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    margin: 3rem auto;
}

.footer-image {
    justify-content: center;
    margin: auto 0;
}

.footer-image img {
    max-width: 242px;
    margin: auto 0;
}

.footer-content {
    margin: 6rem 4rem;
}

.footer-head {
    display: flex;
}

.footer-content h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: white;
}

.footer-content ul {
    list-style: none;
    text-decoration: none;
    color: white;
}

.footer-content ul li {
    padding: 0.2rem 0;
}

.footer-content ul a {
    position: relative;
    display: inline-block;
    list-style: none;
    text-decoration: none;
    color: white;
    display: block;
    transition: all 0.3s ease;
}

.footer-content ul li:hover {
    transform: translateX(10px); /* Geser ke kiri 5px */
    color: black;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.footer-content i {
    margin-right: 16px;
    font-size: 1.1rem;
}

.sosial-link a i {
    font-size: 1.2rem;
    display: inline-block;
    margin: 10px 10px 0 0;
    color: white;
    background-color: rgba(255, 255, 255, 0.247);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 25px;
    text-align: center;
}

.sosial-link a i:hover {
    transition: all 0.3s ease;
    color: black;
    background-color: white;
}

.copyright {
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    box-sizing: border-box;
}

@media (max-width:980px) {

    .footer-image img {
        max-width: 270px;
    }

    .footer-content ul li {
        font-size: 1rem ;
    }

    .footer-kontainer {
        max-width: 800px;
        justify-content: center;
        text-align: center;
    }

    .footer-head {
    display: grid;
    }

    .footer-content {
        margin: 2rem 0;
    }
}


@media (max-width:600px) {

    .footer-image img {
        max-width: 242px;
    }

    .footer-kontainer {
        justify-content: left;
        padding: 0 30px;
        text-align: left;
    }

    .footer-head {
    display: grid;
    }

    .footer-content {
        justify-content: left;
        margin: 2rem 0;
    }
}


.btn-floating {
    position: fixed;
    right: 25px;
    overflow: hidden;
    width: 55px;
    height: 55px;
    border-radius: 100px;
    border: 0;
    z-index: 9999;
    color: white;
    transition: .2s;

    bottom: 25px;
    background-color: #33af23;
    border: 2px solid #fff;
}

.btn-floating:hover {
    width: auto;
    padding: 0 20px;
    cursor: pointer;

}

.btn-floating span {
    font-size: 21px;
    margin-left: 5px;
    transition: 0.5s;
    line-height: 0px;
    display: none;
}

.btn-floating:hover span {
    display: inline-block;
    
}

.btn-floating:hover i {
    margin-bottom: -3px;
}
.btn-floating i {
    font-size: 25px;
}






