:root {
    --primary: #f75b13;
    --bg: #010101;
    --secondary: #ffc519;

}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}

body,html{
    font-family: 'Lato',sans-serif;
    height: 100%; 
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}


body {
  margin: 0;
}

main {
    position: absolute;
    top: 100px;
}

/* navbar */
.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 6%;
    background-color:rgba(12, 12, 12, 0.3);
    text-decoration: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    gap: 4px;
    z-index: 999;
    margin-bottom: 1rem;
}

.navbar .navbar-logo {
    font-size: 1.4rem;
    font-weight: 700;
    margin-right: auto;
    color: #fff;
    font-style: italic;
    text-decoration: none;
    align-items: center; 
    padding: 0 0.5rem;
}


.navbar .navbar-logo span {
    color: var(--secondary);
}

.navbar .navbar-nav {
    margin: 0 1rem;
}

.navbar .navbar-nav a {
    color: #fdf7f7;
    display: inline-block;
    font-size: 1.3rem;
    margin: 0 0.8rem;
    text-decoration: none;
    font-weight: 500;
}

.navbar .navbar-nav a:hover {
    color: var(--primary)
}

.navbar .navbar-nav a::after {
    content: '';
    display: block;
    padding-bottom: 0.5rem;
    border-bottom: 0.1rem solid var(--primary);
    transform: scaleX(0);
    transition: 0.2s linear;

}

.navbar .navbar-nav a:hover::after {
    transform: scaleX(0.75);

}

.navbar .navbar-extra {
    margin: 0 1rem;
    align-items: center;
    display: flex;
}

.navbar .login {
    font-size: 1rem;
    color: var(--primary); /* Menggunakan warna utama untuk teks */
    display: inline-block;
    padding: 0.5rem 1rem;
    color: #fff;
    border: 2px solid whitesmoke; /* Garis tepi dengan warna utama */
    background-color: transparent; /* Latar belakang transparan */
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease; /* Efek transisi smooth */
    align-items: center;
    vertical-align: top;
}

.login:hover {
    background-color: var(--primary);
}

#hamburger {
    display: none;
    color: #fff;
    font-size: 3rem;
    align-items: center;
}


/* CSS Kustom */
.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown {
    position: relative;

}

.dropdown ul {
    display: none;
    position: absolute;
    background-color: rgb(68, 67, 67);
    color: #010101;
    list-style: none;
    padding: 10px;
}

.dropdown:hover ul {
    display: block;
}

.dropdown ul li {
    margin: 5px 0;
}


.dropdown-menu a {
    color: rgb(243, 237, 237);
    background-color: rgb(68, 67, 67);
  }

.navi-item .dropdown-menu ul li a {
    color: #111;
}

.navi-item:hover .dropdown-menu ul li a {
    color: black;
  }

#bahasa {
    display: inline-block;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    padding: 0.5rem 1rem;
    display: flex;
    position: relative;
    align-items: center;
    vertical-align: middle;
}

svg.feather.feather-globe {
    font-size: 0.1rem;
}


.dropdown-menu {
    display: none;
    position: absolute;
    top: 100;
    z-index: 1000;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1); /* Bayangan */
    border-radius: 0.25rem; /* Sudut melengkung */
    padding: 0.25rem 0;
    color: #010101;
    margin-top: 0.5rem;
}


.dropdown-item {
    display: block;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #333; /* Warna teks */
    text-align: inherit;
    white-space: nowrap;
    background-color: #fff; /* Warna latar belakang item */
    border: 0;
    cursor: pointer;
}

.dropdown-menu-lang {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    min-width: 10rem;
    background-color: #fff;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1); /* Bayangan */
    border-radius: 0.25rem; /* Sudut melengkung */
    padding: 0.25rem 0;
    color: #010101;
}



.dropdown-item-lang {
    display: block;
    padding: 0.2rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #333; /* Warna teks */
    text-align: inherit;
    white-space: nowrap;
    background-color: #fff; /* Warna latar belakang item */
    border: 0;
    cursor: pointer;
}

