/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', 'Brush Script MT', cursive, sans-serif;
    line-height: 1.6;
    color: #2c5530;
    background-color: #fafbfa;
    background-image: 
        radial-gradient(circle at 20% 50%, transparent 20%, rgba(139, 195, 74, 0.05) 21%, rgba(139, 195, 74, 0.05) 30%, transparent 31%),
        linear-gradient(45deg, transparent 30%, rgba(76, 175, 80, 0.03) 31%, rgba(76, 175, 80, 0.03) 40%, transparent 41%);
}

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

/* Hand-drawn effect */
.sketchy {
    filter: url(#sketchy);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #e8f5e8 0%, #a8d5aa 100%);
    border-top: 3px solid #2c5530;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}

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

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

.cookie-icon {
    color: #4a7c59;
    flex-shrink: 0;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 8px 16px;
    border: 2px solid #2c5530;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.cookie-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

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

.btn-secondary {
    background: #6b9675;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #2c5530;
}

/* Cookie Settings Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 3px solid #2c5530;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-option {
    margin: 20px 0;
}

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

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

.cookie-option span {
    font-size: 14px;
    color: #666;
}

.cookie-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #e8f5e8 0%, #a8d5aa 100%);
    border-bottom: 4px solid #2c5530;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #2c5530;
    text-shadow: 2px 2px 0px #a8d5aa;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #2c5530;
    font-weight: bold;
    font-size: 18px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.nav-link:hover {
    background: #4a7c59;
    color: white;
    transform: translateY(-2px);
    border-color: #2c5530;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f1f8f1 0%, #e8f5e8 50%, #a8d5aa 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 195, 74, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #2c5530;
    text-shadow: 3px 3px 0px #a8d5aa;
    line-height: 1.1;
    transform: rotate(-1deg);
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    color: #4a7c59;
    line-height: 1.5;
}

.hero-cta {
    display: inline-block;
    padding: 18px 35px;
    background: #4a7c59;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    border: 3px solid #2c5530;
    transition: all 0.3s ease;
    position: relative;
    transform: rotate(1deg);
}

.hero-cta:hover {
    background: #2c5530;
    transform: rotate(1deg) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
    position: relative;
}

.services h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #2c5530;
    text-shadow: 2px 2px 0px #a8d5aa;
    transform: rotate(-0.5deg);
}

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

.service-card {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    padding: 40px 30px;
    border-radius: 25px;
    border: 3px solid #2c5530;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    transform: rotate(0.5deg);
}

.service-card:nth-child(even) {
    transform: rotate(-0.5deg);
}

.service-card:hover {
    transform: rotate(0deg) translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #e8f5e8 0%, #a8d5aa 100%);
}

.service-icon {
    margin-bottom: 25px;
    color: #4a7c59;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c5530;
}

.service-card p {
    font-size: 1.1rem;
    color: #4a7c59;
    line-height: 1.5;
}

/* About Preview Section */
.about-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, #a8d5aa 0%, #e8f5e8 100%);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #2c5530;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.7);
    transform: rotate(-0.5deg);
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #2c5530;
    line-height: 1.6;
}

.about-features {
    list-style: none;
    margin-bottom: 30px;
}

.about-features li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
    color: #2c5530;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4a7c59;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: white;
}

.blog h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #2c5530;
    text-shadow: 2px 2px 0px #a8d5aa;
    transform: rotate(0.5deg);
}

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

.blog-card {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    border-radius: 20px;
    border: 3px solid #2c5530;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: rotate(0.3deg);
}

.blog-card:nth-child(even) {
    transform: rotate(-0.3deg);
}

.blog-card:hover {
    transform: rotate(0deg) translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.blog-image {
    width: 100%;
    height: 200px;
    border-bottom: 3px solid #2c5530;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.blog-content h3 a {
    color: #2c5530;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: #4a7c59;
}

.blog-content p {
    font-size: 1rem;
    color: #4a7c59;
    margin-bottom: 15px;
    line-height: 1.5;
}

.blog-date {
    font-size: 0.9rem;
    color: #6b9675;
    font-style: italic;
}

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

.testimonials h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #2c5530;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.7);
    transform: rotate(-0.5deg);
}

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

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 25px;
    border: 3px solid #2c5530;
    position: relative;
    transform: rotate(0.5deg);
    transition: all 0.3s ease;
}

.testimonial-card:nth-child(even) {
    transform: rotate(-0.5deg);
}

