.bride {
    padding: 7rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    background-image: url('../assets/images/sample/bg-hadist.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-radius: 20px; /* Sudut melengkung */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); /* Efek bayangan */
}

.bride h2,
.bride h3,
.bride p {
    color: var(--text-color);
}

.bride h2 {
    font-size: 1.5rem;
    font-family: 'Noto Naskh Arabic', serif;
    margin-top: -5rem;
}

.bride h3 {
    font-size: 1rem;
    margin-top: 0rem;
}

.bride p {
    margin-top: 1rem;
    max-width: 40rem;
    margin-inline: auto;
}

/* MENONAKTIFKAN STYLE LAMA */
/*
.bride_couple { ... }
*/

/* === STYLE BARU UNTTUK FRAME MEMPELAI === */
.bride-new-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10rem;
}

.frame-container {
    position: relative;
    max-width: 700px;
    max-height: 450px;
    width: 100vw;
    height: 82vw;
}

.image-wrapper {
    position: absolute;
    width: 60%;
    height: 80%;
    overflow: hidden;
    border: 10px solid var(--main-bg-color);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shape-top {
    border-top-right-radius: 140px;
    border-bottom-left-radius: 140px;
}

.shape-bottom {
    border-top-left-radius: 140px;
    border-bottom-right-radius: 140px;
}

.cewek {
    top: -20%;
    left: 2%;
    z-index: 1;
}

.cowok {
    bottom: -20%;
    right: 2%;
    z-index: 2;
}

.bride-details {
    position: absolute;
    width: 40%;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    font-size: 0.9rem;
}

.bride-details h4 {
    font-family: 'Sacramento', cursive;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    font-weight: 800;
    font-size: 1.1rem;
}

.bride-details p {
    margin-top: 0.25rem;
    line-height: 1.4;
    
}

.bride-details hr {
    width: 100%;
    border: none;
    height: 1px;
    background-color: #428544;
    margin: 0.5rem 0;
}

.bride-details-cewek hr {
    margin-left: auto;
    margin-right: 0;
}

.bride-details-cowok hr {
    margin-right: auto;
    margin-left: 0;
}

/* === PERUBAHAN UTAMA ADA DI SINI === */
.bride-details-cewek {
    top: -15%;
    right: 0;
    align-items: center; /* DIUBAH: Sesuai permintaan */
    text-align: center;  /* DIUBAH: Sesuai permintaan */
    
}

.bride-details-cowok {
    bottom: -20%;
    left: 0;
    align-items: center; /* DIUBAH: Sesuai permintaan */
    text-align: center;  /* DIUBAH: Sesuai permintaan */
}
/* === AKHIR PERUBAHAN === */
