/*======================================
GOOGLE FONTS
======================================*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

/*======================================
RESET
======================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    overflow-x:hidden;
    max-width:100%;
}

body{
    font-family:'Poppins',sans-serif;
    background:#fcf8f4;
    color:#444;
    overflow-x:hidden;
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

ul{
    list-style:none;
}

a{
    text-decoration:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

section{
    padding:110px 0;
}

/*======================================
COLORS
======================================*/

:root{

--gold:#c49a6c;

--gold-dark:#9d774f;

--rose:#d8b4a0;

--cream:#fcf8f4;

--white:#ffffff;

--dark:#333;

--text:#666;

--shadow:0 15px 40px rgba(0,0,0,.08);

}

/*======================================
LOADER
======================================*/

.loader{

position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:#fff;
display:flex;
justify-content:center;
align-items:center;
z-index:99999;

}

.loader-circle{

width:70px;
height:70px;
border-radius:50%;
border:5px solid #eee;
border-top:5px solid var(--gold);
animation:spin 1s linear infinite;

}

@keyframes spin{

100%{
transform:rotate(360deg);
}

}

/*======================================
NAVBAR
======================================*/

header{

position:fixed;
width:100%;
top:0;
left:0;
z-index:999;

}

.navbar{

display:flex;

justify-content:space-between;

align-items:center;

padding:25px 8%;

transition:.4s;

}

.navbar.active{

background:#2e2b2b;

box-shadow:var(--shadow);

padding:18px 8%;

}

.logo{

font-family:"Brush Script MT", "Snell Roundhand", cursive; 
font-size:35px;

font-weight:800;

color:var(--white);

letter-spacing:2px;
font-style:italic;

}

.nav-links{

display:flex;

gap:35px;

}

.nav-links li a{

color:#fff;

font-size:15px;

font-weight:500;

transition:.3s;

}

 .navbar.active .nav-links li a:hover{

color:var(--gold); 

} 

.nav-links li a:hover{

color:var(--gold);

}

.menu-btn{

display:none;

font-size:28px;

cursor:pointer;

color:#fff;

}

/*======================================
HERO
======================================*/

.hero{

position:relative;

height:100vh;

display:flex;

justify-content:center;

align-items:center;

text-align:center;

overflow:hidden;

background:url("../images/hero.jpg") center/cover no-repeat;

    

}

.overlay{

position:absolute;

inset:0;

background:rgba(0,0,0,.45);

}

.hero-content{

position:relative;

z-index:10;

color:#fff;

width:90%;

max-width:900px;

}

.bismillah{

font-size:30px;
/* margin-top:80px; */
margin-bottom:15px;
padding-top: 50px;
font-family:'Cormorant Garamond',serif;

}

.hero h4{

font-weight:400;

font-size:24px;

letter-spacing:3px;

margin-bottom:15px;

}

.hero h1{

font-family:'Cormorant Garamond',serif;

font-size:85px;

font-weight:700;

margin-bottom:10px;

}

.hero h1 span{

display:inline-block;

padding:0 18px;

color:var(--gold);

}

.hero h3{

font-weight:400;

font-size:28px;

margin-bottom:20px;

}

.hero-date{

font-size:20px;

margin-bottom:50px;

letter-spacing:2px;

}

.hero-date span{

display:block;

font-size:32px;
font-weight: 900;

font-family:'Cormorant Garamond',serif;

margin-top:10px;

color:var(--gold);

}

/*======================================
BUTTON
======================================*/

/* .hero-btn{

display:inline-block;

padding:18px 50px;

background:linear-gradient(135deg,var(--gold),#e6c08d);

color:#fff;

border-radius:50px;

font-size:16px;

font-weight:600;

transition:.4s;

box-shadow:0 15px 35px rgba(196,154,108,.35);

}

.hero-btn:hover{

transform:translateY(-6px);

box-shadow:0 25px 45px rgba(196,154,108,.45);

}
 */

/*======================================
SCROLL DOWN
======================================*/

.scroll-down{

position:absolute;

bottom:35px;

left:50%;

transform:translateX(-50%);

z-index:5;

color:#fff;

font-size:28px;

animation:bounce 2s infinite;

}

@keyframes bounce{

0%,20%,50%,80%,100%{

transform:translate(-50%,0);

}

40%{

transform:translate(-50%,-12px);

}

60%{

transform:translate(-50%,-6px);

}

}

/*======================================
SECTION TITLE
======================================*/

.section-title{

text-align:center;

margin-bottom:70px;

}

