/* 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: #333;
    background: #fefefe;
    background-image: 
        radial-gradient(circle at 20px 20px, #f0f8f0 1px, transparent 1px);
    background-size: 40px 40px;
}

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

/* Hand-drawn borders and effects */
.hand-drawn-border {
    border: 2px solid #2c5530;
    border-radius: 8px;
    position: relative;
}

.hand-drawn-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #2c5530;
    border-radius: 10px;
    transform: rotate(0.5deg);
    z-index: -1;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 85, 48, 0.95);
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-content h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.cookie-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

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

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

.btn-settings {
    background: #2196F3;
    color: white;
}

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

/* 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;
}

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: rotate(-0.5deg);
}

.cookie-category {
    margin: 15px 0;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-bottom: 5px;
}

.cookie-category input {
    margin-right: 10px;
}

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

.btn-save {
    background: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
}

.btn-cancel {
    background: #f44336;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
}

/* Header */
.header {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo-text {
    font-size: 16px;
    font-weight: bold;
    fill: #2c5530;
}

.logo-domain {
    font-size: 12px;
    fill: #666;
}

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

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

.nav-link:hover {
    background: rgba(44, 85, 48, 0.1);
    transform: translateY(-2px) rotate(1deg);
    border: 2px solid #2c5530;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #2c5530;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

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

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

.hero-text h1 {
    font-size: 3em;
    color: #2c5530;
    margin-bottom: 20px;
    transform: rotate(-1deg);
    text-shadow: 2px 2px 0px rgba(255,255,255,0.8);
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #555;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #d4322a;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 50, 42, 0.3);
    transform: rotate(1deg);
}

.cta-button:hover {
    background: #b8291f;
    transform: translateY(-3px) rotate(-1deg);
    box-shadow: 0 8px 25px rgba(212, 50, 42, 0.4);
}

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

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

.section-header h2 {
    font-size: 2.5em;
    color: #2c5530;
    margin-bottom: 20px;
    transform: rotate(-0.5deg);
    display: inline-block;
}

.section-icon {
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

/* Sections */
.about-section, 
.services-section, 
.testimonials-section, 
.blog-section, 
.order-section, 
.contact-section {
    padding: 80px 0;
}

.about-section {
    background: #f8f9fa;
}

.services-section {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
}

.testimonials-section {
    background: #fff8dc;
}

.blog-section {
    background: #f8f9fa;
}

.order-section {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
}

.contact-section {
    background: #f8f9fa;
}

/* Grid Layouts */
.about-grid,
.services-grid,
.testimonials-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Cards */
.about-card,
.service-card,
.testimonial-card,
.blog-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.about-card::before,
.service-card::before,
.testimonial-card::before,
.blog-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #2c5530, #4CAF50, #2c5530);
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-card:hover::before,
.service-card:hover::before,
.testimonial-card:hover::before,
.blog-card:hover::before {
    opacity: 1;
}

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

.about-card:nth-child(odd) {
    transform: rotate(-1deg);
}

.about-card:nth-child(even) {
    transform: rotate(1deg);
}

.card-icon,
.service-icon {
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.about-card h3,
.service-card h3 {
    color: #2c5530;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.about-card p,
.service-card p {
    color: #666;
    line-height: 1.6;
}

.price {
    display: block;
    margin-top: 15px;
    font-size: 1.2em;
    font-weight: bold;
    color: #d4322a;
    text-align: center;
    padding: 8px;
    background: rgba(212, 50, 42, 0.1);
    border-radius: 10px;
}

.service-text {
    font-size: 10px;
    fill: #666;
}

/* Testimonials */
.testimonial-card {
    text-align: center;
}

.stars {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
}

.testimonial-card cite {
    color: #2c5530;
    font-weight: bold;
}

/* Blog */
.blog-image {
    width: 100%;
    height: 150px;
    border-radius: 10px 10px 0 0;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.blog-content {
    padding: 20px 0;
}

.blog-content h3 {
    margin-bottom: 10px;
}

.blog-content h3 a {
    color: #2c5530;
    text-decoration: none;
    font-size: 1.1em;
}

.blog-content h3 a:hover {
    text-decoration: underline;
}

.blog-excerpt {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.blog-date {
    color: #999;
    font-size: 0.9em;
}

/* Form Styles */
.order-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: rotate(-0.5deg);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5530;
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
    transform: scale(1.02);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(1deg);
}

.submit-btn:hover {
    background: #45a049;
    transform: translateY(-2px) rotate(-1deg);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px) rotate(0.5deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-item:nth-child(odd) {
    transform: rotate(-0.5deg);
}

.contact-item:nth-child(even) {
    transform: rotate(0.5deg);
}

.contact-icon {
    flex-shrink: 0;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.1));
}

.contact-item h4 {
    color: #2c5530;
    margin-bottom: 5px;
}

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

.social-media {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transform: rotate(1deg);
}

.social-media h4 {
    color: #2c5530;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.social-links a:hover .social-icon {
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

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

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

.footer-section h4 {
    margin-bottom: 20px;
    color: #a8d5aa;
}

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

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

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

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

.footer-logo svg {
    margin-bottom: 15px;
    transform: rotate(-1deg);
}

.footer-logo-text {
    font-size: 14px;
    font-weight: bold;
    fill: white;
}

.footer-domain {
    font-size: 10px;
    fill: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #4a6b4d;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2em;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(232, 245, 232, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        padding: 40px 20px;
        transition: right 0.3s ease;
        backdrop-filter: blur(10px);
        z-index: 100;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1em;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.8);
        margin-bottom: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .navbar {
        justify-content: space-between;
        align-items: center;
    }
    
    .about-grid,
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-modal-content {
        margin: 10px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8em;
    }
    
    .section-header h2 {
        font-size: 2em;
    }
    
    .order-form {
        padding: 20px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
}

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

.hero-svg {
    animation: float 6s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.cta-button:hover {
    animation: bounce 0.6s ease-in-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .cookie-banner,
    .cookie-modal {
        display: none !important;
    }
}