/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f2d;
    --secondary-color: #4a7c59;
    --accent-color: #97bc62;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --bg-light: #f8f9fa;
    --border-color: #e1e5e9;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    background: var(--primary-color);
    color: white;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Header */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8f5e8 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    margin-bottom: 1.5rem;
}

.card-icon img {
    width: 60px;
    height: 60px;
}

.about-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 20px;
}

.service-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Recipes Section */
.recipes {
    padding: 80px 0;
    background: white;
}

.recipe-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.category-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.recipe-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recipe-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.recipe-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.recipe-item h4 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.recipe-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: var(--bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-header img {
    width: 40px;
    height: 40px;
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.reviewer strong {
    color: var(--primary-color);
}

.reviewer span {
    color: var(--text-light);
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: var(--primary-color);
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 5px;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item img {
    width: 30px;
    height: 30px;
    margin-top: 5px;
}

.contact-item strong {
    color: var(--primary-color);
}

.contact-hours h3 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover,
.footer-section ul li a.active {
    color: white;
}

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

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Blog Styles */
.blog-hero {
    padding: 60px 0;
    background: var(--bg-light);
    text-align: center;
}

.blog-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-articles {
    padding: 80px 0;
    background: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.article-image {
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-image img {
    width: 80px;
    height: 80px;
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-category {
    background: var(--accent-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.article-content h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.article-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Blog Article Styles */
.blog-article {
    padding: 80px 0;
    background: white;
}

.article-header {
    text-align: center;
    margin-bottom: 4rem;
}

.article-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-text h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.article-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.article-text ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-text li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.article-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tag {
    background: var(--bg-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-color);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-btn {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.share-btn:hover {
    background: var(--secondary-color);
}

/* Related Articles */
.related-articles {
    padding: 80px 0;
    background: var(--bg-light);
}

.related-articles .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-articles .article-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.related-articles .article-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.related-articles .article-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Thank You Page */
.thank-you {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

.success-message h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thank-you-details {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.next-steps {
    text-align: left;
    margin: 2rem 0;
}

.next-steps h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.next-steps ul {
    list-style: none;
    padding-left: 0;
}

.next-steps li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 25px;
}

.next-steps li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.error-message {
    color: #dc3545;
}

.recommended-content {
    padding: 80px 0;
    background: var(--bg-light);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.content-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.content-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Legal Pages */
.legal-content {
    padding: 80px 0;
    background: white;
}

.legal-content h1 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.last-updated {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.contact-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
}

.contact-section h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cookie-table {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.cookie-table h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cookie-settings-button {
    text-align: center;
    margin: 2rem 0;
}

/* Cookie Management */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-color);
    color: white;
    padding: 1rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h3 {
    color: white;
    margin-bottom: 1rem;
}

.cookie-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
}

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
}

.modal-content h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.cookie-category h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.cookie-category p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.cookie-category input[type="checkbox"] {
    margin-right: 10px;
}

.cookie-category label {
    color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-group {
        flex-direction: column;
    }

    .article-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }

    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cookie-content {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-grid,
    .services-grid,
    .recipe-categories,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .article-card {
        margin-bottom: 1rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .social-links,
    .article-share {
        display: none;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .blog-article {
        padding: 0;
    }

    .legal-content {
        padding: 0;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000;
        --secondary-color: #333;
        --text-color: #000;
        --bg-color: #fff;
        --border-color: #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}
