@import url('https://fonts.googleapis.com/css2?family=Average+Sans&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.premis a {
    color: white;
    font-style: underline;
}

body{    
    font-family: "Average Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
}
/* Navbar Styling */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-right: 10vh;
}

nav ul li a{
    text-decoration: none;
    margin: 0 3vh;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    color: #867D7D;
}

nav ul li a:hover {
    color: #82555B !important;
}

nav img {
    height: 50px;
}

/* Home Section */
.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 150px 5vw 50px;
    background: rgba(196, 186, 186, 0.2);
}

.caption {
    flex: 1;
    text-align: left;
}

.caption h1 {
    font-size: 3rem;
    color: #82555B;
    font-weight: 300;
}

.caption button {
    display: block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    color: white;
    background-color: #82555B;
    border: none;
    border-radius: 40px;
    cursor: pointer;
}

.caption button a {
    text-decoration: none; /* Hilangkan garis bawah */
    color: white; /* Ubah warna teks menjadi putih */
    display: block; /* Buat seluruh area klikabel */
}

button:hover {
    background: #6E4444;
}

.gambar img {
    width: 35vh;
    margin-right: 0;
    max-width: 100%;
    height: auto;
}

/* Premis Section */
.premis {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #82555B;
    color: white;
    font-size: 1.4rem;
    margin: 30px auto;
    width: 80%;
    border-radius: 40px;
    margin-top: -5vh;
    padding: 20px 20px;
}

.custom-img {
    width: 35vh;
    margin-right: 12vh;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Fitur Section */
.fitur .judul {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 40px;
}

.fitur .judul h1 {
    color: #82555B;
    font-size: 3.5rem;
    font-weight: bold;
}

.fitur .judul h4 {
    color: #82555B;
    font-size: 2rem;
    font-weight: normal;
    margin-top: 1vh;
}

.fitur-item {
    background: rgba(228, 210, 213, 0.72);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    height: 100%;
}

.fitur-item h5 {
    color: #000000;
    font-size: 1.2rem;
    margin: 15px 0 10px 0;
}

.fitur-item p {
    color: #000000;
    font-size: 1rem;
}

.fitur-item img {
    max-width: 80px;
    height: auto;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .fitur .judul h1 {
        font-size: 2.5rem;
    }
    .fitur .judul h4 {
        font-size: 1.5rem;
        margin-top: 1vh;
    }
}

/* Template Section */
.template {
    text-align: center;
    padding: 50px 0;
}

.template .judul h1 {
    color: #82555B;
    font-size: 3.5rem;
    font-weight: bold;
    margin-top: 40px;
}

.template .judul h4 {
    color: #82555B;
    font-size: 2rem;
    margin-top: 1vh;
}

.desain-item {
    background: #82555B;
    padding: 20px;
    border-radius: 15px;
    color: white;
    transition: transform 0.3s ease;
}

.desain-item img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.desain-item h5 {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

.desain-item button {
    margin-top: 10px;
    background: white;
    color: #000000;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
}

.desain-item button:hover {
    color: #82555B;
}

/* Hover effect */
.desain-item:hover {
    transform: translateY(-5px);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .template .judul h1 {
        font-size: 2.5rem;
    }
    .template .judul h4 {
        font-size: 1.5rem;
        margin-top: 1vh;
    }
}

/* Price Section */
.price {
    text-align: center;
    padding: 50px 0;
    background-color: #f8f4f4;
}

.price .judul h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #82555B;
}

.price .judul h4 {
    font-size: 2rem;
    color: #82555B;
    margin-top: 1vh;
    margin-bottom: 10vh;
}

.price-grid {
    display: flex;
    justify-content: center;
    gap: 10vh;
}

.price-item {
    background: rgba(228, 210, 213, 0.72);
    padding: 25px;
    border-radius: 20px;
    width: 100%;;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 350px;
}

.price-item h5 {
    font-size: 2rem;
    font-weight: bold;
    color: #000000;
    font-weight: 300;
    margin-top: -10px;
}

.price-item h3 {
    font-size: 2.4rem;
    font-weight: bold;
    color: #82555B;
    margin-top: 20px;
    margin-bottom: 5px;
}

.price-item h4 {
    font-size: 1.6rem;
    text-decoration: line-through;
    color: rgba(0, 0, 0, 0.55);
    margin-bottom: 50px;
}

.price-item ul {
    list-style: none;
    padding: 0;
}

.price-item ul li {
    font-size: 1.3rem;
    color: #5e3f3f;
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.price-item ul li::before {
    content: "✔";
    color: #4a8f4a;
    margin-right: 8px;
}

.price-item ul li s {
    color: rgba(0, 0, 0, 0.55);
}

.price-item ul li s::before {
    content: "✖";
    color: #a52a2a;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .price .judul h1 {
        font-size: 2.5rem;
    }

    .price .judul h4 {
        font-size: 1.5rem;
        margin-top: 1vh;
        margin-bottom: 5vh;
    }

    .price-item {
        width: 100%;
    }
}

/* Order Section */
.order {
    background: rgba(196, 186, 186, 0.2);
    padding: 6vh 0;
}

.order .judul h2 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #82555B;
}

