/* ==========================================================================
   4. MEMPELAI SECTION (PROFIL PENGANTIN)
   ========================================================================== */
.mempelai-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #ffffff;
}

.mempelai-opening {
    font-size: 0.95rem;
    line-height: 1.8rem;
    max-width: 600px;
    margin: 0 auto 50px auto;
    color: #555;
}

/* Layout Flexbox untuk menyeimbangkan baris Pengantin Pria & Wanita */
.mempelai-flex {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.mempelai-box {
    flex: 1;
    padding: 20px;
}

/* Bingkai foto lingkaran estetik dengan aksen emas */
.photo-frame {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    border: 3px solid #e5c158;
    padding: 7px;
    background-color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.mempelai-box h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.username-instagram {
    font-size: 0.85rem;
    color: #e5c158;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.ortu-info {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5rem;
}

/* Simbol Ampersand (&) Pemisah antara kedua mempelai */
.ampersand {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #e5c158;
    margin: 20px 0;
}


/* ==========================================================================
   5. ACARA SECTION & COUNTDOWN TIMER
   ========================================================================== */
.acara-section {
    padding: 80px 20px;
    background: linear-gradient(rgba(252, 251, 247, 0.9), rgba(252, 251, 247, 0.95)), url('assets/images/acara-bg.jpg') no-repeat center center/cover;
    text-align: center;
}

/* Countdown Wrapper */
.countdown-container {
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.countdown-container h3 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #2c3e50;
}

.countdown-flex {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.countdown-item {
    background: #ffffff;
    border: 1px solid rgba(229, 193, 88, 0.3);
    padding: 15px;
    border-radius: 10px;
    min-width: 75px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.countdown-item span {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    color: #e5c158;
}

.countdown-item p {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #777;
    margin-top: 5px;
}

/* Kartu Detail Acara (Akad & Resepsi) */
.acara-flex {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.acara-card {
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid #e5c158; /* Garis aksen emas di atas kartu */
}

.acara-card h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.acara-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8rem;
    margin-bottom: 25px;
}

/* Tombol Desain Universal (Peta, RSVP, Kado) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background-color: #2c3e50;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #e5c158;
    color: #222;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(229, 193, 88, 0.3);
}


/* ==========================================================================
   6. FLOATING MUSIC BUTTON (TOMBOL MUSIK MELAYANG)
   ========================================================================== */
.music-control-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: rgba(229, 193, 88, 0.95);
    color: #222;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    /* Efek animasi berputar lambat saat musik menyala */
    animation: spin 4s linear infinite;
    animation-play-state: paused; /* Standby dalam posisi diam */
}

.music-control-btn.playing {
    animation-play-state: running; /* Berputar jika musik aktif */
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* ==========================================================================
   7. MEDIA QUERIES (DESAIN RESPONSIF HP / SMARTPHONE)
   ========================================================================== */
@media (min-width: 768px) {
    /* Mengubah susunan kolom menjadi menyamping otomatis pada layar PC/Tablet */
    .mempelai-flex {
        flex-direction: row;
    }
    
    .acara-flex {
        flex-direction: row;
    }
    
    .acara-card {
        flex: 1;
    }

    .ampersand {
        margin: 0 20px;
    }
}