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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header styles */
header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 40px;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-info {
    font-size: 1.1rem;
    color: #6c757d;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Section styles */
section {
    margin-bottom: 40px;
}

section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Entry styles */
.entry {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.entry-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.entry-header h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: 600;
    margin-right: auto;
}

.company {
    font-style: italic;
    color: #6c757d;
    font-size: 1.1rem;
}

.date {
    color: #6c757d;
    font-weight: 500;
    white-space: nowrap;
}

.subtitle {
    color: #6c757d;
    font-style: italic;
    margin-bottom: 10px;
}

/* List styles */
ul {
    margin-left: 20px;
    margin-top: 10px;
}

li {
    margin-bottom: 8px;
    line-height: 1.5;
}

li strong {
    color: #2c3e50;
}

li a {
    color: #007bff;
    text-decoration: none;
}

li a:hover {
    text-decoration: underline;
}

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

.skill-category {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.skill-category h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.skill-category ul {
    margin-left: 0;
    list-style: none;
}

.skill-category li {
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.skill-category li:last-child {
    border-bottom: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    border-top: 2px solid #e9ecef;
    margin-top: 40px;
    color: #6c757d;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
        margin: 0;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .contact-info {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .entry-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .entry-header h3 {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }
    
    .contact-info {
        font-size: 0.9rem;
    }
    
    .entry {
        padding: 15px;
    }
    
    .entry-header h3 {
        font-size: 1.1rem;
    }
}

/* Print styles */
@media print {
    body {
        background-color: white;
    }
    
    .container {
        box-shadow: none;
        padding: 0;
    }
    
    .entry {
        background-color: white;
        border-left: 2px solid #007bff;
        break-inside: avoid;
    }
    
    a {
        color: #333;
        text-decoration: none;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8rem;
        color: #666;
    }
}
