:root{
    --black: rgb(0, 0, 0);
    --white: rgb(255, 255, 255);
    --bg: #0a0a0a;
    --shadow: 0 2px 2px rgb(0 0 0 /0.5);
}

body{
    color:#303030;
    font-size: 1.2rem;
    font-family: "Work Sans", sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* Decoration */

.main-content{
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        180deg,
        #fbfaf7 0%,
        #f9f6f1 25%,
        #f8f5ef 55%,
        #f6f1ea 100%
    );
}

.background-decoration{
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:0;
}

.main-content section{
    position:relative;
    z-index:2;
}

.bg-left-top{
    position:absolute;
    left:0;
    top:220px;
    width:180px;
}

.bg-right-top{
    position:absolute;
    right:0;
    top:170px;
    width:230px;
}

.bg-left-middle{
    position:absolute;
    left:0;
    top:950px;
    width:180px;
}

.bg-right-middle{
    position:absolute;
    right:0;
    top:1450px;
    width:200px;
}

.bg-left-bottom{
    position:absolute;
    left:0;
    top:2300px;
    width:180px;
}

.bg-right-bottom{
    position:absolute;
    right:0;
    bottom:250px;
    width:180px;
}

/* Hero */

.hero{
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #ffffff, #fbfaf7);
    overflow: hidden;
    position: relative;
}

.hero .container{
    max-width:1200px;
}

.hero-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    min-height: 100%;
}

