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

:root {
    --primary-color: #2c5530;
    --secondary-color: #4a7c59;
    --accent-color: #6b9b76;
    --light-color: #f8f4e6;
    --dark-color: #1a3d1f;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: rgba(44, 85, 48, 0.1);
    --hand-drawn-font: 'Segoe Print', 'Bradley Hand', 'Brush Script MT', cursive;
    --body-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    position: relative;
}

/* Hand-drawn decorative elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, var(--accent-color) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, var(--secondary-color) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--hand-drawn-font);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

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

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-family: var(--hand-drawn-font);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    padding: 12px 24px;
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    font-family: var(--hand-drawn-font);
}

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

.btn-secondary {
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--hand-drawn-font);
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand .logo-svg {
    height: 40px;
    width: auto;
}

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

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-family: var(--hand-drawn-font);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--secondary-color);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
    transform-origin: center;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px var(--shadow);
    border-top: 3px solid var(--secondary-color);
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-icon {
    width: 24px;
    height: 24px;
    color: var(--secondary-color);
}

.cookie-content p {
    flex: 1;
    margin: 0;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-color), var(--white));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10 10 Q50 5 90 10 Q95 50 90 90 Q50 95 10 90 Q5 50 10 10" fill="none" stroke="%234a7c59" stroke-width="0.5" opacity="0.1"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: rotate(0deg) translateY(0px); }
    50% { transform: rotate(180deg) translateY(-20px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(44, 85, 48, 0.1);
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-graphic {
    position: relative;
}

.hero-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px var(--shadow));
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.title-underline {
    width: 100px;
    height: 10px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: var(--white);
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.about-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px var(--shadow));
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: var(--light-color);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(74, 124, 89, 0.05), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.service-card:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow);
}

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

.service-icon svg {
    width: 60px;
    height: 60px;
}

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

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-color);
    position: relative;
}

.service-features li:last-child {
    border-bottom: none;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 5px 20px var(--shadow);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

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

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

.testimonial-info h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.testimonial-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.rating {
    display: flex;
    gap: 0.25rem;
    margin-top: 1rem;
}

.star {
    width: 16px;
    height: 16px;
}

/* Blog Section */
.blog {
    padding: 4rem 0;
    background: var(--light-color);
}

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

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-icon {
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.blog-icon svg {
    width: 60px;
    height: 60px;
}

.blog-content {
    padding: 0 2rem 2rem;
}

.blog-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

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

.blog-card h3 a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: var(--secondary-color);
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color);
}

/* Blog Articles */
.blog-article {
    padding: 6rem 0 4rem;
    background: var(--white);
}

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

.back-to-blog {
    color: var(--secondary-color);
    text-decoration: none;
    margin-bottom: 2rem;
    display: inline-block;
    transition: color 0.3s ease;
}

.back-to-blog:hover {
    color: var(--primary-color);
}

.article-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: block;
}

.article-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.article-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Subscription Section */
.subscription {
    padding: 4rem 0;
    background: var(--white);
    border-top: 3px solid var(--secondary-color);
}

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

.subscription-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subscription-form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: var(--hand-drawn-font);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Legal Section */
.legal {
    padding: 2rem 0;
    background: var(--light-color);
    border-top: 1px solid rgba(74, 124, 89, 0.2);
}

.legal-links {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: var(--hand-drawn-font);
}

.legal-link:hover {
    color: var(--secondary-color);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.modal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-family: var(--hand-drawn-font);
}

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

.footer-logo .logo-svg {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-logo .logo-svg text {
    fill: var(--white);
}

.footer-logo .logo-svg path,
.footer-logo .logo-svg circle {
    stroke: var(--white);
    fill: var(--accent-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.contact-icon {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    flex-shrink: 0;
    color: var(--accent-color);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Thanks Page Styles */
.thanks-section {
    margin-top: 80px;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-color), var(--white));
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

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

.thanks-graphic {
    text-align: center;
}

.thanks-svg {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 10px 20px var(--shadow));
}

.thanks-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.thanks-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.next-steps {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid var(--secondary-color);
}

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

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

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

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

.thanks-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        gap: 0;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .subscription-content {
        grid-template-columns: 1fr;
    }

    .thanks-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .thanks-text h1 {
        font-size: 2.5rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .hero-buttons,
    .thanks-actions {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

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

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn-primary,
    .btn-outline,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .service-card,
    .testimonial-card,
    .blog-card {
        padding: 1.5rem;
    }

    .subscription-form {
        padding: 1.5rem;
    }

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

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

    .thanks-subtitle {
        font-size: 1.1rem;
    }

    .next-steps {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #000000;
        --text-color: #000000;
        --text-light: #000000;
    }
    
    .btn-primary {
        background: #000000;
        border: 2px solid #000000;
    }
    
    .btn-outline {
        border-color: #000000;
        color: #000000;
    }
}

/* Focus styles for better accessibility */
button:focus,
input:focus,
a:focus,
.nav-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .cookie-banner,
    .hamburger,
    .btn-primary,
    .btn-outline,
    .btn-secondary {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .hero {
        margin-top: 0;
        page-break-inside: avoid;
    }
}
