@font-face {
    font-family: font1;
    src: url(../font/Amaranth-Regular.ttf);
}

@font-face {
    font-family: font2;
    src: url(../font/Amaranth-Bold.ttf);
}

@font-face {
    font-family: font3;
    src: url(../font/Amaranth-Italic.ttf);
}

@font-face {
    font-family: font4;
    src: url(../font/Amaranth-BoldItalic.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: font1;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #a69acf;
    overflow-x: hidden;
}

.banner{
    height: 45vh;
    background: linear-gradient(to right, #433878, #EC7FA9) url('../foto/banner1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

/*navbar*/
.navbar {
    background-color: #433878;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 7%;
    border-bottom: 1px solid #EC7FA9;
    height: 65px;
    margin: 20px;
    border-radius: 30px;
}

.navbar .navbar-logo {
    font-size: 2.1rem;
    font-weight: bold;
    color: #FFE1FF;
    font-style: italic;
    text-decoration: none;
    font-family: font2;
}

.navbar .navbar-logo span {
    color: #EC7FA9;
}

.navbar .navbar-menu a {
    color: #FFE1FF;
    font-size: 1.5rem;
    margin-left: 1.5rem;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    font-family: font1;

}

.navbar .navbar-menu a:hover {
    color: #EC7FA9;
}

.navbar .navbar-menu a::after {
    content: '';
    display: block;
    padding-bottom: 0.1rem;
    border-bottom: 0.1rem solid #EC7FA9;
    transform: scaleX(0);
    transition: 0.2s linear;
}

.navbar .navbar-menu a:hover::after {
    transform: scaleX(0.7);

}

.navbar .navbar-icon a {
    color: #FFE1FF;
    margin: 0 0.5rem;
}

#btn-menu {
    display: none;
}

.navbar .user {
    position: absolute;
    top: 100%;
    right: -100%;
    height: 15vh;
    width: 10rem;
    padding: 0 1rem;
    color: #291a46;
    background-color: #ffecff;
    text-align: center;
    border-radius: 5px 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .5);
    transform: scaleX(0);
    transition: 0.3s;
}

.navbar .user.active {
    transform: scaleX(1);
    right: 20px;
}

.navbar .user li {
    list-style: none;
    margin: 15px;
}

.navbar .user a {
    text-decoration: none;
    font-size: 1.2rem;
}

/*search-form*/
.navbar .search-form {
    position: absolute;
    display: flex;
    top: 110%;
    right: 12%;
    width: 40%;
    align-items: center;
    transform: scaleX(0);
    transition: 0.3s;
    transform-origin: top;
}

.navbar .search-form.active{
    transform: scaleX(1);
}

.navbar .search-form input{
    font-size: 1.2rem;
    padding: 1rem;
}

/*hero section*/
.hero {
    position: relative;
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


.hero #owl-nav .owl-prev,
.hero #owl-nav .owl-next {
    position: absolute;
    top: 40%;
    z-index: 10;
    border: none;
    background-color: #7E60BF;
    color: #fff;
    outline: none;
    padding: 10px 25px;
    font-size: 15px;
}

.hero #owl-nav .owl-prev {
    left: 0;
    border-radius: 0px 50px 50px 0px;
}

.hero #owl-nav .owl-next {
    right: 0;
    border-radius: 50px 0px 0px 50px;
}

.hero #owl-nav .owl-prev:hover,
.hero #owl-nav .owl-next:hover {
    background-color: #EC7FA9;
    cursor: pointer;
    transition: 0.3s;
}

.hero .content {
    position: absolute;
    top: 20%;
    padding: 1.4rem 7%;
    max-width: 60rem;

}

