body { 
    font-family: 'Poppins', sans-serif; 
    margin: 0; 
    padding: 0; 
    overflow-x: hidden; /* cegah geser kanan */
}

header { 
    padding: 15px 40px; 
}

 
.hero-logo {
    display: flex;
    align-items: center;
    gap: 5px; 
}

.hero-logo img {
    width: 120px;
    max-width: 100%;
    height: auto;
}

.hero-text {
    font-size: 17px;
    font-weight: 700;
    color: rgb(0, 0, 0);       
    letter-spacing: 1px; 
}

nav a { 
    margin: 0 15px; 
    text-decoration: none; 
    font-weight: bold; 
    color: black; 
    font-size: 17px; 
    padding-bottom: 6px;    
    position: relative;        
}


nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background: currentColor;
    transition: width 0.35s ease-in-out;
}

/* ANIMASI SAAT DI-HOVER */
nav a:hover::after {
    width: 100%;
}


nav a.active::after {
    width: 100%;
}
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 20px; 
}

footer { 
    text-align: center; }


.navbar{
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    background: #89986D; 
    padding: 15px ; 
    transition: background 0.4s ease, box-shadow 0.4s ease;
    z-index: 1000;
}

.home-page .navbar {
    background: transparent;
    box-shadow: none;
    color: #fff;
}

.home-page .navbar.scrolled {
    background: #89986D;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  
}


.home-page .navbar:not(.scrolled):not(.menu-open) {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7),
        rgba(0,0,0,0)
    ) !important;
}

  /* Teks putih di kondisi transparan */
.home-page .navbar:not(.scrolled):not(.menu-open) .hero-logo .hero-text,
.home-page .navbar:not(.scrolled):not(.menu-open) nav a,
.home-page .navbar:not(.scrolled):not(.menu-open) .ph,
.home-page .navbar:not(.scrolled):not(.menu-open) .select-bahasa {
      color: #fff !important;
}

.select-bahasa option {
    background: #fff !important; 
    color: #000 !important;      
}
.menu-nav{
    display:flex; 
    justify-content:space-between; 
    align-items:center; 
    max-width:1200px; 
    margin:auto;
}

.menu-nav2{
    display: flex;
    justify-content: center;
    gap: 15px;
}
.select-wrapper {
    position: relative;
    display: inline-block;
}
.select-bahasa{
    background: transparent;
    border: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 17px;
    padding-left: 15px; 
    cursor: pointer;
    height: 27px;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
}


.list-icon i {
    font-size: 40px;
    display: none;
}

section.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    margin: 40px auto;
    width: 80%;
}

section.two-column img {
    width: 100%;
    border-radius: 8px;
}

footer{
    bottom: 0; 
    left: 0; 
    width: 100%; 
    color: #fff; 
    text-align: center; 
    background: #89986D;
    padding: 15px 40px; 
}

.home-page .navbar.menu-open {
    box-shadow: none !important;
}
.home-page .navbar.menu-open {
    transition: none !important;
}
    .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


@media only screen and (max-width: 990px) {
    .container{
        max-width: 1200px; 
        margin: 0 auto; 
        padding: 50px;
    }
    .home-page .navbar {
        transition-delay: 0.7s;
    }
    .home-page .navbar.scrolled {
        background: #89986D;
        box-shadow: 0 2px 5px rgba(0,0,0,0.15);
        transition: none !important;
    } 

    .home-page .navbar.menu-open {
         background: #89986D !important;
    }
    .navbar{
        padding: 15px;
    }
    .hero-logo img {
        width: 70px;
        max-width: 100%;
        height: auto;
    }

    .hero-text {
        font-size: 17px;
        font-weight: 700;
        color: white;       
        letter-spacing: 1px; 
    }
    nav a{
        font-size: 15px;
        color: #fff;
        
    }
    .menu-nav2{
        display: flex;
        text-align: center;
        font-size: 15px;
        flex-direction: column;
        background: #89986D; 
        position: fixed;
        top: 80px; 
        right: 0;
        width: 100%; 
        padding: 0;
        gap: 40px;
        border-bottom: none !important;
        max-height: 0;        
        overflow: hidden;      
        transition: max-height 0.8s ease-in-out, padding 0.8s ease;
    }
    .home-page .navbar:not(.scrolled):not(.menu-open) {
    background: linear-gradient(
            to bottom,
            rgba(137, 152, 109, 0.5),
            rgba(0,0,0,0)
        ) !important;
    }
    .menu-nav2.show-menu {
        max-height: 500px;    
        padding: 20px 0;      
        display: flex;
    }
    nav a::after {
        display: none !important;
    }
    .select-bahasa {
        background: none;
        outline: none;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        text-align: center;
        width: 45%;
        margin: auto;
        border: 1px;
        font-size: 15px;
        font-weight: bold;
        font-family: 'Poppins', sans-serif;
        cursor: pointer;
        color: #fff;
    }

    .list-icon i {
        display: flex;
        position: absolute; 
        right: 110px;;        
        top: 23px;          
        font-size: 40px;    
        cursor: pointer;    
        z-index: 2000; 
        transition: transform 0.7s ease;     
    
    }
    .list-icon.active i {
        transform: rotate(90deg);
        
    }

    section {
        grid-template-columns: 1fr !important;
        text-align: left;
    }

    section img {
        max-width: 90%;
        margin: auto;
    }
    section[style*="display:flex"] {
        flex-direction: column;
        gap: 40px;
    }

    section[style*="display:flex"] img {
        width: 90%;
        margin: auto;
    }
    footer{
        bottom: 0; 
        left: 0; 
        width: 100%; 
        background: #89986D; 
        color: #fff; 
        text-align: center; 
        padding: 30px 0;
    }
}


