/* ==========================================
            PREMIUM NAVBAR
========================================== */

.header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    background: rgba(10, 35, 66, .97);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, .08);

    z-index: 9999;

    transition: .35s ease;

}

.header.scrolled {

    background: rgba(10, 35, 66, .98);

    box-shadow: 0 18px 45px rgba(0, 0, 0, .35);

}

/* ==========================================
                NAVBAR
========================================== */

.navbar {

    height: 95px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

/* ==========================================
                LOGO
========================================== */

.logo {

    display: flex;

    align-items: center;

    gap: 18px;

    text-decoration: none;

}

.logo img {

    width: 72px;

    height: 72px;

    object-fit: contain;

    border-radius: 50%;

    background: #ffffff;

    padding: 8px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);

    transition: .35s ease;

}

.logo:hover img {

    transform: rotate(-6deg) scale(1.05);

}

.logo-text {

    display: flex;

    flex-direction: column;

}

.logo-text h2 {

    font-family: "Poppins", sans-serif;

    font-size: 2rem;

    line-height: 1.1;

    font-weight: 800;

    color: #ffffff;

    letter-spacing: .2px;

}

/* kata Kencana */

.logo-text h2 span {

    color: #D4AF37;

}

.logo-text small {

    font-size: .88rem;

    color: rgba(255, 255, 255, .72);

    margin-top: 6px;

    letter-spacing: .4px;

}

/* ==========================================
                MENU
========================================== */

.nav-menu {

    display: flex;

    align-items: center;

    gap: 42px;

}

.nav-menu li {

    list-style: none;

}

.nav-menu a {

    position: relative;

    display: flex;

    align-items: center;

    gap: 14px;

    color: #ffffff;

    text-decoration: none;

    font-weight: 600;

    font-size: 1rem;

    transition: .3s ease;

    padding: 6px 0;

}

.nav-menu a i {

    width: 22px;

    text-align: center;

    color: #e8a260;

    font-size: 18px;

}

.nav-menu a:hover {

    color: #D4AF37;

}

.nav-menu a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -9px;

    width: 0;

    height: 2px;

    border-radius: 50px;

    background: #D4AF37;

    transition: .35s ease;

}

.nav-menu a:hover::after {

    width: 100%;

}

/* ==========================================
            WHATSAPP BUTTON
========================================== */

.nav-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    background: #25D366;

    color: #ffffff !important;

    padding: 15px 30px;

    border-radius: 60px;

    font-weight: 700;

    text-decoration: none;

    transition: .35s ease;

    box-shadow: 0 12px 30px rgba(37, 211, 102, .35);

}

.nav-btn i {

    font-size: 20px;

}

.nav-btn:hover {

    background: #1EBE5D;

    transform: translateY(-3px);

    box-shadow: 0 18px 35px rgba(37, 211, 102, .45);

}

.hero-wa-btn {

    background: #25D366;

    color: #fff !important;

    border: none;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    transition: .35s ease;

    box-shadow: 0 12px 30px rgba(37, 211, 102, .35);

}

.hero-wa-btn:hover {

    background: #1EBE5D;

    transform: translateY(-3px);

    box-shadow: 0 18px 35px rgba(37, 211, 102, .45);

}

.hero-wa-btn i {

    font-size: 20px;

}

/* ==========================================
            HAMBURGER
========================================== */

.menu-toggle {

    display: none;

    color: #ffffff;

    font-size: 30px;

    cursor: pointer;

}

/* ==========================================
            RESPONSIVE
========================================== */

@media(max-width:991px) {

    .navbar {
        height: 82px;
    }

    .logo {
        gap: 12px;
    }

    .logo img {
        width: 60px;
        height: 60px;
        padding: 7px;
    }

    .logo-text h2 {
        font-size: 1.35rem;
    }

    .logo-text small {
        font-size: .72rem;
    }

    .nav-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
        font-size: 32px;
        color: #fff;
        cursor: pointer;
        z-index: 10001;
    }

    .nav-menu {

        position: fixed;

        top: 82px;

        left: -100%;

        width: 100%;

        height: calc(100vh - 82px);

        background: #0A2342;

        display: flex;

        flex-direction: column;

        justify-content: flex-start;

        align-items: center;

        gap: 35px;

        padding-top: 50px;

        transition: .4s ease;

    }

    .nav-menu.active {

        left: 0;

    }

    .nav-menu li {

        list-style: none;

    }

    .nav-menu a {

        font-size: 1.2rem;

    }

}

/* ==========================================
        PREMIUM MOBILE MENU
========================================== */

.nav-overlay {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .45);

    opacity: 0;

    visibility: hidden;

    transition: .35s;

    z-index: 9998;

}

.nav-overlay.active {

    opacity: 1;

    visibility: visible;

}

@media(max-width:991px) {

    .nav-menu {

        position: fixed;

        top: 0;

        right: -100%;

        width: 300px;

        height: 100vh;

        background: #0A2342;

        display: flex;

        flex-direction: column;

        justify-content: flex-start;

        align-items: flex-start;

        gap: 30px;

        padding: 120px 35px;

        transition: .4s ease;

        z-index: 9999;

        box-shadow: -20px 0 45px rgba(0, 0, 0, .25);

    }

    .nav-menu.active {

        right: 0;

    }

    .nav-menu li {

        width: 100%;

    }

    .nav-menu a {

        display: block;

        width: 100%;

        font-size: 1.15rem;

        padding: 10px 0;

    }

    .menu-toggle {

        display: block;

        cursor: pointer;

        font-size: 32px;

        color: #fff;

        z-index: 10000;

    }

}
