/* Sketchy Portfolio CSS */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --text-color: #2c3e50;
    --light-text: #7f8c8d;
    --background-color: #fefefe;
    --paper-texture: #f8f8f8;
    --border-color: #34495e;
    --shadow-color: rgba(52, 73, 94, 0.1);
}

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

body {
    font-family: 'Kalam', cursive;
    background-color: var(--background-color);
    background-image: 
        radial-gradient(circle at 20% 50%, transparent 20%, rgba(52, 73, 94, 0.02) 21%, rgba(52, 73, 94, 0.02) 34%, transparent 35%, transparent),
        linear-gradient(0deg, rgba(52, 73, 94, 0.01) 50%, transparent 50%);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Sketchy Elements */
.sketchy-border {
    position: relative;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    background: var(--paper-texture);
    box-shadow: 3px 3px 8px var(--shadow-color);
}

.sketchy-border::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid var(--border-color);
    border-radius: 18px;
    opacity: 0.3;
    transform: rotate(-0.5deg);
    z-index: -1;
}

.sketchy-button {
    position: relative;
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: var(--paper-texture);
    color: var(--text-color);
    font-family: 'Caveat', cursive;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
}

.sketchy-button:hover {
    transform: rotate(0.5deg) scale(1.05);
    background: var(--accent-color);
    color: white;
    box-shadow: 5px 5px 15px var(--shadow-color);
}

.sketchy-button::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    opacity: 0.5;
    pointer-events: none;
}

.sketchy-underline {
    position: relative;
    display: inline-block;
}

.sketchy-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -10px;
    right: -10px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: rotate(-1deg);
    opacity: 0.7;
}

/* Navigation */
.sketchy-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 248, 248, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 2px dashed var(--border-color);
}

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

.logo {
    padding: 8px 16px;
    font-family: 'Caveat', cursive;
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    transform: rotate(-2deg);
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 16px;
    transform: rotate(0.5deg);
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: rotate(-0.5deg) translateY(-2px);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--border-color);
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

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

.section-title {
    font-family: 'Caveat', cursive;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    transform: rotate(-1deg);
}

/* Home Section */
.home-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--paper-texture) 0%, #ffffff 100%);
    position: relative;
}

.home-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,20 Q50,5 80,20 Q85,50 80,80 Q50,85 20,80 Q5,50 20,20 Z" fill="none" stroke="%23f39c12" stroke-width="2"/></svg>');
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

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

.sketchy-frame {
    position: relative;
    padding: 40px;
    transform: rotate(-2deg);
}

.hero-title {
    font-family: 'Caveat', cursive;
    font-size: 64px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--light-text);
    margin-bottom: 20px;
}

.doodle-arrow {
    width: 60px;
    height: 40px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 40"><path d="M5,35 Q15,25 25,30 Q35,35 45,25 Q50,20 55,25" fill="none" stroke="%23e74c3c" stroke-width="3" stroke-linecap="round"/><path d="M50,20 L55,25 L50,30" fill="none" stroke="%23e74c3c" stroke-width="3" stroke-linecap="round"/></svg>');
    margin: 20px auto;
    animation: bounce 2s infinite;
}

.hero-description {
    padding: 30px;
    background: var(--paper-texture);
    border: 2px dashed var(--border-color);
    border-radius: 20px;
    transform: rotate(1deg);
}

.hero-description p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-color);
}

