/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* :root {
    --primary-color: #5b3e29;
    --secondary-color: #e6c9a8;
    --dark-primary: #422b1e;
    --text-color: #333;
    --light-bg: #f9f5f0;
    --white: #fff;
    
    
}

:root {
    --primary-color: #2d8659;
    --secondary-color: #c5e8d5;
    --dark-primary: #1d5a3a;
    --text-color: #333;
    --light-bg: #f9f5f0;
    --white: #fff;
} */

:root {
    --primary-color: #50613b;
    --secondary-color: #d8e0cc;
    --dark-primary: #4a563a;
    --text-color: #333;
    --light-bg: #f9f5f0;
    --white: #fff;
}


body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}
a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

header {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    border-radius: 0 0 50px 50px;
}

nav {
    display: flex;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.main-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}
.main-logo img:hover {
    transform: translatey(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.brand-name {
    font-family: 'Rakkas', serif;
    margin-left: 1rem;
    font-size: 2rem;
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    margin-left: auto;
}

.links {
    margin-left: 2rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.links a {
    position: relative;
    padding: 0.5rem;
}

.links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.links a:hover:after {
    width: 100%;
}
.product {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.product-area {
    display:flex;
    background-color: var(--white);
    padding: 15px;
    margin-top: 70px;
    margin-bottom: 70px;
    border-radius: 20px;
    gap: 30px;
    flex-direction: row;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    height: 450px;
}
.main-product {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.main-product img {
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.main-product img:hover {
    transform: translateY(-3px);
}

.product-name {
    font-family: 'Rakkas', serif;
    font-weight: bold;
    color: var(--dark-primary);
    font-size: 38px;
}

.product-name:after {
    display: block;
    content: '';
    position: relative;
    width:30%;
    height: 4px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 3px;
}
.product-area h4 {
    font-size: 23px;
    font-family: 'Rakkas';
    color: var(--primary-color);
} 
.product-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}
.allergens {
    font-style: italic;
    color: #777;
}

        
.product-price {
    font-size: 24px;
    font-weight: bold;
    color: #4a6741;
}

.purchase-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.purchase-info h4 {
    font-family: 'Cairo',serif;
    font-size: 27px;
    color: var(--white);
}

.product-options {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 220px;
    transition: all 0.3s ease;
    font-size: 27px;
    position: relative;
    border-radius: 35px;
    background-color: var(--primary-color);
    cursor: pointer;
}

.product-options:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: var(--secondary-color);
    color: var(--dark-primary);
}

.back-to-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 220px;
    transition: all 0.3s ease;
    font-size: 27px;
    position: relative;
    border-radius: 35px;
    background-color: var(--primary-color);
}
.back-to-menu:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: var(--secondary-color);
    color: var(--dark-primary);
} 
.product-info {
margin-top: 100px;
display: block;
background-color: var(--white);
border-radius: 20px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
margin-bottom: 70px;
padding: 15px;
height: fit-content;
width: 40%;
position: relative;
left: 30%
}

.ingredients-section {
    display: block;

}

.section-title {
    font-family: 'Rakkas', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 0;
}

.ingredients-list {
    display: block;
    list-style: decimal;
    padding-left: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.ingredients-list li {
    margin-bottom: 1rem;
}

.nutritional-info {
    display: block;
}

.nutrition {
    display: block;

}

.nutrition-item {
    color: var(--text-color);

}

.similar-items-box {
    margin-top: 40px;
    display: block;
    background-color: var(--white);
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 50px;
    width: 90%;
    left: 5%;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}
.people-also-buy {
    display: block;
    font-family: 'Rakkas', serif;
    font-size: 2.2rem;
    font-weight: 1000;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    left: 10px;
}
.people-also-buy:after {
    content: '';
    display: block;
    position: absolute;
    width: 15%;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 10px;
}

.similar-items {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.similar-item {
    width: 200px;
    text-align: center;
    padding: 15px;
    transition: all 0.3s ease;
    border-radius: 30px;
}
.similar-item:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.similar-item img {
    width: 100%;
    border-radius: 8px;
}

.similar-item p {
    margin-top: 10px;
    font-weight: bold;
}

.similar-price {
    color: #4a6741;
}

.see-more-products {
    display: flex;
    justify-content: center;
    align-items:center;
    width: 180px;
    height: fit-content;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: bold;
    padding: 0.8rem 2rem;
    position: relative;
    top: 75px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.see-more-products:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 3rem 5%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(3px);
}

.footer-section a {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links img {
    width: 45px;
    height: auto;
    transition: transform 0.3s ease;
    filter: brightness(60%);
}

.social-links img:hover {
    transform: scale(1.1);
    filter: brightness(80%);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(230, 201, 168, 0.3);
    font-size: 0.9rem;
}

.show {
    opacity: 1;
    margin: auto;
    margin-bottom: 80px;
    transition: all 0.3s ease;
}
