/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f1fbe5;
    /* color: #2f402d; */
    line-height: 1.6;
    scroll-behavior: smooth;
}

.header-color {
    color: #e0b12f;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    display: block;
}

.logo {
    margin-left: 20px;
    align-items: baseline;
    display: flex;
    justify-content: center;
}

.navbar {
    display: flex;
    gap: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #c4edc4;

}

.navbar a {
    text-decoration: none;
    color: #665f22;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.navbar a:hover {
    background-color: #e0b12f;
    color: #ffffff;
}

/* Header */
header {
    background-color: #c4edc4;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 50, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    padding: 0 20px;
}

header .logo img {
    max-width: 100%;
    height: auto;
}

nav a {
    margin-right: 20px;
    text-decoration: none;
    color: #665f22;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #e0b12f;
    color: #ffffff;
}

#navbar {
    transition: transform 2s ease-in-out;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: center;
    }

    .navbar {
        flex-direction: column;
        gap: 10px;
    }

    .navbar a {
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px 0;
    }

    .navbar a {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* Hero */
.hero {
    background: linear-gradient(to right, #d9f8cf, #ecffe8);
    padding: 100px 0;
    text-align: center;
    background-image: url('images/hero-texture.png');
    /* optional light texture */
    background-size: cover;
}

.hero h2 {
    font-size: 2.8rem;
    color: #e0b12f;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #3b5c3b;
}

.cta-button {
    background: #5cb85c;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, background 0.3s;
    text-decoration: none;
}

.cta-button:hover {
    background: #e0b12f;
    transform: scale(1.05);
}

/* Section Base */
.section {
    padding: 70px 0;
}

.section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #e0b12f;
}

/* About */
.about p {
    max-width: 800px;
    margin: auto;
    font-size: 1.1rem;
    color: #3c543c;
}

/* Products */
.products ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.products li {
    background-color: #e0f5d8;
    padding: 20px;
    border-radius: 12px;
    width: 220px;
    text-align: center;
    font-weight: 600;
    color: #2e4e2e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.products li:hover {
    transform: translateY(-5px);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Contact */
.contact p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

/* Footer */
footer {
    background-color: #d4f4d4;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #3b593b;
    border-top: 2px solid #bce8bc;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
    padding: 100px;
}

.product-card {
    position: relative;
    height: 180px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.3), rgba(0, 50, 0, 0.5));
    z-index: 1;
    border-radius: 15px;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card span,
.product-card {
    z-index: 2;
}

.recipe {
    padding: 50px;
}

.recipes ul {
    list-style-type: none;
}

.recipes ul li {
    margin: 10px 0;
}

.recipes ul li a {
    text-decoration: none;
    color: #4CAF50;
    font-weight: 500;
}

.recipes ul li a:hover {
    text-decoration: underline;
}

/* Recipes Section */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.recipe-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.recipe-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.recipe-card h4 {
    font-size: 1.2rem;
    color: #2f402d;
    margin: 15px 0 10px;
}

.recipe-card p {
    font-size: 0.9rem;
    color: #4a5c4a;
    margin: 0 15px 15px;
}

.recipe-card .recipe-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.recipe-card .recipe-button:hover {
    background: #e0b12f;
    transform: scale(1.05);
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-card {
    position: relative;
    cursor: pointer;
}

.product-card .tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 0, 0, 0.8);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-card:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* RECIPES CSS */

/* Single Recipe Page – Scoped Classes */
.recipe-page {
    padding: 50px 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    margin-top: 40px;
    margin-bottom: 60px;
}

.recipe-page__title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c7a4b;
    text-align: center;
    margin-bottom: 10px;
}

.recipe-page__subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 40px;
}

.recipe-page__image {
    width: 80%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    margin: 0 auto 40px auto;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.recipe-page__content {
    max-width: 750px;
    margin: 0 auto;
}

.recipe-page__meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    font-size: 1rem;
    color: #444;
}

.recipe-page__section-title {
    font-size: 1.8rem;
    margin-top: 30px;
    color: #3ca866;
    border-bottom: 2px solid #e6f2ec;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.recipe-page__list {
    margin-left: 18px;
    font-size: 1.05rem;
    color: #444;
    list-style: disc;
}

.recipe-page__list li {
    margin-bottom: 12px;
    line-height: 1.6;
    position: relative;
    padding-left: 5px;
}

.recipe-page__list li::marker {
    color: #3ca866;
    font-weight: bold;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .recipe-page__meta {
        flex-direction: column;
        gap: 10px;
    }

    .recipe-page__title {
        font-size: 2.2rem;
    }

    .recipe-page__section-title {
        font-size: 1.5rem;
    }

    .recipe-page {
        padding: 30px 15px;
    }
}