/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    /* Set font family for the entire page */
}

body {
    background-color: #fff8f4;
    /* Light peach background */
    color: #333;
    /* Default text color */
    min-height: 100vh;
    /* Ensure body takes at least the full height of the screen */
    display: flex;
    flex-direction: column;
    /* Allow vertical layout for body elements */
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    /* Space between logo, links, and cart */
    align-items: center;
    /* Vertically center items */
    padding: 15px 40px;
    /* Add padding to navbar */
    background-color: #fff;
    /* White background for navbar */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    position: sticky;
    /* Make navbar sticky at the top */
    top: 0;
    /* Stick to top */
    z-index: 1000;
    /* Ensure it stays above other content */
}

.logo img {
    height: 50px;
    /* Logo size */
}

/* Centering navigation links */
.nav-center .nav-links {
    list-style: none;
    display: flex;
    /* Display nav links horizontally */
    gap: 30px;
    /* Space between nav links */
}

/* Navbar Link Styles */
.nav-links li a {
    text-decoration: none;
    /* Remove underline */
    color: #333;
    /* Text color */
    font-weight: 500;
    /* Medium font weight */
    transition: color 0.2s;
    /* Smooth color transition on hover */
    position: relative;
    /* For the underline effect */
}

/* Navbar Link Hover Effect */
.nav-links li a:hover {
    color: #d96d6f;
    /* Change color on hover */
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    /* Initially no underline */
    height: 2px;
    /* Underline height */
    background-color: #d96d6f;
    /* Underline color */
    transition: width 0.3s ease;
    /* Animate the underline width */
}

/* Navbar Link Hover Underline Effect */
.nav-links li a:hover::after {
    width: 100%;
    /* Expand underline on hover */
}

/* Cart Icon and Badge Styles */
.nav-cart {
    position: relative;
    /* Position the cart icon relative to its parent */
}

.cart-link {
    color: #333;
    /* Cart icon color */
    text-decoration: none;
    /* Remove underline */
    font-size: 1.5rem;
    /* Icon size */
    position: relative;
    /* Position the cart icon relative to its parent */
}

.cart-count {
    background-color: #d96d6f;
    /* Red background for count */
    color: white;
    /* White text for count */
    font-size: 0.8rem;
    /* Smaller font for count */
    border-radius: 50%;
    /* Circle shape */
    padding: 2px 7px;
    /* Padding inside the circle */
    position: absolute;
    /* Position it absolutely within the cart icon */
    top: -10px;
    right: -10px;
    /* Position the count at the top-right corner */
}

/* Footer Styling */
.footer {
    background-color: #fff;
    /* White background */
    padding: 30px 40px;
    /* Padding inside footer */
    border-top: 1px solid #eee;
    /* Light border on top */
}

/* Footer Content Layout */
.footer-content {
    display: flex;
    /* Flex layout for footer content */
    justify-content: space-between;
    /* Space out the content */
    align-items: center;
    /* Center the content vertically */
    flex-wrap: wrap;
    /* Allow content to wrap on smaller screens */
}

/* Footer Links */
.footer-links ul {
    list-style: none;
    /* Remove bullet points */
    display: flex;
    /* Flex layout for links */
    gap: 20px;
    /* Space between links */
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
    padding: 0;
    /* Remove padding */
}

.footer-links a {
    text-decoration: none;
    /* Remove underline from links */
    color: #333;
    /* Text color */
    font-weight: 500;
    /* Medium font weight */
    transition: color 0.3s;
    /* Smooth color transition */
}

/* Footer Link Hover Effect */
.footer-links a:hover {
    color: #d96d6f;
    /* Change color on hover */
}

/* Footer Logo */
.footer-logo img {
    height: 40px;
    /* Logo size */
}

/* Footer Social Icons */
.footer-socials {
    margin-top: 15px;
    /* Space above social icons */
    display: flex;
    /* Flex layout for icons */
    gap: 15px;
    /* Space between icons */
}

.footer-socials a {
    color: #333;
    /* Icon color */
    font-size: 1.5rem;
    /* Icon size */
    transition: color 0.3s;
    /* Smooth color transition */
}

/* Footer Social Icon Hover Effect */
.footer-socials a:hover {
    color: #d96d6f;
    /* Change color on hover */
}

/* Nutrition Main Section */
.nutrition-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #fffefc;
}

.nutrition-container {
    max-width: 700px;
    text-align: center;
}

.nutrition-container h1 {
    font-size: 2.5rem;
    color: #d96d6f;
    margin-bottom: 20px;
}

.nutrition-container p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.nutrition-image {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(217, 109, 111, 0.2);
}