/* ============================================================
   DETAIL VISUAL TEMA BIRU ROMANTIS
   File ini berisi ornamen kecil dan efek tambahan. Aturan dasar
   layout tetap berada di style_pico_biru.css agar mudah dipelajari.
   ============================================================ */

/* Bintik cahaya lembut pada latar hero. */
.hero-section {
    background-image:
        radial-gradient(circle at 8% 17%, rgba(255, 255, 255, 0.7) 1px, transparent 3px),
        radial-gradient(circle at 43% 29%, rgba(255, 255, 255, 0.45) 1px, transparent 3px),
        radial-gradient(circle at 21% 70%, rgba(255, 255, 255, 0.38) 1px, transparent 3px),
        radial-gradient(circle at 58% 85%, rgba(255, 255, 255, 0.42) 1px, transparent 3px),
        radial-gradient(circle at 10% 12%, rgba(255, 255, 255, 0.85), transparent 35%),
        linear-gradient(135deg, #e8f0f8 0%, #dce8f5 52%, #c7d9eb 100%);
}

/* Garis pemisah tipis memberi ritme tanpa membuat halaman terlalu ramai. */
.section-heading::after {
    display: block;
    width: 46px;
    height: 1px;
    margin: 1.2rem auto 0;
    background: var(--gold);
    content: "";
}

/* Efek masuk halus saat halaman digulir. */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-copy,
.hero-visual {
    animation: fade-up 0.9s ease both;
}

.hero-visual {
    animation-delay: 0.14s;
}

/* Menjaga foto utama tetap tajam dan tidak terdistorsi. */
.hero-photo-frame img,
.couple-photo-wrap img,
.gallery-item img {
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Gaya fokus keyboard terlihat jelas saat pengguna memakai tombol Tab. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

/* ============================================================
   TIKET QR TAMU SETELAH RSVP
   Setiap anggota rombongan mendapat satu kartu tiket pribadi.
   ============================================================ */

.ticket-confirmation {
    margin: 28px 0 34px;
    border: 1px solid #cad9e8;
    border-radius: 12px;
    padding: clamp(18px, 3vw, 30px);
    background: linear-gradient(145deg, #f8fbff 0%, #edf4fb 100%);
}

.ticket-confirmation-heading {
    max-width: 650px;
    margin-bottom: 20px;
}

.ticket-confirmation-heading h3 {
    margin: 0 0 7px;
    color: #173b67;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.ticket-confirmation-heading p:last-child {
    color: #687d92;
    font-size: 0.78rem;
    line-height: 1.7;
}

.issued-ticket-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.issued-ticket-card {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 15px;
    border: 1px solid #d7e3ee;
    border-radius: 9px;
    padding: 13px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(23, 59, 103, 0.06);
}

.issued-ticket-qr {
    display: grid;
    width: 148px;
    min-width: 148px;
    min-height: 148px;
    place-items: center;
    border: 1px solid #e5ebf1;
    border-radius: 6px;
    padding: 7px;
    background: #ffffff;
}

.issued-ticket-qr img,
.issued-ticket-qr canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

.issued-ticket-info {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.issued-ticket-info > span {
    color: #8ba0b5;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.issued-ticket-info strong {
    color: #173b67;
    font-size: 0.9rem;
}

.issued-ticket-info code {
    width: fit-content;
    max-width: 100%;
    overflow-wrap: anywhere;
    border-radius: 4px;
    padding: 4px 6px;
    background: #edf4fa;
    color: #315a80;
    font-size: 0.61rem;
}

.issued-ticket-info small,
.ticket-no-pass {
    color: #7d8da0;
    font-size: 0.65rem;
}

.qr-library-missing {
    overflow-wrap: anywhere;
    color: #9a6c43;
    font-size: 0.65rem;
    text-align: center;
}

.ticket-print-button {
    margin-top: 18px;
}

@media (max-width: 520px) {
    .issued-ticket-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .issued-ticket-qr {
        width: 148px;
    }
}

@media print {
    body * {
        visibility: hidden !important;
    }

    #ticketConfirmation,
    #ticketConfirmation * {
        visibility: visible !important;
    }

    #ticketConfirmation {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        border: 0;
        background: #ffffff;
    }

    .ticket-print-button {
        display: none !important;
    }

    .issued-ticket-card {
        break-inside: avoid;
        box-shadow: none;
    }
}


/* ============================================================
   LANDING PAGE REVISION — DUA LOKASI ACARA
   Tombol peta dibuat jelas agar tamu tidak tertukar antara
   lokasi akad di masjid dan resepsi di hotel.
   ============================================================ */
.event-cards-two-venues .event-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-cards-two-venues .event-location {
    min-height: 3.2em;
}

.map-action {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 17px;
    border: 1px solid #c6d6e7;
    border-radius: 999px;
    padding: 9px 16px;
    background: #f4f8fc;
    color: #173b67;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.map-action:hover {
    transform: translateY(-2px);
    border-color: #91abc7;
    background: #e8f0f8;
}

.map-action svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.map-action-light {
    border-color: rgba(255,255,255,.38);
    background: rgba(255,255,255,.12);
    color: #fff;
}

.map-action-light:hover {
    border-color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.2);
}

.event-flow {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
    margin: 42px 0 34px;
    border-top: 1px solid #dce5ef;
    border-bottom: 1px solid #dce5ef;
    padding: 30px 0;
}

.event-flow-heading h3 {
    margin: 7px 0 9px;
    color: #173b67;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 500;
    line-height: 1.1;
}

.event-flow-heading h3 em {
    color: #7894b2;
    font-style: italic;
}

.event-flow-heading > p:last-child {
    max-width: 390px;
    color: #71839a;
    font-size: .82rem;
    line-height: 1.8;
}

.event-flow-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.event-flow-list li {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 15px;
    border-bottom: 1px solid #e7edf3;
    padding: 13px 0;
}

.event-flow-list li:last-child { border-bottom: 0; }
.event-flow-time { color: #7894b2; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.event-flow-list strong, .event-flow-list small { display: block; }
.event-flow-list strong { color: #243e5c; font-size: .86rem; }
.event-flow-list small { margin-top: 4px; color: #8493a4; font-size: .72rem; }

.venue-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.venue-grid .venue-panel {
    display: flex;
    height: 100%;
    flex-direction: column;
    margin: 0;
    overflow: hidden;
    border: 1px solid #dce5ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(29, 57, 89, .06);
}

.venue-grid .venue-photo {
    height: 220px;
    min-height: 220px;
    overflow: hidden;
    background: #e8eef5;
}

.venue-grid .venue-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.venue-grid .venue-copy {
    display: flex;
    flex: 1;
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 24px 24px;
}

.venue-grid .venue-copy h3 {
    margin: 5px 0 8px;
    color: #173b67;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.75rem;
    line-height: 1.12;
}

.venue-grid .venue-copy p:not(.eyebrow) {
    min-height: 3.2em;
    color: #71839a;
    font-size: .78rem;
    line-height: 1.75;
}

.venue-grid .map-action { margin-top: auto; }
.venue-note {
    margin: 16px auto 0;
    color: #7c8da0;
    font-size: .72rem;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 760px) {
    .event-flow { grid-template-columns: 1fr; gap: 12px; }
    .venue-grid { grid-template-columns: 1fr; }
    .venue-grid .venue-photo { height: 210px; min-height: 210px; }
}

@media (max-width: 430px) {
    .event-flow-list li { grid-template-columns: 94px minmax(0, 1fr); gap: 9px; }
    .map-action { width: 100%; font-size: .68rem; }
    .venue-grid .venue-copy { padding: 19px; }
}
