/* =========================================================
   PROFILE WEB - DESIGN SESUAI REFERENSI
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #222;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}


/* =========================================================
   HEADER
========================================================= */

.navbar {
    position: relative;
    z-index: 100;

    width: 100%;
    height: 102px;

    background: #ffffff;

    margin: 0;
    padding: 0;

    box-shadow: none;
}


.nav-inner {
    width: 100%;
    max-width: none;

    height: 102px;

    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: flex-start;

    gap: 0;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    width: 100%;

    height: 55px;

    margin: 0;
    padding: 0;

    color: #a32929;

    text-align: center;
}


.brand-logo {
    display: none !important;
}


.brand img {
    display: none !important;
}


.brand > span:last-child {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    margin: 0;
    padding: 0;

    color: #a32929;

    font-size: 16px;

    line-height: 18px;

    font-weight: 800;

    white-space: nowrap;
}


.brand small {
    display: block;

    margin-top: 0;

    padding: 0;

    color: #9a2929;

    font-size: 9px;

    line-height: 11px;

    letter-spacing: 0;

    font-weight: 600;
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav-links {
    width: 100%;

    height: 47px;

    display: flex;

    flex-direction: row;

    align-items: center;

    justify-content: center;

    gap: 35px;

    margin: 0;
    padding: 0;
}


.nav-links a {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 78px;
    height: 21px;

    margin: 0;
    padding: 0;

    border: none;

    border-radius: 4px;

    background: #dfbbc7;

    color: #8e2929;

    font-size: 11px;

    line-height: 21px;

    font-weight: 700;

    white-space: nowrap;

    transition:
        transform .2s ease,
        background .2s ease;
}


.nav-links a:hover {
    background: #d5aebb;

    color: #7e2020;

    transform:
        translateY(-1px);
}


/* =========================================================
   MOBILE BUTTON
========================================================= */

.mobile-toggle {
    display: none;
}


/* =========================================================
   HERO
========================================================= */

.home-page {
    width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;
}


.home-hero-modern {
    position: relative;

    width: 100%;

    height: calc(100vh - 102px);

    min-height: 560px;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background:
        #963333;

    color: #ffffff;
}


/* =========================================================
   HERO INNER
========================================================= */

.home-inner {
    position: relative;

    z-index: 10;

    width: 100%;

    max-width: 950px;

    height: 100%;

    margin: 0 auto;

    padding: 12px 0 0;

    display: grid;

    grid-template-columns: 365px 1fr;

    align-items: start;

    gap: 48px;
}


/* =========================================================
   FOTO
========================================================= */

.home-photo-wrap {
    position: relative;

    z-index: 10;

    width: 100%;

    height: 100%;

    display: flex;

    align-items: flex-start;

    justify-content: center;

    margin: 0;

    padding: 0;

    animation:
        photoEnter
        .9s
        cubic-bezier(.22,.61,.36,1)
        both;
}


.home-photo-frame {
    position: relative;

    width: 312px;

    height: 470px;

    margin: 0;

    padding: 7px;

    border:
        3px solid
        #a43cff;

    background: transparent;

    overflow: hidden;
}


/* bingkai putih */

.home-photo-frame::before {
    content: "";

    position: absolute;

    z-index: 3;

    top: 7px;
    right: 7px;
    bottom: 7px;
    left: 7px;

    border:
        3px solid
        #ffffff;

    border-radius: 14px;

    pointer-events: none;
}


/* foto */

.home-photo {
    position: relative;

    z-index: 1;

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position:
        center top;
}


.home-photo-placeholder {
    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(255,255,255,.08);

    color: #ffffff;

    font-weight: 700;
}


/* =========================================================
   TEXT
========================================================= */

.home-copy {
    position: relative;

    z-index: 15;

    width: 100%;

    max-width: 570px;

    margin-top: 68px;

    padding: 0;

    text-align: center;

    animation:
        textEnter
        1s
        .15s
        cubic-bezier(.22,.61,.36,1)
        both;
}


/* badge */

.home-badge {
    display: none;
}


/* quote */

.home-copy h1 {
    margin: 0 auto 28px;

    padding: 0;

    max-width: 560px;

    color: #ffffff;

    font-size: 31px;

    line-height: 1.22;

    font-weight: 900;

    letter-spacing: -0.5px;
}


/* jabatan */

.home-copy h2 {
    margin: 0 auto 29px;

    padding: 0;

    color: #ffffff;

    font-size: 17px;

    line-height: 1.3;

    font-weight: 800;
}


/* deskripsi */

.home-description {
    display: none;
}


/* =========================================================
   BUTTON
========================================================= */

.home-actions-modern {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 52px;

    margin: 0;
    padding: 0;
}


.home-action {
    width: 148px;

    height: 37px;

    min-height: 37px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin: 0;
    padding: 0;

    border-radius: 8px;

    font-size: 10px;

    line-height: 1;

    font-weight: 800;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.home-action:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 8px 18px
        rgba(0,0,0,.15);
}


.home-action.primary {
    background: #ffffff;

    color: #9a2e2e;
}


.home-action.secondary {
    background: #d9b5bf;

    color: #ffffff;

    border: none;
}


.action-icon {
    font-size: 15px;

    line-height: 1;
}


/* =========================================================
   DAUN
========================================================= */

.home-leaf {
    position: absolute;

    z-index: 5;

    right: -10px;

    bottom: -72px;

    width: 230px;

    height: 390px;

    color:
        rgba(255, 224, 224, .48);

    opacity: 0;

    pointer-events: none;

    animation:
        leafEnter
        1.4s
        .35s
        cubic-bezier(.16,1,.3,1)
        forwards;
}


.home-leaf svg {
    width: 100%;

    height: 100%;

    display: block;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes photoEnter {

    0% {
        opacity: 0;

        transform:
            translateX(-70px);
    }

    100% {
        opacity: 1;

        transform:
            translateX(0);
    }

}


@keyframes textEnter {

    0% {
        opacity: 0;

        transform:
            translateX(55px);
    }

    100% {
        opacity: 1;

        transform:
            translateX(0);
    }

}


@keyframes leafEnter {

    0% {
        opacity: 0;

        transform:
            translate(100px, 100px)
            scale(.55)
            rotate(8deg);
    }

    100% {
        opacity: 1;

        transform:
            translate(0, 0)
            scale(1)
            rotate(0);
    }

}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #222222;

    color: #ffffff;

    padding: 35px 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .home-inner {
        max-width: 760px;

        grid-template-columns:
            300px 1fr;

        gap: 30px;
    }


    .home-photo-frame {
        width: 270px;

        height: 440px;
    }


    .home-copy {
        margin-top: 70px;
    }


    .home-copy h1 {
        font-size: 27px;
    }


    .home-copy h2 {
        font-size: 15px;
    }


    .nav-links {
        gap: 22px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .navbar {
        height: 88px;
    }


    .nav-inner {
        height: 88px;
    }


    .brand {
        height: 47px;
    }


    .brand > span:last-child {
        font-size: 15px;
    }


    .nav-links {
        height: 41px;

        gap: 10px;

        overflow-x: auto;

        justify-content: center;
    }


    .nav-links a {
        width: 67px;

        height: 20px;

        font-size: 9px;

        flex-shrink: 0;
    }


    .home-hero-modern {
        height: auto;

        min-height:
            calc(100vh - 88px);
    }


    .home-inner {
        width: 92%;

        max-width: none;

        height: auto;

        min-height: 0;

        grid-template-columns: 1fr;

        gap: 25px;

        padding:
            12px 0 70px;
    }


    .home-photo-wrap {
        height: auto;
    }


    .home-photo-frame {
        width: 250px;

        height: 355px;
    }


    .home-copy {
        max-width: 600px;

        margin:
            0 auto;

        padding: 0 10px;
    }


    .home-copy h1 {
        font-size: 27px;

        margin-bottom: 20px;
    }


    .home-copy h2 {
        font-size: 15px;

        margin-bottom: 22px;
    }


    .home-actions-modern {
        gap: 15px;
    }


    .home-action {
        width: 140px;
    }


    .home-leaf {
        width: 170px;

        height: 290px;

        right: -65px;

        bottom: -50px;
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 480px) {

    .brand > span:last-child {
        font-size: 14px;
    }


    .brand small {
        font-size: 8px;
    }


    .nav-links {
        gap: 8px;
    }


    .nav-links a {
        width: 62px;

        font-size: 8px;
    }


    .home-photo-frame {
        width: 225px;

        height: 330px;
    }


    .home-copy h1 {
        font-size: 24px;
    }


    .home-copy h2 {
        font-size: 14px;
    }


    .home-actions-modern {
        flex-direction: column;

        gap: 10px;
    }


    .home-action {
        width: 150px;
    }

}