/* ==========================================================
   RESET
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#0f0f0f;

    color:#ffffff;

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

/* ==========================================================
   VARIABLES
========================================================== */

:root{

    --gold:#FFD700;

    --orange:#FF8C00;

    --orange2:#ff6b00;

    --dark:#111111;

    --dark2:#1a1a1a;

    --white:#ffffff;

    --gray:#d8d8d8;

    --glass:rgba(255,255,255,.06);

    --border:rgba(255,255,255,.08);

    --shadow:0 10px 35px rgba(0,0,0,.45);

    --radius:50px;

    --transition:.35s ease;

}

/* ==========================================================
   CONTAINER
========================================================== */

.container{

    width:100%;

    max-width:1280px;

    margin:auto;

    padding:0 25px;

}

/* ==========================================================
   HEADER
========================================================== */

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:9999;

    background:rgba(15,15,15,.90);

    backdrop-filter:blur(16px);

    border-bottom:1px solid var(--border);

    transition:.35s;

}

.header.scrolled{

    padding:0;

    background:rgba(10,10,10,.97);

    box-shadow:var(--shadow);

}

.header .container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    height:85px;

    transition:.35s;

}

.header.scrolled .container{

    height:70px;

}

/* ==========================================================
   LOGO
========================================================== */

.logo{

    flex:1;

    display:flex;

    align-items:center;

}

.logo img{

    width:200px;

    transition:.35s;

}

.header.scrolled .logo img{

    width:175px;

}

/* ==========================================================
   NAVBAR
========================================================== */

.navbar{

    flex:2;

    display:flex;

    justify-content:center;

}

.navbar ul{

    display:flex;

    align-items:center;

    gap:38px;

}

.navbar ul li{

    position:relative;

}

.navbar ul li a{

    position:relative;

    color:var(--white);

    font-size:15px;

    font-weight:600;

    letter-spacing:.3px;

    transition:var(--transition);

}

/* Hover */

.navbar ul li a:hover{

    color:var(--gold);

}

/* Underline */

.navbar ul li a::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:-8px;

    width:0;

    height:3px;

    border-radius:100px;

    background:linear-gradient(90deg,var(--gold),var(--orange));

    transform:translateX(-50%);

    transition:.35s;

}

.navbar ul li a:hover::after,

.navbar ul li a.active::after{

    width:100%;

}

.navbar ul li a.active{

    color:var(--gold);

}

/* ==========================================================
   HEADER BUTTON
========================================================== */

.header-action{

    flex:1;

    display:flex;

    justify-content:flex-end;

    align-items:center;

    gap:15px;

}

/* ==========================================================
   BUTTON
========================================================== */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    height:48px;

    padding:0 26px;

    border-radius:50px;

    font-size:14px;

    font-weight:700;

    transition:.35s;

    cursor:pointer;

}

/* ==========================================================
   PRIMARY BUTTON
========================================================== */

.btn-primary{

    color:#111;

    background:linear-gradient(
        135deg,
        #FFD700 0%,
        #FFC400 30%,
        #FFA500 65%,
        #ff7b00 100%
    );

    box-shadow:
        0 8px 20px rgba(255,166,0,.35),
        inset 0 1px 1px rgba(255,255,255,.5);

}

.btn-primary:hover{

    transform:translateY(-3px);

    box-shadow:
        0 15px 35px rgba(255,166,0,.55);

}

/* ==========================================================
   OUTLINE BUTTON
========================================================== */

.btn-outline{

    color:var(--gold);

    border:2px solid var(--gold);

    background:transparent;

}

.btn-outline:hover{

    color:#111;

    background:var(--gold);

}

/* ==========================================================
   HAMBURGER
========================================================== */

.hamburger{

    display:none;

    width:46px;

    height:46px;

    border:none;

    background:none;

    cursor:pointer;

    position:relative;

}

.hamburger span{

    position:absolute;

    left:8px;

    width:30px;

    height:3px;

    border-radius:20px;

    background:linear-gradient(
        90deg,
        var(--gold),
        var(--orange)
    );

    transition:.35s;

}

.hamburger span:nth-child(1){

    top:13px;

}

