/* Berkas: src/css/bride.css (VERSI BARU) */

/* .bride sekarang menjadi elemen pertama yang terlihat */
.bride {
    position: relative;
    z-index: 2;
    background-image: url('../assets/images/background.webp');
    background-size: cover;
    background-position: center;
    color: var(--main-text-color);
    text-align: center;
    /* Padding atas dibuat lebih besar agar konten tidak terlalu mepet dengan lengkungan atas */
    padding: 8rem 1.5rem 4rem; 
    margin: 0; /* Margin atas dihapus */
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    
    /* Properti animasi dan opacity dihapus karena tidak lagi disembunyikan */
    overflow: hidden;
}

/* Mengatur Teks di atas kartu tiket */
.bride h2 {
    font-size: 1.6rem;
    font-family: var(--arabic);
    font-weight: 400;
}

.bride > p {
    margin-top: 1rem;
    padding: 0 1rem;
}

/* Mengatur UL yang menampung kartu-kartu */
.bride .bride_couple {
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.bride .bride_couple ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.bride .bride_couple li {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* === GAYA KARTU TIKET (TETAP SAMA) === */

.ticket-card {
    width: 95%;
    height: 220px;
    display: flex;
    background-color: var(--card-bg-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-radius: 12px;
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.ticket-left {
    width: 60%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.ticket-name {
    font-family: 'namapengantin', var(--sacramento);
    font-size: 2rem;
    color: white;
    line-height: 1;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.ticket-right {
    width: 40%;
    background-color: #2d436d;
    color: #ffffff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border-left: 2px dashed rgba(255,255,255,0.3);
}

.ticket-right::before,
.ticket-right::after {
    content: '';
    position: absolute;
    left: -12px;
    width: 24px;
    height: 24px;
    background-color: var(--card-bg-color);
    border-radius: 50%;
}

.ticket-right::before {
    top: -12px;
}

.ticket-right::after {
    bottom: -12px;
}

.ticket-info {
    font-family: 'Josefin Sans', sans-serif;
    color: white;
}

.ticket-info .ticket-child-of {
    font-size: 0.8rem !important;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    color: #fff !important;
    letter-spacing: 0.5px;
}

.ticket-info .ticket-parents {
    display: flex;
    flex-direction: column;  
    align-items: center;
    text-align: center;
    color: #fff !important;
}

.ticket-info .ticket-parents span {
    font-size: 0.85rem !important;
    font-weight: 600;
    white-space: nowrap;  
    display: block;
    color: #fff !important;
    line-height: 1.4;
    letter-spacing: 1px;
    font-family: 'Josefin Sans', sans-serif;
}

.ticket-info .ticket-parents span:nth-child(2) {
    font-size: 1.3rem !important;
    margin: 0.2rem 0;
}

.ticket-decoration {
    text-align: center;
}

.ticket-decoration i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.ticket-barcode {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 36px;
    background: none;
    margin-top: -0.5rem;
}
.barcode-img {
    height: 30px;
    width: auto;
    object-fit: contain;
    display: block;
}

.bride .bride_couple span {
    font-size: 3.4rem;
    font-family: var(--sacramento);
    color: var(--main-text-color);
}

.bride::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-image: url('../assets/images/ariefazizah/bride-bawah.webp');  
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(0deg);  
    z-index: 1;
}

.bride-lottie {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
    pointer-events: none;
    animation: slide-across 15s linear infinite alternate;
}

.bride-lottie-center {
    position: absolute;
    top: -15px;  
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    z-index: 3;  
    pointer-events: none;  
}

.bride::after {
    content: '';
    position: absolute;
    top: 0;
    left: -1rem;
    width: 350px;
    /* Anda bisa sesuaikan ukurannya */
    height: 300px;
    /* Anda bisa sesuaikan ukurannya */
    /* Ganti URL ini dengan gambar ornamen yang Anda inginkan */
    background-image: url('../assets/images/ariefazizah/ornamen-bride.webp');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
    transform: scaleX(-1);
    /* Pastikan di bawah teks tapi di atas background */
}

/*.bride .bride_couple::before {
    content: '';
    position: absolute;
    top: -21rem;
    right: -1.5rem;
    width: 200px;
    height: 200px;
    background-image: url('../assets/images/ariefazizah/flower-time-kiri.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scaleX(-1);
    opacity: 0.4;
}