#bg {
    background-image: url('../image/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
    padding-bottom: 100px;
}

#hero-banner {
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: center;
    padding: 20px 40px;
    margin: auto;
}

#banner-text {
    max-width: 70%;
}

#banner-text h1 {
    max-width: 80%;
    font-size: 50px;
    margin-bottom: 0%;
}

#banner-text h1 span {
    color: #cc5c5c;
}

#banner-text p {
    font-size: 20px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

#account-info p {
    font-size: 12px;
}

#account-info span {
    color: #cc5c5c;
}

#banner-image {
    position: relative;
    max-width: 30%;
    justify-content: center;
    align-items: center;
}

.leaf {
    position: absolute;
}

.leaf1 {
    top: 35%;
    right: 105%;
    width: 13%;
}

.leaf2 {
    top: 10%;
    left: 95%;
    width: 10%;
    transform: scaleX(-1);
}

.leaf3 {
    top: 85%;
    right: 10%;
    width: 12%;
    transform: rotate(130deg);
}

.leaf4 {
    top: 57%;
    right: 105%;
    width: 7%;
    transform: rotate(240deg);

}

.review-box {
    position: absolute;
    bottom: 0%;
    right: 70%;
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    z-index: 2;
    width: 280px;
}

.review-content-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.review-content-bot p {
    font-size: 15px;
}

.profile-pic {
    max-width: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;

}

.profile-content {
    max-width: 100%;
}

.profile-content p {
    margin-bottom: 0%;
}

.stars {
    display: flex;
    align-items: center;
    gap: 3px;
}

.stars i {
    color: #e67e22;
    font-size: 12px;
}

.stars span {
    font-size: 12px;
    color: #888;
}

.text {
    font-size: 12px;
    line-height: 1.4;
}

#share-section {
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: center;
    padding: 20px 40px;
}

#share-image {
    max-width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#share-content {
    max-width: 70%;
    padding: 20px;
}

#share-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

}

#share-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

#share-text h2 span {
    color: #cc5c5c;
}

#share-text p {
    font-size: 20px;
    color: #666;
    margin-top: 50px;
    margin-bottom: 50px;
    line-height: 1.5;
}


#share-button:hover {
    background-color: #a14b4b;
}

#section-trending {
    display: flex;
    flex-direction: column;
    margin: 60px auto;
    padding: 20px 40px;
}

#trending-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 30px;
}

#trending-text h2 {
    margin: 10;
    font-size: 40px;
}

#trending-text a {
    font-size: 15px;
    text-align: right;
    color: #c7593f;
    text-decoration: none;
    font-weight: bold;
}

.grid {
    display: flex;
    justify-content: space-between;
    gap: 20px 1%;
    flex-wrap: wrap;
}

.card {
    position: relative;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    width: 32%;
}

.bookmark {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: white;
    padding: 10px;
    border-radius: 20%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.bookmark i {
    color: #a15c4d;
    font-size: 20px;
}

.card img {
    width: 100%;
    height: auto;
    aspect-ratio: 2/1;
    object-fit: cover;
}

.card-body {
    padding: 15px;
}

.card-body h3 {
    margin: 20px 0 20px;
    font-size: 16px;
}

.info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ccc;
}

.calories {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.rating {
    color: #f39c12;
    display: flex;
}

.rating i {
    font-size: 10px;
    margin-right: 3px;
}

#blog-section {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 50px;
    padding: 20px 40px;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.blog-header h2 {
    font-size: 32px;
    font-weight: bold;
}

.blog-header a {
    font-size: 15px;
    text-align: right;
    color: #c7593f;
    text-decoration: none;
    font-weight: bold;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex-wrap: wrap;
}

.blog-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-card h3 {
    font-size: 18px;
    margin: 12px;
    font-weight: 600;
}

.blog-card p {
    font-size: 14px;
    margin: 0 12px 12px;
    color: #666;
}

#section-explore-recipe {
    display: flex;
    flex-direction: column;
    margin: 60px auto;
    padding: 20px 40px;
}

