/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;

    opacity: 1;
    transition: opacity .7s ease;
}

body.page-leave {
    opacity: 0;
}

body.cover-active {
    overflow: hidden;
}

.fade-out {
    opacity: 0;
    transition: .7s ease;
}


/* ==========================================
   ROOT VARIABLES
========================================== */

:root {

    --primary-color: #8B7355;
    --secondary-color: #DCC9A6;
    --accent-color: #6E7C5A;

    --background-color: #F8F5F0;
    --surface-color: #FFFFFF;

    --text-color: #2F2B28;
    --text-light: #6C6C6C;

    --heading-font: "Cormorant Garamond", serif;
    --body-font: "Poppins", sans-serif;
    --script-font: "Allura", cursive;

    --container-width: 1200px;
}


/* ==========================================
   GLOBAL LAYOUT
========================================== */

.container-custom {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ==========================================
   INVITATION
========================================== */

#invitationContent {
    display: block;
}


/* ==========================================
   OPENING COVER
========================================== */

.opening-cover {
    position: relative;

    width: 100%;
    height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 1;
    transform: translateY(0);

    transition:
        transform .8s cubic-bezier(.77, 0, .18, 1);
}

.opening-cover.fade-out {
    opacity: 1;
    transform: translateY(-100%);

    transition:
        transform .9s cubic-bezier(.76, 0, .24, 1);
}


/* ==========================================
   COVER IMAGE
========================================== */

.cover-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;
}


/* ==========================================
   COVER OVERLAY
========================================== */

.cover-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .35);

    z-index: 1;
}


/* ==========================================
   COVER CONTAINER
========================================== */

.opening-cover .container-custom {
    position: relative;

    width: 100%;
    height: 100%;

    z-index: 2;
}


/* ==========================================
   COVER CONTENT
========================================== */

.cover-content {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}


/* ==========================================
   COVER INNER
========================================== */

.cover-inner {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    text-align: center;

    padding-top: 70px;
    padding-bottom: 90px;
}


/* ==========================================
   COVER TOP
========================================== */

.cover-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    text-align: center;
}


/* ==========================================
   COVER SUBTITLE
========================================== */

.cover-subtitle {
    margin: 0 0 18px;

    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 5px;

    color: rgba(255, 255, 255, .85);
}


/* ==========================================
   COVER TITLE
========================================== */

.cover-title {
    margin: 0 0 18px;

    font-family: var(--script-font);
    font-size: 36px;
    font-weight: 400;
    line-height: 1;

    color: #fff;

    white-space: nowrap;
    letter-spacing: .2px;
}


/* ==========================================
   COVER DATE
========================================== */

.cover-date {
    margin: 0;

    font-size: 16px;
    color: rgba(255, 255, 255, .9);
}


/* ==========================================
   COVER BOTTOM
========================================== */

.cover-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;

    text-align: center;
}


/* ==========================================
   GUEST INFO
========================================== */

.guest-info {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin: 0 0 22px;

    text-align: center;
}


/* ==========================================
   GUEST LABEL
========================================== */

.guest-label {
    margin: 0 0 8px;

    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;

    color: rgba(255, 255, 255, .8);
}


/* ==========================================
   GUEST NAME
========================================== */

.guest-name {
    margin: 0;

    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 400;

    color: #fff;
}


/* ==========================================
   OPEN INVITATION BUTTON
========================================== */

.open-invitation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;
    padding: 14px 34px;

    border: none;
    border-radius: 50px;

    background: rgba(255, 255, 255, .15);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: #fff;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.open-invitation-btn:hover {
    background: #fff;
    color: var(--primary-color);

    transform: translateY(-3px);
}

.open-invitation-btn i {
    font-size: 18px;
}


/* ==========================================
   MUSIC BUTTON
========================================== */

.music-toggle {
    position: fixed;

    right: 16px;
    bottom: 20px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, .15);

    backdrop-filter: blur(18px);

    color: #fff;
    font-size: 18px;

    cursor: pointer;

    z-index: 999999;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .25);

    transition: .35s;
}

.music-toggle:hover {
    transform: scale(1.08);
}

