:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --secondary-text: #555555;
    --border-color: #eeeeee;
    --link-color: #000000;
    --hover-bg: #fdfdfd;
    --transition: all 0.2s ease-in-out;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    font-weight: 300;
    transition: var(--transition);
}

.container {
    max-width: 850px;
    margin: 0 auto;
    padding: 80px 40px;
}

header {
    margin-bottom: 60px;
}

h1 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 16px;
}

.bio {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.header-contact {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    color: var(--secondary-text);
}

h2 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

section {
    margin-bottom: 80px;
}

/* Skills */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
}

.skill-category {
    font-size: 0.95rem;
    flex: 1 1 45%;
}

.skill-category strong {
    font-weight: 600;
    margin-right: 4px;
}

/* Experience Accordion */
.experience-item {
    margin-bottom: 24px;
}

details {
    width: 100%;
}

summary {
    list-style: none;
    cursor: pointer;
    padding: 8px 0;
    position: relative;
    outline: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary:hover .exp-header strong {
    color: var(--secondary-text);
}

.exp-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: baseline;
    padding-right: 30px;
    gap: 16px;
}

/* Custom arrow for summary */
summary::after {
    content: "+";
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
    font-weight: 300;
}

details[open] summary::after {
    content: "—";
    transform: translateY(-50%) rotate(0deg);
}

details ul {
    margin-top: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.exp-header strong {
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.company {
    color: var(--secondary-text);
    font-weight: 400;
}

.date {
    font-variant-numeric: tabular-nums;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

ul {
    list-style-type: disc;
    margin-left: 20px;
}

li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Certifications */
.cert-list li {
    margin-bottom: 4px;
    font-weight: 400;
}

/* Projects */
.project-item {
    margin-bottom: 32px;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.project-item:hover {
    border-color: var(--text-color);
    background-color: var(--hover-bg);
}

.project-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-item p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--secondary-text);
}

.project-tech {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
}

/* Education */
.education-item {
    margin-bottom: 24px;
}

.education-item strong {
    font-size: 1.05rem;
}

/* Links */
.link {
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.link:hover {
    border-bottom-color: var(--text-color);
}

/* Footer */
footer {
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.social-links {
    display: flex;
    gap: 32px;
}

.copyright {
    margin-top: 40px;
    font-size: 0.8rem;
    color: var(--secondary-text);
}

@media (max-width: 600px) {
    .container {
        padding: 40px 24px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .header-contact {
        flex-direction: column;
        gap: 8px;
    }

    .skill-category {
        flex: 1 1 100%;
    }

    .exp-header {
        flex-direction: column;
        gap: 2px;
    }
}