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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 30px;
}

/* Navigation */
.top-nav {
    display: flex;
    gap: 2rem;
    justify-content: center;
    padding: 1rem 0 2rem 0;
    margin-bottom: 2rem;
}

.top-nav a {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.top-nav a:hover {
    color: #0066cc;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    color: #0a0a0a;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2a2a2a;
}

p {
    margin-bottom: 1.25rem;
    font-weight: 300;
}

strong {
    font-weight: 600;
    color: #0a0a0a;
}

/* Hero Section */
.hero {
    padding: 40px 0 60px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.hero-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.hero-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 0.25rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #2a2a2a;
    font-weight: 400;
    margin-bottom: 0;
}

/* Content Sections */
.section {
    margin-bottom: 60px;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Job/Experience Cards */
.job {
    margin-bottom: 40px;
}

.job-header {
    margin-bottom: 1rem;
}

.job-header h3 {
    margin-bottom: 0.25rem;
}

.company {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    margin-bottom: 1rem;
}

.job-description {
    font-size: 1.05rem;
    color: #2a2a2a;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Achievements List */
.achievements {
    list-style: none;
    margin-left: 0;
    margin-bottom: 2rem;
}

.achievements li {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
}

.achievements li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
    font-size: 1.5rem;
}

.achievements a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.achievements a:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Philosophy Box */
.philosophy {
    background-color: #f8f9fa;
    border-left: 4px solid #0066cc;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Team Highlight */
.team-highlight {
    margin-top: 2rem;
    padding: 1rem 0;
    border-top: 1px solid #e0e0e0;
}

.team-highlight p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Content Summary */
.content-summary {
    background-color: #f8f9fa;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.content-summary p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Writing Section */
.writing-category {
    margin-bottom: 3rem;
}

.writing-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2a2a2a;
}

.writing-list {
    list-style: none;
    margin-left: 0;
}

.writing-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.writing-list li:last-child {
    border-bottom: none;
}

.writing-list a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.writing-list a:hover {
    color: #0052a3;
    text-decoration: underline;
}

.writing-list .date {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.25rem;
    font-weight: 300;
}

/* CTA Section */
.cta-section {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.view-all-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: #0052a3;
}

/* Contact Section */
.contact-list {
    list-style: none;
    margin-left: 0;
    margin-bottom: 2rem;
}

.contact-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.05rem;
}

.contact-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

.contact-links {
    margin-top: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background-color: #0066cc;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1.05rem;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
    background-color: #0052a3;
    transform: translateY(-1px);
}

/* Footer */
footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #0066cc;
}

.footer-note {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    .top-nav {
        gap: 1.5rem;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-image {
        width: 150px;
        height: 150px;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .about p,
    .job-description,
    .achievements li,
    .philosophy {
        font-size: 1rem;
    }

    .btn-primary {
        display: block;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }

    .top-nav {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-image {
        width: 120px;
        height: 120px;
    }

    .hero-title {
        font-size: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .footer-links a {
        display: block;
        margin: 10px 0;
    }
}