.music-toggle.playing i {
    animation: rotateDisc 4s linear infinite;
}

@keyframes rotateDisc {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

body.cover-active .music-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* ==========================================
   DESKTOP
========================================== */

@media (min-width: 768px) {

    .cover-title {
        font-size: 72px;
    }

}


/* ==========================================
   SMALL PHONE
========================================== */

@media (max-width: 360px) {

    .cover-title {
        font-size: 22px;
    }

}


/* ==========================================
   HERO
========================================== */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    animation: heroReveal .8s ease;
}

@keyframes heroReveal {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

.hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .35);

    z-index: 1;
}

.hero .container-custom {
    position: relative;

    z-index: 2;

    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    text-align: center;
}

.hero-content,
.hero-quote {
    position: relative;
    z-index: 2;

    margin-top: 80px;
}

.hero-subtitle {
    margin-bottom: 20px;

    color: #fff;

    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.hero-title {
    margin-bottom: 24px;

    font-family: var(--script-font);
    font-size: 36px;
    font-weight: 400;
    line-height: 1;

    color: #fff;

    white-space: nowrap;
}

.hero-quote {
    max-width: 700px;
}

.quote-text {
    margin-bottom: 18px;

    color: #fff;

    font-size: 13px;
    font-style: italic;
    line-height: 1.8;
}

.quote-source {
    margin: 16px 0;

    color: rgba(255, 255, 255, .9);

    font-family: var(--heading-font);
    font-size: 15px;
    font-style: italic;
    letter-spacing: 1px;
}

.quote-meaning {
    color: rgba(255, 255, 255, .85);

    font-size: 12px;
    line-height: 1.8;
}


/* ==========================================
   BACKGROUND
========================================== */

.bg-transparent {
    background: transparent;
}

.bg-light {
    background: #fff;
}

.bg-cream {
    background: #F8F5F0;
}

.bg-dark {
    background: #000;
}

.site-background {
    position: fixed;
    inset: 0;

    background: url("../images/background/site-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: -1;
}

.site-background::after {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .45);
}

.site-content {
    position: relative;

    z-index: 1;
}


/* ==========================================
   BRIDE & GROOM
========================================== */

.couple-section {
    padding: 20px 0;

    margin-top: 32px;

    color: #fff;
}

.section-header {
    max-width: 320px;

    margin: 0 auto 45px;

    text-align: center;
}

.section-badge {
    margin-bottom: 10px;

    color: var(--secondary-color);

    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 14px;

    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;

    color: var(--secondary-color);
}

.section-description {
    color: rgba(255, 255, 255, .88);

    font-size: 13px;
    line-height: 1.8;
}


/* ==========================================
   PERSON CARD
========================================== */

.person-card {
    max-width: 700px;

    margin: 0 auto 42px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


/* ==========================================
   PERSON PHOTO
========================================== */

.person-photo {
    width: 170px;
    height: 235px;

    margin-bottom: 18px;

    object-fit: cover;

    border: 3px solid rgba(255, 255, 255, .9);
    border-radius: 999px;
}


/* ==========================================
   PERSON NAME
========================================== */

.person-name {
    margin: 0 auto 8px;

    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;

    letter-spacing: .2px;

    color: #fff;
}


/* ==========================================
   PARENT LABEL
========================================== */

.person-parent {
    margin-bottom: 6px;

    color: rgba(255, 255, 255, .8);

    font-size: 12px;
}


/* ==========================================
   PARENT NAME
========================================== */

.parent-name {
    margin-bottom: 2px;

    font-size: 13px;
    line-height: 1.6;

    text-transform: none;
}


/* ==========================================
   ADDRESS
========================================== */

.alamat-pengantin {
    margin: 16px 0 0;

    color: rgba(255, 255, 255, .85);

    font-size: 12px;
    line-height: 1.7;
}


/* ==========================================
   INSTAGRAM BUTTON
========================================== */

.instagram-btn {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 18px;
    padding: 9px 20px;

    border: 1px solid rgba(220, 201, 166, .65);
    border-radius: 999px;

    background: rgba(255, 255, 255, .06);

    backdrop-filter: blur(8px);

    color: #fff;

    font-size: 12px;

    text-decoration: none;

    transition: .3s;
}

.instagram-btn:hover {
    background: rgba(255, 255, 255, .12);

    border-color: var(--secondary-color);
}


/* ==========================================
   COUPLE DIVIDER
========================================== */

.couple-divider {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 12px 0 34px;

    color: var(--secondary-color);

    font-size: 18px;
}


/* ==========================================
   WEDDING DATE
========================================== */

.wedding-date {
    padding: 70px 20px;
}

.date-card {
    position: relative;

    padding: 70px 25px;

    background: url("../images/background/date-bg.webp")
        center center / cover no-repeat;

    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 24px;

    overflow: hidden;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
}

.date-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .45);
}

