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

:root {
    --rosewater: #f5e0dc;
    --flamingo: #f2cdcd;
    --pink: #f5c2e7;
    --mauve: #cba6f7;
    --red: #f38ba8;
    --maroon: #eba0ac;
    --peach: #fab387;
    --yellow: #f9e2af;
    --green: #a6e3a1;
    --teal: #94e2d5;
    --sky: #89dceb;
    --sapphire: #74c7ec;
    --blue: #89b4fa;
    --lavender: #b4befe;
    --text: #cdd6f4;
    --subtext-1: #bac2de;
    --subtext-0: #a6adc8;
    --overlay-2: #9399b2;
    --overlay-1: #7f849c;
    --overlay-0: #6c7086;
    --surface-2: #585b70;
    --surface-1: #45475a;
    --surface-0: #313244;
    --base: #1e1e2e;
    --mantle: #181825;
    --crust: #11111b;
    --border-color: #585b70;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--crust);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

main {
    margin-top: 0;
}

.sidebar-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.sidebar-nav-left {
    left: 2rem;
}

.sidebar-nav-right {
    right: 2rem;
}

.nav-indicators {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-dot {
    position: relative;
    width: 12px;
    height: 12px;
    background-color: var(--surface-1);
    border: 2px solid var(--overlay-0);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-dot:hover {
    background-color: var(--overlay-1);
    border-color: var(--lavender);
    transform: scale(1.2);
}

.nav-dot.active {
    background-color: var(--lavender);
    border-color: var(--lavender);
    transform: scale(1.3);
    box-shadow: 0 0 5px var(--lavender);
}

.scroll-indicator {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.scroll-indicator.visible {
    opacity: 0.7;
    pointer-events: auto;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
    color: var(--lavender);
}

.scroll-up {
    top: 2rem;
}

.scroll-down {
    bottom: 2rem;
}

.section {
    min-height: 100vh;
    padding: 5rem 2rem;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.about-section {
    padding-top: 8rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.name {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.bio {
    font-size: 1.1rem;
    color: var(--subtext-0);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.bio-secondary {
    font-size: 1rem;
    color: var(--subtext-0);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.linktree-link {
    display: inline-block;
    font-size: 1rem;
    color: var(--lavender);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--lavender);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.linktree-link:hover {
    background-color: var(--lavender);
    color: var(--base);
    transform: translateY(-2px);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid var(--text);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.image-placeholder:hover {
    transform: scale(1.05);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--text);
}

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

.project-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
    background-color: var(--base);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.project-card:hover {
    border-color: var(--text);
}

.project-card:visited {
    color: inherit;
}

.project-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project {
    font-size: 1.4rem;
    margin-bottom: 0.15rem;
}

.project-title {
    color: var(--lavender);
}

.project-separator {
    background: linear-gradient(to right, var(--lavender), var(--mauve));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-description {
    color: var(--mauve);
}

.experience-grid {
    display: grid;
    gap: 2rem;
}

.experience-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
    background-color: var(--base);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    align-items: center;
}

.experience-card:hover {
    border-color: var(--text);
}

.experience-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.experience {
    font-size: 1.4rem;
    margin-bottom: 0.15rem;
}

.experience-title {
    color: var(--lavender);
}

.experience-separator {
    background: linear-gradient(to right, var(--lavender), var(--mauve));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.experience-description {
    color: var(--mauve);
}

.education-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.education-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
    background-color: var(--base);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    align-items: center;
    transition: border-color 0.3s ease;
}

.education-item:hover {
    border-color: var(--text);
}

.education-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
}

.education-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.education-content {
    display: flex;
    flex-direction: column;
}

.degree {
    font-size: 1.4rem;
    margin-bottom: 0.15rem;
}

.degree-institution {
    color: var(--lavender);
}

.degree-separator {
    background: linear-gradient(to right, var(--lavender), var(--mauve));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.degree-program {
    color: var(--mauve);
}

.education-degree-type {
    color: var(--sky);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.education-duration {
    color: var(--subtext-0);
    font-size: 0.9rem;
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .name {
        font-size: 3rem;
    }

    .about-image {
        order: -1;
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .project-card {
        grid-template-columns: 1fr;
    }

    .project-image {
        width: 100%;
        height: 250px;
    }

    .experience-card {
        grid-template-columns: 1fr;
    }

    .experience-image {
        width: 100%;
        height: 250px;
    }

    .education-item {
        grid-template-columns: 1fr;
    }

    .education-image {
        width: 100%;
        height: 250px;
    }

    .sidebar-nav-left {
        left: 1rem;
    }

    .sidebar-nav-right {
        right: 1rem;
    }
}

@media (max-width: 600px) {
    .name {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
