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

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    line-height: 1.6;
    color: #2c5530;
    background-color: #fefffe;
    overflow-x: hidden;
}

/* Hand-drawn effects */
.hand-drawn {
    filter: url(#roughPaper);
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #f0f7f1 0%, #e8f5ea 100%);
    border-bottom: 3px solid #2c5530;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(44, 85, 48, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
}

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

.logo-icon {
    transform: rotate(-2deg);
    filter: drop-shadow(2px 2px 4px rgba(44, 85, 48, 0.2));
}

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

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

.nav-links a:hover {
    background-color: #5a9b61;
    color: white;
    transform: translateY(-2px) rotate(1deg);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #5a9b61;
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-links a:hover::before {
    opacity: 0.2;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f7f1 0%, #e8f5ea 50%, #d4edda 100%);
    padding: 120px 2rem 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235a9b61' fill-opacity='0.03'%3E%3Cpath d='M30 30c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm20 0c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #2c5530;
    text-shadow: 2px 2px 4px rgba(44, 85, 48, 0.1);
    transform: rotate(-1deg);
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #4a6741;
    transform: rotate(0.5deg);
}

.cta-button {
    display: inline-block;
    background: #5a9b61;
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    transform: rotate(-1deg);
    box-shadow: 4px 4px 12px rgba(44, 85, 48, 0.2);
    border: 3px solid #2c5530;
}

.cta-button:hover {
    background: #2c5530;
    transform: rotate(1deg) translateY(-3px);
    box-shadow: 6px 6px 16px rgba(44, 85, 48, 0.3);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg {
    transform: rotate(2deg);
    filter: drop-shadow(4px 4px 8px rgba(44, 85, 48, 0.15));
    animation: float 6s ease-in-out infinite;
}

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

/* Services Section */
.services {
    padding: 80px 2rem;
    background: linear-gradient(45deg, #ffffff 0%, #f8fdf9 100%);
    position: relative;
}

.services h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #2c5530;
    transform: rotate(-1deg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #f0f7f1;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid #5a9b61;
    position: relative;
    transform: rotate(1deg);
}

.service-card:nth-child(2) {
    transform: rotate(-1deg);
}

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

.service-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 0 15px 30px rgba(44, 85, 48, 0.2);
    background: #e8f5ea;
}

.service-icon {
    margin-bottom: 1.5rem;
    filter: drop-shadow(2px 2px 4px rgba(44, 85, 48, 0.1));
}

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

.service-card p {
    color: #4a6741;
    line-height: 1.6;
}

/* Company Info Section */
.company-info {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #e8f5ea 0%, #d4edda 100%);
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.info-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c5530;
    transform: rotate(-0.5deg);
}

.info-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #4a6741;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.5rem 0;
    color: #4a6741;
    position: relative;
    padding-left: 2rem;
}

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

.learn-more-btn {
    display: inline-block;
    background: transparent;
    color: #2c5530;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border: 2px solid #2c5530;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    transform: rotate(1deg);
}

.learn-more-btn:hover {
    background: #2c5530;
    color: white;
    transform: rotate(-1deg) translateY(-2px);
}

.info-svg {
    transform: rotate(-1deg);
    filter: drop-shadow(3px 3px 6px rgba(44, 85, 48, 0.15));
}

/* Testimonials Section */
.testimonials {
    padding: 80px 2rem;
    background: #ffffff;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #2c5530;
    transform: rotate(1deg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #f8fdf9;
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid #e8f5ea;
    position: relative;
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
}

.testimonial-card:nth-child(2) {
    transform: rotate(1deg);
}

.testimonial-card:nth-child(3) {
    transform: rotate(-1deg);
}

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

.quote-icon {
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #4a6741;
    font-style: italic;
}

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

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

/* Blog Section */
.blog {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fdf9 50%, #e8f5ea 100%);
}

.blog h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #2c5530;
    transform: rotate(-1deg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 3px solid #5a9b61;
    position: relative;
    transform: rotate(1deg);
    box-shadow: 4px 4px 12px rgba(44, 85, 48, 0.1);
}

.blog-card:nth-child(2) {
    transform: rotate(-1deg);
}

.blog-card:nth-child(3) {
    transform: rotate(0.5deg);
}

.blog-card:nth-child(4) {
    transform: rotate(-0.8deg);
}

.blog-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 0 15px 30px rgba(44, 85, 48, 0.2);
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-icon {
    margin: 2rem auto 1.5rem;
    display: block;
    filter: drop-shadow(2px 2px 4px rgba(44, 85, 48, 0.1));
}

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

.blog-content h3 {
    color: #2c5530;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-content p {
    color: #4a6741;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.blog-meta {
    color: #5a9b61;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #5a9b61 0%, #4a8052 100%);
    color: white;
}

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

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transform: rotate(-1deg);
}

.newsletter p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 3px solid #2c5530;
    border-radius: 50px;
    font-size: 1rem;
    background: white;
    color: #2c5530;
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
}

.form-group input:focus {
    outline: none;
    transform: rotate(0deg);
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.3);
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.submit-btn {
    background: #2c5530;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(1deg);
    border: 3px solid white;
}

.submit-btn:hover {
    background: white;
    color: #2c5530;
    transform: rotate(-1deg) translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact {
    padding: 80px 2rem;
    background: linear-gradient(45deg, #f0f7f1 0%, #e8f5ea 100%);
}

.contact h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #2c5530;
    transform: rotate(-1deg);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #5a9b61;
    transform: rotate(0.5deg);
    transition: all 0.3s ease;
}

.contact-item:nth-child(2) {
    transform: rotate(-1deg);
}

.contact-item:nth-child(3) {
    transform: rotate(1deg);
}

.contact-item:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 10px 20px rgba(44, 85, 48, 0.15);
}

.contact-icon {
    flex-shrink: 0;
}

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

.contact-item p {
    color: #4a6741;
    margin: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    display: block;
    transition: all 0.3s ease;
    transform: rotate(2deg);
}

.social-link:hover {
    transform: rotate(-2deg) translateY(-3px);
    filter: drop-shadow(0 5px 10px rgba(44, 85, 48, 0.3));
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

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

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

.footer-nav a:hover {
    color: #5a9b61;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c5530;
    color: white;
    padding: 1rem 2rem;
    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;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-btn.primary {
    background: #5a9b61;
    color: white;
}

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

.cookie-btn.tertiary {
    background: white;
    color: #2c5530;
}

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

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    display: none;
    justify-content: center;
    align-items: center;
}

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

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content h3 {
    color: #2c5530;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e8f5ea;
    border-radius: 10px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #2c5530;
    cursor: pointer;
}

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

.cookie-category p {
    margin-top: 0.5rem;
    color: #4a6741;
    font-size: 0.9rem;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    transform: rotate(-2deg);
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: #f0f7f1;
    transform: rotate(0deg);
}

.hamburger-icon {
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-icon {
    transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 2;
    }
    
    .logo {
        order: 1;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 3px solid #5a9b61;
        border-top: none;
        border-radius: 0 0 20px 20px;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 10px 30px rgba(44, 85, 48, 0.1);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        order: 3;
        width: 100%;
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
        width: 100%;
        transform: none;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background: #f0f7f1;
        transform: translateX(5px);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .info-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .services h2, .testimonials h2, .contact h2 {
        font-size: 2rem;
    }
    
    .newsletter h2 {
        font-size: 2rem;
    }
    
    .service-card, .testimonial-card {
        padding: 1.5rem;
    }
}