body{
    margin: 0;

}

.navbar{
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 1em;
    width: 100vw;
    position: fixed;
    z-index: 100;
    top: 0;
    color: white;
    box-sizing: border-box;
    transition: background-color 0.3s ease, padding 0.3s ease;
    overflow: hidden;
}

.navbar.sticky {
    background-color: rgba(0, 0, 0, 0.4); /* Darker background when sticky */
    padding: 1em 2em; /* Adjust padding when sticky */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.brand{
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.title{
    font-family: 'Alex brush';
    font-weight: 200;
    font-size: 25px;
}

.subtitle{
    font-family: 'Poppins';
    font-size: .5em;
}

.nav-links{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    flex-wrap: wrap;
}

.nav-links a{
    text-decoration: none;
    font-family: 'Poppins';
    color: white;
}

.hamburger{
    display: none;
    cursor: pointer;
    font-size: 1.8em;
    color: white;
}

/* HOME  */
#home{
    position: relative;
    font-family: 'Alex Brush';
    width: 100%;
    height: 100vh;
    overflow: hidden;
}


#home img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, red, yellow); */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgb(0, 0, 0, 0.9));
    z-index: 2;
}

.text{
    position: absolute;
    top: 30%;
    left: 0%;
    z-index: 5;
    width: 800px;
    transform: translate(20%, -20%);
    text-align: left;
}

.text .over{
    position: absolute;
    top: 15%;
    left: 0;
    z-index: 6;
    font-size: 5em;
    width: 100%;
}

.text h1 {
    position: relative;
    font-size: 5em;
    font-weight: bold;
    text-align: left;
    color: black;
    -webkit-text-stroke: 50px white; /* ✅ Correct */    
}

.next{
    position: absolute;
    /* background-color: red; */
    z-index: 6;
    bottom: 25%;
    right: 5%;
    font-family: 'Poppins';
    display: flex;
    gap: 2em;
    justify-content: center;
    align-items: center;
    color: white;
}

.book{
    padding-left: 1em;
    padding-right: 1em;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid white;
    border-radius: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.book img{
    width: 25px !important; /* Adjust based on your design */
    height: 20px !important; /* Keep aspect ratio */
    object-fit: contain; /* Prevents distortion */
}

.book:hover{
    cursor: pointer;
    color: white;
    background-color: rgba(136, 136, 136, 0.4);
    border: 1px solid white;
}

.book:hover img{
    /* filter: invert(1); */
}

.latest-work{
    /* padding: 1em; */
    padding-left: 1em;
    padding-right: 1em;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    border-radius: 1em;
}

.latest-work img{
    width: 20px !important;
    height: 23px !important;
    object-fit: cover;
}

.latest-work:hover{
    cursor: pointer;
    color: white;
    background-color: rgba(136, 136, 136, 0.4);
}

/* SERVICES  */

#services{
    width: 100%;
    min-height: 1000px;
    font-family: 'Alex Brush';
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(88, 88, 88, 0);
    flex-direction: column;
    
}

#services h1{
    font-size: 7em;
}

.card-group {
    /* background-color: red; */
    display: flex;
    justify-content: center;
    gap: 3em; /* Space between cards */
}

.card {
    position: relative;
    /* min-width: 300px; */
    height: 500px;
    overflow: hidden;
    border-radius: 2em;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 1);
    transition: transform 0.3s ease-in-out;
}

.quote-services{
    font-family: 'Alex Brush';
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5em;
    height: 1000px;
    padding: 1em;
    width: 100%;
    box-sizing: border-box;
}

.card.bridal-makeup{
    background: url('assets/images/Decorasi.jpeg') center/cover no-repeat;
}

.card.wedding-decorations{
    background: url('assets/images/Decorasi.jpeg') center/cover no-repeat;
}

.card.special-add-ons{
    background: url('assets/images/Decorasi.jpeg') center/cover no-repeat;
}


.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.75);
    filter: brightness(0.7);
    z-index: 1;
}

.card-title {
    position: absolute;
    top: 5%;
    left: 20%;
    /* transform: translateY(-50%); */
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    z-index: 2;
    text-align: center;
}

.card-contents {
    cursor: pointer;
    position: absolute;
    top: 15%;
    color: white;
    font-size: 1em;
    z-index: 2;
    /* background: rgba(0, 0, 0, 0.5); */
    padding: 10px;
    border-radius: 5px;
}

.card.wedding-decorations .card-contents{
    top: 25%;
}

.card:hover{
    transform: scale(1.2);
    z-index: 5;
}

#services .card{
    min-width: 300px;
}

/*
.card-grou:hover .card:not(hover){
    transform: scale(0.9);
    transform: translateX(-50px);
    
} */