#explore-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 30px;
}

#exlore-text h2 {
    margin: 10;
    font-size: 40px;
}

#explore-text a {
    font-size: 15px;
    text-align: right;
    color: #c7593f;
    text-decoration: none;
    font-weight: bold;
}

#newsletter-wrapper {
    width: 100%;
    background-color: #fce8e4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsletter-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 20px;
}

.newsletter-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.newsletter-text {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #666;
    margin: 30px;
    line-height: 1.6;
}

.newsletter-input-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.newsletter-input {
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
}



#categories-section {
    display: flex;
    flex-direction: column;
    margin: 40px auto;
    gap: 50px;
    padding: 20px 40px;
}

.categories-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.categories-header h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.view-more {
    font-size: 15px;
    text-align: right;
    color: #c7593f;
    text-decoration: none;
    font-weight: bold;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.category {
    flex: 24%;
    text-align: center;
}

.category img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
}

.category p {
    margin-top: 10px;
    font-size: 20px;
    color: #333;
}

#partners {
    display: flex;
    padding: 20px 40px;
    margin: 100px auto;
}

.partners-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: auto;
}

.partners-container img {
    height: 70px;
    object-fit: contain;
}


@media (max-width: 1000px) {

    #hero-banner,
    #share-section,
    #section-explore-recipe,
    #blog-section,
    #section-trending,
    #categories-section {
        padding: 20px 20px;
    }

    #banner-text h1 {
        font-size: 40px;
        max-width: 100%;
    }

    #share-text h2 {
        font-size: 32px;
        max-width: 100%;
        margin-top: 0%;
    }

    #banner-text p,
    #share-text p {
        font-size: 16px;
        margin: 10px 0;
    }

    #trending-text h2,
    #explore-text h2 {
        font-size: 32px;
    }

    .review-box {
        width: 220px;
        padding: 12px 16px;
        gap: 10px;
    }

    .profile-pic {
        width: 50px;
        height: 50px;
    }

    .stars i,
    .stars span,
    .text,
    .review-content-bot p {
        font-size: 11px;
    }

    .review-content-bot p {
        font-size: 13px;
    }

    @media (max-width: 768px) {

        #hero-banner,
        #share-section,
        #section-explore-recipe {
            flex-direction: column;
            padding: 40px 20px;
            gap: 30px;
        }

        #banner-image {
            display: none;
        }

        #share-image {
            max-width: 100%;
            margin-bottom: 0%;
        }

        #banner-text,
        #share-content {
            max-width: 100%;
            text-align: center;
            align-items: center;
        }

        #banner-text h1 {
            font-size: 40px;
            max-width: 100%;
        }

        #share-text h2 {
            font-size: 32px;
            max-width: 100%;
            margin-top: 0%;
        }

        #banner-text p,
        #share-text p {
            font-size: 16px;
            margin: 10px 0;
        }

        #trending-text h2,
        #explore-text h2 {
            font-size: 32px;
        }

        .view-more {
            display: none;
        }


        .blog-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
        }

        .newsletter-input-group {
            flex-direction: column;
            gap: 10px;
        }

        .newsletter-text {
            font-size: 16px;
            margin: 20px 0;
        }

        .newsletter-title {
            font-size: 24px;
        }


        .categories-header h2 {
            font-size: 28px;
            text-align: center;
        }


        #trending-text,
        #explore-text {
            font-size: 28px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .partners-container {
            gap: 20px;
        }

        .category img {
            width: 200px;
            height: 200px;
        }

        .category p {
            font-size: 16px;
        }

        .card {
            width: 15%;
            height: 100%;
        }

        .card-body h3 {
            font-size: 15px;
        }

        .info {
            display: none;
        }

        .profile img {
            width: 20px;
            height: 20px;
        }

        .calories {
            padding: 6px;
            font-size: 12px;
        }

        .categories-grid {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .category img {
            width: 180px;
            height: 180px;
        }
    }
}

@media (max-width: 545px) {
    .category img {
        width: 100px;
        height: 100px;
    }
}