.testimonial-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.testimonial-quote {
    color: #4a7c59;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: #2c5530;
    margin-bottom: 25px;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author strong {
    color: #2c5530;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #4a7c59;
    font-size: 0.9rem;
    display: block;
    margin-top: 5px;
}

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

.contact h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #2c5530;
    text-shadow: 2px 2px 0px #a8d5aa;
    transform: rotate(0.5deg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c5530;
    transform: rotate(-0.3deg);
}

.contact-info p {
    font-size: 1.1rem;
    color: #4a7c59;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #2c5530;
}

.contact-icon {
    color: #4a7c59;
    flex-shrink: 0;
}

.social-links h4 {
    margin: 30px 0 15px 0;
    color: #2c5530;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #4a7c59;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid #4a7c59;
}

.social-icons a:hover {
    background: #4a7c59;
    color: white;
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    padding: 40px;
    border-radius: 25px;
    border: 3px solid #2c5530;
    transform: rotate(0.5deg);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2c5530;
    text-align: center;
    transform: rotate(-0.5deg);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c5530;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 3px solid #2c5530;
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a7c59;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background: #4a7c59;
    color: white;
    border: 3px solid #2c5530;
    border-radius: 20px;
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #2c5530;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c5530 0%, #1a3b1e 100%);
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

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

.footer-section h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #a8d5aa;
    transform: rotate(-0.3deg);
}

.footer-section p {
    line-height: 1.6;
    color: #e8f5e8;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #e8f5e8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #a8d5aa;
}

.footer-bottom {
    border-top: 2px solid #4a7c59;
    padding-top: 20px;
    text-align: center;
    color: #a8d5aa;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 6px 12px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .services h2,
    .blog h2,
    .testimonials h2,
    .contact h2 {
        font-size: 2.2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        justify-content: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .services-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        transform: none;
    }
    
    .service-card,
    .blog-card,
    .testimonial-card {
        transform: none;
    }
    
    .service-card:hover,
    .blog-card:hover,
    .testimonial-card:hover {
        transform: translateY(-5px);
    }
}

/* Print styles */
@media print {
    .cookie-banner,
    .cookie-modal,
    .header,
    .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero,
    .services,
    .about-preview,
    .blog,
    .testimonials,
    .contact {
        background: white;
        padding: 20px 0;
    }
}

/* Animation for elements coming into view */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Blog Article Styles */
.article-header {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #e8f5e8 0%, #a8d5aa 100%);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.back-link {
    color: #4a7c59;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #4a7c59;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #4a7c59;
    color: white;
    transform: translateX(-5px);
}

.article-header h1 {
    font-size: 2.8rem;
    color: #2c5530;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.7);
    transform: rotate(-0.5deg);
}

.article-lead {
    font-size: 1.3rem;
    color: #4a7c59;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
}

.article-image {
    margin-top: 30px;
    text-align: center;
}

.article-content {
    padding: 60px 0;
    background: white;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c5530;
}

.article-body h2 {
    font-size: 2.2rem;
    color: #2c5530;
    margin: 40px 0 25px 0;
    text-shadow: 1px 1px 0px #a8d5aa;
    transform: rotate(-0.3deg);
}

.article-body h3 {
    font-size: 1.7rem;
    color: #4a7c59;
    margin: 30px 0 20px 0;
    transform: rotate(0.2deg);
}

.article-body h4 {
    font-size: 1.4rem;
    color: #2c5530;
    margin: 25px 0 15px 0;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
}

.info-box, .tip-box, .warning-box, .cta-box, .action-plan {
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    border: 3px solid;
}

.info-box {
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8f1 100%);
    border-color: #4a7c59;
}

.tip-box {
    background: linear-gradient(135deg, #a8d5aa 0%, #e8f5e8 100%);
    border-color: #2c5530;
}

.warning-box {
    background: linear-gradient(135deg, #ffe8e8 0%, #fff1f1 100%);
    border-color: #d32f2f;
    color: #8b0000;
}

.cta-box {
    background: linear-gradient(135deg, #4a7c59 0%, #2c5530 100%);
    border-color: #1a3b1e;
    color: white;
    text-align: center;
}

.cta-box h3 {
    color: #a8d5aa;
    margin-bottom: 15px;
}

.cta-box p {
    color: #e8f5e8;
    margin-bottom: 20px;
}

.action-plan {
    background: linear-gradient(135deg, #6b9675 0%, #4a7c59 100%);
    border-color: #2c5530;
    color: white;
}

.action-plan h3, .action-plan h4 {
    color: #e8f5e8;
    margin-bottom: 15px;
}

.action-plan ol, .action-plan ul {
    color: #f1f8f1;
}

.step-box {
    background: linear-gradient(135deg, #f1f8f1 0%, #e8f5e8 100%);
    padding: 25px;
    border-radius: 15px;
    border: 3px solid #4a7c59;
    margin: 25px 0;
    position: relative;
    transform: rotate(0.3deg);
}

.step-box:nth-child(even) {
    transform: rotate(-0.3deg);
}

.step-box h3 {
    color: #2c5530;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.step-box h4 {
    color: #4a7c59;
    margin: 20px 0 10px 0;
}

.error-list .error-item {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #6b9675;
    margin: 20px 0;
    position: relative;
}

.error-item h3 {
    color: #2c5530;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.error-item p {
    margin-bottom: 10px;
}

.error-item strong {
    color: #4a7c59;
}

/* Responsive blog styles */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2.2rem;
    }
    
    .article-lead {
        font-size: 1.1rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-body h2 {
        font-size: 1.8rem;
    }
    
    .article-body h3 {
        font-size: 1.4rem;
    }
    
    .step-box,
    .error-item {
        transform: none;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}