.hero-text{
    flex: 1;
    max-width: 560px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.hero-subtitle{
    letter-spacing: 5px;
    color: #888;
    text-transform: uppercase;
}

.hero h1{
    font-family:"Cormorant Garamond", serif;
    font-size:clamp(3rem,6vw,5rem);
    font-weight:500;
    color:#303030;
    line-height:1;
    margin:1rem 0;
    white-space: normal;
}

.hero-description{
    max-width:80%;
    color:#666;
    line-height:2;
    margin: 1rem 0 2rem;
}

.hero-button{
    border:1px solid #556b4f;
    border-radius:0;
    background:white;
    color:#556b4f;
    padding:.9rem 2rem;
    transition:.3s;
}

.hero-button:hover{
    background:#556b4f;
    color:white;
}

.hero-decoration{
    flex: 1;
    display:flex;
    justify-content:flex-end;
}

.hero-decoration img{
    width:100%;
    max-width: 430px;
    height: auto;
    opacity:.9;
}




/* NAVBAR */
.mynavbar{
    background-color: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(3px);
}

.mynavbar .offcanvas{
    height: 100vh;
}

.mynavbar .navbar-brand, .mynavbar .offcanvas-title{
    font-family:"Cormorant Garamond", serif;
    font-size: 2rem;
}

.mynavbar .nav-link{
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Home */

.home{
    position:relative;
    background: transparent;
    padding-top:12rem;
    padding-bottom:8rem;

    overflow:hidden;

   border: none;
}

.home span{
    font-family: "Cormorant Garamond", serif;
    color:#2f2f2f;
    font-size:1.2rem;
    font-weight:500;
    display: inline-block;
}


.home h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 4rem;
    font-weight: 500;
    color: #2f2f2f;
    margin-bottom: .5rem;
}

.section-divider{
    width:70px;
    height:2px;
    background:#cfbda8;
    margin:18px auto 28px;
    border-radius:50px;

    transform: scaleX(0);
    transform-origin: center;
    transition: transform .8s ease;
}

.section-divider.aos-animate{
    transform: scaleX(1);
}


.home-title h3{
    font-family:"Cormorant Garamond", serif;
    color:#2f2f2f;
    font-size:2rem;
    font-weight:500;
    margin-top:0;
}

.couple-wrapper{
    margin-top:5rem;
    align-items:center;
}

.couple-wrapper h3{
    font-size:2.2rem;
    color:#2f2f2f;
    margin-bottom:.5rem;
    line-height: 1.2;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

.couple-wrapper p{
    color:#6d6d6d;
    line-height:1.2;
    font-size:1.2rem;
}

.couple-photo{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
}

.photo-frame{
    display:flex;
    justify-content:center;
    align-items:center;

    width:220px;
    height:220px;
    margin:auto;

    border:2px solid #e8d8c7;
    border-radius:50%;
    padding:6px;
    background:#fff;
}

.center-divider{
    height:300px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.line{
    width:1px;
    flex:1;
    background:#d7cab7;
}

.diamond{
    width:8px;
    height:8px;
    border:1px solid #d7cab7;
    transform:rotate(45deg);
    background:#d7cab7;
    margin:12px 0;
}

.mini-divider{
    width:60px;
    height:1px;
    background:#d8cab8;
    margin:1rem auto;
}

.text-end .mini-divider{
    margin-left:auto;
    margin-right:0;
}

.bride-info .mini-divider{
    margin-left:0;
    margin-right:auto;
}

.groom-info{
    padding-right:35px;
}

.bride-info{
    padding-left:35px;
}

/* INFO */

.info{
    position:relative;
    background: #556b4f;
    padding-top:8rem;
    padding-bottom:8rem;
    overflow:hidden;
}

.info .alamat{
    font-size:1rem;
    line-height:1.9;
    color:rgba(251,250,247,.85);
    margin-bottom:1.8rem;
}
 
.info h2{
    font-family:"Cormorant Garamond", serif;
    font-size:4rem;
    font-weight:500;
    color:#fbfaf7;
    margin-bottom:.3rem;
}

.info .card{
    background:#fbfaf7;
    border:1px solid rgba(255,255,255,.25);
    border-radius:28px;
    overflow: hidden;
}

.info .card-header{
    background:  #fbfaf7;
    font-family:"Cormorant Garamond", serif;
    font-size:3rem;
    color:#303030;
    padding:1.3rem 1rem;
    border: none;
    margin-top: 20px;
    margin-bottom: none;
}

.info .row.card-wrapper{
    column-gap: 40px;
}

.info .card-body{
    background: #fbfaf7;
    color:#303030;
    font-size: 1.1rem;
    padding:2rem;
    border-bottom:1px solid #cfbda8;
}

.info .card-footer{
    background: transparent;
    border-top:none;
    color:#666;
    padding: 1rem;
}

.map-button{
    border:1px solid #fbfaf7;
    border-radius:0;
    background:#fbfaf7;
    color:#556b4f;
    padding:.9rem 2rem;
    transition:.3s;
}

.map-button:hover{
    background:#475942;
    color:#fbfaf7;
    border-color:#475942;
}

.info i{
    font-size:1.6rem;
    color:#556b4f;
    margin-bottom:.7rem;
}

.map-button i{
    color:#556b4f;
    transition: color .3s ease;
}

.map-button:hover i{
    color:#fbfaf7;
}

.wave-top{
    line-height:0;
    margin-bottom:-10px;
}

.wave-bottom{
    line-height:0;
    margin-top:-10px;
}

.wave-top svg,
.wave-bottom svg{
    display:block;
    width:100%;
    height:auto;
}

.info-area{
    position: relative;
    overflow: hidden;
}

.info .section-divider{
    background: rgba(255,255,255,0.85);
}

.info .section-divider::after{
    background: rgba(255,255,255,0.85);
}



/* Gallery */

.gallery{
    background: transparent;
    padding-top:8rem;
    padding-bottom:8rem;
    border: none;
}

.gallery h2{
    font-family:"Cormorant Garamond", serif;
    font-size:4rem;
    font-weight:500;
    color:#2f2f2f;
    margin-bottom:3rem;
}

.gallery-photo{
    display: block;
    width: 90%;

    margin: 0 auto;
    border: none;
    outline: none;
    padding: 0;
    background: transparent;
    transition: .35s;
}

.gallery-photo:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 28px rgba(0,0,0,.12);
}

.gallery .col{
    margin-top:1.4rem;
}




/* Audio */

.audio-icon-wrapper{
    width: 4rem;
    height: 4rem;
    font-size: 4rem;
    position: fixed;
    bottom: 2.5rem;
    right: 2rem;
    cursor: pointer;
    color: white;
    opacity: 0.5;
    mix-blend-mode: difference;
    animation: rotating 4s linear infinite;
    transform-origin: center;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;
    z-index: 99999;
}

/* RSVP */

.rsvp{
    position: relative;
    background: transparent;
    padding: 7rem 0;
}

.rsvp h2{
    font-family: "Cormorant Garamond", serif;
    font-size: 4rem;
    font-weight: 500;
    color:#2f2f2f;
    margin-bottom:.3rem;
}

.rsvp p{
    color:#666;
    margin-bottom:4rem;
}

.rsvp h4{
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    color:#303030;
}


#my-form{
    gap:1.5rem;
}

.rsvp .form-label{
    color:#555;
    font-size:1rem;
    margin-bottom:.5rem;
}

.rsvp input.form-control,
.rsvp select.form-select{
    height: 55px;
    border:1px solid #cfbda8;
    border-radius:3px;
    background:rgba(255,255,255,.75);
    color:#444;
    box-shadow:none;
    transition:.3s;
}

.rsvp textarea.form-control{
    width:100%;
    min-height:140px;
    resize:none;

    border:1px solid #cfbda8;
    border-radius:3px;
    background:rgba(255,255,255,.75);
    color:#444;
    box-shadow:none;
}

.rsvp .form-control:focus,
.rsvp .form-select:focus{
    border-color:#556b4f;
    box-shadow:none;
}

.rsvp-button{
    min-height: 54px;
    border:1px solid #7f8766;
    border-radius:3px;
    background: #556b4f;
    color:white;
    transition:.3s;
}

.rsvp-button:hover{
    background:#475942;
    color:white;
    border-color:#556b4f;
}

#my-form .btn{
    margin-top:1.9rem;
}

