.ib-people{
text-align:center;
padding:60px 20px;
}

.ib-people-wrapper{
display:flex;
justify-content:center;
align-items:center;
gap:40px;
}

.ib-person{
width:280px;
}

.ib-person img{
width:180px;
height:180px;
object-fit:cover;
border-radius:50%;
display:block;
margin:0 auto 20px;
}

.ib-couple-separator{
font-size:36px;
}


.ib-person h3{
margin:15px 0 10px;
}

.ib-person p{
margin:0;
line-height:1.8;
}



.ib-hero{
text-align:center;
padding:80px 20px;
}

.ib-hero-label{
font-size:18px;
letter-spacing:3px;
margin-bottom:20px;
}

.ib-hero-couple{
font-size:52px;
line-height:1.3;
margin:0;
}

.ib-hero-couple span{
display:block;
font-size:36px;
margin:10px 0;
}

.ib-hero-date{
margin-top:20px;
font-size:20px;
font-weight:600;
}

.ib-hero-subtitle{
max-width:700px;
margin:30px auto 0;
line-height:1.8;
}



.ib-event{
text-align:center;
padding:60px 20px;
}

.ib-event-card{
margin-bottom:40px;
}

.ib-event-card h3{
margin-bottom:10px;
}

.ib-event-location{
margin-top:30px;
}

.ib-map{
margin-top:30px;
}

.ib-map iframe{
width:100%;
min-height:400px;
border:0;
}




.ib-event-item{
margin-bottom:15px;
}




/* EVENT */

.ib-event{
padding:80px 20px;
text-align:center;
}

.ib-event h2{
margin-bottom:40px;
}

.ib-event-card{
max-width:700px;
margin:0 auto 30px;
padding:30px;
border:1px solid #e5e5e5;
border-radius:20px;
background:#fff;
}

.ib-event-card h3{
margin-bottom:20px;
font-size:28px;
}

.ib-event-row{
margin-bottom:12px;
font-size:16px;
}

.ib-event-row strong{
display:inline-block;
min-width:180px;
}

.ib-map{
max-width:900px;
margin:40px auto 0;
overflow:hidden;
border-radius:20px;
}

.ib-map iframe{
width:100%;
height:450px;
border:0;
}

.ib-event a{
display:inline-block;
margin-top:20px;
padding:12px 24px;
border-radius:12px;
text-decoration:none;
}


.ib-section{
padding:80px 20px;
}

.ib-hero,
.ib-people,
.ib-event{
max-width:1100px;
margin:0 auto;
}



.ib-event{
padding:80px 20px;
text-align:center;
}

.ib-event-card{
max-width:650px;
margin:0 auto 30px;
padding:30px;
border:1px solid #ddd;
border-radius:20px;
background:#fff;
}

.ib-event-card h3{
margin-bottom:20px;
}

.ib-event-card div{
margin-bottom:10px;
}

.ib-event-card-main{
max-width:800px;
padding:40px;
}

.ib-event-card-main h3{
font-size:32px;
}


#ib-countdown{
display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;
margin-top:30px;
}

.ib-countdown-box{
width:90px;
height:90px;
border:1px solid #ddd;
border-radius:16px;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
background:#fff;
}

.ib-countdown-box span{
font-size:28px;
font-weight:700;
line-height:1;
}

.ib-countdown-box small{
margin-top:8px;
font-size:13px;
}



.ib-countdown-title{
text-align:center;
margin-bottom:30px;
font-size:32px;
font-weight:700;
}



.ib-story{
padding:80px 20px;
max-width:1000px;
margin:0 auto;
}

.ib-story h2{
text-align:center;
margin-bottom:50px;
}

.ib-story-item{
max-width:700px;
margin:0 auto 50px;
text-align:center;
}

.ib-story-image{
margin-bottom:20px;
}

.ib-story-image img{
width:100%;
max-width:500px;
height:auto;
display:block;
margin:0 auto;
border-radius:20px;
}