.hero .content h1 {
    font-size: 4rem;
    color: #FFE1FF;
    font-family: font2;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero .content h1 span {
    color: #EC7FA9;
}

.hero .content p {
    font-size: 1.6rem;
    margin-top: 1rem;
    font-family: font4;
    color: #FFE1FF;
    text-align: justify;
    max-width: 70%;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero .content .btn {
    padding: 0.5rem 2rem;
    font-size: 1.2rem;
    font-family: font1;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}

/*about*/
.about {
    margin-top: 8rem;
    background-color: #ffecff;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}

.about .about-img {
    flex: 1 1 45rem;
}

.about .about-img img {
    width: 100%;
    height: 350px;
}

.about .content {
    padding: 1rem 1.5rem;

}

.about .content p {
    text-align: justify;
    font-size: 1rem;
}

/*about me*/
.about-me{
    margin-top: 3rem;
    background-color: #ffecff;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}

.about-me .content {
    padding: 1rem 1.5rem;

}

.about-me .content p {
    text-align: center;
    font-size: 1.5rem;
}

.about-me .content h3 {
    text-align: center;
    font-size: 4rem;
    color: #c68fc6;
    font-family: font2;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}

.about-me .content h3 span {
    color: #EC7FA9;
}

/*produk*/
.produk {
    margin-top: 50px;
}

.produk-box {
    background-color: #ffecff;
    margin: 0 0 30px;
    border-radius: solid #EC7FA9;
    padding: 20px;
    margin-top: 50px;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}

.produk-box h3 {
    font-family: font2;
    font-size: 35px;
    color: #ea6296;
    font-weight: 7000;
    text-align: center;
    text-transform: uppercase;

}

.produk-box h3 span {
    color: #EC7FA9;
}

.produk .card {
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
    margin-top: 1.5rem;

}

.produk .content {
    text-align: center;
}

.produk .card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    flex: auto;
}


.produk .content h5,
.produk .content p {
    color: #EC7FA9;
    font-weight: 700;
}

/*pagination*/
.pagination{
    margin-top: 2rem;
}

.pagination li{
    box-shadow: 0 1px 5px rgba(0, 0, 0, .5);
}

.pagination .prev a,
.pagination .next a{
    background-color: #7154af;
    color: #ffecff;
}

.pagination .active{
    background-color: #7154af;
    color: #ffecff;
}

.pagination a:hover{
    background-color: #7154af;
        color: #ffecff;
}

/*kontak*/
.kontak {
    padding: 0 0 50px;
    margin-top: 3rem;
}

.kontak .kontak-map iframe {
    flex: 1 1 45%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
}

.kontak .kontak-form {
    color: #EC7FA9;
    margin-top: 10px;
    font-weight: 700;
}

.kontak .kontak-form .card {
    box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
}

/*page-produk*/
.page-produk {
    margin: 2rem 0;
}

.breadcrumb {
    padding: 6px 15px;
    margin-bottom: 20px;
    background-color: #ffecff;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .5);
}

.breadcrumb>li+li:before {
    content: "\00a0> \00a0";
    color: #EC7FA9;
}

.page-produk .card {
    margin-top: 2rem;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .5);
}

.page-produk .card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    flex: auto;
}

.page-produk .card-header h4 {
    font-size: 20px;
    font-weight: 700;
}

.page-produk .card-header {
    background-color: #ecd2ec;
}

.page-produk .card-body {
    background-color: #ffecff;
}

.page-produk .nav a:hover {
    background-color: #ecd2ec;
}

.page-produk .nav a {
    font-size: 16px;
    font-weight: 700;
}

.page-produk .card-box h2 {
    font-size: 2rem;
    font-weight: 700;
}

.page-produk .card-produk {
    text-align: center;
    font-weight: 600;
}

/*detail produk*/
.detail_produk {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#owl-nav .owl-prev,
#owl-nav .owl-next {
    position: absolute;
    top: 40%;
    z-index: 10;
    border: none;
    background-color: #7E60BF;
    color: #EC7FA9;
    outline: none;
    padding: 10px 25px;
    font-size: 10px;
}

#owl-nav .owl-prev {
    left: 10px;
    border-radius: 0px 50px 50px 0px;
}

#owl-nav .owl-next {
    right: 10px;
    border-radius: 50px 0px 0px 50px;
}

.detail_produk .detail-form h3 {
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.detail_produk .detail {
    margin-top: 2rem;
}

.detail_produk .detail h2 {
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.detail_produk img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    flex: auto;
}

.detail_produk .owl-carousel {
    box-shadow: 0 1px 5px rgba(0, 0, 0, .7);
}

/*keranjang*/
.page-keranjang {
    margin: 2rem 0;
}
.page-keranjang .card {
    margin-top: 2rem;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .5);
}

.page-keranjang .card-body {
    background-color: #ffecff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .7);
}

.page-keranjang .card-box {
    margin-top: 1rem;
}

.page-keranjang img {
    height: 100px;
    width: 100px;
    object-fit: cover;
    object-position: center;
    flex: auto;
}

.page-keranjang .card-box h2 {
    font-size: 2rem;
    font-weight: 700;
}

/*login*/
#login h1 {
    font-size: 1.6rem;
    letter-spacing: 4px;
    font-weight: bold;
}

#login i {
    font-size: 1.6rem;
    color: #7E60BF;
}

/*profil pelanggan */

.page-profil {
    margin: 2rem 0;
}

.page-profil .card {
    box-shadow: 0 1px 5px rgba(0, 0, 0, .7);
}

.page-profil .card-header {
    background-color: #ffecff;
}

.page-profil .card-title h2 {
    text-align: center;
    margin-top: 1.2rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: font1;
    color: #EC7FA9;
}

.page-profil .nav {
    text-align: center;
}

.page-profil .nav a {
    font-size: 1.2rem;
    font-weight: 700;
}

.page-profil .nav a:hover {
    background-color: #ecd2ec;

}

/*footer*/
footer {
    padding: 1rem 0;
    background-color: #291a46;
    margin-top: 5rem;
    color: #FFE1FF;
}

footer h3 {
    margin-bottom: 1rem;
}

footer .footer-menu a {
    color: #FFE1FF;
    text-decoration: none;
    font-size: 1.1rem;
}

footer .footer-menu li {
    list-style: none;
}

