/* Base Styles */
:root {
    --primary-color: #4a6741;
    --secondary-color: #ff9d4d;
    --tertiary-color: #ffbf69;
    --background-color: #f9f7f2;
    --text-color: #333;
    --light-color: #e9e2d0;
    --dark-color: #2a3c26;
    --border-radius: 10px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Caveat', cursive;
    color: var(--primary-color);
    margin-bottom: 0.8em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 1.5px;
}

section {
    padding: 4rem 0;
    position: relative;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.9);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.logo img {
    width: 60px;
    height: auto;
    margin-right: 1rem;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 1rem;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.3rem;
    border: 2px solid var(--light-color);
    transition: var(--transition);
}

.nav-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-item:hover {
    background-color: var(--light-color);
}

.nav-item:hover .nav-icon {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    background-color: var(--light-color);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 80px;
}

.wave-divider path {
    fill: var(--background-color);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover::before {
    left: 0;
}

/* About Section */
.about {
    background-color: var(--background-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.utensil-divider {
    text-align: center;
    margin: 3rem 0;
}

.spoon-divider {
    width: 100%;
    max-width: 300px;
    height: 40px;
}

/* Services Section */
.services {
    background-color: var(--light-color);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 1.5rem;
}

/* Nutrition Section */
.nutrition {
    background-color: var(--background-color);
}

.nutrition-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.nutrition-infographic,
.portion-guide {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.calories-chart {
    display: flex;
    justify-content: space-between;
    height: 200px;
    align-items: flex-end;
    margin-top: 1.5rem;
}

.chart-item {
    flex: 1;
    text-align: center;
    padding: 0 0.5rem;
}

.chart-bar {
    background-color: var(--primary-color);
    width: 100%;
    position: relative;
    border-radius: 5px 5px 0 0;
    transition: var(--transition);
}

.chart-bar span {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    white-space: nowrap;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.chart-item p {
    margin-top: 0.8rem;
    font-size: 0.9rem;
}

.portion-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.portion-item {
    text-align: center;
}

.portion-item p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.weekly-menu {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.menu-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.menu-day {
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    position: relative;
}

.menu-day h4 {
    margin-bottom: 0.8rem;
    color: var(--dark-color);
}

.menu-day ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.2rem;
}

.menu-day ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Recipes Section */
.recipes {
    background-color: var(--light-color);
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.recipe-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.recipe-image {
    position: relative;
}

.recipe-difficulty {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.easy {
    background-color: #4caf50;
}

.medium {
    background-color: #ff9800;
}

.hard {
    background-color: #f44336;
}

.recipe-content {
    padding: 1.5rem;
}

.recipe-info {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.recipe-info li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.recipe-info li svg {
    margin-right: 0.5rem;
}

/* Benefits Section */
.benefits {
    background-color: var(--background-color);
}

.benefits-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.benefits-text {
    flex: 1;
    min-width: 300px;
}

.benefits-text ul {
    margin: 1.5rem 0;
}

.benefits-text ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.benefits-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.benefits-image {
    flex: 1;
    min-width: 300px;
}

.benefits-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
}

.testimonial-content h3 {
    margin-bottom: 0.8rem;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
}

/* Contact Section */
.contact {
    background-color: var(--background-color);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-email {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.contact-email svg {
    margin-right: 0.8rem;
}

.contact-form {
    flex: 2;
    min-width: 300px;
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 103, 65, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    width: auto;
    margin-right: 0.8rem;
    margin-top: 0.3rem;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    width: 80px;
    margin: 0 auto 1rem;
}

.footer-logo h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav h3,
.footer-instagram h3,
.footer-policies h3 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}

.footer-nav ul li,
.footer-policies ul li {
    margin-bottom: 0.8rem;
}

.footer-nav ul li a,
.footer-policies ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-nav ul li a:hover,
.footer-policies ul li a:hover {
    color: var(--secondary-color);
}

.instagram-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.insta-item {
    border-radius: 5px;
    overflow: hidden;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    header {
        padding: 0.8rem 0;
    }
    
    .logo {
        margin: 0 auto;
        padding-bottom: 0.8rem;
    }
    
    .logo img {
        width: 50px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: space-around;
        padding: 0.8rem 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-item {
        padding: 0.3rem;
    }
    
    .nav-icon {
        width: 30px;
        height: 30px;
    }
    
    .nav-item span {
        font-size: 0.8rem;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .wave-divider svg {
        height: 40px;
    }
}

@media screen and (max-width: 576px) {
    .container {
        width: 95%;
    }
    
    .nav-menu {
        gap: 0.8rem;
    }
    
    .calories-chart {
        height: 150px;
    }
    
    .chart-item p {
        font-size: 0.8rem;
    }
    
    .menu-table {
        grid-template-columns: 1fr;
    }
    
    .testimonial-image {
        width: 80px;
        height: 80px;
    }
    
    .instagram-feed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 375px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-icon {
        width: 25px;
        height: 25px;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .btn-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .chart-bar span {
        font-size: 0.7rem;
    }
}