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

/* Hand-drawn style variables */
:root {
    --primary-color: #ff6b9d;
    --secondary-color: #7c3aed;
    --accent-color: #10b981;
    --warning-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-light: #f8f9fa;
    --border-light: #e5e7eb;
    
    /* Hand-drawn fonts */
    --font-primary: 'Comic Sans MS', cursive, sans-serif;
    --font-heading: 'Comic Sans MS', cursive, sans-serif;
    
    /* Hand-drawn effects */
    --border-radius: 8px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Base styles */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
    overflow-x: hidden;
}

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

/* Hand-drawn button styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    transform: rotate(-1deg);
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background);
    border-top: 3px solid var(--primary-color);
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-icon svg {
    color: var(--primary-color);
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    font-family: var(--font-heading);
    margin-bottom: 5px;
    color: var(--text-dark);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 14px;
    transform: rotate(0deg);
}

/* Header */
.header {
    background: var(--background);
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

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

.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='%23ff6b9d' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
}

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

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
    transform: rotate(-1deg);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(var(--shadow));
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--background);
}

.services h2 {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
    transform: rotate(1deg);
}

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

.service-card {
    background: var(--background);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    transform: rotate(-1deg);
}

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

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

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

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--background-light);
}

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

.about h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-dark);
    transform: rotate(-1deg);
}

.about p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    margin-top: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--background);
}

.testimonials h2 {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
    transform: rotate(1deg);
}

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

.testimonial-card {
    background: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 2px solid var(--border-light);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: rotate(0deg) translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

.testimonial-content p {
    font-style: italic;
    margin: 15px 0 20px;
    color: var(--text-light);
    line-height: 1.6;
}

.testimonial-author strong {
    color: var(--text-dark);
    display: block;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: var(--background-light);
}

.blog h2 {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
    transform: rotate(-1deg);
}

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

.blog-card {
    background: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    transform: rotate(-1deg);
}

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

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

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

.blog-image svg {
    width: 100%;
    height: 100%;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
}

.blog-content h3 a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

.blog-footer {
    text-align: center;
}

/* Subscription Section */
.subscription {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.subscription-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.subscription h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    transform: rotate(-1deg);
}

.subscription p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.subscription-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

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

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-primary);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.subscription-form .btn {
    width: 100%;
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: rotate(0deg);
}

.subscription-form .btn:hover {
    background: var(--background-light);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--background);
}

.contact h2 {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
    transform: rotate(1deg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 5px;
}

.contact-item h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.social-media {
    text-align: center;
}

.social-media h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 20px;
}

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

.social-links a {
    color: var(--primary-color);
    transition: all 0.3s ease;
    transform: rotate(-5deg);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: rotate(0deg) scale(1.1);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-logo svg {
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

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

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* About Page Specific Styles */
.about-page .page-hero {
    background: linear-gradient(135deg, var(--background-light) 0%, #fdf2f8 100%);
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    transform: rotate(-1deg);
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.company-story {
    padding: 80px 0;
    background: var(--background);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-dark);
    transform: rotate(-1deg);
}

.story-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.team {
    padding: 80px 0;
    background: var(--background-light);
}

.team h2 {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
    transform: rotate(1deg);
}

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

.team-member {
    background: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-light);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

.member-image {
    margin-bottom: 20px;
}

.team-member h3 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
    color: var(--text-dark);
}

.member-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.team-member p {
    color: var(--text-light);
    line-height: 1.6;
}

.values {
    padding: 80px 0;
    background: var(--background);
}

.values h2 {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
    transform: rotate(-1deg);
}

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

.value-card {
    background: var(--background);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-light);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

.value-icon {
    margin-bottom: 20px;
}

.value-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.awards {
    padding: 80px 0;
    background: var(--background-light);
}

.awards h2 {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
    transform: rotate(1deg);
}

.awards-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.awards-list {
    list-style: none;
}

.awards-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content,
    .about-content,
    .subscription-content,
    .contact-content,
    .story-content,
    .awards-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .services h2,
    .about h2,
    .testimonials h2,
    .blog h2,
    .contact h2,
    .team h2,
    .values h2,
    .awards h2 {
        font-size: 2rem;
    }
    
    .subscription h2 {
        font-size: 2rem;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .story-text h2 {
        font-size: 2rem;
    }
    
    .hero-buttons,
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .subscription-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .services-grid,
    .testimonials-grid,
    .blog-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card,
    .team-member,
    .value-card {
        padding: 20px;
    }
}

/* Hidden class for cookie banner */
.hidden {
    display: none !important;
}