.nb-content{
    position: absolute;
    padding-top: 16em;
    left: 10%;
    top: 50%;
    max-width: 80%;
    font-size: .7em;
}

/* LATEST WORK  */
#latest-work{
    width: 100%;
    min-height: 1000px;
    margin-bottom: 5em;
    font-family: 'Alex Brush';
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(88, 88, 88, 0);
    flex-direction: column;
    text-align: center;
}

#latest-work h1{
    font-size: 7em;
}

/* Masonry Layout */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    gap: 15px;
    width: 90%;
    max-width: 1200px;
}
.gallery-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 1);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
/* Larger images to break uniformity */
.gallery-item:nth-child(1),
.gallery-item:nth-child(3),
.gallery-item:nth-child(7),
.gallery-item:nth-child(10) {
    grid-row: span 2;
}

.quote-latest-works{
    font-family: 'Alex Brush';
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    height: 1000px;
    width: 100%;
    box-sizing: border-box;
}

/* PACKAGES  */
#packages{
    font-family: 'Alex Brush';
    font-size: large;
    min-height: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#packages h1{
    font-size: 7em;
}

.card.pkg:hover{
    transform: scale(1.05);
    z-index: 5;
}

.card.standar-pkg .price{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.card.standar-pkg .price span:nth-child(2){
    font-size: 2em;
    font-weight: 500;
}

.card.standar-pkg{
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card.standar-pkg .card-title{
    top: 3%;
    font-size: 3em;
    left: 30%;
}

.card.standar-pkg .card-contents{
    position: absolute;
    top: 8%;
    padding-left: 3em;
    padding-right: 3em;
}

.nb-packages{
    font-size: 0.8em;
}

.card.pkg{
    min-height: 1600px;
}

.card.pkg .pesan{
    position: absolute;
    bottom: 2%;
    background-color: rgb(0, 0, 0, 0.4);
    padding: 1em;
    display: flex;
    margin-top: 2em;
    width: 80%;
    justify-content: center;
    border-radius: 1em;
    border: 1px solid white;
    color: white;
    z-index: 5;
    cursor: pointer;
}

.card.pkg .pesan:hover{
    background-color: rgba(88, 88, 88, 0.4);
}

#packages h2{
    font-family: 'Poppins';
    font-size: 2em;
}

.pkg-add{
    font-family: 'Poppins';
    padding: 1em;
    font-size: 4em;
}

.card.pkg-add{
    cursor: pointer;
    width: 300px;
    height: 60px;
    border-radius: .5em;
    border: 2px solid orange;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 1);
}

.card.pkg-add .card-title{
    color: black;
    font-size: .6em;
    left: 12%;
    top: 15%;
}

.card.pkg-add .card-contents{
    color: black;
    font-size: .6em;
    left: 35%;
    top: 45%;
}

.card-group.additional{
    gap: 5em;
}



/* TESTIMONIAL  */

#testimonial{
    font-family: 'Alex Brush';
    font-size: large;
    min-height: 600px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction:column;
    box-sizing: border-box;
}

#testimonial h1{
    margin-top: 2em;
    font-size: 6em;
}

.carousel-container{
    padding: 5em;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 80%;
    overflow: hidden;
}

.carousel-testi{
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    scroll-behavior: smooth;
}

.card.testi{
    flex: 0 0 100%;
    max-width: 400px;
    cursor: pointer;
    box-shadow: 0px 2px 2px black;
    transition: transform 0.3s ease;
}

.card.testi .content{ 
    padding: 2em;
}

.card.testi:hover{
    transform: none;
}

.card.testi img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}


/* Button left and right  */
#right, #left{
    /* top: 0%; */
    cursor: pointer;
    position: absolute;
    height: 2em;
    width: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: blue;;
    z-index: 10;
    background-color: white;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

#left{
    left: 10px;
}

#right{
    right: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-container {
        width: 100%;
        padding: 1em;
    }

    .card.testi {
        flex: 0 0 100%;
    }

    #testimonial h1 {
        font-size: 3em;
    }
}

/* CONTACT ME  */

#contact-me{
    font-family: 'Alex Brush';
    font-size: large;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgb(187, 181, 181, 1));
    min-height: 1300px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

#contact-me h1{
    font-size: 5em;
}

.cme-content{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4em;
}

.cme-content a{
    text-decoration: none;
    color: rgb(0, 0, 0, 0.9);
}

.fa-brands:hover{
    cursor: pointer;
    transform: scale(1.2);
}

.alamat{
    position: absolute;
    font-family: 'Poppins';
    display: flex;
    gap: 1em;
    bottom: 5%;
    left: 2%;
}