:root {
    --bg-color: #0f172a;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #5eead4;
    --card-hover: rgba(255, 255, 255, 0.05);
    --mouse-x: 50vw;
    --mouse-y: 50vh;
}

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

html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--bg-color);
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.sticky-header {
    display: none;
}

.glow-pointer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
            600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(29, 78, 216, 0.10),
            rgba(29, 78, 216, 0)
    );
}

h1, h2, h3 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 1.25rem; font-weight: 500;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

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

strong {
    color: var(--text-main);
}

.layout {
    position: relative;
    z-index: 10;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.left-column {
    width: 50%;
    height: 100vh;
    position: sticky;
    top: 0;
    padding: 96px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.right-column {
    width: 50%;
    padding: 96px 0;
}

.section {
    margin-bottom: 96px;
    scroll-margin-top: 96px;
}

.nav-menu {
    margin-top: 4rem;
}

.nav-menu ul {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: var(--text-muted);
}

.nav-indicator {
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: var(--text-muted);
    margin-right: 15px;
    transition: width 0.3s, background-color 0.3s;
}

.nav-link.active, .nav-link:hover {
    color: var(--text-main);
}

.nav-link.active .nav-indicator, .nav-link:hover .nav-indicator {
    width: 60px;
    background-color: var(--text-main);
}

.contact-section {
    margin-bottom: 1.5rem;
}

.contact-section p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-section ul {
    list-style: none;
}

.contact-section li {
    margin-bottom: 0.25rem
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: color 0.2s ease;
    text-decoration: none;
}

.contact-link svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.contact-link:hover {
    color: var(--accent);
}

.contact-link:hover span {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-link:hover svg {
    transform: translateY(-1px);
}

.lang-toggle {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    transition: transform 0.2s ease;
}

.lang-toggle {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 1.5rem;
}

.lang-icon {
    flex-shrink: 0;
    transition: transform 0.4s ease, color 0.2s ease;
    margin-right: 2px;
}

.lang-toggle:hover .lang-icon {
    color: var(--text-main);
}

.lang-text {
    display: inline-block;
    transition: color 0.2s ease;
}

.lang-text:hover {
    color: var(--text-main);
    transform: translateY(-2px);
}

.lang-text.active {
    color:var(--accent)
}

.lang-separator {
    font-weight: 400;
    opacity: 0.4;
    cursor: default;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    color: var(--text-muted);
    display: block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-links a:hover {
    color: var(--text-main);
    transform: translateY(-2px);
}


.card {
    display: flex;
    padding: 1.5rem;
    border-radius: 8px;
    transition: background-color 0.3s, opacity 0.3s, box-shadow 0.3s;
    margin-bottom: 1rem;
    cursor: pointer;
}

.section:has(.card:hover) .card:not(:hover) {
    opacity: 0.4;
}

.card:hover {
    background-color: var(--card-hover);
    box-shadow: inset 0 1px 0 0 rgba(148, 163, 184, 0.1);
}

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

.card h3 svg {
    transition: transform 0.2s ease-in-out;
}

.card:hover h3 svg{
    transform: translate(2px, -2px);
}

.card-timeline {
    width: 25%;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.card-timeline img {
    width: 120px;
    height: 85px;
    object-fit: cover;
    object-position: top;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-content {
    width: 75%;
}

.role-progression {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
}

.role-item {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.role-item::before {
    content: "▹";
    color: var(--accent);
    margin-right: 0.5rem;
    font-size: 1rem;
}
.tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
    gap: 8px;
}

.tag {
    background-color: rgba(45, 212, 191, 0.1);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.resume-link-container {
    margin-top: 2rem;
    padding-left: 1.5rem;
}

.view-resume-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
    transition: color 0.2s ease;
}

.view-resume-link:hover {
    color: var(--accent);
}

.view-resume-link:hover span {
    text-decoration: underline;
    text-underline-offset: 4px;
}


.view-resume-link svg {
    transition: transform 0.2s ease-in-out;

}
.view-resume-link:hover svg{
    transform: translate(2px, -2px);
}

.text-link {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.site-footer {
    margin-top: 5rem;
    padding-bottom: 2rem;
    font-size: 0.85rem;
    color: #8892b0;
    text-align: left;
}

.site-footer a {
    color: #ccd6f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #64ffda;
    text-decoration: underline;
}

@media (max-width: 1024px) {
     .layout {
         flex-direction: column;
     }

    .left-column {
        width: 100%;
        height: auto;
        position: static;
        padding: 48px 0;
    }

    .right-column {
        width: 100%;
        padding: 0 0 48px 0;
    }

    .nav-menu {
        display: none;
    }

    .card {
        flex-direction: column;
        padding: 1rem 0;
    }

    .card:hover {
        background-color: transparent;
    }

    .card-timeline {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .card-content {
        width: 100%;
    }

    .sticky-header {
        display: block;
        position: sticky;
        top: 0;
        z-index: 20;

        background-color: rgba(15, 23, 42, 0.85);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);

        padding: 1rem 24px;
        margin: 0 -24px 1.5rem -24px;
    }

    .sticky-header h2 {
        font-size: 0.85rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1rem;
        color: var(--text-main);
        margin: 0;
    }

    .glow-pointer {
        display: none;
    }
}

@media (hover: none) {
    .section:has(.card:hover) .card:not(:hover) {
        opacity: 1;
    }

    .card:hover {
        background-color: transparent;
        box-shadow: none;
    }

    .card h3 svg, .view-resume-link svg {
        transform: none;
    }
}