:root {
    --bg-dark: #0A0A0C;
    --bg-panel: #121215;
    --bg-card: #1C1C21;
    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;
    --accent: #60A5FA; /* Electric blue */
    --accent-hover: #93C5FD;
    --border: #2D3748;
}

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

body, html {
    width: 100vw;
    height: 100vh;
    overflow: hidden; /* Strict NO SCROLL */
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

#app {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 500;
    line-height: 1.2;
}

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

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

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

.highlight {
    color: var(--accent);
    font-weight: 500;
}

/* Sidebar */
.sidebar {
    width: 320px;
    height: 100%;
    background-color: var(--bg-panel);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 3rem 2rem;
    z-index: 10;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.profile-section {
    margin-bottom: 3rem;
}

.pfp-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border);
}

.pfp {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-section h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.title-highlight {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Navigation */
.nav-links {
    list-style: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    group: nav;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.nav-line {
    width: 30px;
    height: 1px;
    background-color: var(--border);
    margin-right: 15px;
    transition: all 0.3s ease;
}

.nav-text {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-item:hover .nav-line {
    width: 50px;
    background-color: var(--text-primary);
}

.nav-item:hover .nav-text {
    color: var(--text-primary);
}

.nav-item.active .nav-line {
    width: 60px;
    background-color: var(--accent);
}

.nav-item.active .nav-text {
    color: var(--text-primary);
    font-weight: 500;
}

/* Contact Links */
.contact-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.resume-btn {
    width: auto;
    padding: 0 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.contact-icon:hover {
    background-color: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

/* Main Content Area */
.main-content {
    flex: 1;
    height: 100vh;
    position: relative;
    overflow: hidden; /* Strict NO SCROLL globally */
}

/* Content Sections */
.content-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 4rem 5rem;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* Internal scrolling allowed ONLY if it overflows the 100vh bounds */
    overflow-y: auto;
}

.content-section.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hide scrollbar for sleekness if it does scroll */
.content-section::-webkit-scrollbar {
    width: 8px;
}
.content-section::-webkit-scrollbar-track {
    background: transparent;
}
.content-section::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: 4px;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 3rem;
    letter-spacing: -1px;
}

.content-body {
    max-width: 800px;
}

.lead {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Skills */
.skills-container {
    margin-top: 3rem;
}

.skills-container h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background-color: var(--bg-card);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 1px solid var(--border);
}

/* Cards (Experience & Projects) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.featured-card {
    border-color: var(--accent);
    background-color: rgba(96, 165, 250, 0.05);
}

.card-header {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-content: center;
    column-gap: 1rem;
    margin-bottom: 1rem;
}

.mini-logo {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.card-header h3 {
    grid-column: 2;
    font-size: 1.2rem;
    color: var(--text-primary);
    align-self: end;
    line-height: 1.1;
    margin-bottom: 0.1rem;
}

.card-header h3:last-child {
    grid-row: 1 / span 2;
    align-self: center;
    margin-bottom: 0;
}

.card-header h4 {
    grid-column: 2;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    align-self: start;
    line-height: 1.1;
}

.date {
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.desc {
    font-size: 0.95rem;
    margin: 0;
}

/* Interactive Cards */
.interactive-card {
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.interactive-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.interactive-card p {
    color: var(--text-secondary);
}

.view-link {
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

/* Education Layout */
.center-vertically {
    display: flex;
    height: 60%;
    align-items: center;
}

.edu-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.edu-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.edu-logo-wrapper {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.edu-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.edu-info h3 {
    font-size: 1.4rem;
}

.edu-info h4 {
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.coursework {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}