.date-content {
    position: relative;

    z-index: 2;

    max-width: 500px;
    margin: 0 auto;

    color: #fff;

    text-align: center;
}


/* ==========================================
   DATE OPTIONAL ELEMENTS
========================================== */

.section-subtitle {
    display: block;

    margin-bottom: 10px;

    color: var(--secondary-color);

    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.date-line {
    width: 70px;
    height: 1px;

    margin: 0 auto 28px;

    background: rgba(255, 255, 255, .6);
}

.wedding-day {
    margin-bottom: 6px;

    font-family: var(--heading-font);
    font-size: 30px;
}

.wedding-date-number {
    margin-bottom: 10px;

    font-family: var(--heading-font);
    font-size: 48px;
    font-weight: 600;
}

.wedding-time {
    margin-bottom: 45px;

    font-size: 16px;
    letter-spacing: 1px;
}


/* ==========================================
   COUNTDOWN
========================================== */

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 12px;

    margin-top: 40px;
    margin-bottom: 40px;
}

.countdown-box {
    padding: 18px 10px;

    background: rgba(255, 255, 255, .15);

    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 18px;

    backdrop-filter: blur(10px);
}

.countdown-box span {
    display: block;

    font-size: 30px;
    font-weight: 600;
}

.countdown-box small {
    font-size: 13px;
    letter-spacing: 1px;
}


/* ==========================================
   SAVE DATE BUTTON
========================================== */

.save-date-btn {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 14px 26px;

    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50px;

    background: transparent;

    backdrop-filter: blur(10px);

    color: #fff;

    text-decoration: none;

    cursor: pointer;

    transition: .35s;
}

.save-date-btn:hover {
    background: #fff;

    color: #222;

    transform: translateY(-3px);
}

.save-date-btn i {
    font-size: 18px;
}


/* ==========================================
   EVENT DETAIL
========================================== */

.event-section {
    padding: 80px 20px;

    color: #fff;
}

.event-header {
    max-width: 500px;

    margin: 0 auto 40px;

    text-align: center;
}

.event-card {
    max-width: 700px;

    margin: 0 auto;

    background: rgba(255, 255, 255, .05);

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 180px 180px 24px 24px;

    backdrop-filter: blur(12px);

    overflow: hidden;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
}

.event-content {
    padding: 32px 28px 36px;

    text-align: center;
}

.event-photo {
    display: block;

    width: 100%;
    height: 280px;

    margin-top: 40px;

    object-fit: cover;

    border-radius: 24px;
}


/* ==========================================
   EVENT DIVIDER
========================================== */

.event-divider {
    width: 70px;
    height: 1px;

    margin: 22px auto;

    background: rgba(255, 255, 255, .35);
}


/* ==========================================
   EVENT TEXT
========================================== */

.event-label {
    margin-bottom: 8px;

    color: rgba(255, 255, 255, .7);

    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.event-title {
    margin-bottom: 8px;

    font-family: var(--heading-font);
    font-size: 34px;

    color: var(--secondary-color);
}

.event-date {
    margin-bottom: 4px;

    font-family: var(--heading-font);
    font-size: 28px;

    color: #fff;
}

.event-time {
    color: rgba(255, 255, 255, .9);

    font-size: 15px;
    line-height: 1.8;
}

.event-location {
    color: rgba(255, 255, 255, .88);

    font-size: 14px;
    line-height: 1.8;
}

.event-item {
    text-align: center;
}


/* ==========================================
   MAP BUTTON
========================================== */

.maps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 30px;
    padding: 14px 28px;

    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;

    background: rgba(255, 255, 255, .08);

    backdrop-filter: blur(10px);

    color: #fff;

    font-weight: 500;
    letter-spacing: .2px;

    text-decoration: none;

    cursor: pointer;

    transition:
        background .35s ease,
        color .35s ease,
        transform .35s ease,
        border-color .35s ease;
}