.hamburger span:nth-child(2){

    top:21px;

}

.hamburger span:nth-child(3){

    top:29px;

}

/* ketika aktif menjadi X */

.hamburger.active span:nth-child(1){

    transform:rotate(45deg);

    top:21px;

}

.hamburger.active span:nth-child(2){

    opacity:0;

}

.hamburger.active span:nth-child(3){

    transform:rotate(-45deg);

    top:21px;

}

/* ==========================================================
   MOBILE OVERLAY
========================================================== */

.mobile-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.65);

    backdrop-filter:blur(3px);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:9997;

}

.mobile-overlay.active{

    opacity:1;

    visibility:visible;

}

/* ==========================================================
   MOBILE MENU
========================================================== */

.mobile-menu{

    position:fixed;

    top:0;

    right:-380px;

    width:340px;

    max-width:90%;

    height:100vh;

    background:linear-gradient(
        180deg,
        #1f1f1f 0%,
        #141414 100%
    );

    border-left:1px solid rgba(255,255,255,.08);

    box-shadow:-15px 0 40px rgba(0,0,0,.45);

    transition:.40s ease;

    z-index:9998;

    display:flex;

    flex-direction:column;

}

.mobile-menu.active{

    right:0;

}

/* ==========================================================
   MOBILE HEADER
========================================================== */

