/* Hand-drawn Style CSS for Shimmer Journey */

@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=Indie+Flower&display=swap');

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

body {
    font-family: 'Kalam', cursive;
    line-height: 1.6;
    color: #2c3e50;
    background: #fefefe;
    overflow-x: hidden;
}

/* Hand-drawn utilities */
.sketchy-border {
    position: relative;
}

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

.sketchy-border::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid #34495e;
    border-radius: 12px;
    transform: rotate(0.3deg);
    z-index: -2;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid #e74c3c;
    box-shadow: 0 -3px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: rotate(-0.2deg);
    padding: 20px;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    font-family: 'Indie Flower', cursive;
    color: #e74c3c;
    margin-bottom: 10px;
    transform: rotate(0.3deg);
}

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

.cookie-buttons button {
    padding: 10px 20px;
    border: 2px solid;
    background: transparent;
    cursor: pointer;
    font-family: 'Kalam', cursive;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.btn-primary {
    color: #27ae60;
    border-color: #27ae60;
    transform: rotate(-1deg);
}

.btn-secondary {
    color: #f39c12;
    border-color: #f39c12;
    transform: rotate(0.5deg);
}

.btn-tertiary {
    color: #3498db;
    border-color: #3498db;
    transform: rotate(-0.3deg);
}

.cookie-buttons button:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 3px 3px 10px rgba(0,0,0,0.2);
}

/* Header */
.header {
    background: #fff;
    border-bottom: 3px solid #34495e;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transform: rotate(-0.1deg);
}

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

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

.logo {
    width: 40px;
    height: 40px;
    transform: rotate(5deg);
}

.brand-text {
    font-family: 'Indie Flower', cursive;
    font-size: 20px;
    font-weight: 700;
    color: #e74c3c;
    transform: rotate(-2deg);
}

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

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
}

.nav-link:hover {
    color: #e74c3c;
    transform: rotate(1deg) scale(1.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e74c3c;
    transition: width 0.3s ease;
    transform: rotate(-2deg);
}

.nav-link:hover::after {
    width: 100%;
}

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

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

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

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(52, 73, 94, 0.02) 2px,
        rgba(52, 73, 94, 0.02) 4px
    );
    animation: float 20s ease-in-out infinite;
}

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

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

.hero-title {
    font-family: 'Indie Flower', cursive;
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    transform: rotate(-1deg);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #7f8c8d;
    margin-bottom: 30px;
    transform: rotate(0.5deg);
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transform: rotate(-2deg);
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid #c0392b;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: -3px;
    bottom: -3px;
    background: #c0392b;
    z-index: -1;
    transform: rotate(1deg);
}

.cta-button:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
}

.hero-svg {
    width: 100%;
    max-width: 500px;
    transform: rotate(2deg);
    animation: wobble 6s ease-in-out infinite;
}

@keyframes wobble {
    0%, 100% { transform: rotate(2deg); }
    25% { transform: rotate(-1deg); }
    50% { transform: rotate(3deg); }
    75% { transform: rotate(1deg); }
}

/* Section Titles */
.section-title {
    font-family: 'Indie Flower', cursive;
    font-size: 2.8rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    transform: rotate(-0.5deg);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 100px;
    height: 3px;
    background: #e74c3c;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #fff;
}

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

.about-text h3 {
    font-family: 'Indie Flower', cursive;
    font-size: 2rem;
    color: #e74c3c;
    margin-bottom: 20px;
    transform: rotate(1deg);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
    transform: rotate(-0.2deg);
}

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

.feature-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    position: relative;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #34495e;
    transform: rotate(2deg);
    z-index: -1;
}

.feature-item:hover {
    transform: rotate(0deg) scale(1.05);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    transform: rotate(5deg);
}

.feature-item h4 {
    font-family: 'Indie Flower', cursive;
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.service-card {
    background: #fff;
    padding: 30px;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #34495e;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: -5px;
    bottom: -5px;
    background: #ecf0f1;
    z-index: -1;
    transform: rotate(2deg);
}

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

.service-card:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 8px 8px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
    font-family: 'Indie Flower', cursive;
    color: #e74c3c;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 20px;
    font-weight: 600;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
    transform: rotate(-0.3deg);
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    transform: rotate(10deg);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #fff;
}

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

.testimonial-card {
    background: #f8f9fa;
    padding: 25px;
    position: relative;
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
    border: 2px solid #bdc3c7;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: #e74c3c;
    font-family: 'Indie Flower', cursive;
    transform: rotate(-15deg);
}

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

.testimonial-card:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1rem;
    transform: rotate(0.2deg);
}

.testimonial-author {
    text-align: right;
    transform: rotate(-1deg);
}

.testimonial-author strong {
    display: block;
    color: #2c3e50;
    font-family: 'Indie Flower', cursive;
    font-size: 1.1rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #7f8c8d;
}

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

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

.blog-card {
    background: #fff;
    padding: 25px;
    transform: rotate(-0.8deg);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #34495e;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: 3px;
    bottom: 3px;
    border: 1px solid #95a5a6;
    transform: rotate(1.5deg);
    z-index: -1;
}

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

.blog-card:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 6px 6px 18px rgba(0,0,0,0.15);
}

.blog-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    font-family: 'Indie Flower', cursive;
    font-size: 1.3rem;
    transform: rotate(-0.5deg);
    display: inline-block;
}

