/* 
    background-color: #5f30e2;
    background-color: #6f45e5;
    box-shadow: #670ce63f;
    background-color: #2a009e;


*/

:root {
    --bg-primary: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    /* --accent: #0d9488; */
    --accent: #670ce6;
    --accent-bg: rgba(13, 148, 136, 0.1);
    --border-color: #e2e8f0;
    --tag-bg: #e2e8f0;
}

/* Todo: check with body of style.css */
body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

.section-title {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Experience Section */
#experience {
    background: linear-gradient(white 50px, #fafafa 50px);
    padding-top: 100px;
    padding-bottom: 50px;
}

#experience h2 {
    text-align: center;
    font-weight: 600;
    color: #01034a;
    font-size: 42px;
    margin-bottom: 50px;
}

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

.experience-item {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

@media (min-width: 768px) {
    .experience-item {
        grid-template-columns: 200px 1fr;
        gap: 2rem;
    }
}

.experience-item:hover {
    background-color: var(--bg-card);
}

.experience-period {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-family: "JetBrains Mono", monospace;
}

.experience-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.company-link {
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: text-decoration 0.2s ease;
}

.company-link:hover {
    text-decoration: underline;
}

.company-name {
    color: var(--accent);
}

.experience-description {
    color: var(--text-secondary);
    margin-top: 0.75rem;
    line-height: 1.7;
}

/* Projects Section */
#projects {
    background-color: white;
    padding-top: 100px;
    padding-bottom: 50px;
}

#projects h2 {
    text-align: center;
    font-weight: 600;
    color: #01034a;
    font-size: 42px;
    margin-bottom: 50px;
}

.projects-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-card {
    display: block;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--accent);
}

.project-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.project-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.project-card:hover .project-title {
    color: var(--accent);
}

.project-card a {
    color: inherit;
    font-weight: 500;
}

.project-subtitle {
    font-size: 0.875rem;
    color: var(--accent);
    margin-top: 0.25rem;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 1rem;
    line-height: 1.7;
}

/* Icons */
.arrow-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.hover-arrow {
    opacity: 0;
    transform: translate(4px, -4px);
    transition: all 0.2s ease;
}

.project-card:hover .hover-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

.external-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* Tech Tags */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.25rem;
    background-color: var(--tag-bg);
    color: var(--text-muted);
}

.tech-tag.accent {
    background-color: var(--accent-bg);
    color: var(--accent);
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
}

.tech-tag-more {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}
