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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.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: #2c5530;
}

h2 {
    font-size: 2rem;
    color: #2c5530;
}

h3 {
    font-size: 1.5rem;
    color: #2c5530;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    color: #4a7c59;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2c5530;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #4a7c59;
    color: white;
}

.btn-primary:hover {
    background-color: #2c5530;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #f8f9fa;
    color: #4a7c59;
    border: 2px solid #4a7c59;
}

.btn-secondary:hover {
    background-color: #4a7c59;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: #4a7c59;
    border: 2px solid #4a7c59;
}

.btn-outline:hover {
    background-color: #4a7c59;
    color: white;
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c5530;
}

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

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: #666;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #4a7c59;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

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

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

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

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

/* Section Spacing */
section {
    padding: 80px 0;
}

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

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

.section-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    margin-bottom: 1.5rem;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a7c59;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image img {
    width: 100%;
    height: auto;
    max-width: 300px;
}

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

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefits {
    background-color: #f8f9fa;
}

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

.benefit-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #4a7c59;
}

.benefit-item h3 {
    color: #4a7c59;
    margin-bottom: 1rem;
}

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

.testimonial-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author strong {
    color: #2c5530;
    display: block;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background-color: #f8f9fa;
}

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

.contact-info h3 {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item strong {
    color: #2c5530;
    display: block;
    margin-bottom: 0.5rem;
}

/* Forms */
.subscription-form,
.newsletter-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.subscription-form h3 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c5530;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a7c59;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.newsletter-form input {
    flex: 1;
}

/* Footer */
.footer {
    background-color: #2c5530;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
}

.footer-brand span {
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #fff;
}

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

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

.footer-section ul li a {
    color: #a8c5a8;
    transition: color 0.3s ease;
}

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

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

.social-links a {
    color: #a8c5a8;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #4a7c59;
    padding-top: 1rem;
    text-align: center;
    color: #a8c5a8;
}

/* Cookie Banner and Modal */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    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;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    margin-bottom: 1.5rem;
}

.cookie-option {
    margin-bottom: 1.5rem;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-top: 0.25rem;
}

.cookie-option span {
    font-weight: 500;
    display: block;
}

.cookie-option small {
    color: #666;
    display: block;
    margin-top: 0.25rem;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Blog Pages */
.blog-hero {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
    padding: 60px 0;
    text-align: center;
}

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

.blog-grid {
    padding: 80px 0;
}

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

.article-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-category {
    display: inline-block;
    background-color: #4a7c59;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.article-content h2 {
    margin-bottom: 1rem;
}

.article-content h2 a {
    color: #2c5530;
    text-decoration: none;
}

.article-content h2 a:hover {
    color: #4a7c59;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.article-link {
    color: #4a7c59;
    font-weight: 500;
    text-decoration: none;
}

.article-link:hover {
    color: #2c5530;
}

/* Individual Article Pages */
.article-content {
    padding: 80px 0;
}

.article-header {
    margin-bottom: 3rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.article-image-container {
    margin-bottom: 3rem;
}

.article-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-intro {
    font-size: 1.2rem;
    color: #2c5530;
    font-weight: 500;
    margin-bottom: 2rem;
}

.article-body h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

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

.article-share span {
    color: #666;
    font-weight: 500;
}

.article-share a {
    color: #4a7c59;
    text-decoration: none;
}

.article-share a:hover {
    color: #2c5530;
}

/* Related Articles */
.related-articles {
    background-color: #f8f9fa;
    padding: 80px 0;
}

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

.related-article {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.related-article img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.related-article h3 {
    margin-bottom: 0.5rem;
}

.related-article h3 a {
    color: #2c5530;
    text-decoration: none;
}

.related-article h3 a:hover {
    color: #4a7c59;
}

/* Newsletter Section */
.newsletter {
    background-color: #4a7c59;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.newsletter h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.newsletter p {
    color: #a8c5a8;
    margin-bottom: 2rem;
}

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

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

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

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

.thank-you-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.next-steps {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    text-align: left;
}

.next-steps h3 {
    margin-bottom: 1rem;
    text-align: center;
}

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

.next-steps li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    padding-left: 2rem;
}

.next-steps li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4a7c59;
    font-weight: bold;
}

.next-steps li:last-child {
    border-bottom: none;
}

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

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

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

.last-updated {
    color: #666;
    font-style: italic;
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
}

.legal-body section {
    margin-bottom: 3rem;
    padding: 0;
}

.legal-body h2 {
    margin-bottom: 1.5rem;
    color: #2c5530;
}

.legal-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #4a7c59;
}

.legal-body ul,
.legal-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

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

.contact-info {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Cookie Policy Tables */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c5530;
}

.cookie-table td {
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

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

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

    .stats {
        justify-content: center;
        gap: 2rem;
    }

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

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

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }

    .article-navigation {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

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

    .cookie-table {
        font-size: 0.8rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

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

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }

    .services-grid,
    .benefits-grid,
    .testimonials-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .cookie-buttons {
        flex-direction: column;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
textarea:focus {
    outline: 2px solid #4a7c59;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}
