/* =========================
   HOME
========================= */

#home {
    min-height: calc(100vh - 95px);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 55px 7% 70px;

    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #fffaf4 0%,
            #f4e9df 55%,
            #eadbd0 100%
        );
}


/* =========================
   DECORATION BACKGROUND
========================= */

#home::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    background-color: #243b63;

    border-radius: 0 0 100% 0;

    top: -180px;
    left: -100px;

    transform: rotate(15deg);

    opacity: 0.95;
}

#home::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 180px;

    background-color: #dfcdc0;

    border-radius: 50%;

    bottom: -100px;
    left: -80px;

    transform: rotate(-8deg);
}


/* =========================
   HOME TEXT
========================= */

.home-text {
    width: 53%;

    position: relative;
    z-index: 3;
}

.hello {
    color: #b8647e;

    font-size: 18px;
    font-weight: bold;

    letter-spacing: 4px;

    margin-bottom: 12px;
}

.home-text h1 {
    font-family: Georgia, serif;

    font-size: 76px;
    line-height: 1.05;

    color: #243b63;

    margin-bottom: 18px;
}

.home-text h3 {
    font-size: 25px;

    font-weight: normal;

    color: #514957;

    margin-bottom: 20px;
}

.description {
    max-width: 600px;

    font-size: 17px;

    line-height: 1.8;

    color: #5f5860;

    margin-bottom: 30px;
}


/* =========================
   SMALL DECORATIVE LINE
========================= */

.home-text::after {
    content: "";

    display: block;

    width: 350px;
    height: 5px;

    background-color: #b8647e;

    border-radius: 10px;

    position: absolute;

    top: 245px;
    left: 0;
}


/* =========================
   BUTTONS
========================= */

.home-buttons {
    display: flex;

    gap: 18px;

    flex-wrap: wrap;
}

.home-buttons a {
    text-decoration: none;

    padding: 14px 28px;

    border-radius: 35px;

    font-size: 16px;

    transition: 0.3s;
}

.btn-primary {
    background-color: #243b63;

    color: white;

    box-shadow:
        0 10px 25px
        rgba(36, 59, 99, 0.20);
}

.btn-primary:hover {
    background-color: #182d4f;

    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;

    color: #b8647e;

    border: 1.5px solid #b8647e;
}

.btn-secondary:hover {
    background-color: #f3dfe4;

    transform: translateY(-3px);
}


/* =========================
   PHOTO AREA
========================= */

.home-photo {
    width: 43%;

    min-height: 560px;

    display: flex;

    justify-content: center;
    align-items: center;

    position: relative;

    z-index: 2;
}


/* =========================
   NAVY BACKGROUND SHAPE
========================= */

.home-photo::before {
    content: "";

    width: 360px;
    height: 570px;

    background-color: #243b63;

    border-radius: 50% 50% 45% 45%;

    position: absolute;

    right: -30px;
    top: 0;

    transform: rotate(8deg);

    z-index: 0;
}


/* =========================
   BEIGE SHAPE
========================= */

.photo-decoration {
    width: 370px;
    height: 500px;

    background-color: #dfcdc0;

    border-radius: 50%;

    position: absolute;

    right: 15px;
    top: 25px;

    transform: rotate(-8deg);

    z-index: 1;
}


/* =========================
   PHOTO
========================= */

.home-photo img {
    width: 350px;
    height: 500px;

    object-fit: cover;
    object-position: center;

    border-radius:
        180px 180px 120px 120px;

    border: 8px solid #fffaf4;

    box-shadow:
        0 18px 45px
        rgba(36, 59, 99, 0.25);

    position: relative;

    z-index: 2;
}


/* =========================
   HEART
========================= */

.heart {
    position: absolute;

    right: 15px;
    top: 45px;

    font-size: 58px;

    color: #b8647e;

    z-index: 4;

    transform: rotate(-10deg);
}


/* =========================
   SPARKLE
========================= */

.sparkle {
    position: absolute;

    left: 15px;
    top: 280px;

    font-size: 45px;

    color: #243b63;

    z-index: 4;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    nav {
        padding: 0 5%;
    }

    nav ul {
        gap: 15px;
    }

    #home {
        flex-direction: column;

        text-align: center;

        padding: 60px 5%;
    }

    .home-text {
        width: 100%;
    }

    .home-text h1 {
        font-size: 55px;
    }

    .home-text::after {
        display: none;
    }

    .home-buttons {
        justify-content: center;
    }

    .home-photo {
        width: 100%;

        min-height: 520px;

        margin-top: 30px;
    }
}
/* =========================
   HOME - MOBILE
========================= */

@media (max-width: 600px) {

    #home {
        min-height: auto;
        padding: 35px 7% 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        overflow: hidden;
    }

    /* FOTO */
    .home-photo {
        order: 1;
        position: relative;
        width: 260px;
        height: 260px;
        margin: 15px auto 55px;
        flex-shrink: 0;
    }

    /* TEKS */
    .home-text {
        order: 2;
        width: 100%;
        max-width: 500px;
        position: relative;
        z-index: 2;
    }

    .hello {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .home-text h1 {
        font-size: 54px;
        line-height: 0.95;
        letter-spacing: -2px;
    }

    .home-text h3 {
        margin-top: 24px;
        font-size: 22px;
        line-height: 1.25;
    }

    .description {
        max-width: 350px;
        margin: 24px auto 0;
        font-size: 14px;
        line-height: 1.7;
    }

    /* BUTTON */
    .home-buttons {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .btn-primary,
    .btn-secondary {
        width: 290px;
        padding: 15px 20px;
        text-align: center;
    }

    /* DEKORASI */
    .leaf-left,
    .leaf-right {
        display: none;
    }

}