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

:root {
    font-family: Inter, sans-serif;
    font-feature-settings: 'liga' 1, 'calt' 1, 'dlig' 1, "ss07" 1, "cv10" 1, "cv08" 1;
}

@supports (font-variation-settings: normal) {
    :root { 
        font-family: InterVariable, sans-serif;
    }
}

body {
    background: #FFFFFF;
    color: #000000;
    line-height: 1.5;
    font-size: 16px;
    height: 100vh;
    overflow: hidden;
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 3rem 4rem;
}

.header {
    margin-bottom: 1rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

h1 {
    font-size: 4rem;
    font-weight: 660;
    letter-spacing: -0.02em;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-size: 0.95rem;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav a:hover {
    color: #0000FF;
}

.nav a#projectsToggle {
    position: relative;
}

.nav a#projectsToggle:hover {
    color: #0000FF;
}

.main-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.default-view,
.projects-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.default-view {
    transform: translateX(0);
    opacity: 1;
}

.projects-view {
    transform: translateX(100%);
    opacity: 0;
}

.projects-view.active {
    transform: translateX(0);
    opacity: 1;
}

.default-view.hidden {
    transform: translateX(-100%);
    opacity: 0;
}

.intro-section {
    background: #0000FF;
    color: #FFFFFF;
    padding: 2.5rem;
}

.intro-text {
    font-size: 1.5rem;
    line-height: 1.5;
    max-width: 900px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    flex: 1;
}

.info-block {
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.info-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.company {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #0000FF;
}

.info-block p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
}

.info-block p a,
.info-block p strong a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-block p a:hover,
.info-block p strong a:hover {
    color: #0000FF;
}

.skills-text {
    font-size: 0.9rem;
    line-height: 1.7;
}

.skills-text strong {
    font-weight: 600;
    color: #000000;
}

.projects-header {
    background: #0000FF;
    color: #FFFFFF;
    padding: 2rem 2.5rem;
}

.projects-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.projects-intro {
    font-size: 1.1rem;
    line-height: 1.4;
    opacity: 0.95;
}

.projects-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-top: 1rem;
}

.projects-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.projects-scroll::-webkit-scrollbar {
    height: 6px;
}

.projects-scroll::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.projects-scroll::-webkit-scrollbar-thumb {
    background: #0000FF;
    border-radius: 3px;
}

.projects-scroll::-webkit-scrollbar-thumb:hover {
    background: #0000CC;
}

.project-card {
    min-width: 350px;
    max-width: 350px;
    height: fit-content;
    border: 1px solid #e0e0e0;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    background: #FFFFFF;
    scroll-snap-align: start;
}

.project-card:hover {
    border-color: #0000FF;
    box-shadow: 0 4px 16px rgba(0, 0, 255, 0.1);
}

.project-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-bottom: 0.75rem;
    opacity: 0.4;
}

.project-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.project-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333333;
    margin-bottom: 1rem;
}

.project-link {
    font-size: 0.85rem;
    color: #0000FF;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
    margin-top: auto;
}

.project-link:hover {
    opacity: 0.6;
}

@media (max-width: 1400px) {
    .container {
        padding: 2.5rem 3rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .intro-text {
        font-size: 1.3rem;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .project-card {
        min-width: 300px;
        max-width: 300px;
        padding: 1.5rem;
    }
    
    .project-card h3 {
        font-size: 1.2rem;
    }
    
    .project-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 900px) {
    body {
        height: auto;
        overflow-y: auto;
    }

    .container {
        height: auto;
        padding: 2rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .intro-text,
    .projects-intro {
        font-size: 1.1rem;
    }

    .default-view,
    .projects-view {
        position: relative;
        overflow-y: auto;
    }

    .project-card {
        min-width: 280px;
        max-width: 280px;
    }
}