.rsvp .mb-3{
    display:flex;
    flex-direction:column;
    height: 100%;
}

#my-form .rsvp-button{
    margin-top:32px;
}

#comment-form .btn{
    margin-top:0;
}


.comment-section{
    max-width:700px;
    margin:auto;
}

.comment-card{
    background:#ffffff;
    border:1px solid #cfbda8;
    border-radius:8px;
    padding:20px;
    margin-bottom:18px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    transition:.3s;
}

.comment-card:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 24px rgba(0,0,0,.08);
}

.comment-card h5{
    font-family:"Cormorant Garamond", serif;
    font-size:1.5rem;
    color:#303030;
    margin-bottom:8px;
}

.comment-card p{
    margin-bottom:12px;
    color:#666;
    line-height:1.7;
}

.comment-card small{
    color:#999;
}

#comment-form textarea{
    height: 120px;
    resize:none;
    overflow-y: auto;
}

#comment-form,
#comment-list{
    width:100%;
}

#comment-form .form-control,
#comment-form textarea,
#comment-form .btn{
    width:100%;
}

#comment-form{
    width:100%;
}

#comment-form .form-control{
    width:100%;
}

#comment-list{
    width: 100%;

    max-height: 380px;   /* tinggi sekitar 2 card */
    overflow-y: auto;

    display: flex;
    flex-direction: column;
    gap: 18px;

    padding-right: 8px; /* agar scrollbar tidak menempel */
}

#comment-list::-webkit-scrollbar{
    width: 6px;
}

#comment-list::-webkit-scrollbar-track{
    background: transparent;
}

#comment-list::-webkit-scrollbar-thumb{
    background: #556b4f;
    background: #c8b69d;
    border-radius: 10px;
}

#comment-list::-webkit-scrollbar-thumb:hover{
    background: #556b4f;
}

/* GIFTS */

.gifts{
    position: relative;
    overflow: hidden;
    background: transparent;
    padding:8rem 0;
}

.gifts .container{
    position: relative;
    z-index: 2;
}

.gifts::after{
    content: "";
    position: absolute;

    right: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 450px;
    height: 700px;

    pointer-events: none;
    z-index: 0;
}

.gifts span{
    display:block;
    color:#8b816f;
    font-size:1rem;
    letter-spacing:1px;
    margin-bottom:.4rem;
}

