/* Global 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: #f5f5f5;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    min-height: 100vh;
}

/* Navigation */
nav {
    background: #2c3e50;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: background 0.3s, color 0.3s;
    border-radius: 4px;
}

nav a:hover,
nav a.active {
    background: #667eea;
    color: white;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

header .subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.links {
    margin-top: 1rem;
}

.links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Content */
.content {
    padding: 2rem;
}

section {
    margin-bottom: 2.5rem;
}

h2 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
}

h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.summary {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

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

.skill-category {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

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

.skill-category p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Job Entries */
.job {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.job:last-child {
    border-bottom: none;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.company {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.location {
    color: #888;
    font-size: 0.9rem;
}

.position {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    margin: 0.5rem 0;
}

.date {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

.job-section {
    margin-top: 1rem;
}

.job-section h4 {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.6;
}

/* Education */
.education-item {
    margin-bottom: 1.5rem;
}

.degree {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.school {
    color: #667eea;
    font-size: 1rem;
    margin: 0.25rem 0;
}

.gpa {
    color: #27ae60;
    font-weight: 600;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.project {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #764ba2;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.project-type {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.project-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.project a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.project a:hover {
    text-decoration: underline;
}

/* Blog Posts */
.blog-post {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #667eea;
}

.blog-post h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.blog-post h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-post h3 a:hover {
    color: #667eea;
}

.blog-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: #555;
    line-height: 1.7;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}

.read-more:hover {
    text-decoration: underline;
}

/* Card Styles */
.card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 2rem;
}

.hero h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: #f8f9fa;
    text-align: center;
    padding: 2rem;
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    nav ul {
        gap: 0.5rem;
    }
    
    nav a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .links a {
        display: block;
        margin: 0.5rem 0;
    }
    
    .content {
        padding: 1.5rem;
    }
    
    .skills-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
