/* =========================================================
   WEDDING INVITATION
   STYLE.CSS
   Mobile First
========================================================= */


/* =========================================================
   1. RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    background-color: #f8f5f0;
    color: #3f3934;
    line-height: 1.7;
    overflow-x: hidden;
}

body.invitation-opened {
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

address {
    font-style: normal;
}

[hidden] {
    display: none !important;
}


/* =========================================================
   2. GENERAL
========================================================= */

.section {
    padding: 80px 20px;
}

.section-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.eyebrow {
    margin-bottom: 12px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;

    color: #9a806d;
}

h1,
h2,
h3 {
    font-weight: 400;
    line-height: 1.3;
}

h2 {
    font-size: 32px;
}

p {
    margin-bottom: 12px;
}


/* =========================================================
   3. BUTTONS
========================================================= */

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 12px 26px;

    border: 1px solid #927967;
    border-radius: 50px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 1px;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;
}

.primary-button {
    background-color: #927967;
    color: #ffffff;
}

.secondary-button {
    background-color: transparent;
    color: #927967;
}

.primary-button:hover,
.secondary-button:hover {
    background-color: #6f5a4b;
    border-color: #6f5a4b;
    color: #ffffff;
}

.primary-button:active,
.secondary-button:active {
    transform: scale(0.97);
}


/* =========================================================
   OPENING INVITATION
========================================================= */

.opening {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100dvh;

    z-index: 9999;

    overflow: hidden;

    background: #6f9b3d;
}


/* =========================================================
   VIDEO
========================================================= */

.opening-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    /*
     * Video memenuhi seluruh layar.
     */
    object-fit: cover;

    object-position: center center;

    z-index: 1;
}


/* =========================================================
   OVERLAY
========================================================= */

.opening-overlay {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 10;

    pointer-events: none;
}


/* =========================================================
   GUEST NAME
========================================================= */

.guest-name-container {
    position: absolute;

    left: 50%;

    /*
     * Guest name berada DI ATAS video.
     */
    bottom: 14%;

    transform: translateX(-50%);

    width: min(88%, 380px);

    text-align: center;

    z-index: 20;

    pointer-events: none;

    color: #ffffff;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.30);
}


.guest-label {
    margin: 0 0 5px;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    font-weight: 400;

    letter-spacing: 1.5px;

    line-height: 1.4;

    color: #ffffff;
}


.guest-name {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(20px, 5vw, 28px);

    font-weight: 400;

    line-height: 1.25;

    color: #ffffff;

    word-break: break-word;
}


/* =========================================================
   OPEN BUTTON
========================================================= */

.opening-button {
    position: absolute;

    left: 50%;
    bottom: 6%;

    transform: translateX(-50%);

    z-index: 30;

    min-width: 78px;

    min-height: 36px;

    padding: 8px 22px;

    border: none;

    border-radius: 999px;

    background: #f8b38d;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 14px;

    font-weight: 400;

    line-height: 1;

    cursor: pointer;

    pointer-events: auto;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.25s ease,
        background-color 0.25s ease;
}


.opening-button:hover {
    background: #e99a70;

    transform:
        translateX(-50%)
        scale(1.05);
}


.opening-button:active {
    transform:
        translateX(-50%)
        scale(0.95);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 599px) {

    .opening-video {
        object-fit: cover;
        object-position: center center;
    }

    .guest-name-container {
        bottom: 14%;
    }

    .guest-label {
        font-size: 10px;
        letter-spacing: 1.3px;
    }

    .guest-name {
        font-size: 20px;
    }

    .opening-button {
        bottom: 6%;

        min-width: 76px;
        min-height: 35px;

        font-size: 13px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 600px) and (max-width: 899px) {

    .opening-video {
        object-fit: cover;
        object-position: center center;
    }

    .guest-name-container {
        bottom: 12%;
    }

    .guest-name {
        font-size: 23px;
    }

    .opening-button {
        bottom: 5%;
    }
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 900px) {

    .opening-video {
        object-fit: cover;
        object-position: center center;
    }

    .guest-name-container {
        bottom: 11%;
    }

    .guest-label {
        font-size: 11px;
    }

    .guest-name {
        font-size: 24px;
    }

    .opening-button {
        bottom: 5%;
    }
}

/* =========================================================
   5. HERO / COVER
========================================================= */

.hero {
    display: flex;
    flex-direction: column;

    min-height: 100vh;

    background-color: #eee7de;
}

.hero-image {
    width: 100%;
    height: 65vh;

    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 35vh;
    padding: 45px 20px;

    text-align: center;
}

.hero-content h1 {
    margin-bottom: 20px;

    font-size: 38px;
    line-height: 1.15;
    color: #493e36;
}

.hero-content h1 span {
    display: block;

    margin: 7px 0;

    font-size: 25px;
    color: #9a806d;
}

.hero-content > p:last-child {
    margin-bottom: 0;

    font-size: 14px;
    letter-spacing: 2px;
}


/* =========================================================
   6. QUOTE
========================================================= */

.quote {
    text-align: center;
    background-color: #f5f0e9;
}

.quote blockquote {
    max-width: 680px;
    margin: 0 auto 20px;

    font-size: 21px;
    font-style: italic;
    line-height: 1.8;

    color: #514740;
}

.quote-source {
    margin-bottom: 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 1px;

    color: #8e7b6d;
}


/* =========================================================
   7. BRIDE & GROOM
========================================================= */

.couple {
    background-color: #ffffff;
}

.couple-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 28px;
}