footer .footer-menu a:hover {
    color: #EC7FA9;
}

footer .footer-kontak {
    font-size: 1.1rem;
}

footer .footer-social a {
    margin: 0 10px 0 0;
    display: inline-block;
    color: #291a46;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    line-height: 30px;
    font-size: 15px;
    text-align: center;
    vertical-align: bottom;
    background-color: #FFE1FF;
    text-decoration: none;
}

footer .footer-social a:hover {
    background-color: #EC7FA9;
    color: #FFE1FF;
}

.created {
    padding: 0.4rem 0;
    color: #FFE1FF;
    text-align: center;
    font-size: 3rem;
    font-weight: 500;
    background-color: #7154af;
}

.created a {
    color: #FFE1FF;
    text-decoration: none;
    font-size: 1.1rem;
}

.created a:hover {
    color: #EC7FA9;
}

.created p {
    color: #EC7FA9;
    text-decoration: none;
    font-size: 1.1rem;
}

.btn-floating.wa {
    position: fixed;
    bottom: 20px;
    right: 20px; 
    background-color: #25D366; 
    color: white; 
    border: none;
    border-radius: 50%; 
    width: 70px; 
    height: 70px; 
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s; 
    z-index: 1000;
    text-decoration: none;
}

.btn-floating.wa i {
    font-size: 60px;
    line-height: 70px;
}
.btn-floating.wa:hover {
    background-color: #128C7E; /* Warna lebih gelap saat hover */
    transform: scale(1.1); /* Sedikit membesar saat hover */
}


/*responsive*/
/*untuk laptop*/
@media (max-width: 1366px) {
    html {
        font-size: 90%;
    }

    #btn-menu {
        display: inline-block;
    }
}

/*untuk tablet*/
@media (max-width: 768px) {
    html {
        font-size: 75%;
    }

    /*ketika layar tablet maka btn-menu akan muncul*/
    #btn-menu {
        display: inline-block;
    }

    .navbar .navbar-menu {
        position: absolute;
        top: 100%;
        right: -100%;
        background-color: #7E60BF;
        width: 30rem;
        height: 100vh;
        transition: 0.3s;
        transform: scaleX(0);
    }

    .navbar .navbar-menu.active {
        right: 0;
        transform: scaleX(1);
    }

    .navbar .navbar-menu a {
        color: #FFE1FF;
        display: block;
        margin: 1.5rem;
        padding: 0.5rem;
        font-size: 1.5rem;
    }

    .navbar .navbar-menu a::after {
        transform-origin: 0 0;
    }

    .navbar .navbar-menu a:hover::after {
        transform: scaleX(0.2);
    }

    /*search-form*/
    .navbar .search-form {
        right: 7%;
        width: 50%;
        align-items: center;
    }
    
    .navbar .search-form input {
        font-size: 1rem;
        padding: 1rem;
        }

    /*hero*/
    .hero #owl-nav .owl-prev,
    .hero #owl-nav .owl-next {
        top: 35%;
        outline: none;
        padding: 10px 15px;
        font-size: 10px;
    }

    .hero .content {
        position: absolute;
        top: 10%;
        padding: 1.5rem 9%;
        color: #ffecff;
    }

    .hero .content h1 {
        font-size: 2rem;
    }

    .hero .content p {
        font-size: 1rem;
        margin-top: 1rem;
        max-width: 60%;
        text-align: justify;
        font-weight: 600;
    }

    .hero .content .btn {
        padding: 0.5rem 1rem;
        font-size: 1rem;
        font-family: font2;
    }

    /*detail produk*/
    .detail_produk {
        margin-top: 2rem;
    }

    #owl-nav .owl-prev,
    #owl-nav .owl-next {
        padding: 10px 10px;
        font-size: 15px;
    }

    /*produk*/
    .produk .card {
        position: relative;
        max-width: 350px;
        width: 350px;
        height: auto;
        margin: 45px;
        margin-bottom: 20px;
    }

    .produk .card img {
        max-width: 100%;
        height: 400px;
    }

    .produk .card h2 {
        font-size: 30px;
    }

    /*page produk */
    .page-produk .box {
        margin-top: 20px;
    }

    .page-produk .card img {
        height: 250px;
        width: 100%;
        object-fit: cover;
        object-position: center;
        flex: auto;
    }

    /*keranjang*/
    .page-keranjang .text-right {
        display: flex;
        margin-top: 10px;
    }

    /*profil*/
    .page-profil .card{
        margin-top: 2rem;
    }

    /*floating wa*/
        .btn-floating.wa {
            width: 70px;
            height: 70px;
        }
    
        .btn-floating.wa i {
            font-size: 50px;
            line-height: 70px;
        }
}


/*untuk phone*/
@media (max-width: 480px) {
    html {
        font-size: 65%;
    }

        /*floating wa*/
         .btn-floating.wa {
            width: 50px;
            height: 50px;
        }
        
        .btn-floating.wa i {
            font-size: 35px;
           line-height: 30px;
        }
}