.cta-button {
    font-size: 20px;
    padding: 15px 30px;
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.cta-button:hover {
    background: var(--accent-color);
    transform: rotate(-0.5deg) scale(1.1);
}

/* About Section */
.about-section {
    background: var(--paper-texture);
}

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

.about-text {
    font-size: 18px;
    padding: 30px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    transform: rotate(-1deg);
}

.skills-container {
    padding: 30px;
}

.skills-title {
    font-family: 'Caveat', cursive;
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--primary-color);
    transform: rotate(1deg);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.skill-item {
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-item:hover {
    transform: rotate(2deg) scale(1.05);
    background: var(--accent-color);
    color: white;
}

.skill-name {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.skill-doodle {
    width: 30px;
    height: 30px;
    margin: 0 auto;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
}

.js-doodle { 
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><text x="15" y="20" text-anchor="middle" font-family="monospace" font-size="16" fill="%23f39c12">JS</text></svg>'); 
}
.react-doodle { 
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><circle cx="15" cy="15" r="3" fill="%2361dafb"/><ellipse cx="15" cy="15" rx="12" ry="5" fill="none" stroke="%2361dafb" stroke-width="2"/></svg>'); 
}
.node-doodle { 
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><circle cx="15" cy="15" r="10" fill="none" stroke="%2368bc71" stroke-width="2"/><text x="15" y="19" text-anchor="middle" font-family="monospace" font-size="10" fill="%2368bc71">N</text></svg>'); 
}
.css-doodle { 
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><rect x="8" y="8" width="14" height="14" fill="none" stroke="%231572b6" stroke-width="2"/><text x="15" y="18" text-anchor="middle" font-size="8" fill="%231572b6">CSS</text></svg>'); 
}
.python-doodle { 
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><circle cx="15" cy="15" r="10" fill="none" stroke="%233776ab" stroke-width="2"/><text x="15" y="19" text-anchor="middle" font-family="monospace" font-size="10" fill="%233776ab">Py</text></svg>'); 
}
.design-doodle { 
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M5,25 Q15,5 25,25" fill="none" stroke="%23ff6b6b" stroke-width="3" stroke-linecap="round"/><circle cx="10" cy="20" r="2" fill="%23ff6b6b"/><circle cx="20" cy="20" r="2" fill="%23ff6b6b"/></svg>'); 
}

/* Projects Section */
.projects-section {
    background: white;
}

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

.project-card {
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: rotate(1deg) translateY(-5px);
    box-shadow: 8px 8px 20px var(--shadow-color);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px dashed var(--border-color);
}

.project-placeholder {
    font-size: 60px;
    opacity: 0.8;
}

.project-title {
    font-family: 'Caveat', cursive;
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.project-description {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--light-text);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.sketchy-tag {
    padding: 5px 12px;
    background: var(--accent-color);
    color: white;
    border-radius: 15px;
    font-size: 14px;
    border: 2px solid var(--border-color);
    transform: rotate(-1deg);
}

.project-expanded {
    margin-top: 20px;
    padding: 20px;
    background: var(--paper-texture);
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    animation: fadeIn 0.3s ease;
}

.project-link {
    margin-top: 15px;
    background: var(--secondary-color);
    color: white;
}

/* Blog Section */
.blog-section {
    background: var(--paper-texture);
}

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

.blog-post {
    padding: 30px;
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: rotate(-1deg) translateY(-3px);
    box-shadow: 6px 6px 15px var(--shadow-color);
}

.blog-date {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.blog-title {
    font-family: 'Caveat', cursive;
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    font-size: 16px;
    background: var(--accent-color);
    color: white;
}

/* Hobbies Section */
.hobbies-section {
    background: white;
}

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

.hobby-item {
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hobby-item:hover {
    transform: rotate(2deg) scale(1.05);
    background: var(--secondary-color);
    color: white;
}

.hobby-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.hobby-item h3 {
    font-family: 'Caveat', cursive;
    font-size: 24px;
    margin-bottom: 15px;
}

.hobby-item p {
    color: var(--light-text);
    margin-bottom: 15px;
}

.hobby-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.hobby-details {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    animation: fadeIn 0.3s ease;
}

/* Quotes Section */
.quotes-section {
    background: var(--paper-texture);
    padding: 60px 0;
}

.quotes-carousel {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
    position: relative;
}

.quote-container {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.quote {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.quote.active {
    opacity: 1;
    transform: translateX(0);
}

.quote p {
    font-family: 'Caveat', cursive;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.quote cite {
    font-size: 18px;
    color: var(--light-text);
    font-style: italic;
}

.quote-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.quote-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    padding: 0;
}

.quote-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* Contact Section */
.contact-section {
    background: white;
}

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

.contact-info h3 {
    font-family: 'Caveat', cursive;
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--light-text);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--paper-texture);
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: rotate(0.5deg) translateX(5px);
    background: var(--accent-color);
    color: white;
}

.contact-icon {
    font-size: 24px;
}

.contact-form {
    padding: 40px;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-family: 'Caveat', cursive;
    font-size: 20px;
}

.sketchy-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--paper-texture);
    font-family: 'Kalam', cursive;
    font-size: 16px;
    transition: all 0.3s ease;
    transform: rotate(-0.2deg);
}

.sketchy-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    transform: rotate(0.2deg);
    box-shadow: 3px 3px 8px var(--shadow-color);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background: var(--secondary-color);
    color: white;
    font-size: 20px;
    padding: 15px;
}

.submit-btn:hover {
    background: var(--accent-color);
    transform: rotate(-0.5deg) scale(1.02);
}

.error-message {
    color: var(--secondary-color);
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.success-message {
    background: #27ae60;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 0;
}

.footer p {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-doodles {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-doodles span {
    font-size: 24px;
    animation: bounce 2s infinite;
}

.footer-doodles span:nth-child(2) {
    animation-delay: 0.5s;
}

.footer-doodles span:nth-child(3) {
    animation-delay: 1s;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--paper-texture);
        flex-direction: column;
        padding: 20px;
        border: 2px dashed var(--border-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .hobbies-container {
        grid-template-columns: 1fr;
    }
    
    .quote p {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .sketchy-button {
        padding: 10px 20px;
        font-size: 16px;
    }
}
/* Additional styles for separate pages */

/* Active navigation link */
.nav-link.active {
    background: var(--secondary-color);
    color: white;
    transform: rotate(0deg) scale(1.05);
}

/* About page specific styles */
.about-hero {
    margin-bottom: 60px;
}

.about-intro {
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.about-intro h2 {
    font-family: 'Caveat', cursive;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.story-card {
    padding: 40px;
    margin-bottom: 40px;
}

.story-card h3 {
    font-family: 'Caveat', cursive;
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.skills-detailed {
    margin-top: 60px;
}

.skill-category {
    margin-bottom: 50px;
}

.skill-category h3 {
    font-family: 'Caveat', cursive;
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.skill-level {
    width: 100%;
    height: 8px;
    background: var(--paper-texture);
    border-radius: 10px;
    margin: 10px 0;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.skill-bar {
    height: 100%;
    background: var(--accent-color);
    border-radius: 10px;
    transition: width 1s ease;
}

.experience-timeline {
    margin-top: 80px;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-color);
    border-radius: 10px;
}

.timeline-item {
    margin-bottom: 40px;
    padding: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -49px;
    top: 30px;
    width: 15px;
    height: 15px;
    background: var(--secondary-color);
    border-radius: 50%;
    border: 3px solid var(--paper-texture);
}

.timeline-date {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-item h3 {
    font-family: 'Caveat', cursive;
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.timeline-item h4 {
    color: var(--light-text);
    margin-bottom: 15px;
    font-style: italic;
}

.personal-philosophy {
    margin-top: 80px;
}

.philosophy-card {
    padding: 40px;
}

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

.philosophy-point {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.point-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.philosophy-point h3 {
    font-family: 'Caveat', cursive;
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Projects page specific styles */
.projects-intro {
    text-align: center;
    margin-bottom: 50px;
}

.intro-text {
    font-size: 18px;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto;
}

.projects-filter {
    text-align: center;
    margin-bottom: 50px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    padding: 10px 20px;
    font-size: 16px;
}

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

.project-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.project-badge,
.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transform: rotate(5deg);
}

.project-details h4 {
    font-family: 'Caveat', cursive;
    font-size: 20px;
    margin: 20px 0 10px 0;
    color: var(--primary-color);
}

.project-details ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.project-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.project-stats {
    margin-top: 80px;
}

.stats-container {
    padding: 40px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Caveat', cursive;
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--light-text);
    margin-top: 10px;
}

/* Blog page specific styles */
.blog-intro {
    text-align: center;
    margin-bottom: 60px;
}

.featured-post {
    position: relative;
    padding: 40px;
    margin-bottom: 60px;
    background: var(--paper-texture);
}

.post-content {
    max-width: 800px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    font-size: 14px;
    color: var(--light-text);
}

.newsletter-signup {
    padding: 40px;
    text-align: center;
    margin: 60px 0;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.newsletter-input {
    max-width: 300px;
}

.newsletter-note {
    font-size: 14px;
    color: var(--light-text);
    margin-top: 10px;
}

.blog-categories {
    margin-top: 60px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.category-card {
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: rotate(2deg) scale(1.05);
    background: var(--accent-color);
    color: white;
}

.category-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 15px;
}

.post-count {
    font-size: 14px;
    color: var(--light-text);
    margin-top: 10px;
}

.category-card:hover .post-count {
    color: rgba(255, 255, 255, 0.8);
}

/* Hobbies page specific styles */
.hobby-gallery,
.photo-gallery,
.games-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item,
.photo-item,
.game-item {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.gallery-item:hover,
.photo-item:hover,
.game-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.music-player,
.learning-stats,
.travel-map {
    padding: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 20px;
}

.creative-process {
    margin-top: 80px;
}

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

.process-step {
    padding: 30px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Caveat', cursive;
    font-size: 24px;
    font-weight: 700;
}

.process-step h3 {
    font-family: 'Caveat', cursive;
    font-size: 24px;
    margin: 20px 0 15px 0;
    color: var(--primary-color);
}

.inspiration-board {
    margin-top: 60px;
}

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

.inspiration-item {
    padding: 30px;
    text-align: center;
}

.inspiration-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 15px;
}

.inspiration-item h4 {
    font-family: 'Caveat', cursive;
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Contact page specific styles */
.contact-intro {
    text-align: center;
    margin-bottom: 60px;
}

.contact-card {
    padding: 40px;
    margin-bottom: 40px;
}

.contact-card h3 {
    font-family: 'Caveat', cursive;
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-details h4 {
    font-family: 'Caveat', cursive;
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-details span {
    font-weight: 600;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 5px;
}

.contact-details p {
    font-size: 14px;
    color: var(--light-text);
}

.availability-status {
    margin-top: 30px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.available {
    background: #27ae60;
}

.status-indicator h4 {
    font-family: 'Caveat', cursive;
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-form-container {
    flex: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.faq-section {
    margin-top: 80px;
}

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

.faq-item {
    padding: 30px;
}

.faq-item h4 {
    font-family: 'Caveat', cursive;
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.location-availability {
    margin-top: 60px;
}

.location-card {
    padding: 40px;
}

.location-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.location-icon {
    font-size: 24px;
}

.location-item h4 {
    font-family: 'Caveat', cursive;
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-cta {
    margin-top: 60px;
}

.cta-card {
    padding: 40px;
    text-align: center;
}

.cta-card h2 {
    font-family: 'Caveat', cursive;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(39, 174, 96, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
    }
}

/* Mobile responsive adjustments for new pages */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-input {
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .project-card.featured {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .philosophy-points {
        grid-template-columns: 1fr;
    }
}
