/* Global Styles */
:root {
    --primary-color: #2E7D32;
    --secondary-color: #4A235A;
    --accent-color: #8BC34A;
    --dark-color: #121212;
    --light-color: #f8f9fa;
    --gray-color: #e9ecef;
    --text-color: #212529;
    --header-font: 'Playfair Display', serif;
    --body-font: 'Work Sans', sans-serif;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 0.5rem auto 0;
    border-radius: 3px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

section {
    padding: 5rem 0;
    position: relative;
}

section:nth-child(odd) {
    background-color: var(--light-color);
}

section:nth-child(even) {
    background-color: var(--gray-color);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border: none;
}

.btn.primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn.primary:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    height: 70px;
}

.wave-divider.inverted {
    transform: rotate(180deg);
    top: 0;
    bottom: auto;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
    font-family: var(--header-font);
    font-weight: 600;
    font-size: 1.5rem;
}

.logo-svg {
    margin-right: 0.5rem;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.main-nav a svg {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.main-nav a:hover {
    color: var(--primary-color);
    background-color: rgba(46, 125, 50, 0.1);
}

.mobile-nav-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-nav-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    padding: 5rem 0 8rem;
    background-color: var(--light-color);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 60% 40% 50% 30% / 40% 50% 60% 50%;
    box-shadow: var(--box-shadow);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
    margin: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--header-font);
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Services Section */
.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);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
}

/* Recipes Section */
.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 8px 16px rgba(0, 0, 0, 0.15);
}

.recipe-image {
    position: relative;
}

.recipe-difficulty {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.easy {
    background-color: var(--accent-color);
}

.medium {
    background-color: #FF9800;
}

.hard {
    background-color: var(--secondary-color);
}

.recipe-content {
    padding: 1.5rem;
}

.recipe-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #6c757d;
}

.recipe-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.recipe-benefits span {
    background-color: rgba(139, 195, 74, 0.2);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Diet Comparison */
.table-container {
    overflow-x: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

tr:hover {
    background-color: #e9ecef;
}

/* Meal Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 3px;
    background-color: var(--primary-color);
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content:before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background-color: white;
    transform: rotate(45deg) translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content:before {
    left: -10px;
}

.timeline-item:nth-child(even) .timeline-content:before {
    right: -10px;
}

.timeline-time {
    font-weight: 600;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* Snack Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.gallery-item img {
    transition: transform 0.5s ease;
    border-radius: var(--border-radius);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left:0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: white;
    width: 100%;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.gallery-caption h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: white;
}

.calories {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Ingredient of the day */
.ingredient-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.ingredient-image {
    flex: 1;
    max-width: 40%;
}

.ingredient-image img {
    border-radius: 0;
    height: 100%;
    object-fit: cover;
}

.ingredient-info {
    flex: 1.5;
    padding: 2rem;
}

.ingredient-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 3rem;
}

.contact-info {
    flex: 1;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-hours {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(139, 195, 74, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.contact-form-container {
    flex: 1;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    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: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: var(--border-radius);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: white;
    font-family: var(--header-font);
    font-weight: 600;
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.2rem;
    position: relative;
}

.footer-col h4:after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    margin-top: 0.5rem;
}

.footer-nav li,
.footer-services li,
.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-links a {
    color: #ccc;
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-links a:hover {
    color: var(--accent-color);
}

.footer-services li {
    color: #ccc;
}

.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #adb5bd;
}

/* Decorative Elements */
.utensil-divider {
    display: block;
    width: 100%;
    height: 20px;
    margin: 2rem auto;
}

/* Favicon SVG */
#favicon {
    position: absolute;
    width: 0;
    height: 0;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-image {
        order: -1;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }

    .timeline:before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-item:nth-child(odd) .timeline-content:before,
    .timeline-item:nth-child(even) .timeline-content:before {
        left: -10px;
        right: auto;
    }

    .ingredient-content {
        flex-direction: column;
    }

    .ingredient-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-nav-icon {
        display: flex;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .recipes-grid,
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 375px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .about-stats {
        flex-direction: column;
    }

    .stat-item {
        margin-bottom: 1.5rem;
    }
}