/* Hand-drawn style CSS with organic, sketchy aesthetic */

/* Import Google Fonts for hand-drawn feel */
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=Caveat:wght@400;600;700&display=swap');

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

/* Custom Properties for Hand-drawn Theme */
:root {
    --primary-color: #2E7D32;
    --secondary-color: #FF6B35;
    --accent-color: #FFC107;
    --background-color: #FEFEFE;
    --text-color: #2C2C2C;
    --light-gray: #F5F5F5;
    --border-color: #E0E0E0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Hand-drawn fonts */
    --heading-font: 'Caveat', cursive;
    --body-font: 'Kalam', cursive;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

/* Base Typography */
body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

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

/* Hand-drawn style decorative elements */
.sketchy-border {
    position: relative;
}

.sketchy-border::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    transform: rotate(-1deg);
    opacity: 0.5;
}

.sketchy-border::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px solid var(--secondary-color);
    border-radius: 12px;
    transform: rotate(1deg);
    opacity: 0.3;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 20px;
    transform: rotate(-0.5deg);
}

h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 0px var(--accent-color);
}

h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 50px;
}

h3 {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Buttons */
.btn-primary, .cta-button, .submit-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--secondary-color);
    color: white;
    font-family: var(--heading-font);
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transform: rotate(-1deg);
    box-shadow: 4px 4px 0px var(--primary-color);
}

.btn-primary:hover, .cta-button:hover, .submit-button:hover {
    background: var(--primary-color);
    transform: rotate(0deg) translateY(-3px);
    box-shadow: 6px 6px 0px var(--secondary-color);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    font-family: var(--heading-font);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    transform: rotate(0.5deg);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(-0.5deg) translateY(-2px);
}

/* Header */
.header {
    background: var(--background-color);
    padding: 20px 0;
    box-shadow: 0 2px 10px var(--shadow-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    transform: rotate(-1deg);
}

.logo img {
    width: 50px;
    height: 50px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav a {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: rotate(-2deg) scale(1.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Banner Section */
.banner {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--background-color) 100%);
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, var(--accent-color) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--secondary-color) 0%, transparent 50%);
    opacity: 0.1;
    z-index: 1;
}

.banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.banner-text {
    transform: rotate(-0.5deg);
}

.banner-text h1 {
    margin-bottom: 30px;
    line-height: 1.2;
}

.banner-text p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--text-color);
    line-height: 1.5;
}

.banner-illustration img {
    width: 100%;
    max-width: 500px;
    height: auto;
    transform: rotate(1deg);
    filter: drop-shadow(10px 10px 20px var(--shadow-color));
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--background-color);
}

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

.about-text ul {
    list-style: none;
    margin: 30px 0;
}

.about-text li {
    padding: 10px 0;
    font-size: 1.1rem;
    position: relative;
    transform: rotate(-0.2deg);
}

.about-text li:nth-child(even) {
    transform: rotate(0.2deg);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-gray);
    border-radius: 15px;
    transform: rotate(-1deg);
    border: 2px dashed var(--primary-color);
    position: relative;
}

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

.stat-number {
    display: block;
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--light-gray);
    position: relative;
}

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

.service-card {
    background: var(--background-color);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transform: rotate(-1deg);
    border: 3px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 8px 8px 0px var(--accent-color);
}

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

.service-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 12px 12px 0px var(--secondary-color);
}

.service-icon {
    margin-bottom: 30px;
}

.service-icon img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(3px 3px 6px var(--shadow-color));
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.service-card p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    text-align: left;
    margin: 25px 0;
}

.service-card li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.price {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 20px;
    transform: rotate(-2deg);
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background: var(--background-color);
}

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

.testimonial {
    background: var(--light-gray);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    transform: rotate(-0.5deg);
    border: 2px solid var(--border-color);
    border-style: dashed;
}

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

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-color);
    font-family: var(--heading-font);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.rating {
    font-size: 1.2rem;
}

/* Blog Section */
.blog {
    padding: var(--section-padding);
    background: var(--light-gray);
}

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