.couple-card {
    width: 100%;
    max-width: 360px;

    text-align: center;
}

.couple-photo {
    width: 230px;
    height: 290px;

    margin: 0 auto 25px;

    overflow: hidden;

    border-radius: 120px 120px 8px 8px;
}

.couple-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.couple-role {
    margin-bottom: 7px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    letter-spacing: 3px;

    color: #9a806d;
}

.couple-card h3 {
    margin-bottom: 8px;

    font-size: 24px;
    color: #493e36;
}

.couple-card p:last-child {
    margin-top: 20px;

    font-size: 13px;
    color: #71665e;
}

.couple-symbol {
    font-size: 34px;
    color: #9a806d;
}


/* =========================================================
   8. COUNTDOWN
========================================================= */

.countdown {
    text-align: center;
    background-color: #eee7de;
}

.countdown-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 7px;

    width: 100%;
    max-width: 520px;

    margin: 0 auto 25px;
}

.countdown-item {
    padding: 17px 5px;

    background-color: rgba(255, 255, 255, 0.75);

    border: 1px solid #e2d8cd;
    border-radius: 8px;
}

.countdown-item span {
    display: block;

    margin-bottom: 4px;

    font-size: 26px;
    line-height: 1.2;

    color: #493e36;
}

.countdown-item small {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;
    letter-spacing: 1px;

    color: #89796e;
}

#wedding-date {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #89796e;
}


/* =========================================================
   9. EVENT DETAILS
========================================================= */

.event {
    background-color: #ffffff;
}

.event-wrapper {
    display: grid;
    gap: 20px;
}

.event-card {
    padding: 35px 24px;

    text-align: center;

    background-color: #faf8f5;

    border: 1px solid #e3d9ce;
}

.event-icon {
    margin-bottom: 12px;

    font-size: 24px;

    color: #9a806d;
}

.event-card h3 {
    margin-bottom: 15px;

    font-size: 24px;
    color: #493e36;
}

