:root {
    --font-family: 'Inter', sans-serif;
    --bg-color: #ffffff;
    --text-primary: #000000;
    --text-secondary: #666666;
    --accent-color: #000000;
    --accent-text: #ffffff;
    --border-color: #e5e5e5;
    --card-bg: #ffffff;
    --max-width: 700px;
    --spacing-section: 4rem;
}

[data-theme="dark"] {
    --bg-color: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #ffffff;
    --accent-text: #000000;
    --border-color: #2a2a2a;
    --card-bg: #1a1a1a;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

h1,
h2,
h3 {
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

h1 {
    font-size: 3.0rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.link {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Hero Section */
.hero {
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-section);
}

.hero-text {
    max-width: 100%;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Experience Section */
.experience {
    margin-bottom: var(--spacing-section);
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.exp-left {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #333;
    overflow: hidden;
}

.logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exp-details h3 {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.exp-details p {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.exp-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: right;
}

/* Skills Section */
.skills {
    margin-bottom: var(--spacing-section);
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background-color: var(--accent-color);
    color: var(--accent-text);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge {
    background-color: var(--accent-color);
    color: var(--accent-text);
    padding: 0.25rem 0.75rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Floating Navbar */
.floating-nav {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background-color: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .floating-nav {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #000000;
    border-radius: 50%;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
}

[data-theme="dark"] .nav-link {
    color: #000000;
}

.nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

[data-theme="dark"] .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.nav-separator {
    width: 1px;
    height: 24px;
    background-color: #e5e5e5;
    margin: 0 0.25rem;
}

[data-theme="dark"] .nav-separator {
    background-color: #e5e5e5;
}

.theme-toggle {
    color: #000000;
}

[data-theme="dark"] .theme-toggle {
    color: #000000;
}


/* Mobile Responsiveness */
@media (max-width: 600px) {
    .container {
        padding: 2rem 1rem;
    }

    .hero {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .experience-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .exp-date {
        text-align: left;
        padding-left: 3.5rem;
        /* Align with text */
    }

    .timeline-header {
        flex-direction: column;
    }
}