.section-title h2{

font-size:50px;

font-family:'Cormorant Garamond',serif;

color:var(--dark);

margin-bottom:18px;

}

.section-title img{

width:120px;

margin:auto;

}

/*======================================
INVITATION
======================================*/

.invitation{



position:relative;
 background: url("../images/flowers.jpg") no-repeat top left;
    background-size:cover;

}

.invitation-content{

max-width:850px;

margin:auto;

background:#fff;

padding:70px;

text-align:center;

border-radius:20px;

box-shadow:var(--shadow);

}

.arabic{

font-size:34px;

line-height:2;

color:var(--gold);

margin-bottom:30px;

font-family:'Cormorant Garamond',serif;

}

.invitation-content h3{

font-size:34px;

font-family:'Cormorant Garamond',serif;

margin-bottom:25px;

color:#333;

}

.invitation-content p{

font-size:17px;

color:#666;

line-height:2;

}
/*======================================
COUPLE SECTION
======================================*/

.couple{
    background:#fcf8f4;
    position:relative;
}

.couple-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:80px;
    flex-wrap:wrap;
}

.person{
    width:340px;
    background:#fff;
    border-radius:25px;
    padding:45px 35px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.4s;
    position:relative;
    overflow:hidden;
}

.person::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:6px;
    background:linear-gradient(to right,var(--gold),#e5c48f);
}

.person:hover{
    transform:translateY(-12px);
}

.person img{
    width:220px;
    height:220px;
    border-radius:50%;
    object-fit:cover;
    margin:auto;
    border:8px solid #f8efe7;
}

.person h3{
    margin-top:25px;
    font-size:42px;
    color:var(--gold-dark);
    font-family:'Cormorant Garamond',serif;
}

.person p{
    margin-top:10px;
    color:#777;
    font-size:15px;
}

.person h4{
    margin-top:12px;
    color:#444;
    font-size:20px;
    font-weight:500;
}

.heart{
    width:90px;
    height:90px;
    background:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:34px;
    color:#d86b7c;
    box-shadow:var(--shadow);
    animation:pulse 2s infinite;
}

@keyframes pulse{

0%{
transform:scale(1);
}

50%{
transform:scale(1.15);
}

100%{
transform:scale(1);
}

}

/*======================================
EVENT SECTION
======================================*/

.events{
    background:#fff;
}

.event-wrapper{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));
    gap:40px;
}

.event-card{
    background:#fcf8f4;
    padding:45px;
    border-radius:25px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.4s;
    position:relative;
    overflow:hidden;
}

.event-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:linear-gradient(to right,var(--gold),#e5c48f);
}

.event-card:hover{
    transform:translateY(-10px);
}

.event-card i{
    width:90px;
    height:90px;
    line-height:90px;
    border-radius:50%;
    background:#fff;
    color:var(--gold);
    font-size:34px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    margin-bottom:25px;
}

.event-card h3{
    font-family:'Cormorant Garamond',serif;
    font-size:38px;
    color:#333;
    margin-bottom:25px;
}

.event-card p{
    margin-top:18px;
    color:#999;
    font-weight:600;
    letter-spacing:1px;
}

.event-card span{
    display:block;
    color:#444;
    margin-top:6px;
    font-size:18px;
}

/*======================================
COUNTDOWN
======================================*/

.countdown{
    background:url("../images/count-bg.jpg") center/cover;
    position:relative;
    color:#fff;
}

.countdown::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.countdown .container{
    position:relative;
    z-index:2;
}

.countdown .section-title h2{
    color:#fff;
}

#countdown{
    display:flex;
    justify-content:center;
    gap:35px;
    flex-wrap:wrap;
}

.time-box{
    width:180px;
    height:180px;
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(12px);
    border-radius:25px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    border:1px solid rgba(255,255,255,.2);
}

.time-box h3{
    font-size:60px;
    color:#fff;
    font-family:'Cormorant Garamond',serif;
}

.time-box p{
    margin-top:12px;
    letter-spacing:2px;
    color:#eee;
}

/*======================================
COMMON HOVER EFFECT
======================================*/

.person,
.event-card,
.time-box{
    transition:all .35s ease;
}

.time-box:hover{
    transform:translateY(-10px);
    background:rgba(255,255,255,.18);
}

.person:hover img{
    transform:scale(1.05);
}

.person img{
    transition:.4s;
}

.event-card:hover i{
    transform:rotate(8deg) scale(1.08);
    transition:.3s;
}
/*======================================
GALLERY
======================================*/

.gallery{
    background:#fcf8f4;
    position:relative;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));
    gap:25px;
}

