/* font-family: 'Castoro', serif;
font-family: 'Rampart One', cursive;
font-family: 'Sacramento', cursive; 'Reggae One', cursive;
font-family: 'Work Sans', sans-serif; */

:root{
    --pink: #f14e95;
    --bg : #0a0a0a;
    --shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
body{
    font-size: 1.2rem;
    font-family: 'Work Sans', serif;
    min-height: 5000px
}

.hero::before{
    content:'';
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
     background-size: cover;
    background-image: url(img/wed.jpg);
    z-index: -1;
    filter:grayscale(60%);
    background-position: center;
}

.hero{
    position:relative;
    min-height: 100vh;
}
.hero .salam{
    font-size: 16px;
    margin-top: 80px;
    margin-bottom: 20px;
}
.hero .name-partners{
    font-family: 'Rampart One',cursive;
    font-size:3rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
    font-weight: bold;
    /* color:var(--pink); */

}

.hero h2{
    /* font-family:'Reggae One', cursive; */
    font-family: 'Sacramento', cursive;
    font-size:3rem;
    top:0;
    font-weight:bold;
    text-shadow: var(--shadow);
}


.hero p{
    font-size: 1.4rem;
    font-weight:bold;
    border-radius:8px;
    background:var(--pink);
}

.hero a{
    color:var(--pink);
    background-color:white;
    padding: 0.8rem;
    font-size: 20px;
    font-weight: bold;
    box-shadow:var(--shadow);
}
.hero a:hover{
    color:white;
    background-color:var(--pink);
}


.hero h1, .hero h4, .hero p {
    text-shadow: var(--shadow);
}



/* Ukuran default untuk Mobile (≤ 480px) */
/* .bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.425) !important;
    backdrop-filter: blur(5px);
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    border-radius: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
} */

/* Saat navbar aktif */
/* Default posisi navbar di bawah */
.bottom-navbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    border-radius: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: top 0.5s ease, bottom 0.5s ease;
}

/* Jika navbar berpindah ke atas */
.bottom-navbar.top-navbar {
    top: 0;
    bottom: unset;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}
/* Tablet (481px - 1024px) */
@media (min-width: 481px) and (max-width: 1024px) {
    .bottom-navbar {
        bottom: 30px;
        left: 0;
        right: 0;
        padding: 12px;
    }
}

/* Laptop (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .bottom-navbar {
        bottom: 40px;
        left: 0;
        right: 0;
        padding: 15px;
    }
}

/* PC/Desktop (>1440px) */
@media (min-width: 1441px) {
    .bottom-navbar {
        bottom: 50px;
        left: 0;
            right: 0;
        padding: 18px;
    }
}

.nav-item {
    text-decoration: none;
    color: #555;
    font-size: 20px;
    transition: all 0.3s ease;
    text-align: center;
    padding: 0;
}

.nav-item i {
    margin: 0;
    padding: 0;
}

.nav-item p {
    font-size: 11px;
    margin: 0;
    padding: 0;
    font-weight: 800;
}

.nav-item:hover {
    color: #ff4081;
    transform: scale(1.1);
}

.nav-item.active {
    background-color: var(--pink);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: -20px;
    font-size: 16px;
    color: #ffffff;
    transition: all 0.3s ease-in-out;
    box-shadow:  5px  rgb(247, 3, 133);
}

.nav-center {
    border: none;
    color: #ff4081;
    font-size: 28px;
    width: 50px;
    height: 50px;
    top: -20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    /* outline: none; */
    animation: rotating 4s linear infinite;
    cursor: pointer;
    z-index: 999;
}

.home{
     background-size: cover;
    background-image: url(img/bg.png);
    min-height:100vh;
    /* margin-top:-6rem; */
    padding-top:2rem;
    padding-bottom:5rem;
}

.home h2, 
.info h2, 
.story h2, 
.gallery h2,
.rsvp h2,
.gifts h2{
    color:var(--pink);
    font-family:'sacramento';
    font-size:5rem;
    font-weight: bold;
}

.home h3{
    color: #444;
    font-size:2rem;
    margin-bottom:1rem
}

.home p{
    font-size:1.2rem;
    color:#666;
    font-weight:bold;
}


.home .couple{
    margin-top:50px;
}

.home .couple h3{
    font-family: 'Rampart One', cursive;
    font-size:2.4rem;
    color:var(--pink);
}

.home .couple img{
   width:100%;
}

.home .heart-content {
    width: auto;
    z-index: 99;
    /* Tetap di atas tapi tidak terlalu dominan */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.home .heart-content .heart {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.157);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* Pusatkan hati */
}

