.opening-section{
    position:fixed;
    inset:0;
    width:100%;
    height:100vh;
    overflow:hidden;
    opacity:1;
    visibility:visible;
    z-index:9999;
    transition:
        opacity .9s ease,
        visibility .9s ease;
}

.opening-section::before{
    content:"";
    position:absolute;
    inset:0;
    background:url("../assets/images/Opening 2.png") center center / cover no-repeat;
    transform:scale(var(--opening-scale,1));
    transform-origin:center;
    transition:
        transform .2s linear;
    will-change:transform;
    z-index:0;
}

.opening-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.75),
        rgba(0,0,0,.28),
        rgba(0,0,0,.18)
    );
    z-index:1;
}

.opening-container{
    position:relative;
    z-index:2;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:flex-end;
    padding:40px 24px 60px;
}

/* ===========================
   CONTENT
=========================== */
.opening-content{
    width:100%;
    max-width:420px;
    min-height:75vh;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    text-align:center;
    color:#fff;
}

/* ===========================
   HEADER
=========================== */
.opening-header{
    display:flex;
    flex-direction:column;
}

.opening-invitation{
    font-size:.95rem;
    letter-spacing:3px;
    text-transform:uppercase;
    margin-bottom:16px;
}

.opening-couple-name{
    font-family:var(--heading);
    font-size:3rem;
    font-weight:600;
    line-height:1.1;
    margin:-10px 0 18px;
}

.opening-date{
    font-size:.95rem;
    letter-spacing:1px;
}

/* ===========================
   FOOTER
=========================== */
.opening-footer{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.opening-guest{
    margin-bottom:10px;
}

.opening-guest-label{
    font-size:.9rem;
    margin-bottom:10px;
}

.opening-guest-name{
    font-size:1.2rem;
    font-weight:600;
    line-height:1.5;
}

.opening-divider{
    width:250px;
    height:1px;
    background:#fff;
    margin:10px auto;
}

.opening-note{
    max-width:320px;
    margin:0 auto 28px;
    font-size:.8rem;
    line-height:1.7;
    color:rgba(255,255,255,.82);
}

/* ===========================
   BUTTON
=========================== */
.opening-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:14px 28px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:999px;
   background:rgba(255,255,255,.16);
    color:#fff;
    cursor:pointer;
    font-weight:600;
    transition:.3s ease;
}

.opening-button:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 25px rgba(0,0,0,.25);
    background:rgba(255, 255, 255, 0.413);
}

.opening-button i{
    font-size:1rem;
}

/* ===========================
   FADE OUT
=========================== */
.opening-section.fade-out{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}

/* ===========================
   TABLET & MOBILE
=========================== */
@media (max-width:1199px){

    .opening-content{
        min-height:85vh;
    }

}

/* ===========================
   TABLET
=========================== */

@media (min-width:565px){

    .opening-container{
        padding:60px;
    }

    .opening-content{
        max-width:520px;
    }

    .opening-couple-name{
        font-size:4.5rem;
    }

    .opening-date{
        font-size:1.05rem;
    }

    .opening-guest-name{
        font-size:1.4rem;
    }
}

/* ===========================
   DESKTOP
=========================== */
@media (min-width:1200px){

    .opening-container{
        justify-content:flex-start;
        padding:70px 90px;
    }

    .opening-content{
        max-width:560px;
        min-height:auto;

        justify-content:flex-start;

        text-align:left;
    }

    .opening-footer{
        align-items:flex-start;
        margin-top:42px;
    }

    .opening-couple-name{
        font-size:5.5rem;
    }

    .opening-divider{
        margin:10px 0;
    }

    .opening-note{
        margin:0 0 28px;
    }
}