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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

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

/* Header and Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transform: rotate(-0.5deg);
    border-bottom: 3px solid #4CAF50;
}

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

.logo-svg {
    transform: rotate(0.5deg);
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    transform: rotate(0.2deg);
    display: inline-block;
}

.nav-menu a:hover {
    color: #4CAF50;
    transform: rotate(-0.2deg);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    transform: rotate(1deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    transform: rotate(-0.2deg);
}

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

.hero-text h1 {
    font-size: 3rem;
    color: #2d8f2d;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    transform: rotate(0.3deg);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    transform: rotate(-0.1deg);
}

.cta-button {
    background: #4CAF50;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(0.5deg);
    box-shadow: 3px 3px 10px rgba(0,0,0,0.2);
    border: 2px solid #45a049;
}

.cta-button:hover {
    background: #45a049;
    transform: rotate(-0.5deg) scale(1.05);
}

.hero-svg {
    transform: rotate(0.3deg);
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.1));
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

section:nth-child(even) {
    background: #fff;
    transform: rotate(0.1deg);
}

section:nth-child(odd) {
    background: #f8f9fa;
    transform: rotate(-0.1deg);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2d8f2d;
    transform: rotate(-0.2deg);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* About Section */
.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;
    color: #666;
    transform: rotate(0.1deg);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #4CAF50;
    padding: 12px 25px;
    border: 2px solid #4CAF50;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: rotate(-0.3deg);
}

.btn-secondary:hover {
    background: #4CAF50;
    color: white;
    transform: rotate(0.3deg);
}

.about-svg {
    transform: rotate(0.4deg);
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

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

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    transform: rotate(0.2deg);
    border: 2px solid #e0e0e0;
}

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

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

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

.service-icon {
    margin-bottom: 1.5rem;
    transform: rotate(-0.2deg);
}

.service-card h3 {
    color: #2d8f2d;
    margin-bottom: 1rem;
    transform: rotate(0.1deg);
}

.service-card p {
    color: #666;
    transform: rotate(-0.1deg);
}

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

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: rotate(-0.2deg);
    border-left: 4px solid #4CAF50;
}

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

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

.testimonial-avatar {
    margin-bottom: 1rem;
    transform: rotate(0.5deg);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #666;
    transform: rotate(0.1deg);
}

.testimonial-card h4 {
    color: #2d8f2d;
    margin-bottom: 0.5rem;
    transform: rotate(-0.2deg);
}

.testimonial-card span {
    color: #999;
    font-size: 0.9rem;
    transform: rotate(0.1deg);
}

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

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

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    transform: rotate(0.2deg);
    border: 1px solid #e0e0e0;
}

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

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

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

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

.blog-image {
    height: 150px;
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e0e0e0;
}

.blog-content {
    padding: 1.5rem;
}

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

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

.read-more {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.read-more:hover {
    color: #45a049;
}

.blog-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: rotate(0.2deg);
}

.contact-icon {
    flex-shrink: 0;
    transform: rotate(-0.3deg);
}

.contact-item h4 {
    color: #2d8f2d;
    margin-bottom: 0.5rem;
    transform: rotate(0.1deg);
}

.contact-item p {
    color: #666;
    transform: rotate(-0.1deg);
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: rotate(-0.2deg);
    border: 2px solid #e0e0e0;
}

.contact-form h3 {
    color: #2d8f2d;
    margin-bottom: 2rem;
    text-align: center;
    transform: rotate(0.3deg);
}

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

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    transform: rotate(0.1deg);
}

.form-group input:focus {
    outline: none;
    border-color: #4CAF50;
    transform: rotate(-0.1deg);
}

.btn-primary {
    width: 100%;
    background: #4CAF50;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(0.2deg);
    border: 2px solid #45a049;
}

.btn-primary:hover {
    background: #45a049;
    transform: rotate(-0.2deg);
}

/* Footer */
.footer {
    background: #2d8f2d;
    color: #fff;
    padding: 3rem 0 1rem;
    transform: rotate(0.1deg);
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    transform: rotate(-0.2deg);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
    transform: rotate(0.1deg);
}

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

.footer-section ul li a:hover {
    color: #fff;
    transform: rotate(-0.1deg);
}

.footer-logo-svg {
    transform: rotate(0.3deg);
}

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

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: rotate(15deg) scale(1.1);
}

.footer-bottom {
    border-top: 1px solid #4CAF50;
    padding-top: 1rem;
    text-align: center;
    transform: rotate(-0.1deg);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: #fff;
    padding: 1rem;
    z-index: 1001;
    transform: rotate(-0.1deg);
    border-top: 3px solid #4CAF50;
}

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

.cookie-content p {
    flex: 1;
    transform: rotate(0.1deg);
}

.cookie-content a {
    color: #4CAF50;
    text-decoration: underline;
}

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

.btn-accept, .btn-necessary, .btn-settings {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(0.2deg);
}

.btn-accept {
    background: #4CAF50;
    color: white;
}

.btn-necessary {
    background: #FF9800;
    color: white;
}

.btn-settings {
    background: transparent;
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.btn-accept:hover, .btn-necessary:hover, .btn-settings:hover {
    transform: rotate(-0.2deg) scale(1.05);
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1002;
}

.cookie-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0.2deg);
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cookie-option {
    margin-bottom: 1.5rem;
    transform: rotate(-0.1deg);
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cookie-option p {
    color: #666;
    font-size: 0.9rem;
    margin-left: 1.5rem;
}

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

/* Mobile menu active styles */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu.active {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 1px solid #e0e0e0;
    transform: rotate(0deg);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-content, .about-content, .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .contact-form, .service-card, .testimonial-card {
        padding: 1.5rem;
    }
}

/* Hidden by default */
.hidden {
    display: none;
}

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