/* Tampilkan menu saat mouse hover */
.nav-item:hover .dropdown-menu {
    display: block;
    color: #010101;
    background-color: #eee;
}


.nav-item:hover .dropdown-menu-lang {
    display: block;
    color: #010101;
    background-color: #eee;
}

.dropdown-item-lang:hover {
    background-color: var(--secondary);
}

.storymap-button {
    display: inline-block;
    padding: 20px 40px; /* Anda dapat menyesuaikan padding sesuai keinginan */
    margin-top: 20px;
    background-color:  #8B4513; 
    font-weight: 500;
    color: white;
    text-decoration: none; /* Menghapus underline */
    border-radius: 4px; /* Melakukan pembulatan sudut */
    transition: background-color 0.3s; /* Efek transisi ketika di hover */
}

.storymap-button:hover {
    background-color: rgba(98,49,35,1); /* Coklat yang lebih tua */
}

.cs-button {
    display: block;
    padding: 10px 40px;
    margin-top: 20px;
    background-color:  #0a5ecc;
    font-weight: 500;
    color: white;
    text-decoration: none; /* Menghapus underline */
    border-radius: 4px; /* Melakukan pembulatan sudut */
    transition: background-color 0.3s; /* Efek transisi ketika di hover */
}

.cs-button:hover {
    background-color: #1478fa; 
}



/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../assets/img/hero.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;

}

.text-hero {
    background-color: rgba(255, 255, 255, 0.2)
}

.hero::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 30%;
    bottom: 0;
    background: linear-gradient(0deg, rgba(1, 1, 3, 1) 8%, rgba(255, 255, 255, 0) 55%);
}

.hero .content {
    padding: 1.4rem 7%;
    max-width: 60rem;
}

.hero .content h1 {
    font-size: 5em;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
    line-height: 1.2;

}

.hero .content h1 span {
    color: var(--primary);
}

.hero .content p {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
    line-height: 1.4;
    font-weight: 100;
    mix-blend-mode: difference;
}

.hero .content .cta {
    font-size: 1.4rem;
    color: #fff;
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 3rem;
    background-color: var(--primary);
    border-radius: 0.5rem;
    box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}

.hero .content .cta:hover,
.contact .row form .btn:hover {
    transform: scaleX(1.01);
    background-color: #3d250c;
}


/* About section */
.about,
.menu,
.contact {
    padding: 8rem 7% 1.4rem;
}

.about h2,
.menu h2,
.contact h2 {
    font-size: 2.6rem;
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}

.about h2 span,
.menu h2 span,
.contact h2 span {
    color: var(--primary);
}

.about .row {
    display: flex;
}

.about .row .about-img {
    flex: 1 1 45rem;
}

.about .row .about-img img {
    width: 100%;
}

.about .row .content {
    flex: 1 1 35rem;
    padding: 0 1rem;
}

.about .row .content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about .row .content p {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 100;
    line-height: 1.6;
}

/* Menu Section */
.menu h2,
.contact h2 {
    margin-bottom: 1rem;
}

.menu p,
.contact p {
    text-align: center;
    max-width: 30rem;
    margin: auto;
    font-size: 1rem;
    font-weight: 100;
    line-height: 1.6;
}

.menu .row {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5rem;
    justify-content: center;

}

.menu .row .menu-card {
    text-align: center;
    padding-bottom: 4rem;
}

.menu .row .menu-card img {
    border-radius: 50%;
    width: 80%;
}

.menu .row .menu-card .menu-card-title {
    margin: 1rem auto 0.5rem;
}

/* Contact Section */
.contact .row {
    display: flex;
    margin-top: 2rem;
    background-color: #222;
}

.contact .row .map {
    flex: 1 1 45rem;
    width: 100%;
    object-fit: cover;
}

.contact .row form {
    flex: 1 1 45rem;
    padding: 4rem 2rem;
    text-align: center;
}

.contact .row form .input-group {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    background-color: var(--bg);
    padding-left: 2rem;
    border: 1px solid #eee;
}

