/* Base styles */
:root {
    --primary-color: #2d3436;
    --accent-color: #0984e3;
    --bg-color: #ffffff;
    --text-color: #2d3436;
    --secondary-text: #636e72;
    --hover-color: #74b9ff;
    --section-spacing: 3rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Navigation */
nav {
    margin-bottom: var(--section-spacing);
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 2rem;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* Typography */
h1 {
    font-size: 2.5em;
    margin-bottom: 1em;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

h2 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: var(--section-spacing);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.3em;
    margin-bottom: 0.3em;
    color: var(--primary-color);
    font-weight: 600;
}

/* Content sections */
.intro {
    font-size: 1.1em;
    margin-bottom: var(--section-spacing);
    color: var(--text-color);
    line-height: 1.8;
    max-width: 95%;
}

.intro strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Experience section */
.experience-item {
    margin-bottom: 2.5rem;
}

.company-date {
    color: var(--secondary-text);
    font-size: 0.95em;
    margin-bottom: 1em;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* General paragraph styling */
p {
    max-width: 95%;
    line-height: 1.8;
}

/* Skills list */
.skills-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skills-list li {
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95em;
    transition: all 0.2s ease;
    border: 1px solid #eee;
}

.skills-list li:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Links */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--hover-color);
}

/* Dropdown menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1;
    padding: 8px 0;
    margin-top: 0;
    top: 100%;
    left: 0;
}

.dropdown-content li {
    display: block;
    margin: 0;
}

.dropdown-content a {
    padding: 12px 20px;
    display: block;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: var(--accent-color);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease;
}

/* Add invisible padding bridge */
.dropdown::after {
    content: '';
    display: block;
    height: 20px;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
}

/* References section */
.references {
    margin-top: 1.5rem;
}

.references p {
    margin: 12px 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding: 20px;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        margin-top: 0;
        padding-left: 1rem;
    }
}

.interests {
    margin-top: 30px;
}

.interests ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
} 