/* ===============================
   MEMPELAI SECTION
================================= */

.mempelai {
    display: flex;
    align-items: center;
    text-align: center;
    padding: 120px 20px;
    background: var(--background-color);
    flex-direction: column;
}

/* flower */
.flower-couple {
    position: absolute;
    bottom: 0px;
    width: 130px;
    z-index: 2;
    pointer-events: none;
}


.flower-couple img {
    width: 100%;
    height: auto;
    display: block;
    transform-origin: bottom center;
    animation: flowerSwing 6s ease-in-out infinite;
}

.flower-main {
    position: absolute;
    width: 140px;
    bottom: 0x;
    z-index: -1;
}

.first-couple .flower-main {
    right: -50px;
}

.second-couple .flower-main {
    left: -50px;
}

.flower-secondary {
    position: absolute;
    width: 100px;
    bottom: 0px;
    z-index: 1;
    opacity: 0.9;
}

.first-couple .flower-secondary {
    left: -20px;
    /* kebalikan dari main */
}

.second-couple .flower-secondary {
    right: -20px;
    /* kebalikan dari main */
}

.flower-main img {
    animation: swingRight 6s ease-in-out infinite;
    transform-origin: bottom center;
}

.flower-secondary img {
    animation: swingLeft 8s ease-in-out infinite;
    transform-origin: bottom center;
}

@keyframes swingRight {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(3deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes swingLeft {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-3deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Section Header */
.section-title {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

@media (min-width: 992px) {
    .mempelai {
        max-width: 300px;
        margin: 0 auto;
    }
}

@keyframes flowerSwing {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(2deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-2deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

img.top-couple {
    width: 125px;
}

.section-subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
    opacity: 0.8;
}

.section-divider {
    margin: 15px 0 20px;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.section-divider i {
    margin: 0 6px;
}

/* ===============================
   COUPLE CARD
================================= */

.couple-card {
    max-width: 600px;
    margin: 80px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

/* Alternating layout */
.first-couple {
    flex-direction: row;
}

.second-couple {
    flex-direction: row-reverse;
}

/* ===============================
   PHOTO FRAME
================================= */

.photo-frame {
    display: inline-block;
    display: flex;
    position: relative;
    width: 100%;
    height: auto;
    justify-content: center;
}

.photo-border {
    width: 240px;
    height: 320px;
    border-radius: 250px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.photo-border img {
    width: 100%;

    object-fit: cover;
}



/* Elegant gold border overlay */
.photo-border::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid var(--secondary-color);
    border-radius: 250px;
    pointer-events: none;
}

/* ===============================
   DETAILS
================================= */

.couple-details {
    max-width: 400px;
    text-align: center;
}

.nickname-detail {
    font-family: var(--heading-font);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

h4.fullname-detail {
    font-family: var(--couple-name, 'Playfair Display', serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 20px;
}

.parents-info {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-color);
}

.child-order {
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.parents-name {
    opacity: 0.9;
}

/* ===============================
   SOCIAL MEDIA
================================= */

.social-wrapper {
    margin-top: 20px;
}

.social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin: 0 6px;
    background: var(--primary-color);
    color: #fff;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.social:hover {
    background: var(--secondary-color);
    transform: translateY(-4px);
}

/* ===============================
   HEART DIVIDER
================================= */

.divider-heart {
    margin: 40px 0;
}

.heart-divider {
    color: var(--secondary-color);
    font-size: 1rem;
}

.heart-divider i {
    margin: 0 8px;
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 768px) {

    .couple-card {
        flex-direction: column !important;
        gap: 40px;
        margin: 60px auto;
    }

    .photo-frame {
        width: 100%;
        height: auto;
    }

    .nickname-detail {
        font-size: 1.6rem;
    }

}

.address-info::before {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: var(--secondary-color);
    margin: 10px auto;
}