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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #2c5530;
    background-color: #fef9f3;
    overflow-x: hidden;
}

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

/* Hand-drawn animations */
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    font-weight: bold;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #7fb069, #4a7c59);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(44, 85, 48, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c5530;
}

.logo svg {
    animation: wiggle 3s ease-in-out infinite;
}

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

.nav a {
    text-decoration: none;
    color: #2c5530;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav a:hover {
    color: #7fb069;
    transform: translateY(-2px);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #7fb069;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2c5530;
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(127, 176, 105, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

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

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

.highlight {
    color: #7fb069;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(127, 176, 105, 0.3);
    border-radius: 4px;
    transform: skew(-12deg);
}

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

.cta-button {
    display: inline-block;
    background: #7fb069;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 3px solid #7fb069;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: #4a7c59;
    border-color: #4a7c59;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.3);
}

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

.hero-graphic svg {
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(3px 3px 6px rgba(44, 85, 48, 0.2));
}

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

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

.about-text ul {
    list-style: none;
    margin-top: 2rem;
}

.about-text li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.about-graphic svg {
    animation: float 5s ease-in-out infinite;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f4e4bc 0%, #fef9f3 100%);
}

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

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(127, 176, 105, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
    animation: wiggle 2s ease-in-out infinite;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #7fb069;
    box-shadow: 0 15px 30px rgba(127, 176, 105, 0.2);
}

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

.service-icon svg {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1) rotate(5deg);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #fff;
}

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

.testimonial-card {
    background: #f4e4bc;
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
    border-left: 5px solid #7fb069;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(44, 85, 48, 0.15);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a7c59;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar svg {
    border-radius: 50%;
    border: 3px solid #7fb069;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: #2c5530;
}

.author-info span {
    color: #7fb069;
    font-size: 0.9rem;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: linear-gradient(135deg, #fef9f3 0%, #f4e4bc 100%);
}

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

.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: #7fb069;
    box-shadow: 0 15px 30px rgba(127, 176, 105, 0.2);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-content {
    padding: 1.5rem;
}

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

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

.blog-content h3 a:hover {
    color: #7fb069;
}

.blog-date {
    color: #7fb069;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.subscription-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f4e4bc;
    padding: 3rem;
    border-radius: 20px;
    border: 3px solid #7fb069;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #7fb069;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

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

.submit-button {
    width: 100%;
    background: #7fb069;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #4a7c59;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.3);
}

/* Legal Section */
.legal {
    padding: 60px 0;
    background: linear-gradient(135deg, #f4e4bc 0%, #fef9f3 100%);
}

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

.legal-links a {
    color: #2c5530;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #7fb069;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.legal-links a:hover {
    background: #7fb069;
    color: white;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: #2c5530;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #7fb069;
}

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

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

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

.footer-section ul a:hover {
    color: #7fb069;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #7fb069;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #4a7c59;
    transform: translateY(-3px);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c5530;
    color: white;
    padding: 1rem;
    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;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

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

.btn-primary,
.btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #7fb069;
    color: white;
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid #7fb069;
}

.btn-secondary:hover {
    background: #7fb069;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 85, 48, 0.8);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #2c5530;
}

.modal-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c5530;
}

.modal-body ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Thanks Page */
.thanks-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef9f3 0%, #f4e4bc 100%);
    padding: 2rem;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    border: 3px solid #7fb069;
}

.thanks-graphic {
    margin-bottom: 2rem;
}

.thanks-actions {
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f4e4bc;
}

.contact-info h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }
    
    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding-top: 1rem;
    }
    
    .nav.show {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .legal-links {
        flex-direction: column;
        align-items: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .subscription-form {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Hand-drawn elements styling */
svg path,
svg circle,
svg rect,
svg line {
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f4e4bc;
}

::-webkit-scrollbar-thumb {
    background: #7fb069;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a7c59;
}