.event-date {
    margin-bottom: 5px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.event-time {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;

    color: #776b63;
}

.event-card address {
    margin-top: 20px;

    font-size: 13px;
    color: #6e625b;
}


/* =========================================================
   10. GOOGLE MAPS
========================================================= */

.maps {
    text-align: center;
    background-color: #f5f0e9;
}

.map-container {
    width: 100%;
    height: 330px;

    margin-bottom: 25px;

    overflow: hidden;

    border-radius: 8px;
}

.map-container iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================================================
   11. LOVE STORY
========================================================= */

.love-story {
    background-color: #ffffff;
}

.story-timeline {
    display: grid;
    gap: 35px;

    max-width: 700px;

    margin: 0 auto;
}

.story-item {
    position: relative;

    padding-left: 25px;

    border-left: 1px solid #cbbdaf;
}

.story-item::before {
    content: "";

    position: absolute;

    top: 3px;
    left: -5px;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background-color: #9a806d;
}

.story-item time {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    letter-spacing: 2px;

    color: #9a806d;
}

.story-item h3 {
    margin: 8px 0;

    font-size: 21px;
}

.story-item p {
    margin-bottom: 0;

    font-size: 14px;
    color: #6f655e;
}


/* =========================================================
   12. GALLERY
========================================================= */

.gallery {
    background-color: #eee7de;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 8px;
}

.gallery-item {
    position: relative;

    margin: 0;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background-color: #ddd3c8;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


/* =========================================================
   13. RSVP
========================================================= */

.rsvp {
    background-color: #ffffff;
}

.rsvp-form {
    display: grid;
    gap: 20px;

    max-width: 650px;

    margin: 0 auto;
}

.rsvp-card {
    padding: 26px;

    background-color: #faf8f5;

    border: 1px solid #e1d7cc;
}

.rsvp-card-heading {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-bottom: 30px;
}

.rsvp-card-heading > span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #9a806d;
}

.rsvp-card-heading p {
    margin-bottom: 3px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;
    letter-spacing: 2px;

    color: #9a806d;
}

.rsvp-card-heading h3 {
    font-size: 22px;
    color: #493e36;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label,
fieldset legend {
    display: block;

    margin-bottom: 8px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;

    color: #5f554e;
}

input,
select,
textarea {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #d7cdc2;
    border-radius: 5px;

    outline: none;

    background-color: #ffffff;
    color: #403934;
}

input::placeholder,
textarea::placeholder {
    color: #a99d93;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #9a806d;
}

textarea {
    min-height: 120px;

    resize: vertical;
}

fieldset {
    padding: 0;

    border: 0;
}

.radio-group {
    display: grid;
    gap: 10px;
}

.radio-option {
    display: flex !important;
    align-items: center;

    gap: 9px;
}

.radio-option input {
    width: auto;

    accent-color: #927967;
}


/* =========================================================
   14. WEDDING GIFT
========================================================= */

.wedding-gift {
    text-align: center;

    background-color: #eee7de;
}

.gift-wrapper {
    display: grid;
    gap: 20px;

    max-width: 700px;

    margin: 0 auto;
}

.gift-card {
    padding: 32px 22px;

    background-color: #ffffff;

    border: 1px solid #e1d7cc;
}

.gift-card h3 {
    margin-bottom: 15px;

    font-size: 23px;
}

.gift-card > p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #82766c;
}

.gift-card strong {
    display: block;

    margin: 15px 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 19px;
    letter-spacing: 1px;

    color: #493e36;
}

.gift-card address {
    font-size: 13px;
    color: #6e625b;
}


/* =========================================================
   15. GUEST WISHES
========================================================= */

.guest-wishes {
    background-color: #ffffff;
}

.wish-form {
    max-width: 650px;

    margin: 0 auto;
}

.wish-list {
    display: grid;
    gap: 14px;

    max-width: 650px;

    margin: 35px auto 0;
}

.wish-list article {
    padding: 20px;

    background-color: #faf8f5;

    border-left: 3px solid #927967;
}

.wish-list article h3 {
    margin-bottom: 5px;

    font-size: 18px;
}

.wish-list article p {
    margin-bottom: 0;

    font-size: 13px;
    color: #6f655e;
}


/* =========================================================
   16. CLOSING
========================================================= */

.closing {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 80vh;

    text-align: center;

    background-color: #eee7de;
}

.closing-content {
    width: 100%;
    max-width: 650px;
}

.closing h2 {
    margin: 25px 0;

    font-size: 36px;
    line-height: 1.25;

    color: #493e36;
}

.closing h2 span {
    display: block;

    margin: 6px 0;

    font-size: 24px;

    color: #9a806d;
}

.closing-date {
    margin-top: 30px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 2px;

    color: #82766c;
}


/* =========================================================
   17. TABLET
========================================================= */

@media (min-width: 600px) {

    .section {
        padding: 90px 35px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .event-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .gift-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   18. DESKTOP
========================================================= */

@media (min-width: 768px) {

    .section {
        padding: 110px 40px;
    }


    /* Opening */

    .opening h1 {
        font-size: 52px;
    }


    /* Hero */

    .hero {
        flex-direction: row;

        min-height: 100vh;
    }

    .hero-image {
        width: 50%;
        height: 100vh;
    }

    .hero-content {
        width: 50%;
        min-height: 100vh;

        padding: 60px;
    }

    .hero-content h1 {
        font-size: 52px;
    }


    /* Couple */

    .couple-wrapper {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;

        gap: 45px;
    }

    .couple-symbol {
        padding-top: 140px;
    }


    /* Gallery */

    .gallery-grid {
        gap: 12px;
    }


    /* Story */

    .story-item {
        padding-left: 35px;
    }


    /* RSVP */

    .rsvp-card {
        padding: 35px;
    }


    /* Closing */

    .closing h2 {
        font-size: 48px;
    }

}


/* =========================================================
   19. LARGE DESKTOP
========================================================= */

@media (min-width: 1100px) {

    .hero-content h1 {
        font-size: 60px;
    }

    .opening h1 {
        font-size: 60px;
    }

    .couple-photo {
        width: 260px;
        height: 330px;
    }

}
.opening {
    opacity: 1;
    transition: opacity 0.8s ease;
}

.opening.opening-hidden {
    opacity: 0;
    pointer-events: none;
}
/* =========================================================
   WEDDING DESIGN
========================================================= */

.wedding-design {
    width: 100%;
    margin: 0;
    padding: 0;

    overflow: hidden;

    line-height: 0;
}


/* =========================================================
   VIDEO SECTION
========================================================= */

.wedding-video-section {
    width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    line-height: 0;

    font-size: 0;
}


/* =========================================================
   VIDEO
========================================================= */

.wedding-section-video {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    border: 0;

    vertical-align: top;

    object-fit: cover;
    object-position: center center;
}
/* =========================================================
   SECTION 4 - COUNTDOWN
========================================================= */

/* KUNCI SECTION 4 SEBAGAI AREA COUNTDOWN */
#section-4.countdown-section {
    position: relative !important;

    width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;
}


/* =========================================================
   COUNTDOWN OVERLAY
========================================================= */

#section-4 .countdown-overlay {
    position: absolute;

    left: 50%;

    /*
       Posisi countdown di dalam SECTION 4
    */
    bottom: 7%;

    transform: translateX(-50%);

    z-index: 50;

    width: 90%;

    text-align: center;

    pointer-events: none;
}


/* =========================================================
   OUR DAY
========================================================= */

#section-4 .countdown-title {
    margin: 0 0 10px;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 18px;

    font-weight: 700;

    line-height: 1;

    color: #f58f91;
}