.blog-article {
    background: var(--background-color);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    transform: rotate(-0.5deg);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-article:nth-child(even) {
    transform: rotate(0.5deg);
}

.blog-article:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 8px 8px 0px var(--accent-color);
}

.blog-article h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.blog-article > p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-content {
    display: none;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed var(--border-color);
}

.blog-content.expanded {
    display: block;
}

.blog-content h4 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: var(--primary-color);
}

.blog-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.blog-content li {
    margin-bottom: 8px;
}

/* Subscription Section */
.subscribe {
    padding: var(--section-padding);
    background: var(--primary-color);
    color: white;
    position: relative;
}

.subscribe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 20%, var(--accent-color) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, var(--secondary-color) 0%, transparent 50%);
    opacity: 0.1;
}

.subscribe-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.subscribe h2 {
    color: white;
    margin-bottom: 20px;
}

.subscribe p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.subscription-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    transform: rotate(-0.5deg);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
    transform: rotate(-0.5deg);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
}

.submit-button {
    background: var(--accent-color);
    color: var(--primary-color);
    margin-top: 20px;
    transform: rotate(1deg);
}

.submit-button:hover {
    background: var(--secondary-color);
    color: white;
}

/* Legal Section */
.legal {
    padding: 40px 0;
    background: var(--light-gray);
    text-align: center;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.legal-link {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
}

.legal-link:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(0.5deg) translateY(-2px);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 60px 0 30px;
    position: relative;
}

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

.footer-section h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    transform: rotate(-1deg);
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 15px;
}

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

.social-links a {
    color: white;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-2px);
}

.contact-info p {
    margin-bottom: 15px;
}

.opening-hours p {
    margin-bottom: 8px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-color);
    color: white;
    padding: 20px;
    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;
    text-align: center;
}

.cookie-content h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

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

.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    font-family: var(--heading-font);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
}

.btn-cookie.accept {
    background: var(--accent-color);
    color: var(--text-color);
}

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

.btn-cookie.customize {
    background: var(--secondary-color);
    color: white;
}

.btn-cookie:hover {
    transform: rotate(0deg) translateY(-2px);
}

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

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

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: rotate(-0.5deg);
    border: 3px solid var(--primary-color);
}

.modal-content h2, .modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cookie-option {
    margin: 20px 0;
    padding: 15px;
    border: 2px dashed var(--border-color);
    border-radius: 10px;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-family: var(--body-font);
}

.cookie-option span {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.modal-text {
    line-height: 1.6;
}

.modal-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.modal-text ul {
    margin: 15px 0;
    padding-left: 20px;
}

.modal-text li {
    margin-bottom: 8px;
}

.close-modal {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 15px;
    font-family: var(--heading-font);
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--primary-color);
    transform: rotate(0deg) translateY(-2px);
}

/* Thank You Page Specific Styles */
.thank-you {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--background-color) 100%);
    text-align: center;
    min-height: 80vh;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-illustration {
    margin-bottom: 40px;
    animation: float 3s ease-in-out infinite;
}

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

.main-message {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.next-steps, .special-offer {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: left;
    border: 2px dashed var(--primary-color);
    transform: rotate(-0.5deg);
}

.next-steps:nth-child(even), .special-offer:nth-child(even) {
    transform: rotate(0.5deg);
}

.next-steps h3, .special-offer h3 {
    text-align: center;
    margin-bottom: 20px;
}

.next-steps ul, .special-offer ul {
    list-style: none;
    padding: 0;
}

.next-steps li, .special-offer li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.next-steps li:last-child, .special-offer li:last-child {
    border-bottom: none;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.social-follow {
    margin-top: 50px;
}

.social-follow h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-links {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .service-card, .testimonial, .blog-article {
        padding: 25px 20px;
    }
    
    .subscription-form {
        padding: 25px;
    }
    
    .modal-content {
        padding: 25px;
        margin: 10px;
    }
}

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

/* Print styles */
@media print {
    .cookie-banner,
    .cookie-modal,
    .legal-modal,
    .header {
        display: none !important;
    }
    
    .banner {
        padding-top: 40px;
    }
    
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
}
