/* CSS Reset and Variables */
:root {
    --primary-green: #2C5530;
    --secondary-brown: #8B4513;
    --accent-purple: #9370DB;
    --accent-coral: #FF6347;
    --accent-gold: #FFD700;
    --light-cream: #F5F5DC;
    --light-lavender: #E6E6FA;
    --light-peach: #FFEAA7;
    --light-green: #F0F8F0;
    --wheat: #F5DEB3;
    --tan: #D2B48C;
    --sandy: #DEB887;
    --text-dark: #2C2C2C;
    --text-medium: #5A5A5A;
    --text-light: #8A8A8A;
}

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

body {
    font-family: 'Kalam', cursive;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--light-cream);
    overflow-x: hidden;
}

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

/* Sketchy SVG Animations */
.sketchy {
    filter: url(#rough);
    animation: sketchyDraw 2s ease-out;
}

@keyframes sketchyDraw {
    0% {
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
    }
    100% {
        stroke-dasharray: 1000;
        stroke-dashoffset: 0;
    }
}

.decorative {
    animation: float 4s ease-in-out infinite;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-coral), var(--accent-purple), var(--accent-gold));
    border-radius: 2px;
    animation: underlineGrow 1s ease-out;
}

@keyframes underlineGrow {
    0% { width: 0; }
    100% { width: 100px; }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--primary-green);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-svg {
    animation: logoSpin 4s ease-in-out infinite;
}

@keyframes logoSpin {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

.logo-text {
    font-family: 'Caveat', cursive;
    font-size: 14px;
    font-weight: bold;
    fill: var(--primary-green);
}

.site-title {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-green);
}

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

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 15px;
}

.nav a:hover {
    color: var(--accent-purple);
    background: var(--light-lavender);
    transform: translateY(-2px);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-coral);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 80%;
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-cream) 0%, var(--light-lavender) 100%);
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(147, 112, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 99, 71, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--primary-green), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleWave 3s ease-in-out infinite;
}

@keyframes titleWave {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-coral), var(--accent-purple));
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-svg {
    animation: heroFloat 4s ease-in-out infinite;
}

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

.money-symbol {
    font-family: 'Caveat', cursive;
    font-size: 18px;
    font-weight: bold;
    fill: var(--accent-gold);
    animation: moneyBounce 2s ease-in-out infinite;
}

@keyframes moneyBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-coral), var(--accent-purple), var(--accent-gold), var(--primary-green));
}

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

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-card {
    background: var(--light-green);
    padding: 2rem;
    border-radius: 20px;
    border: 3px dashed var(--primary-green);
    position: relative;
    transition: all 0.3s ease;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--accent-coral), var(--accent-purple));
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-card:hover::before {
    opacity: 0.2;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.about-card ul {
    list-style: none;
    padding-left: 0;
}

.about-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

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

.cert-text {
    font-family: 'Caveat', cursive;
    font-size: 12px;
    fill: var(--primary-green);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-lavender) 0%, var(--wheat) 100%);
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 3px solid var(--primary-green);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 112, 219, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-icon {
    margin-bottom: 1.5rem;
    animation: iconBob 3s ease-in-out infinite;
}

@keyframes iconBob {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.icon-text {
    font-family: 'Caveat', cursive;
    font-size: 16px;
    font-weight: bold;
    fill: var(--primary-green);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: white;
}

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

.testimonial-card {
    background: var(--light-cream);
    padding: 2rem;
    border-radius: 20px;
    border: 3px solid var(--secondary-brown);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-coral);
    font-family: 'Caveat', cursive;
}

.testimonial-card:hover {
    transform: rotate(1deg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.testimonial-avatar {
    margin-bottom: 1rem;
    animation: avatarWiggle 4s ease-in-out infinite;
}

@keyframes avatarWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    75% { transform: rotate(-2deg); }
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--primary-green);
    font-style: normal;
}

/* Blog Section */
.blog {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--sandy) 0%, var(--light-peach) 100%);
}

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

.blog-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid var(--secondary-brown);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-top: 20px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.blog-card:hover::after {
    border-left: 30px solid transparent;
    border-top: 30px solid var(--accent-gold);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.blog-icon {
    margin-bottom: 1rem;
}

.blog-card h3 {
    margin-bottom: 1rem;
}

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

.blog-card h3 a:hover {
    color: var(--accent-purple);
}

.blog-date {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Subscription Section */
.subscription {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-purple) 100%);
    color: white;
}

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

.subscription h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subscription p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    text-align: left;
}

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

.form-group input {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-coral);
    box-shadow: 0 0 10px rgba(255, 99, 71, 0.3);
}

.submit-btn {
    background: linear-gradient(45deg, var(--accent-coral), var(--accent-gold));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Legal Section */
.legal {
    padding: 4rem 0;
    background: var(--light-cream);
}

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

.legal-links a {
    color: var(--primary-green);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-green);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--primary-green);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

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

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

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-text h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

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

.cookie-buttons button {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-green);
    border-radius: 20px;
    background: white;
    color: var(--primary-green);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-accept-all:hover {
    background: var(--primary-green);
    color: white;
}

.btn-necessary:hover {
    background: var(--accent-coral);
    color: white;
    border-color: var(--accent-coral);
}

.btn-customize:hover {
    background: var(--accent-purple);
    color: white;
    border-color: var(--accent-purple);
}

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

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

.cookie-modal .modal-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    max-width: 500px;
    margin: 2rem;
    border: 3px solid var(--primary-green);
}

.cookie-option {
    margin: 1rem 0;
    padding: 1rem;
    background: var(--light-cream);
    border-radius: 10px;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.cookie-option input {
    margin-top: 0.2rem;
}

.cookie-option span {
    flex: 1;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-end;
}

.btn-save, .btn-cancel {
    padding: 0.5rem 1rem;
    border: 2px solid;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

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

.btn-save:hover {
    background: white;
    color: var(--primary-green);
}

.btn-cancel {
    background: white;
    color: var(--text-medium);
    border-color: var(--text-medium);
}

.btn-cancel:hover {
    background: var(--text-medium);
    color: white;
}

/* Legal Modals */
.legal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1002;
    justify-content: center;
    align-items: center;
}

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

.legal-modal .modal-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    margin: 2rem;
    border: 3px solid var(--primary-green);
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-medium);
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--accent-coral);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header .container {
        padding: 1rem;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .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;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .legal-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-card, .service-card, .testimonial-card, .blog-card {
        padding: 1.5rem;
    }
    
    .subscription-form {
        padding: 0 1rem;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header, .cookie-banner, .cookie-modal, .legal-modal {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0 !important;
        break-inside: avoid;
    }
}