/* =========================================================
   COUNTDOWN ROW
========================================================= */

#section-4 .countdown-timer {
    display: flex;

    align-items: flex-start;

    justify-content: center;

    width: 100%;

    gap: 0;

    white-space: nowrap;
}


/* =========================================================
   COUNTDOWN ITEM
========================================================= */

#section-4 .countdown-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    min-width: 90px;

    margin: 0;
    padding: 0;

    background: transparent;

    border: none;
}


/* =========================================================
   ANGKA
========================================================= */

#section-4 .countdown-number {

    display: block;

    margin: 0;
    padding: 0;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 58px;

    font-weight: 400;

    line-height: 0.9;

    color: #8da96f;
}


/* SEMUA ANGKA HIJAU */
#section-4 .countdown-number.seconds {
    color: #8da96f;
}


/* =========================================================
   LABEL
========================================================= */

#section-4 .countdown-label {

    display: block;

    margin-top: 6px;

    padding: 0;

    font-family:
        "Times New Roman",
        Times,
        serif;

    /*
       LEBIH KECIL
    */
    font-size: 10px;

    font-weight: 400;

    line-height: 1;

    letter-spacing: 0;

    color: #78915e;
}


/* =========================================================
   TITIK DUA
========================================================= */

#section-4 .countdown-colon {

    display: block;

    margin: 0;

    padding-top: 5px;

    font-family:
        "Times New Roman",
        Times,
        serif;

    /*
       Lebih kecil dari angka
    */
    font-size: 32px;

    font-weight: 400;

    line-height: 0.9;

    color: #8da96f;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 599px) {

    #section-4 .countdown-overlay {
        bottom: 6%;

        width: 96%;
    }


    #section-4 .countdown-title {
        margin-bottom: 8px;

        font-size: 15px;
    }


    #section-4 .countdown-item {
        min-width: 65px;
    }


    #section-4 .countdown-number {
        font-size: 38px;

        font-weight: 700;
    }


    #section-4 .countdown-label {
        margin-top: 5px;

        font-size: 7px;
    }


    #section-4 .countdown-colon {
        padding-top: 3px;

        font-size: 24px;
    }

}
/* =========================================================
   SECTION 5 - GOOGLE MAPS
========================================================= */

