:root{
    --blue: #0a24bb;
    --bg : #109fca;
    --shadow: 0 2px 2px rgb(0,0,0,0 / 0.5);
}

body{
    font-size: 1.2rem;
    font-family: 'Work Sans', sans-serif;
    min-height: 2000px;
    color: #000;
}

.hero{
    position:relative;
    min-height: 100vh;
    color: #000;
    overflow: hidden;
}

.info .card-header{
    font-family: 'Sacramento', cursive;
    font-size: 2.5rem;
}

.mynavbar{
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}

.mynavbar .navbar-brand,
.mynavbar .offcanvas-title{
    font-family: 'Sacramento', cursive;
    font-size: 2.2rem;
    font-weight: bold;
}
.mynavbar .offcanvas{
    min-height: 100vh;
    width: auto;
    max-width: 340px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.18);
    border: none;
}
.mynavbar .offcanvas-header{
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.mynavbar .offcanvas-body{
    color: #0f172a;
    padding: 1rem 1.25rem;
}
.mynavbar .offcanvas-body .navbar-nav{
    gap: 0.75rem;
    display: flex;
    flex-direction: column;
}
.mynavbar .nav-link{
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.65rem 0;
}
.btn-close{
    filter: invert(0.35);
}
.navbar-toggler{
    background: rgba(255, 255, 255, 0.92);
    border-radius: 0.75rem;
    width: 46px;
    height: 46px;
    z-index: 1050;
}
.navbar-toggler-icon{
    filter: invert(1);
}

.offcanvas-backdrop {
    background-color: rgba(15, 23, 42, 0.5);
}

@media (max-width: 767px) {
    .mynavbar .offcanvas {
        width: 100%;
        max-width: 100%;
        right: 0;
        left: 0;
        box-shadow: none;
    }
    .offcanvas-backdrop {
        background-color: rgba(15, 23, 42, 0.55);
    }
    .mynavbar .offcanvas-header,
    .mynavbar .offcanvas-body {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .mynavbar .navbar-brand,
    .mynavbar .offcanvas-title {
        font-size: 1.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .mynavbar .nav-link {
        font-size: 1rem;
        padding: 1rem 0;
    }
    .hero {
        padding-top: 5rem;
    }
}

.home{
    background-image: url(img/floral.png);
    background-size:cover;
    min-height: 100vh;
 
    margin-top: 0rem;
    padding-top: 6rem;
    padding-bottom: 5rem;
}

.home h2{
    color:#0a24bb;
    font-family: 'Sacramento';
    font-size: 5rem;
    font-weight: bold;
}

.galeri h2{
     color:#0a24bb;
    font-family: 'Sacramento';
    font-size: 5rem;
    font-weight: bold;
}
.rsvp h2{
    color:#0a24bb;
    font-family: 'Sacramento';
    font-size: 5rem;
    font-weight: bold;
}
footer{
    padding: 3rem;
    background-color: var(--bg);
    color: white
}

.gift h2{
    color:#0a24bb;
    font-family: 'Sacramento';
    font-size: 5rem;
    font-weight: bold;
}
.story h2{
    color:#0a24bb;
    font-family: 'Sacramento';
    font-size: 5rem;
    font-weight: bold;
}
.story {
    padding-top: 10rem;
    padding-bottom: 8rem;
}

.home h3{
    font-size: 1.5rem;
    margin-top: 1rem;
}

.home p{
    font-size: 1.1rem;

}

.home .couple h3{
    font-family: 'Sacramento';
    font-size: 3rem;
    color: var(--blue);
    font-weight: bold;
}

.home .couple img{
    width: 100%
}

.info{
    background-color: #000;
    color: white;
    padding-top: 10rem;
    padding-bottom: 8rem;
   
}
.info h2{
    font-family: 'Sacramento';
    font-size: 5rem;
    font-weight: bold;
}
.mynavbar .nav-link{
    text-transform: uppercase;
}
.hero::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(img/img2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}
.timeline {
    list-style: none;
    padding: 1.4rem 0;
    position: relative;
    margin: 0 auto;
    max-width: 1100px;
}
.timeline::before{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #109fca;
    left: 50%;
    transform: translateX(-50%);
}
.timeline li {
    margin-bottom: 3rem;
    position: relative;
}


.timeline li::before, .timeline li::after {
    content: '';
    display: table; 
}
.timeline li::after {
    clear: both; 
}
.timeline li .timeline-image {
    width: 120px;
    height: 120px;
    background-color: var(--bg);
    position: absolute;
    left: 50%;
    border-radius: 50%;
    transform: translateX(-50%);
    background-size: cover;
    background-position: center;
    z-index: 10;
}

.timeline li .timeline-panel {
    width: 40%;
    float: left;
    border:1px solid var(--blue);
    padding: 2rem;
    position: relative;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-left: 5%;
}

.timeline li .timeline-panel::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid var(--blue);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.timeline li.timeline-inverted .timeline-panel {
    float: right;
    margin-left: 0;
    margin-right: 5%;
}

.timeline li.timeline-inverted .timeline-panel::before {
    left: -10px;
    right: auto;
    border-left: none;
    border-right: 10px solid var(--blue);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}


.timeline .timeline-heading h3 {
    margin: 0 0 10px 0;
    font-family: 'Sacramento', cursive;
    font-size: 2rem;
    color: var(--blue);
}

.timeline .timeline-heading span {
    font-size: 0.9rem;
    color: #666;
    font-weight: bold;
}

.timeline .timeline-body p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
}

/* Timeline Cards */
.timeline .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 40%;
    float: left;
    margin-left: 5%;
}

.timeline .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.timeline .card-title {
    color: var(--blue);
    font-family: 'Sacramento', cursive;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.timeline .card-subtitle {
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline .card-text {
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
}

.timeline li.timeline-inverted .card {
    float: right;
    margin-left: 0;
    margin-right: 5%;
}


/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 80px;
    }
    
    .timeline li {
        margin-bottom: 2rem;
        margin-left: 120px;
        position: relative;
    }
    
    .timeline li .timeline-image {
        width: 60px;
        height: 60px;
        left: -100px;
        top: 0;
        transform: none;
        position: absolute;
    }
    
    .timeline li .card {
        width: calc(100% - 20px);
        float: none;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .timeline::before {
        left: 70px;
    }
    
    .timeline li {
        margin-left: 110px;
    }
    
    .timeline li .timeline-image {
        width: 50px;
        height: 50px;
        left: -90px;
    }
    
    .timeline li .card {
        width: calc(100% - 20px);
        padding: 1rem;
    }
    
    .timeline .card-title {
        font-size: 1.5rem;
    }
    
    .timeline .card-subtitle {
        font-size: 0.8rem;
    }
}

@media (min-width: 1024px) {
  .hero::before {
    background-size: 100vw auto;
    background-position: center top;
  }
}

.hero h1{
    font-family: 'Sacramento', cursive;
    font-size: 6rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.25);
    color: #000;
}

.hero h4{
    font-family: 'Tangerine', cursive;
    font-size: 3rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.15);
    color: #000;
}
.hero p{
    font-family: 'Tangerine', cursive;
    font-size: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.15);
    color: #000;
    font-family: 'Tangerine', cursive;
    font-size: 2.5rem;
    
}
.hero a{
    background-color: #000;
    color: white;
    box-shadow: var(--shadow);
}

@media (max-width: 992px){
    html{
        font-size: 75%
    }
}
@media (max-width: 768px){
    html{
        font-size: 65%
    }
    .mynavbar .nav-link{
    font-size: 2rem;
    text-align: center;
    }
}
@media (max-width: 576px){
    html{
        font-size: 60%
    }
}