html{
    scroll-behavior: smooth;
}

/* ==========================
   FONT
========================== */

@font-face {
    font-family: 'Cormorant';
    src: url('assets/fonts/CormorantGaramond-Regular.ttf');
}

@font-face {
    font-family: 'Cormorant Bold';
    src: url('assets/fonts/CormorantGaramond-Bold.ttf');
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Regular.ttf');
}

@font-face {
    font-family: 'Poppins SemiBold';
    src: url('assets/fonts/Poppins-SemiBold.ttf');
}

@font-face {
    font-family: 'Great Vibes';
    src: url('assets/fonts/GreatVibes-Regular.ttf');
}

/* ==========================
   COLOR
========================== */

:root{

    --primary:#C8A96A;
    --white:#FFFFFF;
    --dark:#2B2B2B;
    --background:#F8F5F2;


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins';
}

.cover{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100vh;

    background:url("assets/img/cover.jpg") center center;
    background-size:cover;

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:9999;

    overflow:hidden;

    transition:1s;
}

.logo{

    position:absolute;

    top:35px;

    left:40px;

    z-index:10;

    color:white;

}

.logo h2{

    font-family:'Cormorant Bold';

    font-size:38px;

    letter-spacing:3px;

    color:var(--primary);

}

.logo span{

    display:block;

    margin-top:-8px;

    font-size:12px;

    letter-spacing:4px;

    font-family:'Poppins';

}

.overlay{

    width:100%;
    height:100%;

    background:rgba(0,0,0,.55);

    color:white;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

}

.title{

	font-family:'Poppins';
	
    letter-spacing:3px;

    margin-bottom:15px;

}

h1{

    font-family:'Cormorant Bold';

    font-size:72px;

}

.ampersand{

    font-family:'Great Vibes';

    font-size:60px;

    color:var(--primary);

    margin:10px 0;

}

.date{

    margin-top:20px;

}

/* ==========================================
   QUOTE
========================================== */

.quote{

    width:420px;

    margin:20px auto;

    text-align:center;

}

.quote p{

    font-family:'Poppins';

    font-size:14px;

    line-height:24px;

    color:rgba(255,255,255,.85);

}

.quote span{

    display:block;

    margin-top:12px;

    font-family:'Cormorant Bold';

    font-size:18px;

    color:var(--primary);

}

.guest{

    margin-top:40px;

}

button{

    margin-top:30px;

    padding:15px 35px;

    border:none;

    border-radius:50px;

    background:#C8A96A;

    color:white;

    font-size:18px;

    cursor:pointer;

}

/* ==========================================
   HOME
========================================== */

.home{

    min-height:100vh;

    background:#ffffff;

    padding:100px 20px;

}

.container{

    max-width:900px;

    margin:auto;

}

.home h2{

    font-family:'Cormorant Bold';

    font-size:48px;

    text-align:center;

    color:var(--dark);

}

.home p{

    margin-top:20px;

    text-align:center;

    line-height:32px;

    font-size:18px;

    color:#666;

}

/* ============================
   BRIDE & GROOM
============================ */

.couple{

    padding:100px 20px;

    background:#fff;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title small{

    display:block;

    color:var(--primary);

    letter-spacing:3px;

    font-size:14px;

    margin-bottom:10px;

}

.section-title h2{

    font-family:'Cormorant Bold';

    font-size:52px;

    color:var(--dark);

}

.couple-wrapper{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

    margin-top:60px;

    flex-wrap:wrap;

}

.person{

    flex:1;

    text-align:center;

}

.person img{

    width:280px;

    height:280px;

    object-fit:cover;

    border-radius:50%;

    border:8px solid #fff;

    box-shadow:0 10px 35px rgba(0,0,0,.15);

}

.section-title{

    text-align:center;

}

.person h3{

    font-family:'Cormorant Bold';

    font-size:42px;

    margin:25px 0 10px;

    color:var(--dark);

}

.person p{

    margin:8px 0;

    color:#666;

}

.person h4{

    font-size:22px;

    color:var(--dark);

}

.love{

    font-size:42px;

    color:var(--primary);

    display:flex;

    justify-content:center;

    align-items:center;

}

