/* Root Variables */
:root {
    --primary-green: #4caf50; /* Vibrant Green */
    --primary-white: #ffffff; /* Clean White */
    --secondary-yellow: #ffeb3b; /* Bright Yellow */
    --secondary-orange: #ff9800; /* Soft Orange */
    --neutral-gray: #f5f5f5; /* Light Gray */
    --neutral-beige: #f4e3cf; /* Soft Beige */
    --earthy-brown: #8d6e63; /* Earthy Brown */
}

/* General Styles */
body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: var(--neutral-gray);
    color: var(--earthy-brown);
    margin: 0;
    padding: 0;
}

.content {
    flex: 1;
}
.body-padded {
    padding: 20px;
}


.nutridense-primary {
    background-color: var(--primary-green);
}

.navbar-dark {
    background-color: var(--primary-green);
}
.nd-nav-link {
    color: #ffffff;
}
.nd-body-link {
    color: var(--earthy-brown);
    text-decoration: underline;
}


.assistant {

    display: flex;
    justify-content: center;
    align-items: center;
}

.assistant-input {
    width: 75%;
    margin-top: 1rem;
    border-radius: 5px;
    padding-left: 1rem;
    padding-right: 1rem;
    border: 1px solid var(--earthy-brown);
}

.assistant button {
    margin-left: 10px;
    background-color: var(--primary-green);
    color: var(--primary-white);
    border: none;
    padding: 5px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.assistant button:hover {
    background-color: var(--secondary-orange);
}

/* Carousel Styles */
#carousel-section {

}
.carousel-item {
    height: 400px; /* Fixed height for consistency */
}
.carousel-item img {

    width: 100%; /* Ensure the image spans the full width */
    height: 100%; /* Ensure the image fills the carousel height */
    object-fit: cover; /* Maintain aspect ratio and ensure the image fills the area */
    object-position: center;
    background-color: #f5f5f5; /* Add a background color for blank areas */
}
#solutionCarousel .carousel-item {
    height: 400px; /* Fixed height for consistency */
}

#solutionCarousel .carousel-item img {

    width: 100%; /* Ensure the image spans the full width */
    height: 100%; /* Ensure the image fills the carousel height */
    object-fit: cover; /* Maintain aspect ratio and ensure the image fills the area */
    object-position: center;
    background-color: #f5f5f5; /* Add a background color for blank areas */
}

.carousel-caption {
    background: rgba(255, 255, 255, 0.5); /* Semi-transparent white */
    backdrop-filter: blur(5px); /* Adds a blur effect */
    padding: 10px;
    border-radius: 5px;
    color: var(--earthy-brown);
}
.carousel-caption h5 {
    background-color: rgba(0, 0, 0, 0.6);
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    color: #ffffff;
}

/* Product Section */
#products {
    padding: 20px;
    background-color: #fdfcf8;
    border-radius: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.yum-card {
    background: var(--primary-white);
    border: 1px solid var(--neutral-beige);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card {
    text-align: center;
}

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

.product-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.product-card h3 {
    color: var(--earthy-brown);
    font-size: 1.5rem;
}

.product-card p {
    color: var(--earthy-brown);
    font-size: 1rem;
}

.price {
    color: var(--secondary-orange);
    font-weight: bold;
    font-size: 1.2rem;
    padding: 0.4rem;
}

/* Footer Styles */
footer {
    background-color: var(--earthy-brown);
    color: var(--primary-white);
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

footer a {
    color: var(--primary-white);
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

.social-icons a {
    color: var(--primary-white);
    font-size: 20px;
    margin-right: 10px;
}