.maps-btn:hover {
    background: #fff;

    color: #222;

    transform: translateY(-3px);

    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.maps-btn:active {
    transform: scale(.97);
}

.maps-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .6);
    outline-offset: 4px;
}

.maps-btn i {
    font-size: 17px;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 576px) {

    .section-title {
        font-size: 28px;
    }

    .wedding-date-number {
        font-size: 40px;
    }

    .countdown {
        gap: 8px;
    }

    .countdown-box {
        padding: 15px 8px;
    }

    .countdown-box span {
        font-size: 24px;
    }


    /* EVENT */

    .event-section {
        padding: 70px 20px;
    }

    .event-card {
        border-radius: 140px 140px 22px 22px;
    }

    .event-content {
        padding: 28px 22px 32px;
    }

    .event-photo {
        height: 260px;
    }

    .event-title {
        font-size: 28px;
    }

    .event-date {
        font-size: 24px;
    }

    .event-time {
        font-size: 14px;
    }

    .event-location {
        font-size: 13px;
    }

}

/* ==========================================
   GALLERY
========================================== */

.gallery-section {
    position: relative;
}


/* ==========================================
   GALLERY SLIDER
========================================== */

.gallery-slider {
    display: flex;

    gap: 20px;

    margin-top: 40px;
    padding: 0 10px 8px;

    overflow-x: auto;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}


/* ==========================================
   GALLERY SLIDE
========================================== */

.gallery-slide {
    flex: 0 0 100%;

    scroll-snap-align: center;
}


/* ==========================================
   PORTRAIT COLLAGE
========================================== */

.gallery-collage {
    display: grid;

    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 270px);

    gap: 10px;

    width: 100%;
}


/* ==========================================
   GALLERY IMAGE
========================================== */

.gallery-collage img {
    display: block;

    width: 100%;
    height: 100%;

    min-width: 0;
    min-height: 0;

    object-fit: cover;
    object-position: center;

    border-radius: 18px;

    cursor: pointer;

    transition: transform .45s ease;
}


/* ==========================================
   HOVER
========================================== */

.gallery-collage img:hover {
    transform: scale(1.03);
}


/* ==========================================
   INDICATOR
========================================== */

.gallery-indicator {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 24px;
}

.gallery-indicator span {
    width: 8px;
    height: 8px;

    border-radius: 999px;

    background: rgba(255, 255, 255, .35);

    transition: .35s ease;
}

.gallery-indicator span.active {
    width: 28px;

    background: #fff;
}


/* ==========================================
   GALLERY MOBILE
========================================== */

@media (max-width: 600px) {

    .gallery-collage {
        grid-template-rows: repeat(2, 250px);

        gap: 10px;
    }

    .gallery-collage img {
        border-radius: 16px;
    }

}


/* ==========================================
   GALLERY TABLET / DESKTOP
========================================== */

@media (min-width: 601px) {

    .gallery-collage {
        grid-template-rows: repeat(2, 300px);
    }

}

/* ==========================================
   GALLERY LIGHTBOX
========================================== */

.gallery-lightbox{

    position:fixed;

    inset:0;

    z-index:999999;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:20px;

    background:rgba(0,0,0,.92);

    opacity:0;

    visibility:hidden;

    pointer-events:none;

    transition:
        opacity .3s ease,
        visibility .3s ease;

}

.gallery-lightbox.active{

    opacity:1;

    visibility:visible;

    pointer-events:auto;

}

.gallery-lightbox-image{

    max-width:100%;

    max-height:90vh;

    width:auto;

    height:auto;

    object-fit:contain;

    border-radius:12px;

    transform:scale(.95);

    transition:transform .3s ease;

}

