/*==============================================================
SERENITY COVER
==============================================================*/

#cover{

    position:relative;

}

.serenity-cover{

    position:fixed;

    inset:0;

    z-index:9999;

    overflow:hidden;

    background:
        linear-gradient(
            rgba(255,251,247,.18),
            rgba(255,251,247,.18)
        ),
        url('{{ asset("assets/templates/serenity/cover.jpg") }}')
        center center/cover
        no-repeat;

}

.cover-overlay{

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    background:

        linear-gradient(

            90deg,

            rgba(255,250,246,.94) 0%,

            rgba(255,250,246,.72) 35%,

            rgba(255,250,246,.10) 70%,

            rgba(255,250,246,0) 100%

        );

}

/*==============================================================
HEADER
==============================================================*/

.cover-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:28px 60px;

    z-index:5;

}

.cover-logo{

    width:64px;

    height:64px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#fff;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    overflow:hidden;

}

.cover-logo img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.cover-logo span{

    font-family:var(--heading-font);

    font-size:22px;

    color:var(--primary);

    font-weight:700;

}

.cover-nav{

    display:flex;

    gap:40px;

}

.cover-nav a{

    color:#6c6258;

    font-size:15px;

    text-decoration:none;

    font-weight:600;

}

.cover-nav a:hover{

    color:var(--primary);

}

.cover-nav-btn{

    border:none;

    padding:14px 32px;

    border-radius:999px;

    background:linear-gradient(
        180deg,
        #d5b78f,
        #b99667
    );

    color:#fff;

    font-weight:700;

    transition:.3s;

}

.cover-nav-btn:hover{

    transform:translateY(-3px);

}

/*==============================================================
HERO
==============================================================*/

.hero-row{

    min-height:calc(100vh - 120px);

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

}

.hero-content{

    max-width:600px;

    padding-left:70px;

    animation:fadeHero 1s ease;

}

.hero-space{

    width:100%;

    height:100%;

}

/*==============================================================
TEXT
==============================================================*/

.cover-subtitle{

    font-size:18px;

    letter-spacing:6px;

    text-transform:uppercase;

    color:#92795b;

    margin-bottom:25px;

}

.cover-title{

    margin:0;

    font-family:var(--heading-font);

    font-size:clamp(4rem,7vw,7rem);

    line-height:.9;

    color:#2f2b29;

    font-weight:600;

}

.cover-title span{

    display:block;

}

.cover-title .amp{

    margin:14px 0;

    color:var(--primary);

    font-size:3rem;

}

.cover-divider{

    width:110px;

    height:2px;

    margin:35px 0;

    background:linear-gradient(

        90deg,

        var(--primary),

        transparent

    );

}

.cover-date{

    font-size:20px;

    letter-spacing:5px;

    color:#8a7660;

    margin-bottom:35px;

}

/*==============================================================
GUEST
==============================================================*/

.cover-guest{

    display:inline-block;

    padding:18px 28px;

    border-radius:20px;

    background:rgba(255,255,255,.92);

    border:1px solid var(--border);

    margin-bottom:35px;

    box-shadow:var(--shadow);

}

.cover-guest small{

    color:#8b7d6f;

}

.cover-guest h5{

    margin-top:8px;

    margin-bottom:0;

    font-family:var(--heading-font);

    font-size:2rem;

    color:#2f2b29;

}

/*==============================================================
BUTTON
==============================================================*/

.btn-cover-open{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:18px 38px;

    border:none;

    border-radius:999px;

    background:linear-gradient(

        180deg,

        #d7bb92,

        #bb9867

    );

    color:#fff;

    font-size:16px;

    font-weight:700;

    transition:.35s;

    box-shadow:

        0 15px 35px rgba(176,145,94,.22);

}

.btn-cover-open:hover{

    transform:translateY(-4px);

}

/*==============================================================
LEAF
==============================================================*/

.cover-leaf{

    position:absolute;

    width:220px;

    height:220px;

    opacity:.08;

    background-repeat:no-repeat;

    background-size:contain;

}

.leaf-left{

    top:40px;

    left:20px;

    background-image:url('{{ asset("assets/templates/serenity/leaf-left.png") }}');

}

.leaf-right{

    right:20px;

    bottom:20px;

    background-image:url('{{ asset("assets/templates/serenity/leaf-right.png") }}');

}

/*==============================================================
ANIMATION
==============================================================*/

@keyframes fadeHero{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

/*==============================================================
RESPONSIVE
==============================================================*/

@media(max-width:991px){

    .cover-header{

        padding:22px 30px;

    }

    .cover-nav{

        display:none;

    }

    .hero-row{

        grid-template-columns:1fr;

    }

    .hero-content{

        max-width:100%;

        padding:50px 30px;

        text-align:center;

    }

    .cover-divider{

        margin:30px auto;

    }

    .hero-space{

        display:none;

    }

}

@media(max-width:768px){

    .cover-title{

        font-size:4rem;

    }

    .cover-date{

        font-size:16px;

        letter-spacing:3px;

    }

    .cover-guest{

        width:100%;

    }

    .btn-cover-open{

        width:100%;

        justify-content:center;

    }

    .cover-nav-btn{

        display:none;

    }

}

@media(max-width:480px){

    .cover-header{

        padding:18px;

    }

    .cover-logo{

        width:52px;

        height:52px;

    }

    .cover-title{

        font-size:3.2rem;

    }

    .cover-subtitle{

        font-size:14px;

        letter-spacing:3px;

    }

    .cover-guest h5{

        font-size:1.5rem;

    }

}