:root{
    --primary-color:rgb(0, 255, 85);
    --secondary-color:rgb(2, 18, 32);

}

html{
     scroll-behavior: smooth;
}



@font-face {
    font-family: sylfaen;
    src: url('./assets/fonts/sylfaen.ttf');
}

@font-face{
    font-family: poppins;
    src: url('./assets/fonts/poppins.regular.ttf');
}

@font-face{
    font-family: poppins-bold;
    src: url('./assets/fonts/poppins.medium.ttf');
}

@font-face {
    font-family: poppins-semi-bold;
    src: url('./assets/fonts/poppins.black.ttf');
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: var(--secondary-color);
}


a,ul{
    text-decoration: none;
    color: white;
}

section{
    padding: 0 150px;
    min-height: 100vh;
}


/* navigation */
.nav{
    display: flex;
    justify-content: space-between; 
    align-items: center;
    height: 80px;
    width: 100%;
    position: fixed;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);

}


.nav .nav-links {
    margin-right: 20px;
    display: flex;
    gap: 4rem;
    font-family: poppins;
    font-size: 15px;
    color: white;

}

.nav .logo a img{
    margin-left: 10px;
    width: 70px;
    height: 80px;
}

.nav .nav-links a{
    transition: all 0.3s ease-in-out;
}

