/* Hand-drawn aesthetic styles */

/* Custom fonts and hand-drawn effects */
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=Architects+Daughter&display=swap');

/* Hand-drawn style overrides */
body {
    font-family: 'Kalam', cursive, sans-serif;
    background-color: #fefefe;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(0,0,0,0.03) 1px, transparent 0);
    background-size: 20px 20px;
}

/* Hand-drawn typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Architects Daughter', cursive;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Hand-drawn buttons */
.btn {
    position: relative;
    border: 2px solid;
    border-radius: 15px;
    background: none;
    font-family: 'Kalam', cursive;
    font-weight: 400;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: rotate(0deg) translateY(-2px);
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
}

.btn-primary {
    background-color: #3498db;
    border-color: #2980b9;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    color: white;
}

.btn-secondary {
    background-color: #95a5a6;
    border-color: #7f8c8d;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
    color: white;
}

.btn-tertiary {
    background-color: #e74c3c;
    border-color: #c0392b;
    color: white;
}

.btn-tertiary:hover {
    background-color: #c0392b;
    color: white;
}

/* Hand-drawn cards */
.service-card,
.testimonial-card,
.blog-card,
.team-member,
.reason-card,
.history-item {
    position: relative;
    border: 2px solid #ddd;
    border-radius: 15px;
    background-color: #fefefe;
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.1);
}

.service-card:hover,
.testimonial-card:hover,
.blog-card:hover,
.team-member:hover,
.reason-card:hover,
.history-item:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
}

.service-card:nth-child(even),
.testimonial-card:nth-child(even),
.blog-card:nth-child(even),
.team-member:nth-child(even),
.reason-card:nth-child(even) {
    transform: rotate(0.5deg);
}

/* Hand-drawn borders and decorations */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20px 20px, rgba(255,255,255,0.1) 2px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Hand-drawn header */
.header {
    border-bottom: 3px solid #3498db;
    background-color: #fefefe;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.navbar {
    position: relative;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #3498db 20%, 
        #2980b9 40%, 
        #3498db 60%, 
        transparent 100%);
}

/* Hand-drawn navigation */
.nav-menu a {
    position: relative;
    font-family: 'Kalam', cursive;
    font-weight: 400;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background-color: rgba(52, 152, 219, 0.1);
    transform: rotate(-1deg);
}

.nav-menu a.active {
    background-color: rgba(52, 152, 219, 0.2);
    transform: rotate(1deg);
}

/* Hand-drawn forms */
.form-group input,
.form-group textarea {
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #fefefe;
    font-family: 'Kalam', cursive;
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3498db;
    transform: rotate(0deg);
    box-shadow: 3px 3px 0px rgba(52, 152, 219, 0.2);
}

/* Hand-drawn sections */
.services,
.testimonials,
.blog-section,
.contact {
    position: relative;
}

.services::before,
.testimonials::before,
.blog-section::before,
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(52, 152, 219, 0.02) 1px, transparent 0);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Hand-drawn footer */
.footer {
    border-top: 3px solid #3498db;
    background-color: #2c3e50;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #3498db 20%, 
        #2980b9 40%, 
        #3498db 60%, 
        transparent 100%);
}

/* Hand-drawn cookie banner */
.cookie-banner {
    border-top: 3px solid #3498db;
    background-color: #2c3e50;
    position: relative;
}

.cookie-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #3498db 20%, 
        #2980b9 40%, 
        #3498db 60%, 
        transparent 100%);
}

/* Hand-drawn decorative elements */
.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, 
        #3498db 0%, 
        #2980b9 50%, 
        #3498db 100%);
    border-radius: 2px;
    transform: rotate(-2deg);
}

.hero-text h1 {
    position: relative;
    display: inline-block;
}

/* Hand-drawn section titles */
.services h2,
.testimonials h2,
.blog-section h2,
.contact h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.services h2::after,
.testimonials h2::after,
.blog-section h2::after,
.contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, 
        #3498db 0%, 
        #2980b9 50%, 
        #3498db 100%);
    border-radius: 2px;
}

