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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #faf9f6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Hand-drawn styling utilities */
.hand-drawn {
    position: relative;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    font-weight: bold;
    margin-bottom: 1rem;
    transform: rotate(-0.5deg);
}

h1 {
    font-size: 2.5rem;
    color: #2c3e50;
}

h2 {
    font-size: 2rem;
    color: #34495e;
}

h3 {
    font-size: 1.5rem;
    color: #2c3e50;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
    font-weight: bold;
    position: relative;
    transform: rotate(-1deg);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 25px;
    transform: rotate(1deg);
    z-index: -1;
}

.btn-primary {
    background-color: #e74c3c;
    color: white;
    border: 2px solid #c0392b;
}

.btn-primary::before {
    border-color: #c0392b;
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: rotate(-1deg) scale(1.05);
}

.btn-secondary {
    background-color: #3498db;
    color: white;
    border: 2px solid #2980b9;
}

.btn-secondary::before {
    border-color: #2980b9;
}

.btn-outline {
    background-color: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.btn-outline::before {
    border-color: #e74c3c;
}

.btn-outline:hover {
    background-color: #e74c3c;
    color: white;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 3px solid #e74c3c;
}

.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: 20px;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #faf9f6;
    border-bottom: 3px solid #e74c3c;
    z-index: 999;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
    transform: rotate(-2deg);
}

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

.nav-list a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: bold;
    position: relative;
    padding: 5px 10px;
    transition: all 0.3s ease;
    transform: rotate(-1deg);
}

.nav-list a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e74c3c;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-list a:hover::before {
    transform: scaleX(1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #e74c3c;
    margin: 3px 0;
    transition: 0.3s;
    transform: rotate(-1deg);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23e74c3c" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    transform: rotate(-1deg);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #34495e;
    line-height: 1.8;
}

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

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    transform: rotate(2deg);
}

/* Section Styles */
section {
    padding: 4rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    transform: rotate(-1deg);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: #ffffff;
    border-top: 3px solid #e74c3c;
    border-bottom: 3px solid #e74c3c;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

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

.about-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    transform: rotate(-0.5deg);
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-weight: bold;
}

.about-icon {
    width: 100%;
    max-width: 300px;
    height: auto;
    transform: rotate(-3deg);
}

/* Services Section */
.services {
    background-color: #f8f9fa;
}

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

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
    border: 2px solid #e8e8e8;
}

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

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

.service-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #e74c3c;
}

/* Testimonials Section */
.testimonials {
    background-color: #2c3e50;
    color: white;
}

.testimonials .section-title {
    color: white;
}

.testimonials .section-subtitle {
    color: #bdc3c7;
}

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

.testimonial-card {
    background-color: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    transform: rotate(-1deg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}

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

.testimonial-icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-author strong {
    color: #e74c3c;
}

.testimonial-author span {
    display: block;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Blog Section */
.blog {
    background-color: #ffffff;
}

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

.blog-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
    border: 2px solid #e8e8e8;
}

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

.blog-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.blog-icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.blog-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: #e74c3c;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Subscribe Section */
.subscribe {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.subscribe-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.subscribe-text h2 {
    color: white;
    margin-bottom: 1rem;
}

.subscribe-form {
    background-color: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    transform: rotate(-1deg);
}

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

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

/* Legal Section */
.legal {
    background-color: #34495e;
    padding: 2rem 0;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-link {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
    transform: rotate(-1deg);
}

.legal-link:hover {
    background-color: rgba(255,255,255,0.1);
    transform: rotate(0deg);
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

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

.social-links a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
    transform: rotate(-1deg);
}

.social-links a:hover {
    background-color: #e74c3c;
    transform: rotate(0deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    transform: rotate(-1deg);
    border: 3px solid #e74c3c;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-body {
    margin-top: 1rem;
}

.modal-body h3 {
    color: #e74c3c;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.modal-body h4 {
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.modal-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.modal-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.modal-body th,
.modal-body td {
    padding: 8px 12px;
    border: 1px solid #bdc3c7;
    text-align: left;
}

.modal-body th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.modal-body a {
    color: #e74c3c;
    text-decoration: none;
}

.modal-body a:hover {
    text-decoration: underline;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #e74c3c;
}

.close:hover {
    color: #c0392b;
}

/* Thanks Page */
.thanks-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf9f6 0%, #f4f1e8 100%);
    padding: 2rem;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    background-color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 3px solid #e74c3c;
    transform: rotate(-1deg);
}

.thanks-img {
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
}

.thanks-content h1 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #faf9f6;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        border-top: 3px solid #e74c3c;
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .subscribe-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-links {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .thanks-content {
        padding: 2rem;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