.nav-links a:hover{
    color: rgb(124, 230, 124) ;
}


    /* home */
    .home{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        overflow: hidden;
        background-size: cover;
        background-position: center;
        background-image: url('./img/Bagian_Depan.JPG');
        position: relative;
        z-index: 1;
        /* box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.9); */
    }

    .home::after{
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: -1;
        inset: 0;
        backdrop-filter: blur(2px);
        background: rgba(0, 0, 0, 0.4);
        /* background:
                radial-gradient(circle at top left, rgba(0,0,0,0.7), transparent 30%),
                radial-gradient(circle at top right, rgba(0,0,0,0.7), transparent 30%),
                radial-gradient(circle at bottom left, rgba(0,0,0,0.7), transparent 30%),
                radial-gradient(circle at bottom right, rgba(0,0,0,0.7), transparent 30%); */
    }
    .home::before{
        content: '';
        position: absolute;
        z-index: -1;
        width: 100%;
        height: 100%;
        inset: 0;
        background:
                radial-gradient(circle at top left, rgba(0,0,0,0.7), transparent 30%),
                radial-gradient(circle at top right, rgba(0,0,0,0.7), transparent 30%),
                radial-gradient(circle at bottom left, rgba(0,0,0,0.7), transparent 30%),
                radial-gradient(circle at bottom right, rgba(0,0,0,0.7), transparent 30%);
    }


    .home .home-content{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: 100%;
        color: white;
        position: relative;
        z-index: 1;
        text-align: center;
        color: white;
        font-family: poppins-bold;
        
    }


    .home .home-content .h1-text{
        font-size: 60px;
    }

    .home .home-content .sub-h-text{
        font-size: 25px;
        margin-bottom: 20px;
    }
    .home .home-content .title-text{
        color: var(--primary-color);
        font-family: sylfaen;
    }


     .home .home-content .btn{
        box-sizing: border-box;
        width: 120px;
        height: 40px;
        padding: 10px;
        border-radius: 50px;
        background-color: rgb(203, 96, 3);
        line-height: 20px;
        transition: all 0.3s ease-in-out;

     }


     .home .home-content .btn:hover,.btn-contact:hover{
        background-color: rgb(255, 119, 0);
        color: white;
     }


     /* about us */
     .about{
        display: flex;
        flex-direction: row;
        color: white;
        font-family: poppins-bold;
        gap: 1.5rem;
        box-sizing: border-box;
        margin: 0;
     }

     .about .about-content{
        display: flex;
        text-align: center;
        justify-content: center;
        align-items: center;
        flex-direction: column;
     }

     .about .about-content .h1-text{
        color: var(--primary-color);
        font-size: 30px;
        font-family: poppins-bold;
        margin-bottom:10px;
        text-shadow: 0 0 4px var(--primary-color);
     }




     .about .about-content p{
        margin-bottom: 30px;
     }

     .about .about-content .features{
        display: grid;
        grid-template-columns: repeat(2, minmax(300px, 600px));
        gap: 2rem;
     }

    .about .about-content .features .feature-card{
        box-sizing: border-box;
        border-radius: 30px;
        background: linear-gradient(45deg,#283a30,#191919);
        height: 200px;
        border: 2px solid white;
        cursor: pointer;
        padding: 20px;
        position: relative;
        animation: bgmcolor 5s ease-in-out infinite;
        animation-direction: alternate;
        background-size: 300% 300%;
     }


     @keyframes bgmcolor{
        0%{
            background-position: 0 50%;
        }
        50%{
            background-position: 100% 50%;
        }
        100%{
            background-position: 0 50%;
        }
    }

    .feature-card::before{
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        left: 50%;
        top: 50%;
        translate: -50% -50%;
        background-color: var(--primary-color);
        border-radius: 30px;
        transition: all 0,3s ease;
        z-index:-1 ;
     }

     .about .about-content .features .feature-card:hover::before{
        filter: blur(10px);
     }


     .about .about-content .features .feature-card:hover{
      border: 3px solid var(--primary-color);
      transition: border 0.3s ease;
     }



     /* Service */

     .services{
        display: flex;
        align-items: center;
        flex-direction: row;
        width: 100%;
     }

     .services .services-container{
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100%;
        margin-top: 95px;
     }

     .services .services-container h1.h1-text{
        color: var(--primary-color);
        font-family: poppins-bold;
        font-size: 2rem;

     }


     .services .services-container .membership-container{
        display:flex;
        align-items: center;
        flex-direction: row;
        gap:4rem;
        justify-content: center;
        width: 100%;
        margin-bottom: 80px;

     }

     .services .services-container h1.h1-text{
        color: var(--primary-color);
        font-size: 30px;
        font-family: poppins-bold;
        text-align: center;
        padding-bottom: 30px;
        text-shadow: 0 0 4px var(--primary-color);
        margin-bottom: 10px;

     }

    .services .services-container .membership-container .membership-card{
        display: flex;
        align-items: center;
        flex-direction: column;
        position: relative;
        width: 400px;
        height: 350px;
        padding: 20px;
        font-family: poppins-bold;
        border-radius: 20px;
        background-color: var(--secondary-color);;
        border: 2px solid var(--primary-color);
    }

    .services .services-container .membership-container .membership-card::before{
        content: "";
        position: absolute;
        width: 100%;
        opacity: 1;
        height: 100%;
        border-radius: 30px;
        z-index: -1;
        top: 0;
        right:0;
        /* filter: blur(10px); */
        transition: 0.5s ease;
    }
    
    
    .services .services-container .membership-container .membership-card.hovered::before{
        box-shadow:0 0 40px var(--primary-color) ;
        opacity: 1;
        filter: blur(10px);
    }

    .services .services-container .membership-container .membership-card h3{
        color: white;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    
    
    .services .services-container .membership-container .membership-card .price{
        font-size: 3rem;
        font: 900;
        color: var(--primary-color);
    }

    .services .services-container .membership-container .membership-card .btn-contact{
        width: 80px;
        height: 40px;
        border-radius: 15px;
        color:white;
        cursor: pointer;
        text-align: center;
        line-height:39px;
        background-color: rgb(203, 96, 3);
    }

    .services .services-container .membership-container .membership-card .btn-contact:hover{
        background-color: rgb(255, 119, 0);
        color: white;
        border: 2px solid white;
    }


    .services .services-container div:nth-child(2) .membership-card .benefit-lists{
        margin-top: 10px;
        margin-bottom: 35px;
        width: 100%;
        margin-left: 80px;
    }


    .services .services-container .supplement-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .services .services-container .supplement-container .h1-text{
        margin-bottom: 5px;
    }

    .services .services-container .supplement-container .supplement-cards-container{
        display: grid;
        grid-template-columns:repeat(6,minmax(100px,300px));
        gap: 1rem;


    }

    .services .services-container .supplement-container .supplement-cards-container .supplement-card{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .services .services-container .supplement-container .supplement-cards-container .supplement-card h3{
        color: var(--primary-color);
        font-size: 18px;
        font-family: sylfaen;
        margin-bottom: 10px;
    }


    .services .services-container .supplement-container .supplement-cards-container .supplement-card .supp-card{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
        height: 300px;
        border-radius: 7px;
        border: 2px solid white;
        padding: 10px;
        background-image: linear-gradient(45deg, #283a30, #191919);
        background-size: 300% 300%;
        animation: bgmcolor 3s ease-in-out infinite;
    }

    .services .services-container .supplement-container .supplement-cards-container .supplement-card .supp-card p{
        color: white;
        font-family: poppins;
        text-align: center;
        font-size: 12px;
    }



    .services .services-container .supplement-container .supplement-cards-container .supplement-card .supp-card img{
        height: 80%;
    }



    ul{
        list-style: none;
    }


    .contact{
        margin-top: 90px;
        border-top: 2px solid var(--primary-color);
        height: 200px;
        padding:40px 160px;
        font-family: poppins;
        width: 100%;
    }

    .contact .contact-container{
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }

    .contact .contact-container h3{
        color: var(--primary-color);
        font-family: poppins;
    }

    .contact .contact-container p{
        color: white;
    }


    .contact .contact-container .contact-socials .contact-img-container{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
    }

    .contact .contact-container .contact-socials h3{
        margin-bottom: 10px;
        text-align: center;
    }

    .contact .contact-container .contact-socials img{
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }


    #menu{
        display:none
    }

    .nav label{
        display: none;
    }

    
        
    /* 🔹 MOBILE: max-width 576px */
@media (max-width: 576px) {
    section {
        padding: 0 20px;
    }

    .about{
        margin-top: 50px;
    }

    .membership-container div:nth-child(1) .price .price2{ 
        font-size: 36px;
    }

    .nav{
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        margin: 0;
    }

    .nav label{
        display: block;
        cursor: pointer;
        position: relative;
        width: 30px;
        height: 30px;
        width:100%;
        top: -44px;
        right:12px;
    }

    .nav label::before{
        position: absolute;
        content: "menu";
        font-family: "Material Symbols Outlined";
        top: 0;
        right: 0;
        font-size: 30px;
        color: white;
    }

    #menu:checked ~ .nav-links{
        max-height: 500px;
        overflow: visible;
    }

    .nav .logo{
        width: 100%;
    }
    .nav .logo a img{
        margin-left: 0;
        width: 50px;
        height: 60px;
    }

    .nav .nav-links a:last-child{
         border-bottom: 0.5mm solid white;
    }

    .nav .nav-links{
        flex-direction: column;
        justify-content: center;
        text-align: center;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        margin: 0px;
        gap:0;
        max-height: 0;
        overflow: hidden;
    }


    .nav .nav-links a{
        border-top: 0.5mm solid white;
        padding: 5px;
        gap: 0;
        margin: 0px;
        background-color: var(--secondary-color);
    }



    .home .home-content .h1-text {
        font-size: 32px;
    }

    .home .home-content .sub-h-text {
        font-size: 18px;
    }

    .about {
        flex-direction: column;
        padding: 0;
    }

    .about .about-content .features {
        grid-template-columns: 1fr;
    }

    .services .services-container .membership-container {
        flex-direction: column;
    }

    .services .services-container .membership-container .membership-card {
        width: 90%;
        height: auto;
    }

    .services .services-container .supplement-container .supplement-cards-container {
        display: flex;
        flex-direction: column;
    }

    .contact {
        padding: 20px;
        height: 200px;
    }

    .contact .contact-container {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

/* 🔹 TABLET: 577px - 768px */
@media (min-width: 577px) and (max-width: 768px) {
    section {
        padding: 0 40px;
    }

    .about{
        margin-top: 50px;
    }

    .nav .nav-links {
        gap: 2rem;
        font-size: 14px;
    }

    .home .home-content .h1-text {
        font-size: 30px;
    }


    .about {
        flex-direction: column;
    }

    .about .about-content .features {
        grid-template-columns: 1fr;
    }

    .services .services-container .membership-container {
        flex-direction: column;
    }

    .services .services-container .membership-container .membership-card {
        width: 80%;
    }

    .services .services-container .supplement-container .supplement-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact {
        padding: 30px;
    }

    .contact .contact-container {
        align-items:flex-start;
        flex-direction: row;
        gap: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    section {
        padding: 0 80px;
    }

    .home .home-content .h1-text {
        font-size: 36px;
    }

    .home .home-content .sub-h-text {
        font-size: 20px;
    }

    .about .about-content .features {
        grid-template-columns: 1fr 1fr;
    }

    .services .services-container .supplement-container .supplement-cards-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .services .services-container .membership-container {
        display: flex;
        flex-direction: column;
    }


    .services .services-container .membership-container .membership-card {
        width: 400px;
        height: auto;
    }

    .contact{
        width: 100%;
        padding: 40px 90px;
    }

    .contact .contact-container{
        gap:50px;
        width: 100%;
    }
}


@media (min-width: 1025px) and (max-width: 1366px){
    section {
        padding: 0 80px;
    }

    .home .home-content .h1-text {
        font-size: 40px;
    }

    .supp-card img{
        width: 100%;
    }

    .supp-card {
        padding: 5px;
    }

}
