/* Base Styles */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #FF9800;
    --text-color: #333;
    --bg-color: #fff;
    --light-bg: #f9f9f9;
    --border-color: #e0e0e0;
    --footer-bg: #333;
    --footer-text: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bitter', serif;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 4rem 0;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #3d9c40;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    border-radius: 50%;
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.3s ease-out;
}

.btn-primary:hover::after {
    transform: scale(2);
    opacity: 1;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

/* Header Styles */
.main-header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Bitter', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

.main-nav a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:not(.btn-primary):hover::after {
    width: 100%;
}

.main-nav .btn-primary {
    padding: 0.5rem 1.2rem;
}

/* Hero Section */
.hero {
    background-color: var(--light-bg);
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero-wave-top, .hero-wave-bottom {
    position: absolute;
    width: 100%;
    z-index: 1;
}

.hero-wave-top {
    top: 0;
}

.hero-wave-bottom {
    bottom: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

/* Meal Plans Section */
.meal-plans {
    background-color: var(--light-bg);
}

.meal-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.meal-plan-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.meal-plan-image {
    height: 200px;
    overflow: hidden;
}

.meal-plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.meal-plan-card:hover .meal-plan-image img {
    transform: scale(1.05);
}

.meal-plan-content {
    padding: 1.5rem;
}

.meal-examples {
    margin-top: 1rem;
}

.meal-examples li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.5rem;
}

.meal-examples li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

/* Ingredient Day Section */
.ingredient-day {
    padding: 5rem 0;
}

.ingredient-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: var(--light-bg);
    border-radius: 10px;
    padding: 2rem;
}

.ingredient-image {
    flex: 1;
}

.ingredient-info {
    flex: 2;
}

.ingredient-facts {
    margin: 1.5rem 0;
}

.ingredient-facts li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
}

/* Calorie Infographic */
.calorie-infographic {
    background-color: var(--light-bg);
}

.infographic-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.infographic-item {
    text-align: center;
    width: 180px;
}

.calorie-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
    color: white;
    transition: transform 0.3s ease;
}

.infographic-item:hover .calorie-circle {
    transform: scale(1.1);
}

.calorie-circle.low {
    background-color: #8BC34A;
}

.calorie-circle.medium {
    background-color: #FFC107;
}

.calorie-circle.high {
    background-color: #FF5722;
}

.calorie-number {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.calorie-unit {
    font-size: 0.9rem;
}

/* Meal Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 18px;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
}

.timeline-marker {
    flex-shrink: 0;
    margin-right: 1.5rem;
    z-index: 1;
}

.timeline-content {
    padding: 1.5rem;
    background-color: var(--bg-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Snack Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-info {
    transform: translateY(-5px);
}

.gallery-info h3 {
    margin-bottom: 0.3rem;
}

.gallery-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* About Section */
.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-image, .about-text {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Form Section */
.contact-form {
    background-color: var(--light-bg);
}

.form-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
}

form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-container input {
    width: auto;
}

form button {
    grid-column: span 2;
    justify-self: center;
    margin-top: 1rem;
    width: auto;
    min-width: 200px;
}

/* Footer Styles */
.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--footer-text);
    margin-bottom: 1rem;
}

.footer-logo span {
    font-family: 'Bitter', serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.quick-links ul, .meal-times ul {
    margin-top: 1rem;
}

.quick-links li, .meal-times li {
    margin-bottom: 0.5rem;
}

.quick-links a, .meal-times a {
    color: var(--footer-text);
    opacity: 0.8;
}

.quick-links a:hover, .meal-times a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.partner-programs p, .footer-contact p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-contact .btn-secondary {
    margin-top: 1rem;
    border-color: var(--footer-text);
    color: var(--footer-text);
}

.footer-contact .btn-secondary:hover {
    background-color: var(--footer-text);
    color: var(--footer-bg);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-policies {
    display: flex;
    gap: 1.5rem;
}

.footer-policies a {
    color: var(--footer-text);
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-policies a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Media Queries */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-container, .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .ingredient-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .main-nav ul {
        gap: 1rem;
    }
    
    .main-nav a {
        font-size: 0.9rem;
    }
    
    .benefit-card, .meal-plan-card, .testimonial-card {
        padding: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-policies {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .infographic-content {
        justify-content: center;
    }
    
    form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    form button {
        grid-column: span 1;
    }
}

@media (max-width: 375px) {
    body {
        font-size: 0.95rem;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .logo a {
        font-size: 1.2rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .gallery-item img {
        height: 160px;
    }
}