/* =========================
FILE: style.css

Tempatkan file ini di:
orangsonuo.my.id/assets/css/style.css
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins', sans-serif;
    background:#07110d;
    color:#fff;
    line-height:1.7;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* NAVBAR */

.navbar{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:999;
    background:rgba(0,0,0,0.4);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(255,255,255,0.05);
}

.nav-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    font-size:28px;
    font-weight:700;
    color:#78ff7c;
}

.logo span{
    color:#fff;
}

nav{
    display:flex;
    gap:30px;
}

nav a{
    text-decoration:none;
    color:#ddd;
    transition:0.3s;
}

nav a:hover{
    color:#78ff7c;
}

/* HERO */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    padding-top:100px;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.badge{
    display:inline-block;
    background:#10381e;
    color:#78ff7c;
    padding:10px 18px;
    border-radius:30px;
    margin-bottom:25px;
    font-size:14px;
}

.hero h1{
    font-size:60px;
    line-height:1.1;
    margin-bottom:25px;
}

.hero p{
    color:#c7c7c7;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
    padding:15px 28px;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.btn-primary{
    background:#78ff7c;
    color:#000;
}

.btn-primary:hover{
    transform:translateY(-3px);
}

.btn-secondary{
    border:1px solid #78ff7c;
    color:#78ff7c;
}

.btn-secondary:hover{
    background:#78ff7c;
    color:#000;
}

.hero-image{
    position:relative;
    text-align:center;
}

.hero-image img{
    width:100%;
    max-width:420px;
    border-radius:25px;
    position:relative;
    z-index:2;
}

.glow{
    position:absolute;
    width:350px;
    height:350px;
    background:#00ff88;
    filter:blur(120px);
    opacity:0.25;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
}

/* SECTION */

section{
    padding:100px 0;
}

.section-title{
    font-size:40px;
    margin-bottom:40px;
    font-weight:700;
}

/* ABOUT */

.about-card{
    background:#0e1b15;
    padding:40px;
    border-radius:24px;
    border:1px solid rgba(255,255,255,0.05);
}

/* SERVICES */

.service-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.service-card{
    background:#0e1b15;
    padding:35px;
    border-radius:24px;
    transition:0.3s;
    border:1px solid rgba(255,255,255,0.05);
}

.service-card:hover{
    transform:translateY(-8px);
    border-color:#78ff7c;
}

.service-card h3{
    margin-bottom:15px;
}

/* PROJECTS */

.project-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.project-card{
    background:#0e1b15;
    border-radius:24px;
    overflow:hidden;
    transition:0.3s;
}

.project-card:hover{
    transform:translateY(-8px);
}

.project-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.project-content{
    padding:30px;
}

.project-content h3{
    margin-bottom:15px;
}

.project-content p{
    color:#c7c7c7;
    margin-bottom:20px;
}

.project-content a{
    color:#78ff7c;
    text-decoration:none;
}

/* CONTACT */

.contact-box{
    background:#0e1b15;
    padding:50px;
    border-radius:24px;
    text-align:center;
}

.contact-links{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:30px;
    flex-wrap:wrap;
}

.contact-links a{
    text-decoration:none;
    color:#78ff7c;
    border:1px solid #78ff7c;
    padding:14px 24px;
    border-radius:12px;
    transition:0.3s;
}

.contact-links a:hover{
    background:#78ff7c;
    color:#000;
}

/* LIGHT MODE */

.light-mode{
    background:#f5f5f5;
    color:#111;
}

.light-mode .navbar{
    background:rgba(255,255,255,0.8);
}

.light-mode .service-card,
.light-mode .project-card,
.light-mode .about-card,
.light-mode .contact-box{
    background:#fff;
    color:#111;
}

.light-mode p{
    color:#444;
}

/* PARTICLES */

#particles-js{
    position:fixed;
    width:100%;
    height:100%;
    z-index:-1;
    top:0;
    left:0;
}

/* NAV ACTION */

.nav-actions{
    display:flex;
    gap:10px;
}

.nav-actions button{
    background:#10381e;
    border:none;
    color:#78ff7c;
    width:45px;
    height:45px;
    border-radius:12px;
    cursor:pointer;
    font-weight:600;
}

/* WHATSAPP */

.whatsapp-float{
    position:fixed;
    bottom:25px;
    right:25px;
    width:65px;
    height:65px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
    text-decoration:none;
    z-index:999;
    box-shadow:0 10px 30px rgba(0,0,0,0.3);
    transition:0.3s;
}

.whatsapp-float:hover{
    transform:scale(1.1);
}

/* ANIMATION */

.service-card,
.project-card,
.about-card,
.contact-box{
    backdrop-filter:blur(10px);
}

/* RESPONSIVE */

@media(max-width:992px){

    .hero-grid,
    .service-grid,
    .project-grid{
        grid-template-columns:1fr;
    }

    .hero{
        text-align:center;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero h1{
        font-size:45px;
    }

}

@media(max-width:768px){

    nav{
        display:none;
    }

    .hero h1{
        font-size:38px;
    }

    .section-title{
        font-size:32px;
    }

    section{
        padding:80px 0;
    }

}

@media(max-width:480px){

    .hero h1{
        font-size:30px;
    }

    .btn-primary,
    .btn-secondary{
        width:100%;
        text-align:center;
    }

    .contact-box{
        padding:30px;
    }

}