/* =====================================
   SECTION 04 : EVENT
====================================== */

.event{
    padding:100px 20px;
    background:#faf8f5;
}

.event-date{
    text-align:center;
    font-family:'Cormorant Bold';
    font-size:42px;
    color:var(--primary);
    margin-bottom:60px;
}

.event-wrapper{
    display:flex;
    gap:30px;
    justify-content:center;
    flex-wrap:wrap;
}

.event-card{
    background:#fff;
    width:340px;
    padding:40px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.event-card h3{
    font-family:'Cormorant Bold';
    font-size:34px;
    color:var(--dark);
    margin-bottom:20px;
}

.event-card p{
    font-size:24px;
    font-weight:bold;
    color:var(--primary);
    margin-bottom:20px;
}

.event-card h4{
    font-size:20px;
    margin-bottom:10px;
    color:var(--dark);
}

.event-card span{
    color:#666;
    line-height:28px;
}

/* =====================================
   SECTION 05 : COUNTDOWN
===================================== */

.countdown{
    padding:100px 20px;
    background:#fff;
}

.countdown-wrapper{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
    margin-top:60px;
}

.count-item{
    width:170px;
    padding:35px;
    background:#faf8f5;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.count-item h3{
    font-size:56px;
    font-family:'Cormorant Bold';
    color:var(--primary);
    margin-bottom:10px;
}

.count-item span{
    font-size:18px;
    color:#666;
}

/* =====================================
SECTION 06 : LOVE STORY
===================================== */

.story{
    padding:100px 20px;
    background:#faf8f5;
}

.story-item{
    max-width:700px;
    margin:40px auto;
    padding:35px;
    background:#fff;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    text-align:center;
}

.story-item h3{
    font-size:22px;
    color:var(--primary);
    margin-bottom:10px;
}

.story-item h4{
    font-family:'Cormorant Bold';
    font-size:34px;
    color:var(--dark);
    margin-bottom:20px;
}

.story-item p{
    color:#666;
    line-height:30px;
}

/* ======================================
SECTION 07 : GALLERY
====================================== */

.gallery{
    padding:100px 20px;
    background:#fff;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-top:60px;
}

.gallery-grid img{
    width:100%;
    height:320px;
    object-fit:cover;
    border-radius:20px;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.gallery-grid img:hover{
    transform:scale(1.03);
}

/* ===========================
LIGHTBOX
=========================== */

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:20px;
}

.lightbox.show{
    display:flex;
}

/* ======================================
SECTION 08 : LOCATION
====================================== */

.location{
    padding:100px 20px;
    background:#faf8f5;
}

.map-card{
    max-width:900px;
    margin:auto;
    text-align:center;
}

.map-card img{
    width:100%;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.map-btn{
    display:inline-block;
    margin-top:30px;
    padding:15px 35px;
    background:#d4af37;
    color:#fff;
    text-decoration:none;
    border-radius:40px;
    font-weight:bold;
    transition:.3s;
}

.map-btn:hover{
    background:#b88d25;
}

/* =====================================
SECTION 09 : WEDDING GIFT
===================================== */

.gift{

    padding:100px 20px;
    background:#fff;

}

.gift-wrapper{

    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
    margin-top:60px;

}

.gift-card{

    width:280px;
    min-height:480px;

    padding:35px;
    background:#faf8f5;
    border-radius:20px;

    text-align:center;

    display:flex;
    flex-direction:column;
    justify-content:space-between;

    box-shadow:0 12px 30px rgba(0,0,0,.08);


}

.gift-card h3{

    font-family:'Cormorant Bold';
    font-size:32px;
    color:var(--dark);
    margin-bottom:25px;

}

.gift-card h4{

    margin-top:15px
	margin-bottom:18px
	font-size:28px;
    color:var(--primary);
    margin:20px 0;
	font-weight:700;

}

.gift-card p{

    font-size:25px;
    color:#555;
    margin-bottom:25px;

}

.qris-img{

    width:220px;
    max-width:100%;
    display:block;
    margin:20px auto;

}

.copy-btn{

    border:none;
    padding:15px 35px;
    background:#d4af37;
    color:#fff;
    border-radius:40px;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;

}

.copy-btn:hover{

    background:#bb8d25;

}

.bank-logo{
    display:block;
    margin:0 auto 20px;
}

.bca-logo{
    height:60px;
    width:auto;
}

.mandiri-logo{
    height:40px;
    width:auto;
}

/* ======================================
   RSVP
====================================== */

.rsvp{

    padding:120px 0;

}

.rsvp-box{

    max-width:700px;

    margin:50px auto 0;

    background:#faf8f5;

    padding:40px;

    border-radius:20px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.rsvp-box input,
.rsvp-box select,
.rsvp-box textarea{

    width:100%;

    padding:15px 20px;

    margin-bottom:20px;

    border:1px solid #ddd;

    border-radius:12px;

    font-size:16px;

    font-family:inherit;

    outline:none;

    box-sizing:border-box;

}

.rsvp-box textarea{

    resize:none;

}

.rsvp-box button{

    width:100%;

    padding:16px;

    background:#d4af37;

    color:#fff;

    border:none;

    border-radius:40px;

    font-size:17px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}

.rsvp-box button:hover{

    background:#bb8d25;

}

/* =====================================
   RSVP LIST
===================================== */

#rsvpList{

    margin-top:40px;

}

.rsvp-item{

    background:#fff;

    padding:25px;

    border-radius:18px;

    margin-bottom:20px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}

.rsvp-item h3{

    margin:0;

    color:#222;

    font-size:22px;

}

.rsvp-item strong{

    display:inline-block;

    margin:12px 0;

    color:#d4af37;

}

.rsvp-item p{

    color:#555;

    line-height:1.7;

    margin:10px 0;

}

.rsvp-item small{

    color:#999;

}

.cover.hide{

    opacity:0;
    visibility:hidden;
    pointer-events:none;

}

/* =====================================
   LOADING SCREEN
===================================== */

#loadingScreen{

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:100vh;

    background:#ffffff;

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:99999;

    transition:1s;

}

#loadingScreen.hide{

    opacity:0;
    visibility:hidden;

}

