/* ==========================================
   INFORMASI SECTION
========================================== */

.informasi {
    padding: 100px 20px;
    background: url(../media/Garden-04-Overlay.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.card-informasi {
    max-width: 700px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ==========================================
   INFO BOX
========================================== */

.info-box {
    position: relative;
    padding: 40px 30px;
    border: solid 3px var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: 0.3s ease;
}

.info-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    opacity: var(--primary-opacity);
    border-radius: inherit;
    z-index: -1;
}

.info-box * {
    z-index: 999;
}

.info-box:hover {
    transform: translateY(-4px);
}

.info-box .section-title {
    font-family: var(--heading-font);
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.info-text {
    font-size: 14px;
    margin-bottom: 20px;
}

/* ==========================================
   BUTTONS
========================================== */

.btn-amplop,
.btn-rsvp,
.btn-submit {
    background: var(--secondary-color);
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

.btn-amplop:hover,
.btn-rsvp:hover,
.btn-submit:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-amplop i,
.btn-rsvp i,
.btn-submit i {
    margin-right: 6px;
}

/* ==========================================
   TURUT MENGUNDANG
========================================== */

.guest-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.guest-list li {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-color);
}

.guest-list i {
    color: var(--secondary-color);
    margin-right: 6px;
}

/* ==========================================
   ADAB WALIMAH
========================================== */

.adab-img {
    max-width: 100%;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

/* ==========================================
   MODAL BASE
========================================== */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 999;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--primary-color);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    position: relative;
    animation: fadeUp 0.4s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* ==========================================
   MODAL TITLE
========================================== */

.modal-title {
    font-family: var(--heading-font);
    font-size: 24px;
    text-align: center;
    margin-bottom: 5px;
    color: var(--text-color);
}

.modal-subtitle {
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 30px;
}

/* ==========================================
   BANK BOX
========================================== */

.bank-box {
    border: 2px solid var(--secondary-color);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
}

.bank-logo img {
    height: 40px;
    margin-bottom: 10px;
}

.bank-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.rekening {
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.account-holder {
    font-size: 14px;
    opacity: 0.7;
}

.bank-note {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    opacity: 0.6;
}

.btn-copy {
    margin-top: 15px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s ease;
}

.btn-copy:hover {
    background: var(--primary-color);
}

/* ==========================================
   QRIS
========================================== */

.qris-section {
    margin-top: 30px;
    text-align: center;
}

.qris-img {
    max-width: 200px;
    margin: 15px auto;
    display: block;
}

.qris-note {
    font-size: 13px;
    opacity: 0.7;
}

/* ==========================================
   RSVP FORM
========================================== */

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

.rsvp-form textarea {
    resize: none;
}

/* ==========================================
   RSVP ALERT
========================================== */

.rsvp-alert {
    display: none;
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.rsvp-alert.success {
    background: #eaf7f0;
    color: #2e7d32;
}

.rsvp-alert.error {
    background: #fdecea;
    color: #c62828;
}