@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    color: #1A1A1A;
    line-height: 1.7; /* Increased for readability */
    -webkit-font-smoothing: antialiased;
    font-size: 18px; /* Base font size */
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.header {
    padding: 60px 0 40px 0;
}

.name {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    letter-spacing: 0.5px;
}

.hero {
    margin-bottom: 80px;
}

.profile-section {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.profile-image-container {
    flex-shrink: 0;
}

.profile-image-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
}

.profile-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

.profile-content {
    flex: 1;
}

.greeting {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.description {
    font-size: 18px; /* Adjusted for consistency */
    color: #4B4B4B;
    margin-bottom: 20px;
    line-height: 1.7; /* Adjusted for consistency */
}

.project-highlights {
    list-style: none;
    margin: 20px 0;
}

.project-highlights li {
    font-size: 18px; /* Adjusted for consistency */
    color: #666;
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.project-highlights li::before {
    content: '•';
    color: #999;
    position: absolute;
    left: 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0 0 32px 0;
    line-height: 1.2;
}

.projects {
    margin-bottom: 80px;
}

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

.major-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.project-card {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    transition: all 0.2s ease;
}

.project-card:hover {
    border-color: #d0d0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.project-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.project-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-title a:hover {
    color: #FF3366;
    text-decoration: underline;
}

.project-description {
    font-size: 16px; /* Adjusted for consistency */
    color: #666;
    margin-bottom: 16px;
    line-height: 1.6; /* Adjusted for consistency */
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    text-transform: lowercase;
}

.tag.service { color: #007bff; }
.tag.b2b { color: #007bff; }
.tag.automation { color: #007bff; }
.tag.sales { color: #007bff; }
.tag.strategy { color: #007bff; }
.tag.consulting { color: #007bff; }
.tag.free { color: #007bff; }
.tag.database { color: #007bff; }
.tag.tool { color: #007bff; }
.tag.linkedin { color: #007bff; }
.tag.agency { color: #007bff; }
.tag.video { color: #007bff; }
.tag.airtable { color: #007bff; }

.thoughts {
    margin-bottom: 80px;
}

.thoughts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.thought-link {
    color: #333;
    text-decoration: none;
    font-size: 18px; /* Adjusted for consistency */
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s ease;
}

.thought-link:hover {
    color: #FF3366;
}

.contact {
    margin-bottom: 80px;
}

.contact-description {
    font-size: 18px; /* Adjusted for consistency */
    color: #666;
    margin-bottom: 24px;
}

.contact-info {
    margin-bottom: 24px;
}

.contact-link {
    font-size: 18px; /* Adjusted for consistency */
    color: #333;
    text-decoration: underline;
    font-weight: 500;
}

.contact-link:hover {
    color: #FF3366;
}

.location {
    font-size: 16px; /* Adjusted for consistency */
    color: #999;
    margin: 8px 0 0 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.location::before {
    content: '📍';
    font-size: 14px; /* Adjusted for consistency */
}

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

.social-link {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #FF3366;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .profile-section {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .fact-flicker-style {
        margin-bottom: 40px;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .greeting {
        font-size: 28px;
    }
    
    .projects-grid, .major-projects {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .header {
        padding: 40px 0 20px 0;
    }

    .header-info {
        padding: 0 20px;
    }
}

.cta-button {
    display: inline-block;
    background-color: #007bff; /* A common blue, can adjust based on overall feel */
    color: white;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #FF3366; /* Secondary Accent */
}

/* Blog Content Specific Styling */
.blog-content p {
    margin-bottom: 1.5em; /* Spacing between paragraphs */
    line-height: 1.8; /* Increased line height for readability */
    font-size: 18px; /* Consistent with body */
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    margin-top: 1.8em; /* Spacing above headings */
    margin-bottom: 0.8em; /* Spacing below headings */
    line-height: 1.3; /* Adjusted for readability */
}

.blog-content h1 { font-size: 36px; }
.blog-content h2 { font-size: 30px; }
.blog-content h3 { font-size: 24px; }
.blog-content h4 { font-size: 20px; }
.blog-content h5 { font-size: 18px; }
.blog-content h6 { font-size: 16px; }

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5em;
    margin-left: 1.5em; /* Indent lists */
}

.blog-content li {
    margin-bottom: 0.5em;
    line-height: 1.7; /* Consistent with body */
}

.blog-content pre {
    background-color: #f4f4f4;
    padding: 1em;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1.5em;
}

.blog-content code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
}

.hero-accent {
    color: #1A1A1A !important; /* Deep charcoal */
    font-weight: 700; /* Bold */
    text-transform: uppercase; /* Capital letters */
}

footer {
    text-align: center;
    padding: 40px 0;
    font-size: 0.9em;
    color: #4B4B4B; /* Using secondary text color */
}

footer a {
    color: #0066FF; /* Using electric blue accent for links in footer */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.hero-illustration {
    position: absolute;
    z-index: -1;
    opacity: 0.6;
    filter: blur(15px);

    /* New specific styles for behind "Hi" */
    width: 80px; /* Adjust size to fit behind "Hi" */
    height: 80px;
    background-color: #FF3366; /* Vivid Pink-Red */
    border-radius: 50%; /* Make it a circle */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for center */
    animation: pulse 2s infinite alternate; /* Subtle pulse animation */
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; } 
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.animated-background {
    position: fixed; /* Stays in place */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* Below hero-illustration */
    background: linear-gradient(45deg, #FAFAFA, #e0f2f7, #f3e5f5, #e8f5e8, #fff3e0); /* Using very light versions of the neon palette */
    background-size: 400% 400%; /* Larger than viewport */
    animation: gradientAnimation 15s ease infinite alternate; /* Subtle animation */
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.confetti {
    position: fixed;
    width: 12px;
    height: 12px;
    border-radius: 50%; /* Make them circles */
    z-index: 9999; /* Ensure they are on top */
    pointer-events: none; /* Don't interfere with clicks */
}

.header-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.fact-flicker-style {
    text-align: center;
    font-size: 14px;
    color: #666;
    height: 20px; /* To prevent layout shift */
    transition: opacity 0.5s ease-in-out;
}

.upcoming-card {
    background-color: #f7f7f7;
    border-left: 5px solid #ccc;
}

.upcoming-projects-list {
    list-style-type: disc;
    padding-left: 20px;
}

.upcoming-projects-list li {
    margin-bottom: 10px;
}

.tag.future {
    background-color: #4a90e2;
    color: white;
}

.highlight-box {
    background-color: #f0f8ff;
    border-left: 5px solid #4a90e2;
    padding: 20px;
    margin: 40px 0;
}

.highlight-box h3 {
    margin-top: 0;
}