* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
}

.header {
    width: 100%;
    background: #deb887;
    padding: 15px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.container {
    width: 80%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    border-radius: 50%;
}

.site-name {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-right: 300px;
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navigation ul li {
    display: inline;
}

.navigation ul li a {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    padding: 5px 10px;
    transition: 0.3s ease;
}

.navigation ul li a:hover {
    color: #fff;
    background: #8b5a2b;
    border-radius: 5px;
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding: 40px 20px;
    background-color: #ffedd5;
    border-radius: 10px;
    margin: 20px;
    margin-bottom: 30px;
}
.hero h1 {
    font-size: 28px;
    font-weight: 700;
}
.hero p {
    font-size: 18px;
    color: #555;
}
.hero-img {
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
    margin-top: 30px;
}

/* RECIPE CATEGORY */
.recipe-category {
    text-align: center;
    padding: 20px;
    position: relative;
    width: 100%;
    margin-bottom: 50px;
    overflow: hidden; 
}
.recipe-category h2 {
    font-size: 24px;
    margin-bottom: 50px;
}
.categories {
    display: flex;
    gap: 20px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}
.category {
    flex: 0 0 auto; 
    width: 200px;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.category img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}
.category h3 {
    margin-top: 10px;
}
.category a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}
.scroll-wrapper {
    display: flex;
    width: fit-content;
    animation: scrollLeft 15s linear infinite;
}

.scroll-wrapper.pause {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

.category-link {
    text-decoration: none;
    color: inherit;
}

.category-link:hover .category {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.03);
    transition: all 0.3s ease;
}

/* TIPS MEMASAK */
.cooking-tips {
    padding: 40px;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin: 20px;
}
.cooking-tips h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
}
.cooking-tips ul {
    list-style: none;
    padding: 0;
}
.cooking-tips li {
    font-size: 18px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}
.cooking-tips li i {
    margin-right: 10px;
    color: green;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #deb887;
    margin-top: 20px;
}


