:root {
    --primary-color: #2196F3;
    --text-color: #333;
    --bg-color: #fff;
    --sidebar-bg: #f5f5f5;
    --card-bg: #fff;
    --border-color: #e0e0e0;
    --skill-bar-bg: #e0e0e0;
    --skill-bar-fill: #2196F3;
}

body.dark-theme {
    --text-color: #e0e0e0;
    --bg-color: #121212;
    --sidebar-bg: #1e1e1e;
    --card-bg: #242424;
    --border-color: #333;
    --skill-bar-bg: #333;
    --skill-bar-fill: #64B5F6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

.resume-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    max-width: 1200px;
    margin: 2rem auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.sidebar {
    background-color: var(--sidebar-bg);
    padding: 2rem;
    border-right: 1px solid var(--border-color);
}

.profile-section {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
}

.profile-section h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.profile-section .title {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.skills-section, .languages-section {
    margin-top: 2rem;
}

.skill-item, .language-item {
    margin-bottom: 1rem;
}

.skill-level {
    background-color: var(--skill-bar-bg);
    height: 6px;
    border-radius: 3px;
    margin-top: 0.3rem;
}

.skill-level div {
    background-color: var(--skill-bar-fill);
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-content {
    padding: 2rem;
    background-color: var(--bg-color);
}

section {
    margin-bottom: 2rem;
}

.skills-section {
    margin-bottom: 2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.skill-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.skill-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.skill-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-card li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.skill-card li:before {
    content: "•";
    color: var(--primary-color);
    margin-right: 0.5rem;
}
h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.experience-item, .education-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.experience-header {
    margin-bottom: 1rem;
}

.experience-header h3 {
    color: var(--text-color);
    margin-bottom: 0.3rem;
}

.company, .school {
    color: var(--primary-color);
    font-weight: 500;
}

.date {
    color: #666;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.experience-item ul {
    list-style-position: inside;
    color: var(--text-color);
}

.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .resume-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}