/* import font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: all 0.4s ease;;
}

/* variabel warna */
:root{
    --slidertext-color: #8291ba;
    --body-color: #E4E9F7;
    --nav-color: #4070F4;
    --side-nav: #010718;
    --text-color: #FFF;
    --search-bar: #F2F2F2;
    --search-text: #010718;
    --section-color:#344b88 ;
}

body{
    height: 100vh;
    background-color: var(--body-color);
}

/* variabel warna untuk dark mode */
body.dark{
    --body-color: #18191A;
    --nav-color: #242526;
    --side-nav: #242526;
    --text-color: #CCC;
    --search-bar: #0f3052;
    --section-color: rgb(39, 54, 72);
    --slidertext-color: #242526;
}

/* style banner section start */
section {
    background-color: var(--section-color);
}

#content-banner{
    margin: 0;
    padding: 0;
}

#content-banner img{
    width:100%;
    height: fit-content;
    align-items: center;
    flex-direction: column;
    position: relative;
}
/* style banner section ends */

/* style slider section start */
#slider-teext{
    position: absolute;
    padding: 10%;
    transform: translate(-50);
}

.content marquee{
    background-color: var(--slidertext-color);
    color : #ffff;
    font-size: 25px;
}

.container{
    height: fit-content;
}
/* style slider section ends */

/* style pricelist start */
#price-list{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#price-list .article{
    color: var(--text-color) ;
    flex: 1;
    padding: 5%;
}
#price-list .price-list-image{
    flex: 1;
    width: 100%;
}
#price-list .price-list-image img{
    width: 90%;
    /* height: 50%; */

}
/* style pricelist ends */


/* style section about start */
#about .heading h1{
    color:#d74f55;
    font-size: 55px;
    text-align: center;
    margin-top: 35px;
}
#about .container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: 65px auto;
}
.container .content-about{
    flex:1;
    width: 600px;
    margin:0px;
}
.container .content-about h2{
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--text-color);
}
.container .content-about p{
    font-size: 24px;
    line-height: 1,5;
    margin-bottom: 40px;
    color: var(--text-color);
}
.content-about button{
    display: inline-block;
    background-color: #0170B9;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}
.content-about button:hover{
    transform: scale(1.1);
}
.image-about{
    flex: 1;
    width: 100px;
    padding: 10%;
    margin: auto;
}

.image-about img{
    width: 90%;
    height: fit-content;
    border-radius: 10px;
}
/* style section about ends */

/* style section nav/header start */
nav{
    position: fixed;
    top: 0;
    left: 0;
    height: 70px;
    width: 100%;
    background-color: var(--nav-color);
    z-index: 100;
}

body.dark nav{
    border: 1px solid #393838;
}

nav .nav-bar{
    position: relative;
    height: 100%;
    max-width: 1000px;
    width: 100%;
    background-color: var(--nav-color);
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .nav-bar .sidebarOpen{
    color: var(--text-color);
    font-size: 25px;
    padding: 5px;
    cursor: pointer;
    display: none;
}

.menu .logo-toggle{
    display: none;
}

.nav-bar .nav-links{
    display: flex;
    align-items: center;
}

.nav-bar .nav-links li{
    margin: 0 5px;
    list-style: none;
}

.nav-links li a{
    position: relative;
    font-size: 17px;
    font-weight: 400;
    color: var(--text-color);
    text-decoration: none;
    padding: 10px;
}

.nav-links li a::before{
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background-color: var(--text-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-links li:hover a::before{
    opacity: 1;
}

.nav-bar .darkLight-searchBox{
    display: flex;
    align-items: center;
}

.darkLight-searchBox .dark-light,
.darkLight-searchBox .searchToggle{
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
}

.dark-light i,
.searchToggle i{
    position: absolute;
    color: var(--text-color);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dark-light i.sun{
    opacity: 0;
    pointer-events: none;
}

.dark-light.active i.sun{
    opacity: 1;
    pointer-events: auto;
}

.dark-light.active i.moon{
    opacity: 0;
    pointer-events: none;
}

.searchToggle i.cancel{
    opacity: 0;
    pointer-events: none;
}

.searchToggle.active i.cancel{
    opacity: 1;
    pointer-events: auto;
}

.searchToggle.active i.search{
    opacity: 0;
    pointer-events: none;
}

.searchBox{
    position: relative;
}

.searchBox .search-field{
    position: absolute;
    bottom: -85px;
    right: 5px;
    height: 50px;
    width: 300px;
    display: flex;
    align-items: center;
    background-color: var(--nav-color);
    padding: 3px;
    border-radius: 6px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.searchToggle.active ~ .search-field{
    bottom: -74px;
    opacity: 1;
    pointer-events: auto;
}

.search-field::before{
    content: '';
    position: absolute;
    right: 14px;
    top: -4px;
    height: 12px;
    width: 12px;
    background-color: var(--nav-color);
    transform: rotate(-45deg);
    z-index: -1;
}

.search-field input{
    height: 100%;
    width: 100%;
    padding: 0 45px 0 15px;
    outline: none;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    color: var(--search-text);
    background-color: var(--search-bar);
}

body.dark .search-field input{
    color: var(--text-color);
}

.search-field i{
    position: absolute;
    color: var(--nav-color);
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

body.dark .search-field i{
    color: var(--text-color);
}
/* style section nav/header ends */

/* style untuk elemen footer */
footer {
    background-color: rgba(0, 0, 0, 0.874) ;
    backdrop-filter: blur(100px);
    color: #fff; 
    padding: 15px; 
    text-align: center; 
}
footer a {
    color:#fff;
    text-decoration: none; 
}
/* style ketika di hover */
footer a:hover {
    color: #a21212; 
    text-decoration: none; 
}


/* style pop up */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}




/* break point untuk responsive */
@media (max-width: 768px) {

    nav{
        height: 45px;
        width: 100%;
        background-color: var(--nav-color);
        z-index: 100;
    }
    nav .nav-bar .sidebarOpen{
        display: block;
    }    

    .menu{
        position: fixed;
        height: 100%;
        width: 320px;
        left: -100%;
        top: 0;
        padding: 20px;
        background-color: var(--side-nav);
        z-index: 100;
        transition: all 0.4s ease;
    }    

    nav.active .menu{
        left: -0%;
    }    

    nav.active .nav-bar .navLogo a{
        opacity: 0;
        transition: all 0.3s ease;
    }    

    .menu .logo-toggle{
        display: block;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }    

    .logo-toggle .siderbarClose{
        color: var(--text-color);
        font-size: 24px;
        cursor: pointer;
    }    

    .nav-bar .nav-links{
        flex-direction: column;
        padding-top: 30px;
    }    

    .nav-links li a{
        display: block;
        margin-top: 20px;
    } 

    /* responsive pricelist */
    #price-list{
        flex-direction: column-reverse;
    }
    #price-list .article{
        text-align: center;
        order: 2;
    }
    #price-list .price-list-image{
        order: 1;
    }


    /* responsive about us */
    .heading h1{
        font-size: 40px;
        margin-top: 30px;
    }
    .content{
        margin: 0px;
    }
    .container{
        width: 100%;
        flex-direction: column;
        margin: 0px;
        padding: 0px 40px;
    }
    .content-about{
        width: 100;
        margin: 35px 0px;
    }
    .content-about h2{
        font-size: 18px;
    }
    .content-about p{
        font-size: 12px;
        margin-bottom: 20px;
    }
    .content-about button{
        font-size: 10px;
        padding: 5px 14px;
    }
    .image-content-about{
        width: 100%;
        height: fit-content;
    }

}    