#section-5.maps-section {
    position: relative;

    width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;
}


/* =========================================================
   BUTTON OVERLAY
========================================================= */

#section-5 .maps-button-overlay {
    position: absolute;

    left: 50%;
    bottom: 2%;

    transform: translateX(-50%);

    z-index: 50;

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    pointer-events: none;
}


/* =========================================================
   GOOGLE MAPS BUTTON
========================================================= */

#section-5 .google-maps-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 140px;

    padding: 10px 22px;

    border: none;
    border-radius: 999px;

    background: #8da96f;

    color: #ffffff;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 14px;

    font-weight: 400;

    line-height: 1;

    text-decoration: none;

    cursor: pointer;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.15);

    pointer-events: auto;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


/* HOVER */

#section-5 .google-maps-button:hover {
    transform: scale(1.05);

    opacity: 0.9;
}


/* CLICK */

#section-5 .google-maps-button:active {
    transform: scale(0.96);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 599px) {

    #section-5 .maps-button-overlay {
        bottom: 2%;
    }


    #section-5 .google-maps-button {
        min-width: 125px;

        padding: 9px 18px;

        font-size: 12px;
    }

}
/* =========================================================
   SECTION 7 - RSVP + WEDDING WISHES
========================================================= */

/* =========================================
   SECTION 7 - RSVP + WEDDING WISHES
   BACKGROUND
========================================= */

#section-7.rsvp-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0 0 180px 0;
    overflow: visible;
    box-sizing: border-box;
    background: #fbffd4;
}

/* Background area website */
body {
    background: #fbffd4;
}

/* Background seluruh area wedding design */
.wedding-design {
    background: #fbffd4;
}

/* Overlay tetap transparan */
#section-7 .rsvp-overlay {
    background: transparent;
}

/* =========================================================
   MAIN OVERLAY
========================================================= */

#section-7 .rsvp-overlay {
    position: absolute;

    top: 12%;
    left: 51%;

    transform: translateX(-50%);

    z-index: 50;

    width: 48%;
    max-width: 245px;

    display: flex;
    flex-direction: column;
    align-items: center;

    pointer-events: none;
}


/* =========================================================
   RSVP CARD
========================================================= */

#section-7 .rsvp-card {
    width: 100%;

    padding: 12px;

    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.90);

    border: 1px solid rgba(160, 160, 160, 0.20);

    border-radius: 15px;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.07);

    pointer-events: auto;
}


/* =========================================================
   RSVP TITLE
========================================================= */

#section-7 .rsvp-title {
    margin: 0 0 9px;

    text-align: center;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 20px;

    font-weight: 400;

    line-height: 1.1;

    color: #8da96f;
}


/* =========================================================
   FIELD
========================================================= */

#section-7 .rsvp-field {
    margin: 0 0 8px;
}


#section-7 .rsvp-field label {
    display: block;

    margin: 0 0 4px;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 11px;

    line-height: 1.2;

    color: #78915e;
}


/* =========================================================
   INPUT
========================================================= */

#section-7 .rsvp-card input {
    display: block;

    width: 100%;

    height: 32px;

    box-sizing: border-box;

    padding: 6px 10px;

    border: 1px solid #c9d5bd;

    border-radius: 10px;

    background: #ffffff;

    outline: none;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 11px;

    line-height: 1;

    color: #555555;
}


/* =========================================================
   TEXTAREA
========================================================= */

#section-7 .rsvp-card textarea {
    display: block;

    width: 100%;

    height: 68px;

    box-sizing: border-box;

    padding: 7px 10px;

    border: 1px solid #c9d5bd;

    border-radius: 10px;

    background: #ffffff;

    outline: none;

    resize: none;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 11px;

    line-height: 1.3;

    color: #555555;
}


#section-7 .rsvp-card input:focus,
#section-7 .rsvp-card textarea:focus {
    border-color: #8da96f;
}


/* =========================================================
   ATTENDANCE
========================================================= */

#section-7 .attendance-buttons {
    display: flex;

    width: 100%;

    gap: 6px;
}


#section-7 .attendance-button {
    flex: 1;

    height: 27px;

    padding: 0 5px;

    border: 1px solid #8da96f;

    border-radius: 999px;

    background: transparent;

    color: #78915e;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 10px;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease;
}