/* Hand-drawn images */
img {
    border-radius: 10px;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.1);
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
}

img:hover {
    transform: rotate(0deg);
    box-shadow: 5px 5px 0px rgba(0,0,0,0.15);
}

/* Hand-drawn logo */
.logo img {
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(0deg);
}

/* Hand-drawn tables */
.cookie-table {
    border: 2px solid #ddd;
    border-radius: 15px;
    transform: rotate(-0.5deg);
    box-shadow: 5px 5px 0px rgba(0,0,0,0.1);
}

.cookie-table th {
    background-color: #3498db;
    font-family: 'Kalam', cursive;
    font-weight: 400;
}

/* Hand-drawn animations */
@keyframes wiggle {
    0%, 100% { transform: rotate(-1deg); }
    50% { transform: rotate(1deg); }
}

.service-card:hover,
.testimonial-card:hover,
.blog-card:hover {
    animation: wiggle 0.5s ease-in-out;
}

/* Hand-drawn list items */
ul li {
    position: relative;
    padding-left: 20px;
}

ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 1.2em;
    transform: rotate(15deg);
}

/* Hand-drawn quotes */
.testimonial-card p {
    position: relative;
    padding: 0 20px;
    font-style: italic;
}

.testimonial-card p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 2em;
    color: #3498db;
    font-family: 'Architects Daughter', cursive;
    transform: rotate(-15deg);
}

.testimonial-card p::after {
    content: '"';
    position: absolute;
    right: 0;
    bottom: -10px;
    font-size: 2em;
    color: #3498db;
    font-family: 'Architects Daughter', cursive;
    transform: rotate(15deg);
}

/* Hand-drawn mobile menu */
.hamburger span {
    background-color: #3498db;
    border-radius: 2px;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.hamburger:hover span {
    transform: rotate(0deg);
}

/* Hand-drawn responsive adjustments */
@media (max-width: 768px) {
    .btn {
        transform: rotate(0deg);
        margin: 2px;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card,
    .team-member,
    .reason-card {
        transform: rotate(0deg);
    }
    
    .service-card:hover,
    .testimonial-card:hover,
    .blog-card:hover,
    .team-member:hover,
    .reason-card:hover {
        transform: rotate(0deg) translateY(-3px);
    }
}

/* Hand-drawn article page */
.article-content {
    font-family: 'Kalam', cursive;
    line-height: 1.8;
}

.article-cta {
    border: 2px solid #3498db;
    border-radius: 15px;
    background-color: #fefefe;
    transform: rotate(-0.5deg);
    box-shadow: 5px 5px 0px rgba(52, 152, 219, 0.1);
}

/* Hand-drawn legal pages */
.legal-page {
    font-family: 'Kalam', cursive;
    line-height: 1.7;
}

.legal-page h1 {
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.legal-page h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, 
        #3498db 0%, 
        #2980b9 50%, 
        #3498db 100%);
    border-radius: 2px;
}

/* Hand-drawn cookie settings */
.cookie-category {
    border: 2px solid #ddd;
    border-radius: 15px;
    transform: rotate(-0.5deg);
    box-shadow: 3px 3px 0px rgba(0,0,0,0.1);
}

.cookie-category:hover {
    transform: rotate(0deg);
    box-shadow: 5px 5px 0px rgba(0,0,0,0.15);
}

/* Additional hand-drawn touches */
.read-more {
    position: relative;
    font-family: 'Kalam', cursive;
    font-weight: 400;
    padding: 2px 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: rgba(52, 152, 219, 0.1);
    transform: rotate(-1deg);
}

/* Hand-drawn blog date */
.blog-date {
    font-family: 'Kalam', cursive;
    font-weight: 300;
    position: relative;
    padding-left: 15px;
}

.blog-date::before {
    content: '📅';
    position: absolute;
    left: 0;
    transform: rotate(-10deg);
}

/* Hand-drawn social links */
.social-links a {
    position: relative;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Kalam', cursive;
    font-weight: 400;
}

.social-links a:hover {
    background-color: rgba(52, 152, 219, 0.1);
    transform: rotate(-1deg);
}