.contact .row form .input-group input {
    background: none;
    width: 100%;
    padding: 2rem;
    font-size: 1.7rem;
    color: #fff;
}

.contact .row form .btn {
    margin-top: 3rem;
    padding: 1rem 3rem;
    display: inline-block;
    font-size: 1.4rem;
    color: #fff;
    background-color: var(--primary);
    border-radius: 0.5rem;
    box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
    cursor: pointer;
}

/* Footer Section */
footer {
    background-color: var(--primary);
    text-align: center;
    padding: 1rem 0 3rem;
    margin-top: 3rem;

}

footer .social a {
    padding: 1rem 0;
    color: #fff;
    margin: 1rem;
}

footer .social a:hover,
footer .links a:hover {
    color: var(--bg);
}

footer .links {
    margin-bottom: 1.4rem;
}

footer .links a {
    color: #fff;
    padding: 0.7rem 1rem;

}

footer .credit {
    font-size: 1rem;
    color: var(--bg);
}

footer .credit a {
    color: var(--bg);
    font-weight: 700;
}


/* Media Queries */

/* Laptop */
@media (max-width: 1366px) {
    html {
        font-size: 75%;
    }
}

@media (max-width: 1110px) {
    html {
        font-size: 70%;
    }
    
    #hamburger {
        display: inline-block;
        margin: auto 1rem;
    }

    .navbar .navbar-nav {
        position: absolute;
        display:block;
        top: 50%;
        right: -100%;
        background-color: #fff;
        width: 30rem;
        height: 100vh;
        transition: 0.3s;
    }

    .navbar .navbar-nav.active {
        right: 0;
    }

    .navbar .navbar-nav a {
        color: var(--bg);
        display: block;
        margin: 1rem;
        padding: 0.5rem;
        font-size: 2rem;
    }

    .navbar .navbar-nav a::after {
        transform-origin: 0 0;

    }

    .navbar .navbar-nav a:hover::after {
        transform: scaleX(0.3);

    }

    /* Layar hamburger */
    .dropdown-menu.active {
        position: absolute;
        margin-top:0;
        left: 0;
    }

    .dropdown-menu {
        top: 10;
        padding: 0.15rem 0;
    }

    .dropdown-item {
        padding: 0.25rem 1.5rem;
    }

    .dropdown ul {
        background-color: rgb(243, 238, 238);
        color: #010101;

    }

    .dropdown-menu a {
        background-color: rgb(243, 238, 238);

    }

}


/* Tablet */
@media (max-width: 768px) {
    html {
        font-size: 62.5%;
    }

    .about .row {
        flex-wrap: wrap;
    }

    .about .row .about-img img {
        height: 24rem;
        object-fit: cover;
        object-position: center;
    }


    .about .row .content {
        padding: 0;
    }

    .about .row .content h3 {
        margin-top: 1rem;
        font-size: 2rem;
    }

    .about .row .content p {
        font-size: 1.6rem;
    }

    .menu p {
        font-size: 1.2rem;
    }

    .contact .row {
        flex-wrap: wrap;
    }

    .contact .row .map {
        height: 30rem;
    }

    .contact .row form {
        padding-top: 0;
    }
}



.section-img1{
    background-image: url(../img/rk3.jpg);
    min-height: 100%;
}
.section-img2{
    background-image: url(../img/jeruju.jpg);
}
.section-img3{
    background-image: url(../img/kampunghijau.png);
}
.section-img4{
    background-image: url(../img/murungselong.png);
}

.section-img2, .section-img3, .section-img4 {
    min-height: 100%;
    background-size: cover;
    background-position: center;
}

.lazy-load {
    background-image: none; 
}

.lazy-load-loaded-2 {
    background-image: url('../img/kampunghijau.png'); /* Actual image */
}

.section-white{
    min-height: 100%;
}
.img-responsiv {
    max-width: 100%;
    height: auto;
}