.gallery-lightbox.active
.gallery-lightbox-image{

    transform:scale(1);

}

.gallery-lightbox-close{

    position:absolute;

    top:20px;

    right:20px;

    width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    border:1px solid rgba(255,255,255,.25);

    border-radius:50%;

    background:rgba(255,255,255,.1);

    backdrop-filter:blur(10px);

    color:#fff;

    font-size:16px;

    cursor:pointer;

    transition:
        background .3s ease,
        transform .3s ease;

}

.gallery-lightbox-close:hover{

    background:rgba(255,255,255,.2);

    transform:scale(1.05);

}


/* ==========================================
   WEDDING GIFT
========================================== */

.wedding-gift {
    position: relative;

    padding-top: 80px;
}


/* ==========================================
   GIFT CARD
========================================== */

.gift-card {
    width: 100%;
    max-width: 420px;

    margin: 40px auto 0;
    padding: 32px 24px;

    text-align: center;

    background: rgba(255, 255, 255, .08);

    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 24px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* ==========================================
   GIFT ICON
========================================== */

.gift-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;

    background: rgba(255, 255, 255, .08);

    color: #fff;
}

.gift-icon i {
    font-size: 22px;
}


/* ==========================================
   BANK
========================================== */

.gift-bank {
    margin-bottom: 12px;

    color: rgba(255, 255, 255, .75);

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
}


/* ==========================================
   ACCOUNT NAME
========================================== */

.gift-name {
    margin-bottom: 16px;

    color: #fff;

    font-family: var(--heading-font);
    font-size: 18px;
    line-height: 1.4;
}


/* ==========================================
   ACCOUNT NUMBER
========================================== */

.gift-account {
    margin-bottom: 24px;

    color: #fff;

    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
}


/* ==========================================
   COPY BUTTON
========================================== */

.copy-account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 11px 20px;

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;

    background: rgba(255, 255, 255, .08);

    color: #fff;

    font-family: var(--body-font);
    font-size: 13px;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.copy-account-btn:hover {
    background: #fff;

    color: var(--primary-color);

    transform: translateY(-2px);
}

.copy-account-btn:active {
    transform: translateY(0);
}

.copy-account-btn i {
    font-size: 15px;
}


/* ==========================================
   COPY MESSAGE
========================================== */

.copy-message {
    margin-top: 14px;
    margin-bottom: 0;

    color: rgba(255, 255, 255, .7);

    font-size: 12px;

    opacity: 0;

    transition: opacity .3s ease;
}

.copy-message.show {
    opacity: 1;
}


/* ==========================================
   GIFT MOBILE
========================================== */

@media (max-width: 600px) {

    .gift-card {
        max-width: 100%;

        padding: 30px 20px;

        border-radius: 22px;
    }

    .gift-name {
        font-size: 17px;
    }

    .gift-account {
        font-size: 18px;
        letter-spacing: 1.5px;
    }

}

/* ==========================================
   RSVP
========================================== */

.rsvp-section {
    position: relative;

    padding-top: 80px;
}


/* ==========================================
   RSVP FORM
========================================== */

