/* src/css/home.css */
.home {
    width: 100%; /* */
    height: 100vh; /* */
    text-align: center; /* */
    background-color: var(--main-bg-color); /* */
    display: flex; /* */
    align-items: center; /* */
    justify-content: center; /* */
    flex-direction: column; /* */
    position: relative; /* */
    transition: all 2s ease; /* */
    transform: translateY(-100%); /* */
    color: var(--main-text-color); /* */
}

.home.active {
    transform: translateY(0); /* */
}

.home h2 {
    font-size: 2.4rem; /* */
    font-family: var(--sacramento); /* */
    font-weight: 400; /* */
    color: var(--main-text-color); /* */
}

.home figure {
    margin: 2rem auto 0; /* */
}

.home figure img {
    width: 10rem; /* */
    height: 10rem; /* */
    border-radius: 50%; /* */
    object-fit: cover; /* */
    box-shadow: var(--shadow-md); /* */
}

.home figure figcaption {
    margin: 0 0 0.5rem; /* */
    font-weight: 400; /* */
    font-family: var(--sacramento); /* */
    /* Mengubah display figcaption menjadi flex dan mengatur flex-direction row */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* Memberikan sedikit jarak antar nama dan simbol '&' */
}

.home figure figcaption .brideLName,
.home figure figcaption .bridePName {
    font-size: 3rem; /* */
    font-family: 'namapengantin';;
    /* Hapus transform translateX */
    transform: none;
}

.home figure figcaption .ampersand {
    font-size: 2rem; /* */
    font-weight: bold; /* */
    margin: 0; /* Hapus margin agar rapi dengan flex gap */
    text-align: center; /* */
}

.home h3 {
    font-weight: 500; /* */
    color: var(--main-text-color); /* */
}

.home .home-time {
    margin-top: 1rem; /* */
    display: flex; /* */
    align-items: center; /* */
    justify-content: center; /* */
    gap: 1rem; /* */
}

.home .home-time div {
    width: 3rem; /* */
    height: 3rem; /* */
    display: flex; /* */
    align-items: center; /* */
    justify-content: center; /* */
    border: 1px solid var(--border-color); /* */
    border-radius: 8px; /* */
    background-color: var(--card-bg-color); /* */
    box-shadow: 0 0 8px var(--shadow-color); /* */
}

.home .home-time div p {
    font-size: 0.8rem; /* */
    line-height: normal; /* */
    color: var(--main-text-color); /* */
}

.home .home-time div p span {
    font-size: 0.6rem; /* */
    margin-top: 0.2rem; /* */
    color: var(--main-text-color); /* */
    opacity: 0.8; /* */
}

.home a {
    padding: 0.5rem 1rem; /* */
    color: var(--button-primary-text); /* */
    font-size: 1rem; /* */
    background-color: var(--button-primary-bg); /* */
    margin: 1rem auto; /* */
    border-radius: 20px; /* */
    width: fit-content; /* */
    display: flex; /* */
    align-items: center; /* */
    justify-content: center; /* */
    gap: 0.5rem; /* */
}

.home a i {
    font-size: 1.2rem; /* */
}

.home .scroll_down {
    display: flex; /* */
    align-items: center; /* */
    justify-content: center; /* */
    flex-direction: column; /* */
    gap: 1rem; /* */
    color: var(--main-text-color); /* */
}

.home svg {
    position: absolute; /* */
    left: 0; /* */
    right: 0; /* */
    bottom: -14rem; /* */
    z-index: -10; /* */
}

/* Path SVG agar menyesuaikan tema */
.home svg path {
    fill: var(--main-bg-color); /* */
}