.blog-card h3 a:hover {
    color: #e74c3c;
    transform: rotate(0deg);
}

.blog-card p {
    margin: 15px 0;
    font-size: 0.95rem;
    color: #7f8c8d;
}

.blog-date {
    font-size: 0.85rem;
    color: #95a5a6;
    font-style: italic;
    transform: rotate(1deg);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #fff;
}

.subscription-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: #f8f9fa;
    transform: rotate(-0.5deg);
    position: relative;
    border: 3px solid #34495e;
}

.subscription-form::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
    background: #ecf0f1;
    z-index: -1;
    transform: rotate(1deg);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-family: 'Indie Flower', cursive;
    font-size: 1.1rem;
    transform: rotate(-1deg);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #bdc3c7;
    background: #fff;
    font-family: 'Kalam', cursive;
    font-size: 1rem;
    transform: rotate(0.2deg);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #e74c3c;
    transform: rotate(0deg) scale(1.02);
    box-shadow: 3px 3px 8px rgba(0,0,0,0.1);
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: #27ae60;
    color: white;
    border: 3px solid #229954;
    font-family: 'Indie Flower', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    position: relative;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: -4px;
    bottom: -4px;
    background: #1e8449;
    z-index: -1;
    transform: rotate(1.5deg);
}

.submit-button:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 6px 6px 15px rgba(0,0,0,0.2);
}

/* Legal Section */
.legal {
    padding: 60px 0;
    background: #f8f9fa;
    border-top: 3px solid #34495e;
}

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

.legal-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid #34495e;
    background: #fff;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    position: relative;
}

.legal-link:nth-child(2) {
    transform: rotate(0.5deg);
}

.legal-link:nth-child(3) {
    transform: rotate(-0.8deg);
}

.legal-link:hover {
    color: #e74c3c;
    border-color: #e74c3c;
    transform: rotate(0deg) scale(1.1);
    box-shadow: 4px 4px 12px rgba(0,0,0,0.15);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 20px;
    transform: rotate(-0.2deg);
}

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

.footer-section h4 {
    font-family: 'Indie Flower', cursive;
    color: #e74c3c;
    margin-bottom: 20px;
    font-size: 1.3rem;
    transform: rotate(1deg);
}

.footer-section p {
    margin-bottom: 10px;
    transform: rotate(-0.2deg);
}

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

.social-links a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #34495e;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

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

.footer-logo {
    width: 50px;
    height: 50px;
    transform: rotate(5deg);
    margin-top: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    font-size: 0.9rem;
    color: #95a5a6;
}

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

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border: 3px solid #34495e;
    width: 90%;
    max-width: 600px;
    transform: rotate(-0.5deg);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: -5px;
    bottom: -5px;
    background: #f8f9fa;
    z-index: -1;
    transform: rotate(1deg);
}

.close {
    color: #e74c3c;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transform: rotate(10deg);
    transition: all 0.3s ease;
}

.close:hover {
    color: #c0392b;
    transform: rotate(0deg) scale(1.2);
}

.modal-content h2 {
    font-family: 'Indie Flower', cursive;
    color: #2c3e50;
    margin-bottom: 20px;
    transform: rotate(-1deg);
}

.modal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    transform: rotate(0.1deg);
}

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

.thanks-content {
    max-width: 600px;
    text-align: center;
    background: #fff;
    padding: 50px;
    transform: rotate(-0.5deg);
    position: relative;
    border: 3px solid #34495e;
}

.thanks-content::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
    background: #ecf0f1;
    z-index: -1;
    transform: rotate(1.5deg);
}

.thanks-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
    transform: rotate(5deg);
}

.thanks-content h1 {
    font-family: 'Indie Flower', cursive;
    color: #27ae60;
    font-size: 2.5rem;
    margin-bottom: 20px;
    transform: rotate(-1deg);
}

.thanks-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    transform: rotate(0.2deg);
}

.next-steps {
    text-align: left;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    transform: rotate(0.5deg);
}

.next-steps h3 {
    font-family: 'Indie Flower', cursive;
    color: #e74c3c;
    margin-bottom: 15px;
}

.next-steps ul {
    list-style: none;
}

.next-steps li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.next-steps li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
    transform: rotate(-10deg);
}

.contact-info {
    margin: 30px 0;
    padding: 20px;
    background: #e8f5e8;
    transform: rotate(-0.3deg);
}

.back-button {
    display: inline-block;
    padding: 15px 30px;
    background: #3498db;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    border: 2px solid #2980b9;
    margin-top: 20px;
}

.back-button:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid #34495e;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .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;
        text-align: center;
    }
    
    .legal-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .subscription-form {
        padding: 20px;
    }
    
    .thanks-content {
        padding: 30px 20px;
    }
    
    .thanks-content h1 {
        font-size: 2rem;
    }
}

/* Animation for hidden elements */
.article-section {
    padding: 40px;
    background: #fff;
    margin: 20px 0;
    border: 2px solid #34495e;
    transform: rotate(-0.5deg);
}

.article-section h2 {
    font-family: 'Indie Flower', cursive;
    color: #e74c3c;
    margin-bottom: 20px;
}

/* Hide cookie banner initially if cookies are accepted */
.cookie-banner.hidden {
    display: none;
}