.rsvp-form {
    width: 100%;
    max-width: 520px;

    margin: 40px auto 0;
    padding: 32px 24px;

    background: rgba(255, 255, 255, .08);

    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 24px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* ==========================================
   RSVP FIELD
========================================== */

.rsvp-field {
    margin-bottom: 24px;
}

.rsvp-field label {
    display: block;

    margin-bottom: 9px;

    color: rgba(255, 255, 255, .9);

    font-size: 13px;
    letter-spacing: .5px;
}

.rsvp-field label span {
    color: rgba(255, 255, 255, .5);

    font-size: 11px;
}


/* ==========================================
   RSVP INPUT / SELECT / TEXTAREA
========================================== */

.rsvp-field input[type="text"],
.rsvp-field select,
.rsvp-field textarea {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;

    outline: none;

    background: rgba(255, 255, 255, .07);

    color: #fff;

    font-family: var(--body-font);
    font-size: 14px;

    transition:
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.rsvp-field input[type="text"]::placeholder,
.rsvp-field textarea::placeholder {
    color: rgba(255, 255, 255, .45);
}

.rsvp-field input[type="text"]:focus,
.rsvp-field select:focus,
.rsvp-field textarea:focus {
    border-color: rgba(255, 255, 255, .5);

    background: rgba(255, 255, 255, .1);

    box-shadow: 0 0 0 3px rgba(255, 255, 255, .05);
}

.rsvp-field textarea {
    min-height: 110px;

    resize: vertical;
}


/* ==========================================
   RSVP SELECT
========================================== */

.rsvp-field select {
    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;
}

.rsvp-field select option {
    color: #222;
    background: #fff;
}


/* ==========================================
   ATTENDANCE
========================================== */

.attendance-options {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;
}

.attendance-option {
    margin: 0;

    cursor: pointer;
}

.attendance-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.attendance-box {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 12px;

    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;

    background: rgba(255, 255, 255, .05);

    color: rgba(255, 255, 255, .75);

    font-size: 13px;

    text-align: center;

    transition:
        background .3s ease,
        border-color .3s ease,
        color .3s ease,
        transform .3s ease;
}

.attendance-box i {
    font-size: 15px;
}

.attendance-option input:checked + .attendance-box {
    background: rgba(255, 255, 255, .15);

    border-color: rgba(255, 255, 255, .55);

    color: #fff;
}


/* ==========================================
   RSVP SUBMIT
========================================== */

.rsvp-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    gap: 9px;

    margin-top: 4px;
    padding: 14px 20px;

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;

    background: rgba(255, 255, 255, .1);

    color: #fff;

    font-family: var(--body-font);
    font-size: 13px;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.rsvp-submit-btn:hover {
    background: #fff;

    color: var(--primary-color);

    transform: translateY(-2px);
}

.rsvp-submit-btn:active {
    transform: translateY(0);
}

.rsvp-submit-btn i {
    font-size: 15px;
}


/* ==========================================
   RSVP STATUS
========================================== */

.rsvp-status {
    min-height: 18px;

    margin: 14px 0 0;

    color: rgba(255, 255, 255, .7);

    font-size: 12px;

    text-align: center;
}


/* ==========================================
   WEDDING WISHES
========================================== */

.wedding-wishes {
    position: relative;

    padding-top: 80px;
}


/* ==========================================
   WISHES FORM
========================================== */

.wishes-form {
    width: 100%;
    max-width: 520px;

    margin: 40px auto 0;
    padding: 32px 24px;

    background: rgba(255, 255, 255, .08);

    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 24px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* ==========================================
   WISHES FIELD
========================================== */

.wishes-field {
    margin-bottom: 24px;
}

.wishes-field label {
    display: block;

    margin-bottom: 9px;

    color: rgba(255, 255, 255, .9);

    font-size: 13px;
    letter-spacing: .5px;
}


/* ==========================================
   WISHES INPUT / TEXTAREA
========================================== */

.wishes-field input[type="text"],
.wishes-field textarea {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;

    outline: none;

    background: rgba(255, 255, 255, .07);

    color: #fff;

    font-family: var(--body-font);
    font-size: 14px;

    transition:
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.wishes-field input[type="text"]::placeholder,
.wishes-field textarea::placeholder {
    color: rgba(255, 255, 255, .45);
}

.wishes-field input[type="text"]:focus,
.wishes-field textarea:focus {
    border-color: rgba(255, 255, 255, .5);

    background: rgba(255, 255, 255, .1);

    box-shadow: 0 0 0 3px rgba(255, 255, 255, .05);
}

.wishes-field textarea {
    min-height: 110px;

    resize: vertical;
}


/* ==========================================
   WISHES SUBMIT
========================================== */

.wishes-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    gap: 9px;

    padding: 14px 20px;

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;

    background: rgba(255, 255, 255, .1);

    color: #fff;

    font-family: var(--body-font);
    font-size: 13px;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.wishes-submit-btn:hover {
    background: #fff;

    color: var(--primary-color);

    transform: translateY(-2px);
}

.wishes-submit-btn:active {
    transform: translateY(0);
}

.wishes-submit-btn i {
    font-size: 15px;
}


/* ==========================================
   WISHES STATUS
========================================== */

.wishes-status {
    min-height: 18px;

    margin: 14px 0 0;

    color: rgba(255, 255, 255, .7);

    font-size: 12px;

    text-align: center;
}


/* ==========================================
   WISHES LIST
========================================== */

.wishes-list {
    display: flex;
    flex-direction: column;

    width: 100%;
    max-width: 520px;

    gap: 14px;

    margin: 40px auto 0;
}


/* ==========================================
   WISH CARD
========================================== */

.wish-card {
    padding: 20px;

    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;

    background: rgba(255, 255, 255, .05);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* ==========================================
   WISH MESSAGE
========================================== */

.wish-message {
    margin: 0 0 12px;

    color: rgba(255, 255, 255, .9);

    font-family: var(--body-font);
    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================
   WISH NAME
========================================== */

.wish-name {
    margin: 0;

    color: rgba(255, 255, 255, .55);

    font-size: 12px;

    text-align: right;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    .rsvp-section,
    .wedding-wishes {
        padding-top: 70px;
    }


    .rsvp-form,
    .wishes-form {
        margin-top: 32px;

        padding: 28px 20px;

        border-radius: 22px;
    }


    .attendance-options {
        grid-template-columns: 1fr;
    }

    .attendance-box {
        justify-content: flex-start;

        padding-left: 16px;
    }


    .wishes-list {
        margin-top: 32px;
    }

    .wish-card {
        padding: 18px;

        border-radius: 18px;
    }

    .wish-message {
        font-size: 13px;
        line-height: 1.7;
    }

}

/* ==========================================
   FOOTER
========================================== */

.site-footer{

    position:relative;

    padding:90px 0 50px;

    text-align:center;

}


/* ==========================================
   FOOTER CONTENT
========================================== */

.footer-content{

    width:100%;

    max-width:520px;

    margin:0 auto;

}


/* ==========================================
   THANK YOU
========================================== */

.footer-thank-you{

    margin:0 0 14px;

    font-family:var(--heading-font);

    font-size:28px;

    font-weight:500;

    color:#fff;

    letter-spacing:.5px;

}


/* ==========================================
   DESCRIPTION
========================================== */

.footer-description{

    max-width:360px;

    margin:0 auto;

    color:rgba(255,255,255,.65);

    font-size:13px;

    line-height:1.8;

}


/* ==========================================
   COUPLE NAMES
========================================== */

.footer-names{

    margin-top:34px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    color:#fff;

    font-family:var(--script-font);

    font-size:30px;

    font-weight:400;

    line-height:1;

}


.footer-heart{

    font-family:var(--body-font);

    font-size:16px;

    color:rgba(255,255,255,.6);

}


/* ==========================================
   DATE
========================================== */

.footer-date{

    margin:20px 0 0;

    color:rgba(255,255,255,.6);

    font-size:12px;

    letter-spacing:2px;

    text-transform:uppercase;

}


/* ==========================================
   DIVIDER
========================================== */

.footer-divider{

    width:100%;

    max-width:180px;

    margin:32px auto 28px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

}


.footer-divider::before,
.footer-divider::after{

    content:"";

    flex:1;

    height:1px;

    background:rgba(255,255,255,.15);

}


.footer-divider span{

    color:rgba(255,255,255,.65);

    font-size:12px;

}


/* ==========================================
   CLOSING
========================================== */

.footer-closing{

    margin:0 0 6px;

    color:rgba(255,255,255,.5);

    font-family:var(--script-font);

    font-size:20px;

}


.footer-couple{

    margin:0;

    color:rgba(255,255,255,.75);

    font-size:11px;

    letter-spacing:1.5px;

    text-transform:uppercase;

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width:600px){

    .site-footer{

        padding:80px 0 40px;

    }


    .footer-thank-you{

        font-size:26px;

    }


    .footer-description{

        font-size:12px;

        line-height:1.8;

        padding:0 20px;

    }


    .footer-names{

        font-size:28px;

        gap:10px;

    }


    .footer-date{

        font-size:11px;

        letter-spacing:1.8px;

    }

}