.loader-content{

    text-align:center;

}

.loader-content h1{

    font-size:48px;
    letter-spacing:6px;

    color:#c8a45b;

}

.loader-content span{

    display:block;

    margin-top:5px;

    letter-spacing:5px;

    color:#777;

}

.loader-line{

    width:220px;
    height:5px;

    background:#eee;

    margin:30px auto 0;

    overflow:hidden;

    border-radius:10px;

}

.loader-bar{

    width:0;

    height:100%;

    background:#c8a45b;

    animation:loadingBar 2s linear forwards;

}

@keyframes loadingBar{

    from{
        width:0;
    }

    to{
        width:100%;
    }

}

/* =====================================
   FLOATING MUSIC BUTTON
===================================== */

.music-btn{

    position:fixed;

    right:25px;

    bottom:25px;

    width:60px;

    height:60px;

    border:none;

    border-radius:50%;

    background:#c8a45d;

    color:#fff;

    font-size:24px;

    cursor:pointer;

    box-shadow:0 8px 20px rgba(0,0,0,.25);

    z-index:99999;

    transition:.3s;

}

.music-btn:hover{

    transform:scale(1.1);

}

/* =====================================
   BOTTOM NAVIGATION
===================================== */

.bottom-nav{
    position:fixed;
    left:50%;
    bottom:10px;
    transform:translateX(-50%);

    display:flex;
    gap:20px;

    background:#ffffff;
    padding:12px 20px;

    border-radius:50px;

    box-shadow:0 10px 30px rgba(0,0,0,.15);

    z-index:9999;
	
	opacity:0;
	visibility:hidden;
	transition:.3s;
}

.bottom-nav a{

    text-decoration:none;
    color:#555;

    display:flex;
    flex-direction:column;
    align-items:center;

    font-size:12px;
    transition:.3s;
}

.bottom-nav a:hover{
    color:#caa55d;
    transform:translateY(-3px);
}
.bottom-nav a.active{
    color:#caa55d;
}

.bottom-nav a.active span{
    font-weight:600;
}
.bottom-nav span{
    margin-top:4px;
}

.bottom-nav.show{
    opacity:1;
    visibility:visible;
}