* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', Georgia, 'Times New Roman', Times, serif;
}

body {
    width: 100%;
    min-height: 100vh;
    background: #ebfff1;
}

header {
    margin-top: -165px;
    width: 100%;
    background: rgba(255, 255, 255, 0.10);
    /* Warna putih dengan transparansi */
    color: #050505;
    display: flex;
    align-items: center;
    /* Tambahkan padding untuk ruang */
    backdrop-filter: blur(10px);
    /* Efek blur kaca */
    -webkit-backdrop-filter: blur(10px);
    /* Dukungan untuk Safari */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Tambahkan bayangan lembut */
    position: fixed;
    z-index: 10;
}

.container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    width: 150px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Gaya untuk daftar navbar */
nav ul.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

/* Gaya untuk item navbar */
nav ul.nav-list li {
    margin: 0;
    padding: 0;
}

/* Gaya untuk tautan */
nav ul.nav-list li a {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #000000;
    font-family: 'poppins', 'Arial', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}




nav ul.nav-list li a:hover {
    background-color: #35bd82;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

/* Gaya untuk hamburger */
.menu-toggle {
    display: none;
    /* Default: disembunyikan untuk layar besar */
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    z-index: 11;
}

.menu-toggle .bar {
    height: 4px;
    width: 100%;
    background-color: #000000;
    border-radius: 2px;
    transition: all 0.5s ease;
}

/* Animasi perubahan ke ikon "X" */
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    /* Sembunyikan garis tengah */
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hover pada keseluruhan ikon hamburger */
.menu-toggle:hover {
    transform: scale(1.1);
    /* Perbesar sedikit saat hover */
    transition: transform 0.3s ease;
    /* Animasi halus */
}

/* Hover pada setiap garis */
.menu-toggle .bar {
    background-color: #333;
    /* Warna default */
    transition: background-color 0.3s ease, transform 0.3s ease;
    /* Animasi warna dan transformasi */
}

.menu-toggle:hover .bar {
    background-color: #000000;
    /* Ubah warna garis saat hover */
}

/* Efek unik pada garis tertentu saat hover */
.menu-toggle:hover .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    /* Geser garis pertama ke atas sedikit */
}

.menu-toggle:hover .bar:nth-child(2) {
    opacity: 0;
    display: none;
    /* Sembunyikan garis tengah */
}

.menu-toggle:hover .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    /* Geser garis terakhir ke bawah sedikit */
}

/* Responsif: tampilkan hamburger di layar kecil */
@media (max-width: 800px) {
    .menu-toggle {
        display: flex;
    }

    nav ul.nav-list {
        display: none;
        /* Sembunyikan menu secara default */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 10px;
        background-color: #f8f9fa;
        /* Sesuai style Anda */
        border: 1px solid #ddd;
        border-radius: 10px;
        width: 200px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul.nav-list.show {
        display: flex;
        /* Tampilkan menu saat diaktifkan */
    }

    nav ul.nav-list li {
        margin: 10px 0;
        /* Spasi antar item */
    }



}


.hero {
    width: 100%;
    height: 250px;
    /* Adjust to your desired height */
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(4, 4, 4, 0.1)), url(../Asset/pexels-feyza-tugba-25430275-14650538.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 20%;
    color: #fff;
    text-align: center;
    padding: 0;
    /* Remove padding to avoid height increase */
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero h2 {
    font-size: 36px;
    margin-top: 30px;
}

.hero .logo1 {
    margin-top: 20px;
    width: 250px;
}



.search-box {
    max-width: 500px;
    margin: 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
}

.search-box input {
    width: 1000px;
    padding: 10px;
    outline: none;
    border: 0;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
    margin-top: 20px;
}

.search-box button {
    padding: 10px 20px;
    outline: none;
    border: 0;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
    background: #000000;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.search-box button:hover {
    background: linear-gradient(45deg, #35bd82, #198556);
    /* Gradasi warna */
    color: #000;
    transform: scale(1.1);
    /* Sedikit perbesar tombol */
    box-shadow: 0 4px 15px rgba(53, 189, 130, 0.778);
    /* Tambahkan bayangan */
}

/* navbar... */



/* product */
.recipes {
    padding: 50px 0;
}

.recipes h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.recipe-section {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 2fr);
    /* Empat kolom */
    column-gap: 20px;
    row-gap: 30px;
}

@media (max-width: 1200px) {
    .recipe-section {
        grid-template-columns: repeat(4, 1fr);
        /* Tiga kolom pada layar lebih kecil */
    }
}

@media (max-width: 600px) {
    .recipe-section {
        grid-template-columns: repeat(2, 1fr);
        /* Dua kolom pada layar lebih kecil */
    }

    .recipe-card {
        max-height: 160px !important;
    }

    .recipe-card a {
        padding: 5px !important;
        font-size: 10px !important;
        margin-top: 5px;

    }

    .recipe-card img {
        max-height: 50% !important;
    }

    .recipe-card h2 {
        font-size: 10px !important;
    }

    .recipe-card p {
        font-size: 8px !important;
        margin-top: -20px !important;
    }

    .advantage-sect {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-box {
        max-width: 350px;
    }

    .search-box {
        width: 100%;
    }

    #adva1 {
        margin-top: -2px;
    }

    #adva4 {
        margin-top: -15px;
    }

    .search-box {
        margin-top: 100px;
    }

}

@media (max-width: 400px) {
    .recipe-section {
        grid-template-columns: fr;
        /* Satu kolom pada layar kecil */
    }
}

.recipe-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 15px;
    transition: transform 0.2s;
    max-height: 300px;
}

.recipe-card:hover {
    transform: scale(1.05);
}

.recipe-card img {
    width: auto;
    height: 50%;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.recipe-card h2 {
    margin: 5px;
    font-size: 20px;
    color: #333;
    text-align: center;
}

.recipe-card p {
    font-family: 'poppins', 'Roboto', sans-serif;
    /* Menggunakan font Roboto */
    font-size: 16px;
    /* Ukuran font lebih kecil */
    line-height: 1.5;
    color: #27ae60;
    padding: 15px;
}

.recipe-card a {
    display: block;
    text-align: center;
    text-decoration: none;
    background-color: rgba(27, 24, 24, 0.9);
    color: #fff;
    padding: 15px 0;
    font-weight: bold;
    transition: background 0.3s ease;
    /* border-top: 1px solid #333; */
}

.recipe-card a:hover {
    background-color: #35bd82;
    z-index: 1;
}


.no-results {
    text-align: center;
    color: #ff4d4d;
    margin-top: 20px;
}


/* product */


/* 
.buah-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(3, 1fr));
    gap: 20px;
    padding: 20px;
}

.buah-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.buah-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.buah-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.buah-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.buah-price {
    font-size: 16px;
    color: #27ae60;
    margin-bottom: 10px;
} */