@font-face{
    font-family:'Wedding';
    src:url('../fonts/wedding-font.woff2') format('woff2');
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* body{
    font-family:Arial, sans-serif;
    background:#f8f5f2;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
} */

body{
    font-family: 'Georgia', serif;
    background:#f8f5f2;
    display:flex;
    justify-content:center;
    min-height:100vh;
    padding:20px;
}

/*
|--------------------------------------------------------------------------
| HERO
|--------------------------------------------------------------------------
*/

.hero{
    position:relative;
    width:100%;
    height:340px;
    border-radius:30px;
    overflow:hidden;
    margin-bottom:25px;
    box-shadow:0 10px 40px rgba(0,0,0,0.08);
}

.hero-image{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* .hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.25);
} */

.hero-overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.35),
            rgba(0,0,0,0.15),
            rgba(0,0,0,0.45)
        );
}

.hero-content{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
    z-index:2;
}


/* .names{
    font-size:60px;
    color:white;
    font-weight:normal;
    line-height:1.1;
    text-shadow:0 4px 20px rgba(0,0,0,0.3);
} */

.names{
    font-family:'Wedding';
    font-size:90px;
    color:white;
    font-weight:normal;
    line-height:1.1;
    text-shadow:0 4px 20px rgba(0,0,0,0.3);
}

/* .names{
    font-family:'Wedding';
    font-size:90px;
    font-weight:normal;
    line-height:1.1;
    letter-spacing:2px;

    background:linear-gradient(
        to bottom,
        #fff6d5,
        #f1d27a,
        #c8a14d,
        #fff2c2
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    text-shadow:
        0 2px 5px rgba(0,0,0,0.35),
        0 5px 18px rgba(0,0,0,0.25);
} */

/* .names{
    font-family:'Wedding';
    font-size:90px;
    font-weight:normal;
    line-height:1.1;
    letter-spacing:2px;

    color:white;

    -webkit-text-stroke:1.2px #d4af37;

    text-shadow:
        0 2px 5px rgba(0,0,0,0.35),
        0 5px 18px rgba(0,0,0,0.25),
        0 0 8px rgba(212,175,55,0.25);
} */

.ring{
    font-size:40px;
    margin:0 10px;
}

.hero-text{
    margin-top:20px;
    color:white;
    font-size:20px;
    max-width:500px;
    line-height:1.5;
    text-shadow:0 2px 10px rgba(0,0,0,0.3);
}

.container{
    width:100%;
    max-width:500px;
}

.card{
    background:white;
    border-radius:24px;
    padding:30px;
    box-shadow:0 10px 40px rgba(0,0,0,0.08);
}

.heart{
    font-size:50px;
    text-align:center;
    margin-bottom:10px;
}

h1{
    text-align:center;
    margin-bottom:10px;
    color:#222;
}

.subtitle{
    text-align:center;
    color:#777;
    margin-bottom:30px;
}

.upload-label{
    display:block;
    background:#d8b08c;
    color:white;
    text-align:center;
    padding:16px;
    border-radius:14px;
    cursor:pointer;
    font-weight:bold;
    margin-bottom:20px;
}

.upload-label input{
    display:none;
}

#previewContainer{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-bottom:20px;
}

.preview-item{
    position:relative;
}

.preview-item img{
    width:100%;
    height:150px;
    object-fit:cover;
    border-radius:16px;
}

.remove-btn{
    position:absolute;
    top:10px;
    right:10px;
    background:red;
    color:white;
    border:none;
    width:28px;
    height:28px;
    border-radius:50%;
    cursor:pointer;
}

#uploadButton{
    width:100%;
    padding:16px;
    border:none;
    border-radius:14px;
    background:#222;
    color:white;
    font-size:16px;
    cursor:pointer;
}

.progress-bar{
    width:100%;
    height:10px;
    background:#eee;
    border-radius:20px;
    margin-top:20px;
    overflow:hidden;
}

.progress-fill{
    width:0%;
    height:100%;
    background:#d8b08c;
    transition:0.3s;
}

#progressText{
    text-align:center;
    margin-top:15px;
}

.success-message{
    display:none;
    text-align:center;
    margin-top:20px;
    color:green;
    font-weight:bold;
}

@media(max-width:480px){

    .card{
        padding:20px;
    }

    #previewContainer{
        grid-template-columns:1fr;
    }

}

.gallery-button{
    display:block;
    width:100%;
    text-align:center;
    margin-top:15px;
    padding:16px;
    border-radius:14px;
    background:white;
    border:2px solid #d8b08c;
    color:#d8b08c;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
}

.gallery-button:hover{
    background:#d8b08c;
    color:white;
}

.gallery-container{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding:20px;
}

.gallery-header{
    text-align:center;
    margin-bottom:30px;
}

.gallery-header h1{
    margin-bottom:20px;
}

.back-button{
    display:inline-block;
    padding:14px 24px;
    border-radius:14px;
    background:#d8b08c;
    color:white;
    text-decoration:none;
    font-weight:bold;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:12px;
}

.gallery-item{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.gallery-item img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    display:block;
    cursor:pointer;
    transition:0.3s;
}

.gallery-item img:hover{
    transform:scale(1.03);
}

.download-button{
    display:block;
    text-align:center;
    padding:15px;
    background:#222;
    color:white;
    text-decoration:none;
    font-weight:bold;
}

.modal{
    display:none;
    position:fixed;
    z-index:9999;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
    justify-content:center;
    align-items:center;
    padding:20px;
}

.modal-content{
    max-width:95%;
    max-height:95%;
    border-radius:20px;
}

.close-modal{
    position:absolute;
    top:20px;
    right:30px;
    color:white;
    font-size:40px;
    cursor:pointer;
}

.pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    margin-top:40px;
    flex-wrap:wrap;
}

.pagination-button{
    background:#d8b08c;
    color:white;
    padding:14px 22px;
    border-radius:14px;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
}

.pagination-button:hover{
    background:#c49a73;
}

.pagination-info{
    color:#555;
    font-weight:bold;
}

.gallery-count{
    margin-top:10px;
    color:#777;
}

.preview-item video{
    width:100%;
    height:150px;
    object-fit:cover;
    border-radius:16px;
}

.gallery-item video{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    display:block;
    background:black;
}

.video-badge{
    position:absolute;
    top:10px;
    left:10px;
    background:rgba(0,0,0,0.7);
    color:white;
    padding:6px 10px;
    border-radius:10px;
    font-size:12px;
    z-index:10;
}

.leaf{
    position:absolute;
    width:120px;
    opacity:0.7;
    z-index:2;
}

.leaf-1{
    top:20px;
    left:20px;
}

.leaf-2{
    bottom:20px;
    right:20px;
    transform:rotate(180deg);
}

.rings{
    width:120px;
    margin:10px 0;
    filter:drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}