/*==============================================================
MOONLIGHT THEME
Luxury Midnight Wedding
==============================================================*/

html{

    scroll-behavior:smooth;

}

body{

    margin:0;

    padding:0;

    overflow-x:hidden;

    background:var(--secondary);

    color:var(--text);

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

    font-size:16px;

    line-height:1.9;

    font-weight:400;

    -webkit-font-smoothing:antialiased;

    text-rendering:optimizeLegibility;

    position:relative;

}

/*==============================================================
BACKGROUND
==============================================================*/

body::before{

    content:"";

    position:fixed;

    inset:0;

    z-index:-2;

    background:

        radial-gradient(circle at top, rgba(243,209,136,.08), transparent 45%),

        radial-gradient(circle at bottom, rgba(255,255,255,.03), transparent 55%),

        linear-gradient(
            180deg,
            #081322,
            #06101d 45%,
            #040b14
        );

}

/*==============================================================
STARS
==============================================================*/

body::after{

    content:"";

    position:fixed;

    inset:0;

    z-index:-1;

    opacity:.25;

    background-image:

        radial-gradient(circle, rgba(255,255,255,.9) 1px, transparent 1px),

        radial-gradient(circle, rgba(243,209,136,.7) 1px, transparent 1px);

    background-size:

        180px 180px,

        240px 240px;

    background-position:

        20px 40px,

        120px 140px;

    pointer-events:none;

}

/*==============================================================
SECTION
==============================================================*/

section{

    position:relative;

    padding:110px 0;

}

.container{

    max-width:1180px;

}

/*==============================================================
TYPOGRAPHY
==============================================================*/

h1,
h2,
h3,
h4,
h5,
h6{

    margin:0;

    color:var(--primary);

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

    font-weight:600;

    line-height:1.2;

}

p{

    margin:0;

    color:var(--text);

}

/*==============================================================
SECTION TITLE
==============================================================*/

.section-title{

    margin-bottom:70px;

    text-align:center;

}

.section-title h2{

    display:inline-block;

    position:relative;

    padding-bottom:20px;

    font-size:clamp(2.8rem,5vw,4.2rem);

    color:var(--primary);

    letter-spacing:2px;

}

.section-title h2::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:0;

    transform:translateX(-50%);

    width:120px;

    height:2px;

    background:linear-gradient(

        to right,

        transparent,

        var(--accent),

        transparent

    );

}

/*==============================================================
CARD
==============================================================*/

.card{

    background:rgba(8,19,34,.88);

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

    border-radius:24px;

    backdrop-filter:blur(12px);

    box-shadow:

        0 18px 45px rgba(0,0,0,.35),

        inset 0 0 0 1px rgba(255,255,255,.03);

}

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

.btn{

    border-radius:999px;

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

    font-weight:600;

    transition:.35s;

}

.btn-primary{

    color:#081322;

    border:none;

    background:linear-gradient(

        180deg,

        #f5d79b,

        #d7b16a

    );

}

.btn-primary:hover{

    transform:translateY(-3px);

    box-shadow:

        0 10px 30px rgba(243,209,136,.25);

}

/*==============================================================
FORM
==============================================================*/

.form-control,

.form-select{

    padding:14px 18px;

    color:var(--text);

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

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

    border-radius:14px;

    box-shadow:none;

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

}

.form-control::placeholder{

    color:rgba(255,255,255,.45);

}

.form-control:focus,

.form-select:focus{

    color:#fff;

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

    border-color:var(--accent);

    box-shadow:

        0 0 0 .2rem rgba(243,209,136,.12);

}

/*==============================================================
LINK
==============================================================*/

a{

    color:var(--primary);

    text-decoration:none;

    transition:.3s;

}

a:hover{

    color:#f5d79b;

}

/*==============================================================
IMAGE
==============================================================*/

img{

    display:block;

    max-width:100%;

    height:auto;

}

/*==============================================================
SELECTION
==============================================================*/

::selection{

    background:var(--accent);

    color:#081322;

}

/*==============================================================
SCROLLBAR
==============================================================*/

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#06101d;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:999px;

}

::-webkit-scrollbar-thumb:hover{

    background:#f3d188;

}

/*==============================================================
UTILITY
==============================================================*/

.text-primary{

    color:var(--primary)!important;

}

.text-gold{

    color:var(--accent)!important;

}

.glow{

    text-shadow:

        0 0 10px rgba(243,209,136,.35);

}

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

.fade-up{

    opacity:0;

    transform:translateY(30px);

    transition:.8s;

}

.fade-up.show{

    opacity:1;

    transform:none;

}

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

@media(max-width:992px){

    section{

        padding:90px 0;

    }

}

@media(max-width:768px){

    body{

        font-size:15px;

    }

    section{

        padding:70px 0;

    }

    .container{

        padding-left:22px;

        padding-right:22px;

    }

    .section-title{

        margin-bottom:50px;

    }

    .section-title h2{

        font-size:2.2rem;

    }

}