.mobile-header{

    height:85px;

    padding:20px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.mobile-header img{

    width:170px;

}

/* ==========================================================
   CLOSE BUTTON
========================================================== */

.close-menu{

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    color:#fff;

    font-size:22px;

    cursor:pointer;

    transition:.3s;

}

.close-menu:hover{

    background:linear-gradient(
        135deg,
        var(--gold),
        var(--orange)
    );

    color:#111;

    transform:rotate(90deg);

}

/* ==========================================================
   MOBILE NAVIGATION
========================================================== */

.mobile-menu ul{

    padding:20px;

    flex:1;

}

.mobile-menu ul li{

    margin-bottom:10px;

}

.mobile-menu ul li a{

    display:flex;

    align-items:center;

    padding:15px 18px;

    border-radius:14px;

    color:#fff;

    font-weight:600;

    transition:.3s;

    background:transparent;

}

.mobile-menu ul li a:hover{

    color:#111;

    background:linear-gradient(
        135deg,
        var(--gold),
        var(--orange)
    );

    transform:translateX(8px);

}

/* ==========================================================
   MOBILE CTA
========================================================== */

.mobile-buttons{

    padding:20px;

    border-top:1px solid rgba(255,255,255,.08);

    display:flex;

    flex-direction:column;

    gap:15px;

}

.mobile-buttons .btn{

    width:100%;

}

/* ==========================================================
   HERO
========================================================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:140px 20px 100px;

    background:
    radial-gradient(circle at top,#2d1f00 0%,#141414 45%,#0d0d0d 100%);

}

.hero-content{

    max-width:760px;

}

.hero h1{

    font-size:58px;

    line-height:1.2;

    margin-bottom:20px;

    font-weight:800;

    background:linear-gradient(
        135deg,
        #FFD700,
        #FFA500,
        #ff6b00
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}

.hero p{

    color:#d8d8d8;

    font-size:18px;

    line-height:1.8;

    margin-bottom:40px;

}

/* ==========================================================
   CONTENT
========================================================== */

.content{

    padding:100px 0;

}

.content h2{

    text-align:center;

    font-size:42px;

    margin-bottom:25px;

}

.content p{

    text-align:center;

    max-width:800px;

    margin:auto;

    color:#bbb;

    line-height:1.9;

}

/* ==========================================================
   GLOW EFFECT
========================================================== */

.btn-primary{

    position:relative;

    overflow:hidden;

}

.btn-primary::before{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:70%;

    height:100%;

    background:rgba(255,255,255,.35);

    transform:skewX(-25deg);

    transition:.8s;

}

.btn-primary:hover::before{

    left:150%;

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:991px){

    .navbar{

        display:none;

    }

    .header-action{

        display:none;

    }

    .hamburger{

        display:block;

    }

    .logo img{

        width:170px;

    }

}

@media (max-width:768px){

    .hero h1{

        font-size:42px;

    }

    .hero p{

        font-size:16px;

    }

}

@media (max-width:576px){

    .container{

        padding:0 18px;

    }

    .header .container{

        height:74px;

    }

    .logo img{

        width:150px;

    }

    .mobile-menu{

        width:300px;

    }

    .hero{

        padding-top:120px;

    }

    .hero h1{

        font-size:34px;

    }

    .hero p{

        font-size:15px;

    }

}

/* ==========================================================
   PREMIUM ANIMATIONS
========================================================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero-content{

    animation:fadeUp .8s ease;

}

/* ==========================================================
   MENU HOVER GLOW
========================================================== */

.navbar ul li a:hover{

    text-shadow:
        0 0 10px rgba(255,215,0,.5),
        0 0 20px rgba(255,140,0,.3);

}

/* ==========================================================
   BUTTON RIPPLE
========================================================== */

.btn{

    position:relative;

    overflow:hidden;

}

.btn::after{

    content:"";

    position:absolute;

    width:0;

    height:0;

    left:50%;

    top:50%;

    border-radius:100%;

    background:rgba(255,255,255,.25);

    transform:translate(-50%,-50%);

    transition:.55s;

}

.btn:active::after{

    width:320px;

    height:320px;

}

/* ==========================================================
   CUSTOM SCROLLBAR
========================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:linear-gradient(
        180deg,
        #FFD700,
        #FF8C00
    );

    border-radius:30px;

}

::-webkit-scrollbar-thumb:hover{

    background:#FFD700;

}

/* ==========================================================
   TEXT SELECTION
========================================================== */

::selection{

    background:#FFD700;

    color:#111;

}

/* ==========================================================
   SMOOTH IMAGE HOVER
========================================================== */

img{

    transition:.35s;

}

img:hover{

    transform:scale(1.02);

}

/* ==========================================================
   CTA SHADOW
========================================================== */

.btn-primary{

    animation:glow 3s infinite;

}

@keyframes glow{

    0%{

        box-shadow:
        0 0 10px rgba(255,193,7,.25);

    }

    50%{

        box-shadow:
        0 0 25px rgba(255,166,0,.55);

    }

    100%{

        box-shadow:
        0 0 10px rgba(255,193,7,.25);

    }

}

/* ==========================================================
   MOBILE MENU ITEM ANIMATION
========================================================== */

.mobile-menu ul li{

    opacity:0;

    transform:translateX(25px);

}

.mobile-menu.active ul li{

    opacity:1;

    transform:translateX(0);

}

.mobile-menu.active ul li:nth-child(1){

    transition:.25s;

}

.mobile-menu.active ul li:nth-child(2){

    transition:.35s;

}

.mobile-menu.active ul li:nth-child(3){

    transition:.45s;

}

.mobile-menu.active ul li:nth-child(4){

    transition:.55s;

}

.mobile-menu.active ul li:nth-child(5){

    transition:.65s;

}

.mobile-menu.active ul li:nth-child(6){

    transition:.75s;

}

.mobile-menu.active ul li:nth-child(7){

    transition:.85s;

}

/* ==========================================================
   DESKTOP DROPDOWN SUPPORT
========================================================== */

.navbar ul li{

    position:relative;

}

.navbar ul li ul{

    position:absolute;

    top:55px;

    left:0;

    min-width:220px;

    background:#1b1b1b;

    border-radius:12px;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:0 15px 35px rgba(0,0,0,.45);

    visibility:hidden;

    opacity:0;

    transform:translateY(20px);

    transition:.35s;

    display:flex;

    flex-direction:column;

    gap:0;

    padding:10px;

}

.navbar ul li:hover ul{

    visibility:visible;

    opacity:1;

    transform:translateY(0);

}

.navbar ul li ul li a{

    padding:12px 15px;

    display:block;

    border-radius:8px;

}

.navbar ul li ul li a:hover{

    background:linear-gradient(
        90deg,
        #FFD700,
        #FF8C00
    );

    color:#111;

}