section{
    text-align: center;
    padding: 50px 80px;
}
.section-light{
    background-color: #f4f4f4;
    color:#666
}
.section-dark{
    background-color: #282e34;
    color:#ddd
}
.section-img1, .section-img2, .section-img3, .section-img4{
    background-position:center;
    background-repeat:no-repeat;
    background-size: cover;
    background-attachment: fixed;
    opacity: 1;
    justify-content: center;
    display: flex;
    align-items: center;
}

.section_heading {
    font-size: 2rem;
}

section p{
    font-size: 1.4rem;
}



.heading-container {
    text-align: center;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.heading-container_heading2{
    font-size: 1.7em;
    font-weight: 400;
    padding: 20px;
    color: #fff;
    background-color: #111;
}

.heading-container_heading {
    font-size: 1.8em;
    color: #f4f4f4;
    letter-spacing: 8px;
    border: 0.1px solid white;
    background-color: rgba(0, 0, 0, 0.3); 
    padding: 30px; 
    display: inline-block; 
    position: relative;
    overflow: hidden;
}

.heading-container_heading::before {
    content: "";
    position: absolute;
    border: 1px solid transparent; 
    width: 0;
    height: 0;
    transition: 0.6s; 
    z-index: 1;
    box-sizing: border-box;
    animation: snakeAnimation 12s;  /* Animasi "ular" */
}

@keyframes snakeAnimation {
    0%, 100% {
        top: 0;
        left: 0;
        width: 0;
        height: 0;
        border-top: 0.1px solid white;
    }
    25% {
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        border-top: 0.1px solid white;
    }
    50% {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-top: 0.1px solid white;
        border-right: 0.1px solid white;
    }
    75% {
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        border-right: 0.1px solid white;
        border-bottom: 0.1px solid white;
    }
}



footer {
    margin-top :0.1rem;
}

.footer-3-2 {
    background-color: #3f4041;
    padding: 2rem 0;
    text-align: center;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 100px;
    display: inline-block;
}

.footer-remark {
    color: #cccaca;
}

.footer-remark h3{
    font-size: 1.5rem;
}

.footer-remark p{
    font-size: 1.3rem;
}

.footer-remark a{
    color: #ffffff;
    text-decoration: none;
}



.footer-links {
    display: flex;
    justify-content: space-around;
    gap: 3rem;
    margin: 1.5rem 2rem;
}

.footer-links a {
    color: #cccaca;
    text-decoration: none;
    font-size: 1.35rem;

}

.footer-links a:hover{
    color: var(--secondary);
    text-decoration: underline;
    font-weight: bold;
}

.footer-icons {
    margin-top: 1.5rem;
}

.footer-icons svg {
    width: 20px;
    height: 20px;
    fill: #333;
    margin-right: 0.5rem;
}

.footer-info {
    color: #cccaca;
}

.fw-bold {
    color: white;
    font-weight: bold;
}

@media all and (min-width: 992px) {
    .navi-item .dropdown-menu {
        display: none;
    }

    .navi-item:hover .dropdown-menu, .navi-item:hover .dropdown-menu-lang {
        display: block;
    }


    .navi-item .dropdown-menu, .navi-item .dropdown-menu-lang {
        margin-top: 0;
    }
}


@media(max-width:760px) {
    .heading-container__heading {
        font-size: 1.25em;
    }


}

@media (min-width: 576px) {
    .title-font {
        font: 700 3rem/1.25 "Poppins", sans-serif;
    }

    .dropdown-header .dropdown-header-hover:hover .dropdown-header-icon-arrow {
        display: flex;
    }
}


@media(max-width:568px) {

    .section-img1,
    .section-img2,
    .section-img3,
    .section-img4 {
        background-attachment: scroll;
    }
}

/* Mobile */
@media (max-width: 450px) {
    html {
        font-size: 55%;
    }

    #hamburger {
        margin: auto 0.3rem;
    }
}

/* Mini Screen Mobile */
@media (max-width: 359px) {
    html {
        font-size: 45%;
    }

    #hamburger {
        margin: auto 0.2rem;
    }
}