#section-7 .attendance-button.selected {
    background: #8da96f;

    color: #ffffff;
}


#section-7 .attendance-button:active {
    transform: scale(0.97);
}


/* =========================================================
   SUBMIT
========================================================= */

#section-7 .rsvp-submit-button {
    display: block;

    width: 100%;

    height: 30px;

    margin: 2px 0 0;

    padding: 0;

    border: none;

    border-radius: 999px;

    background: #8da96f;

    color: #ffffff;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 11px;

    line-height: 1;

    cursor: pointer;
}


#section-7 .rsvp-submit-button:active {
    transform: scale(0.97);
}


/* =========================================================
   RSVP STATUS
========================================================= */

#section-7 .rsvp-status {
    min-height: 13px;

    margin: 5px 0 0;

    text-align: center;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 9px;

    line-height: 1.2;

    color: #78915e;
}


/* =========================================================
   WEDDING WISHES BOX
========================================================= */

#section-7 .wedding-wishes {
    width: 100%;

    margin-top: 12px;

    padding: 11px;

    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.88);

    border-radius: 14px;

    pointer-events: auto;
}


/* =========================================================
   WISHES TITLE
========================================================= */

#section-7 .wishes-title {
    display: block;

    margin: 0;

    padding: 0;

    text-align: center;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 17px;

    font-weight: 400;

    line-height: 1.2;

    color: #8da96f;
}


/* =========================================================
   WISHES SUBTITLE
========================================================= */

#section-7 .wishes-subtitle {
    display: block;

    margin: 5px 0 0;

    padding: 0;

    text-align: center;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 9px;

    line-height: 1.3;

    color: #78915e;
}


/* =========================================================
   WISHES COUNT
========================================================= */

#section-7 .wishes-count {
    display: block;

    margin: 7px 0 9px;

    padding: 0;

    text-align: center;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 10px;

    font-weight: 700;

    line-height: 1.2;

    color: #78915e;
}


/* =========================================================
   WISH ITEM
========================================================= */

#section-7 .wish-item {
    margin: 0 0 8px;

    padding: 7px 4px;

    border-bottom: 1px solid
        rgba(141, 169, 111, 0.20);
}


#section-7 .wish-item:last-child {
    border-bottom: none;
}


#section-7 .wish-name {
    margin: 0 0 3px;

    padding: 0;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 10px;

    font-weight: 700;

    line-height: 1.2;

    color: #78915e;
}


#section-7 .wish-message {
    margin: 0;

    padding: 0;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 9px;

    line-height: 1.4;

    color: #555555;

    word-break: break-word;
}


/* =========================================================
   PAGINATION
========================================================= */

#section-7 .wishes-pagination {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 5px;

    margin: 8px 0 0;

    padding: 0;
}


#section-7 .page-button {
    min-width: 20px;

    height: 20px;

    padding: 0 4px;

    border: none;

    background: transparent;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 9px;

    line-height: 1;

    color: #78915e;

    cursor: pointer;
}


#section-7 .page-button.active {
    font-weight: 700;

    text-decoration: underline;
}


#section-7 .page-button:disabled {
    opacity: 0.4;

    cursor: default;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 599px) {

    #section-7 .rsvp-overlay {
        top: 5%;

        width: 52%;

        max-width: 230px;
    }

    #section-7 .rsvp-card {
        padding: 10px;
    }

    #section-7 .rsvp-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    #section-7 .rsvp-field {
        margin-bottom: 7px;
    }

    #section-7 .rsvp-field label {
        font-size: 9px;
    }

    #section-7 .rsvp-card input {
        height: 29px;
        font-size: 9px;
    }

    #section-7 .rsvp-card textarea {
        height: 58px;
        font-size: 9px;
    }

    #section-7 .attendance-button {
        height: 25px;
        font-size: 9px;
    }

    #section-7 .rsvp-submit-button {
        height: 28px;
        font-size: 10px;
    }

    #section-7 .wedding-wishes {
        padding: 9px;
        margin-top: 10px;
    }

    #section-7 .wishes-title {
        font-size: 15px;
    }

    #section-7 .wishes-subtitle {
        font-size: 8px;
    }

    #section-7 .wishes-count {
        font-size: 9px;
    }
}
/* Tarik section setelah RSVP ke atas */
#section-7 + .wedding-video-section {
    margin-top: -170px !important;
    position: relative;
    z-index: 2;
}