/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 1.75;
    color: #1a1a1a;
    background-color: #fff;
    font-size: 20px;
}

/* Navigation */
.navbar {
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem 0;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #555;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    letter-spacing: 0.03em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.nav-links a:hover,
.nav-links a.active {
    color: #333;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 3rem;
}

/* Landing Page Styles */
.hero {
    margin-bottom: 6rem;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #d0d0d0 0%, #a8a8a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    line-height: 1.2;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.intro-section {
    width: 100%;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

/* Section Styles */
.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
    letter-spacing: 0.02em;
}

/* Portfolio Banner */
.portfolio-banner {
    margin-bottom: 5rem;
    width: 100%;
    max-width: 100%;
}

.portfolio-banner a {
    display: block;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.portfolio-banner a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.banner-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    object-fit: contain;
}

.experience-overview,
.education-section,
.interests-section,
.expertise-section {
    margin-bottom: 5rem;
}

.experience-content,
.education-content,
.interests-content {
    width: 100%;
}

.experience-content p,
.education-content p,
.interests-content p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.highlight {
    font-weight: 500;
    color: #333;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.expertise-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #333;
}

.expertise-item p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #666;
}

/* Resume Page Styles */
.resume-page {
    max-width: 900px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
    color: #333;
}

.page-subtitle {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

.resume-section {
    margin-bottom: 4rem;
}

.resume-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.resume-item {
    margin-bottom: 3rem;
}

.resume-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.3rem;
}

.resume-item-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
}

.date {
    font-size: 0.9rem;
    color: #999;
    white-space: nowrap;
}

.resume-item-org {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 1rem;
}

.resume-list {
    list-style: none;
    padding-left: 0;
}

.resume-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
    line-height: 1.75;
    color: #1a1a1a;
    font-size: 1.15rem;
}

.resume-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #999;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.skill-category h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.skill-category .resume-list li {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.platforms-list li {
    padding-left: 0;
    margin-bottom: 1rem;
}

.platforms-list li:before {
    content: none;
}

/* Portfolio Page Styles */
.portfolio-page {
    max-width: 900px;
}

/* Blog Page Styles */
.blog-page {
    max-width: 900px;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-post {
    padding-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.3;
}

.blog-post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-post-date {
    font-size: 1rem;
    color: #999;
}

.blog-post-category {
    font-size: 1rem;
    color: #666;
    padding: 0.2rem 0.8rem;
    background-color: #f5f5f5;
    border-radius: 3px;
}

.blog-post-excerpt p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    color: #666;
    text-decoration: none;
    font-size: 1.15rem;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: #333;
}

/* Blog Article Page */
.blog-post-page {
    max-width: 900px;
}

.blog-article-header {
    margin-bottom: 3rem;
}

.blog-article-title {
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #333;
}

.blog-article-content {
    font-size: 1.15rem;
    line-height: 1.8;
}

.blog-article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.blog-article-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.blog-article-content p {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.blog-article-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-article-content li {
    margin-bottom: 0.8rem;
    line-height: 1.75;
}

.blog-article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.blog-article-footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-article-footer a:hover {
    color: #333;
}

/* Component Link Style */
.component-link {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.component-link:hover {
    color: #666;
}

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

.blog-post-title a:hover {
    color: #666;
}

/* Code blocks for blog posts */
.code-block {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 1.5rem;
    border-radius: 6px;
    overflow-x: auto;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Tables for blog posts */
.tech-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.tech-table th,
.tech-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.tech-table th {
    background-color: #f5f5f5;
    font-weight: 700;
    color: #333;
}

.tech-table td code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

.blog-article-content code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.95em;
}

.portfolio-section {
    margin-bottom: 5rem;
}

.project-featured {
    margin-bottom: 4rem;
}

.project-title {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.project-meta {
    font-size: 1.15rem;
    color: #999;
    margin-bottom: 2rem;
}

.project-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.project-description {
    margin-bottom: 2rem;
}

.project-description p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.project-component {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #fafafa;
    border-left: 3px solid #e0e0e0;
}

.project-component h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.project-component p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #2a2a2a;
    margin-bottom: 1.5rem;
}

.tech-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 0.85rem;
    color: #666;
}

.portfolio-list {
    list-style: none;
    padding-left: 0;
}

.portfolio-list li {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.75;
    color: #1a1a1a;
    font-size: 1.15rem;
}

.portfolio-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #999;
}

.project-item {
    margin-bottom: 3rem;
}

.project-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.capability-item {
    padding: 1.5rem;
    border-left: 3px solid #e0e0e0;
}

.capability-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.capability-item p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #666;
}

/* Footer */
.footer {
    border-top: 1px solid #e0e0e0;
    padding: 2rem 0;
    margin-top: 6rem;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 3rem;
    text-align: center;
}

.footer-content p {
    font-size: 0.9rem;
    color: #999;
}

.contact-email {
    margin-top: 0.5rem;
}

.contact-email a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-email a:hover {
    color: #333;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .container {
        padding: 3rem 2rem;
    }
    
    .intro-text,
    .project-description p {
        font-size: 1rem;
    }
    
    .expertise-grid,
    .skills-grid,
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .resume-item-header {
        flex-direction: column;
        gap: 0.3rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .project-component {
        padding: 1.5rem;
    }
}