.gifts h2{
    font-family:"Cormorant Garamond", serif;
    font-size:4rem;
    font-weight:500;
    color:#2f2f2f;
    margin-bottom:3rem;
}

.gifts .list-group{
    border:none;
    gap:1.5rem;
}

.gifts .list-group-item{
    position: relative;
    background: #fff;
    border: 1px solid #cfbda8;
    border-radius: 8px;
    padding: 2rem 1.5rem;

    width: 100%;
    text-align: center;
    overflow: hidden;

    min-height: 430px;
}

.gifts .list-group-item::before,
.gifts .list-group-item::after{
    content:"";
    position:absolute;
    width:18px;
    height:18px;
    border:2px solid #cfbda8;
}

.gifts .list-group-item::before{
    top:8px;
    left:8px;

    border-right:none;
    border-bottom:none;
}

.gifts .list-group-item::after{
    right:8px;
    bottom:8px;
    border-left:none;
    border-top:none;
}

.gifts .rekening{
    font-size:1.8rem;
    font-weight:600;
    color:#303030;

    margin-top:35px;
    margin-bottom:18px;
}

.gifts .pemilik{
    font-size:1.2rem;
    color:#666;

    margin-top:25px;
    margin-bottom:70px;
}

.bank-logo{
    display: block;
    margin: 0 auto 1rem;
    height: 42px;
    width: 0 auto 1rem;
    object-fit: contain;
}

.gifts .list-group-item img{
    width: 135px;
    height: auto;
    margin-bottom: .8rem;
}

.copy-button{
    width:220px;
    min-height:54px;

    border:1px solid #7f8766;
    border-radius:3px;

    background:#556b4f;
    color:white;

    display:block;
    margin:0 auto;

    transition:.3s;
}

.copy-button:hover{
    background: #475942;
    border-color: #556b4f;
    color: white;
}

.gifts .bi-map-fill{
    color:#556b4f;
    font-size:2.4rem;
    display:block;
}

.alamat-card{
    padding: 2rem 1.5rem;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;
}

.alamat-card .copy-button{
    margin-top:auto;
}
.alamat-rumah{
    font-size: 1.1rem;
    line-height:1.8;
    margin: 5px 0 15px;
    text-align: center;
}

.gift-card{
    height:auto;
}

.copy-button{
    margin-top:auto;
}

.alamat-rumah{
    margin:25px 0;
}

/* footer */
footer{
    background:#556b4f;
    padding:3rem 0;
    font-family: "Cormorant Garamond", serif;
}

footer small{
    display:block;
    color:#ffffff;
    line-height:2;
    font-size:.95rem;
}

footer h5{
    color: #ffffff;
}

footer a{
    color:#ffffff;
    text-decoration:none;
    font-weight:600;
    transition:.3s ease;
}

footer a:hover{
    color:#e8e3d8;
}

.footer-divider{
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.7);
    margin: 12px auto 18px;
}

@keyframes rotating{
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }

}


/* Media Query */
/* Laptop */
@media (max-width:992px){

    html{
        font-size:75%;
    }

    .hero{
        padding:4rem 0;
    }

    .hero-wrapper{
        gap:1.5rem;
        align-items:center;
    }

    .hero-text{
        flex:0 0 60%;
        max-width: 60%;
    }

    .hero-decoration{
        flex:0 0 40%;
    }

    .hero h1{
        font-size:4rem;
        margin:1rem 0;
    }

    .hero-description{
        width:100%;
        font-size:1rem;
        line-height:1.8;
    }

    .hero-decoration img{
        max-width:280px;
    }

}