.order .judul h4 {
    font-size: 2rem;
    color: #82555B;
    margin-top: -2vh;
    margin-bottom: 10vh;
}

.order-img {
    width: 25vh;
}

.order-list {
    list-style: none;
}

.order-list li {
    background: #82555B;
    color: #ffffff;
    font-size: 1rem;
    padding: 12px 20px;
    margin: 10px 0;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
    counter-increment: list-item;
}

.order-list li::before {
    content: counter(list-item);
    background: white;
    color: #82555B;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .order .judul h2 {
        font-size: 2.5rem;
    }

    .order .judul h4 {
        font-size: 1.3rem;
        margin-top: 1vh;
        margin-bottom: 3vh;
    }

    .order-img {
        width: 18vh;
    }

    .order-list li {
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .order .judul h4 {
        margin-top: 1vh;
        margin-bottom: 3vh;
    }

    .order .d-flex {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        gap: 16px; /* Biar ada jarak antar gambar */
        padding-inline: 16px; /* Biar nggak mepet kiri-kanan */
    }

    .order .order-img {
        flex: 0 0 auto;
        width: 30vw; /* Bisa disesuaikan kalau terlalu besar/kecil */
    }

    /* Hilangkan margin kiri bawaan kalau ada */
    .order .order-img:first-child {
        margin-left: 0 !important;
    }
}

/* Footer Section */
.footer a {
    color: #333;
    text-decoration: none;
}

.footer a:hover {
    color: #9C6565;
    text-decoration: none;
}
.footer img {
    transition: 0.3s ease;
}
.footer img:hover {
    opacity: 0.7;
}




/* Responsive untuk HP */
@media (max-width: 576px) {
    .premis {
        padding: 10px 10px;
        width: 90%;
    }

    .premis p {
        font-size: 1rem;
    }

    .custom-img {
        width: 25vh;
        margin-right: 0;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
        margin-bottom: 2rem;
    }

    .caption h1 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .caption p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .caption button {
        margin-left: auto;
        margin-right: auto;
    }

    .home {
        flex-direction: column;
        padding: 120px 2vw 20px;
        text-align: center;
        align-items: center;
    }

    .gambar {
        text-align: center;
        margin-top: 20px;
        margin-bottom: 50px;
    }

    .gambar img {
        width: 25vh;
        margin: 0 auto;
    }
}

/* Responsive Tablet */
@media (max-width: 1024px) {
    .gambar {
        text-align: center;
        margin-top: 30px;
        margin-bottom: 50px;
    }

    .gambar img {
        width: 20vh;
        margin: 0 auto;
    }

    .order .order-images  {
        justify-content: center !important;
    }
}