.ib-story-item h3{
margin-bottom:10px;
}

.ib-story-item strong{
display:block;
margin-bottom:15px;
font-size:20px;
}

.ib-story-item p{
line-height:1.8;
}




/* STORY TIMELINE */

.ib-story{
max-width:1100px;
margin:0 auto;
padding:80px 20px;
position:relative;
}

.ib-story h2{
text-align:center;
margin-bottom:60px;
}

.ib-story::before{
content:'';
position:absolute;
top:140px;
bottom:0;
left:50%;
width:2px;
background:#ddd;
transform:translateX(-50%);
}

.ib-story-item{
position:relative;
margin-bottom:60px;
}

.ib-story-content{
display:flex;
align-items:center;
gap:40px;
}

.ib-story-item.left .ib-story-content{
flex-direction:row;
}

.ib-story-item.right .ib-story-content{
flex-direction:row-reverse;
}

.ib-story-image,
.ib-story-text{
flex:1;
}

.ib-story-image img{
width:100%;
max-width:450px;
border-radius:20px;
display:block;
}

.ib-story-text{
background:#fff;
padding:25px;
border-radius:20px;
box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.ib-story-text h3{
margin-bottom:10px;
}

.ib-story-text strong{
display:block;
margin-bottom:15px;
font-size:22px;
}


@media (max-width:768px){

.ib-story::before{
display:none;
}

.ib-story-content{
flex-direction:column !important;
text-align:center;
}

.ib-story-image img{
margin:0 auto;
}

}



/* GALLERY */

.ib-gallery{
padding:80px 20px;
max-width:1200px;
margin:0 auto;
}

.ib-gallery h2{
text-align:center;
margin-bottom:40px;
}

.ib-gallery-grid{
display:grid;
grid-template-columns:
repeat(
auto-fit,
minmax(250px,1fr)
);
gap:20px;
}

.ib-gallery-item{
display:block;
overflow:hidden;
border-radius:20px;
}

.ib-gallery-item img{
width:100%;
height:320px;
object-fit:cover;
display:block;
transition:.4s;
}

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



#ib-lightbox{
display:none;
position:fixed;
inset:0;
background:rgba(0,0,0,.9);
z-index:99999;
justify-content:center;
align-items:center;
}

#ib-lightbox img{
max-width:90%;
max-height:90%;
border-radius:20px;
}

#ib-lightbox-close{
position:absolute;
top:20px;
right:20px;

width:45px;
height:45px;

display:flex;
align-items:center;
justify-content:center;

padding:0;

border:none;
border-radius:50%;

cursor:pointer;

font-size:24px;
line-height:1;

z-index:100000;

background:#fff;
color:#000;
}




.ib-rsvp-counter{
display:flex;
justify-content:center;
gap:20px;
margin-bottom:30px;
}

.ib-rsvp-counter div{
padding:15px 25px;
border-radius:15px;
background:#fff;
box-shadow:0 5px 15px rgba(0,0,0,.05);
}

.ib-attendance-badge{
display:inline-block;
padding:5px 12px;
border-radius:20px;
margin-top:8px;
font-size:13px;
}

.ib-attendance-badge.hadir{
background:#e8f7e8;
}

.ib-attendance-badge.tidak_hadir{
background:#ffe8e8;
}





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

.ib-rsvp{
max-width:900px;
margin:80px auto;
padding:0 20px;
}

.ib-rsvp h2{
text-align:center;
margin-bottom:15px;
}

.ib-rsvp > p{
text-align:center;
margin-bottom:40px;
opacity:.8;
}


.ib-rsvp form{
background:#fff;
padding:30px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,.05);
margin-bottom:40px;
}


.ib-rsvp input[type="text"],
.ib-rsvp textarea{
width:100%;
padding:12px 15px;
border:1px solid #ddd;
border-radius:12px;
box-sizing:border-box;
margin-top:8px;
}