/* Tablet */
@media (max-width: 768px){
    html{
        font-size: 65%;
    }

    .mynavbar .nav-link{
        font-size: 2rem;
        text-align: center;
    }

    .sticky-top{
        overflow: hidden;
    }

    .hero-wrapper{
        flex-direction:column;
        text-align:center;
    }

    .hero-text{
        flex-direction: column;
        align-items: center;
    }

    .hero-description{
        width:100%;
        font-size: 1.4rem;
    }

    .hero-decoration{
        justify-content:center;
    }

    .hero-decoration img{
        max-width:260px;
    }

    .couple-wrapper{
        row-gap:3rem;
    }

    .couple-wrapper h3{
        white-space: nowrap;
    }

    /* Urutan baris pertama */
    .groom-info{
        order:1;
        text-align:right !important;
        padding-right:20px;
    }

    .groom-photo{
        order:2;
    }

    /* Garis tengah disembunyikan */
    .center-divider{
        display:none;
    }

    .couple-wrapper .col-lg-1{
        display:none;
    }

    /* Baris kedua */


    .bride-photo{
        order:3;
    }
    

    .bride-info{
        order:4;
        text-align:left !important;
        padding-left:20px;
    }

    .couple-photo{
        max-width:200px;
    }

    .photo-frame{
        width:clamp(120px,35vw,220px);
        height:clamp(120px,35vw,220px);
    }
    
    .desktop-break{
        display: none;
    }


    .gifts .col-md-6{
        margin-bottom: 1.8rem;
    }

    .gifts .row{
        row-gap: 1.5rem;
    }

    .gifts .list-group-item{
        min-height:320px;
        height: 330px;
        padding:1.8rem 1.3rem;
    }

    .gifts .rekening{
        margin-top:20px;
        margin-bottom:12px;
    }

    .gifts .pemilik{
        margin-top:15px;
        margin-bottom:35px;
    }

    .copy-button{
        width:180px;
    }

    .alamat-rumah{
        margin:25px 0;
        text-align:center;
        line-height:1.8;
        padding-top: 15px;
    }

     .info .card-body .col-md-6{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;

        margin-bottom: 12px;
    }

    .info .card-body i{
        margin-bottom: 0;
        font-size: 1.3rem;
    }

    .info .card-body span{
        margin: 0;
    }


}



/* Mobile phone */
@media (max-width:575.98px){

    html{
        font-size: 60px;
    }

    /* HERO */
    .hero{
        padding:4rem 0;
    }

    .hero-subtitle{
        font-size: 1rem;
    }

    .hero h1{
        font-size:3.5rem;
    }

    .hero-description{
        font-size:1.2rem;
    }

    /* ===========================
       HOME
       =========================== */

    .couple-wrapper{
        margin-top:3rem;
        row-gap:2rem;
    }

    .groom-info,
    .bride-info{
        padding:0 8px;
    }

    .groom-photo,
    .bride-photo{
        padding:0;
        text-align:center;
    }

    .photo-frame{
        width:120px;
        height:120px;
        margin:auto;
    }

    .couple-photo{
        width:100%;
        height:100%;
        object-fit:cover;
    }

    .couple-wrapper h3{
        font-size:1.9rem;
        line-height:1.15;
        white-space:normal;
    }

    .couple-wrapper p{
        font-size:1rem;
        line-height:1.5;
    }

    .mini-divider{
        width:40px;
        margin:.8rem auto;
    }

    .gallery-photo{
        width:85%;
        margin:auto;
    }

    /* GIFTS */

    .gifts .list-group-item{
        min-height:320px;
        height:320px;
        padding:1.8rem 1.3rem;
    }

    .gifts .rekening{
        margin-top:20px;
        margin-bottom:12px;
    }

    .gifts .pemilik{
        margin-top:15px;
        margin-bottom:35px;
    }

    .copy-button{
        width:180px;
    }

}


/* HP kecil */
@media (max-width:430px){

    html{
        font-size:56%;
    }

    .hero h1{
        font-size:2.6rem;
    }

    .hero-description{
        font-size:1rem;
    }

    .hero-decoration img{
        max-width:260px;
    }

    .photo-frame{
        width:150px;
        height:150px;
    }

    .couple-photo{
        max-width:150px;
    }

    .couple-wrapper h3{
        font-size:1.8rem;
    }

    .couple-wrapper p{
        font-size:1rem;
    }
}


@media (max-width:390px){
    html{
        font-size:54%;
    }

    .photo-frame{
        width:140px;
        height:140px;
    }

    .couple-photo{
        max-width:140px;
    }
}