/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Header */
header {
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav ul li a {
    color: #666;
    text-decoration: none;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #333;
}

nav ul li.email-contact {
    color: #666;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.github-link {
    color: #666;
    transition: color 0.3s ease;
}

.github-link:hover {
    color: #333;
}

.github-link svg {
    width: 20px;
    height: 20px;
}

/* Common back link styles */
.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #888;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* Common page title styles */
.page-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
}

/* Common card styles */
.card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Common header styles for cards */
.card-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.title-left {
    flex: 1;
}

.title-right {
    text-align: right;
    flex-shrink: 0;
}

/* Common tag styles */
.tag {
    display: inline-block;
    background: #f5f5f5;
    color: #666;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 0.2rem 0.3rem 0.2rem 0;
    border: 1px solid #888;
}

/* Common list styles */
.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #555;
}

.custom-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #888;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .title-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .title-right {
        text-align: left;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
} 