.gallery-grid img{
    width:100%;
    height:340px;
    object-fit:cover;
    border-radius:20px;
    cursor:pointer;
    transition:.45s;
    box-shadow:var(--shadow);
}

.gallery-grid img:hover{
    transform:scale(1.05);
    filter:brightness(.9);
}

/*======================================
LIGHTBOX
======================================*/

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    display:flex;
    justify-content:center;
    align-items:center;
    visibility:hidden;
    opacity:0;
    transition:.4s;
    z-index:99999;
}

.lightbox.active{
    visibility:visible;
    opacity:1;
}

.lightbox img{
    width:85%;
    max-width:900px;
    border-radius:20px;
}

.close-lightbox{
    position:absolute;
    top:40px;
    right:40px;
    color:#fff;
    font-size:40px;
    cursor:pointer;
}

/*======================================
RSVP
======================================*/

.rsvp{
    background:#fff;
}

.rsvp form{

    max-width:800px;
    margin:auto;
    background:#fcf8f4;
    padding:60px;
    border-radius:25px;
    box-shadow:var(--shadow);

}

.rsvp input,
.rsvp textarea,
.rsvp select{

    width:100%;
    padding:18px 22px;
    margin-bottom:22px;
    border:none;
    outline:none;
    border-radius:15px;
    background:#fff;
    font-size:15px;
    font-family:Poppins,sans-serif;
    box-shadow:0 5px 15px rgba(0,0,0,.05);

}

.rsvp textarea{

    resize:none;
    height:170px;

}

.rsvp button{

    width:100%;
    padding:18px;
    border:none;
    cursor:pointer;
    border-radius:50px;
    background:linear-gradient(135deg,var(--gold-dark),#e4c18b);
    color:#fff;
    font-size:17px;
    font-weight:600;
    transition:.35s;

}

.rsvp button:hover{

    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(196,154,108,.35);

}

.rsvp input:focus,
.rsvp textarea:focus,
.rsvp select:focus{

    box-shadow:0 0 0 2px var(--gold);

}

.rsvp button:disabled{

    opacity:.7;
    cursor:not-allowed;

}

#rsvp-form-message{

    margin-top:16px;
    text-align:center;
    font-size:14px;
    font-weight:500;

}

/*======================================
LOCATION
======================================*/

.location{

    background:#fcf8f4;

}

.map{

    overflow:hidden;
    border-radius:25px;
    box-shadow:var(--shadow);

}

.map iframe{

    width:100%;
    display:block;

}

/*======================================
DUA
======================================*/

.dua{

    background:#fff;
    text-align:center;

}

.dua-content{

    max-width:900px;
    margin:auto;
    background:#fcf8f4;
    padding:70px;
    border-radius:25px;
    box-shadow:var(--shadow);

}

.dua-content h3{

    font-family:'Cormorant Garamond',serif;
    color:var(--gold-dark);
    font-size:44px;
    line-height:1.8;
    margin-bottom:30px;

}

.dua-content p{

    color:#666;
    font-size:18px;
    line-height:2;

}

/*======================================
FOOTER
======================================*/

footer{

    background:#2e2b2b;
    color:#fff;
    text-align:center;
    padding:80px 20px;

}

footer h2{

    font-family:'Cormorant Garamond',serif;
    font-size:54px;
    margin-bottom:15px;

}

footer p{

    color:#ddd;
    margin-bottom:20px;

}

.social{

    display:flex;
    justify-content:center;
    gap:18px;
    margin:35px 0;

}

.social a{

    width:55px;
    height:55px;
    border-radius:50%;
    background:#fff;
    color:var(--gold);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:20px;
    transition:.35s;

}

.social a:hover{

    background:var(--gold);
    color:#fff;
    transform:translateY(-6px);

}

footer .copyright{

    margin-top:30px;
    font-size:14px;
    color:#aaa;

}

/*======================================
CUSTOM SCROLLBAR
======================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f5f5f5;

}

::-webkit-scrollbar-thumb{

    background:var(--gold);
    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--gold-dark);

}

/*======================================
SELECTION
======================================*/

::selection{

    background:var(--gold);
    color:#fff;

}

/*======================================
UTILITY CLASSES
======================================*/

.text-center{
    text-align:center;
}

.mt-30{
    margin-top:30px;
}

.mt-50{
    margin-top:50px;
}

.mb-30{
    margin-bottom:30px;
}

.mb-50{
    margin-bottom:50px;
}

.shadow{
    box-shadow:var(--shadow);
}

.rounded{
    border-radius:20px;
}