.home .heart-content .heart i {
    color: var(--pink);
    font-size: 25px;
    animation: heartbeat 1s infinite ease-in-out;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.info{
    background-color:var(--bg);
    color:white;
    padding-top:10rem;
    padding-bottom:8rem;
}

/* .info h2{
    color:var(--pink);
    font-family:'Sacramento';
    font-size:5rem;
    font-weight:bold
} */

.info .alamat{
    font-size:1.1rem;
    font-weight:bold;
}

.info .description{
    font-size:1rem;
    font-weight:300px;
}


.info .card{
    background-color:rgba(255, 255, 255, 0.2) !important;
    color:white !important;
    border: 1px solid #999;
}

.info .card-header{
    border-bottom: 1px solid #999;
    text-transform:uppercase;
    letter-spacing:0.1rem;
    font-weight:bold;
}

.info .card-body{
    font-size:1rem;
}

.info .card-footer{
    border-top: 1px solid #999;
    font-size:0.9rem;
    font-weight:300;
}


.story, 
.gallery,
.rsvp,
.gifts {
    padding-top:10rem;
    padding-bottom:8rem;
}

.story span, 
.gallery span,
.gifts span{
    text-transform:uppercase;
    color:#666;
    font-size:0.9rem;
    letter-spacing:1px;
    margin-bottom:1rem;
    display:block;
}

.story p, 
.gallery p,
.rsvp p, 
.gifts p{
    font-size:1rem;
    font-weight:300;
}

.timeline{
    list-style:none;
    padding:1.4rem 0;
    margin-top:1rem;
    position:relative;
}

.timeline::before{
    content:'';
    top:0;
    bottom:0;
    position:absolute;
    width:1px;
    background-color: #ccc;
    left:50%;
}

.timeline li{
    margin-bottom: 1.5rem;
    position:relative;
}
.timeline li:before, .timeline li::after{
    content:'';
    display:table;
}

.timeline li::after{
    clear:both;
}

.timeline li .timeline-image{
    width:160px;
    height:160px;
    background-color:#ccc;
    position:absolute;
    left :50%;
    transform:translateX(-50%);
    border-radius:50%;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.timeline li .timeline-panel{
    width:40%;
    float:left;
    border:1px solid #ccc;
    padding:2rem;
    position:relative;
    border-radius:7px;
    background-color:#fff;
}

.timeline li .timeline-panel::before{
    content:'';
    display:inline-block;
    position:absolute;
    border-top:15px solid transparent;
    border-left:15px solid #ccc;
    border-right:0 solid #ccc;
    border-bottom:15px solid transparent;
    right:-15px;
    top:80px;
    /* width:30px;
    height:30px;
    background-color:#fff;
    border:1px solid #ccc;
    right:-15px;
    top:70px;
    transform:rotate(45deg);
    z-index:-1; */
}

.timeline li .timeline-panel::after{
    content:'';
    display:inline-block;
    position:absolute;
    border-top:14px solid transparent;
    border-left:14px solid #fff;
    border-right:0 solid #fff;
    border-bottom:14px solid transparent;
    right:-13px;
    top:81px;
}

.timeline li.timeline-inverted .timeline-panel{
    float:right;
}

.timeline li.timeline-inverted .timeline-panel::before{
    border-left-width:0;
    border-right-width:15px;
    left:-15px;
    right:auto;
}

.timeline li.timeline-inverted .timeline-panel::after{
    border-left-width:0;
    border-right-width:14px;
    left:-13px;
    right:auto;
}


.gallery{
    background-color:#ffd4e6;
}

.rsvp span{
    /* width:100px;
    height:100px; */
    background-color:white;
    border-radius:50%;
    box-shadow:0 0 5px rgba(0, 0, 0, 0.5);
    transform:translateX(-50%) translateY(65px);
}

.rsvp{
    background-color: var(--bg);
}

.rsvp h2{
    font-size: 4.5rem;
}

.rsvp p{
    color: white;
}

.rsvp form label{
    color: white;
}

.rsvp button{
    background-color: var(--pink);
    color: white;
    border: 1px solid var(--pink);
}

.rsvp button:hover{
     background-color: white;
    color: var(--pink);
    border: 1px solid white;
}

.rsvp .button{
    margin-top: 60px;
}

footer{
    padding: 1rem;
    background-color: var(--pink);
    color: white;
    font-weight: bold;
}

footer a{
    color: #0a0a0a;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
}

footer a:hover{
    color: white;
}

footer ul li{
    list-style: none;
    display: inline;
    margin: 0.5rem;
}

@keyframes rotating {
    from {
        transform: rotate(0);
    }to{
        transform: rotate(360deg);
    }
}




/* Responsive */
/* Large */
@media (max-width: 1200px){
    /* .home .heart {
        transform:translateX(-50%) translateY(55px);
    } */
}
/* Laptop */
@media (max-width: 992px){
    html{
        font-size:75%;
    }
    .simply-countdown >.simply-section{
        padding:70px;
    }
    /* .home .heart {
        display:none;
    } */
    .timeline::before{
        left:60px;
    }
    .timeline li .timeline-image{
        left:15px;
        margin-left:45px;
        top:16px
    }
    .timeline li .timeline-panel{
        width:calc((100% - 200px));
        float:right;
    }
    .timeline li .timeline-panel::before{
        border-left-width:0;
        border-right-width:15px;
        left:-15px;
        right:auto;
    }
    .timeline li .timeline-panel::after{
        border-left-width:0;
        border-right-width:14px;
        left:-13px;
        right:auto;
    }
}

/* Tablet */
@media (max-width: 768px){
  html{
    font-size:65%;
}  
.simply-countdown >.simply-section{
    padding:60px;
    margin:5px;
}
.my-navbar .nav-link{
text-transform:uppercase;
font-weight:bold;
font-size:3 rem;
text-align:center;
}

.sticky-top{
    overflow:hidden;    
}
.timeline li .timeline-image{
    width:130px;
    height:130px;
}
}


/* Mobile Phone */
@media (max-width: 576px){
    html{
    font-size:60%;
}
.simply-countdown >.simply-section{
    padding:40px;
    margin:2px;
}
.timeline li .timeline-image{
    width:80px;
    height:80px;
}
.timeline li .timeline-panel{
    width:60%;
    transform:translateX(-20px);
}
.timeline li .timeline-panel::before{
    top:30px;
}
.timeline li .timeline-panel::after{
    top:31px;
}
}

/* extra LARGe */