:root {
    --bg-color: #ffffff;
    --text-main: #111111;
    --text-muted: #666666;
    --text-light: #999999;
    --border-color: #eaeaea;
    --accent: #000000;
    --href-color: #111FA2;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Base Styles */
a {
    color: inherit;
    text-decoration: none;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.about-hero {
    width: calc(100% - 100px);
    margin-left: 50px;
    margin-right: 50px;
}

.about-hero img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.about-content {
    max-width: 700px;
}

.about-content p {
    margin-top: 16px;
    line-height: 1.7;
    color: #444;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    width: 100%;
}

.nav-brand a {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
    text-decoration: underline;
}

/* Container & Layout */
.container {
    max-width: 650px;
    margin: 0 auto;
    padding: 4rem 5%;
    width: 100%;
    flex: 1;
}

.container-about {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 5%;
    width: 100%;
    flex: 1;
    text-align: justify;
}

/* Headers */
.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 00;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Blog Items */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-item {
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.blog-item:hover .blog-title a {
    color: var(--text-muted);
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02m;
}

.blog-title a {
    position: relative;
    transition: color 0.3s ease;
    color: var(--href-color);
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.blog-tags {
    display: flex;
    gap: 0.8rem;
}

.blog-tags span {
    font-size: 0.8rem;
    color: var(--text-light);
    background-color: #f5f5f5;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 4px;
    background-color: var(--bg-color);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-color: transparent;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.project-link {
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.project-link span {
    transition: transform 0.3s ease;
}

.project-card:hover .project-link span {
    transform: translateX(4px);
}

/* About Page */
.about-content .lead-text {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 3rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.text-content {
    font-size: 1.05rem;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.text-content p {
    line-height: 1.8;
}

.contact-section h2 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    color: var(--text-muted);
    font-size: 1rem;
    width: fit-content;
    position: relative;
    transition: color 0.3s ease;
}

.social-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--text-main);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover {
    color: var(--text-main);
}

.social-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: auto;
}

.text-blue-500 {
    color: var(--href-color);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .about-content .lead-text {
        font-size: 1.25rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}