.ib-rsvp textarea{
resize:vertical;
min-height:120px;
}


.ib-rsvp label{
display:block;
margin-bottom:10px;
}


.ib-rsvp button{
border:none;
padding:14px 24px;
border-radius:12px;
cursor:pointer;
font-weight:600;
}


.ib-rsvp-messages{
margin-top:50px;
}

.ib-rsvp-message{
background:#fff;
padding:20px;
border-radius:18px;
margin-bottom:15px;
box-shadow:0 5px 15px rgba(0,0,0,.05);
}



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


.ib-gift{
max-width:900px;
margin:80px auto;
padding:0 20px;
text-align:center;
}

.ib-gift h2{
margin-bottom:40px;
}

.ib-gift-card{
background:#fff;
padding:25px;
border-radius:20px;
margin-bottom:20px;
box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.ib-gift-number{
font-size:22px;
font-weight:700;
margin:15px 0;
}

.ib-gift button{
border:none;
padding:12px 20px;
border-radius:12px;
cursor:pointer;
}

.ib-qris-trigger{
display:block;
text-align:center;
margin-top:20px;
}

.ib-qris-image{
display:block;
margin:0 auto;

max-width:280px;
width:100%;
height:auto;

border-radius:20px;

cursor:pointer;

transition:.3s;
}

.ib-qris-image:hover{
transform:scale(1.03);
}



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

.ib-footer{
padding:80px 20px;
text-align:center;
}

.ib-footer h2{
margin-bottom:20px;
}

.ib-footer p{
max-width:600px;
margin:0 auto 30px;
line-height:1.8;
}

.ib-footer h3{
font-size:32px;
margin-bottom:20px;
}

.ib-footer-copy{
opacity:.7;
font-size:14px;
}



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

.ib-family{
padding:80px 20px;
text-align:center;
}

.ib-family h2{
margin-bottom:40px;
}

.ib-family-wrapper{
display:flex;
gap:20px;
justify-content:center;
flex-wrap:wrap;
}

.ib-family-card{
max-width:350px;
width:100%;

padding:25px;

border-radius:20px;

background:#fff;

box-shadow:
0 5px 20px rgba(
0,
0,
0,
.05
);
}

.ib-family-card h3{
margin-bottom:20px;
}

.ib-family-card p{
line-height:2;
}


/* ===================================
   PARENT PROFESSION
=================================== */

.ib-person small,
.ib-family small{
display:block;
margin-top:4px;
opacity:.7;
font-size:13px;
}



/* ===================================
   TURUT MENGUNDANG
=================================== */

.ib-turut{
padding:80px 20px;
text-align:center;
}

.ib-turut h2{
margin-bottom:40px;
}

.ib-turut-wrapper{
display:flex;
gap:20px;
justify-content:center;
flex-wrap:wrap;
}

.ib-turut-card{
max-width:350px;
width:100%;

padding:25px;

background:#fff;

border-radius:20px;

box-shadow:
0 5px 20px rgba(
0,
0,
0,
.05
);
}

.ib-turut-card ul,
.ib-turut-simple{
list-style:none;
padding:0;
margin:0;
}

.ib-turut-card li,
.ib-turut-simple li{
padding:8px 0;
}


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

.ib-hero{

position:relative;

background-size:cover;
background-position:center;
background-repeat:no-repeat;

padding:120px 20px;

text-align:center;

overflow:hidden;

}

.ib-hero::before{

content:'';

position:absolute;

inset:0;

background:rgba(
0,
0,
0,
.35
);

}

.ib-hero > *{
position:relative;
z-index:2;
}



/* ===================================
   SALAM UNDANGAN
=================================== */

.ib-invitation-greeting{

max-width:700px;

margin:0 auto 50px;

padding:0 20px;

text-align:center;

line-height:1.8;

font-size:16px;

}
