/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #e5e5e5;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Container Layout */
.container {
    display: flex;
    min-height: 100vh;
}

/* Left Panel */
.left-panel {
    width: 320px;
    background: #0f0f0f;
    border-right: 1px solid rgba(128, 128, 128, 0.2);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    z-index: 100;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 50px;
}

.profile-image {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(128, 128, 128, 0.3);
    transition: all 0.3s ease;
}

.profile-image:hover {
    border-color: #888888;
    box-shadow: 0 0 30px rgba(128, 128, 128, 0.2);
    transform: translateY(-2px);
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
}

.profile-section .subtitle {
    font-size: 14px;
    color: #888888;
    font-weight: 500;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    margin-bottom: 30px;
}

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

.sidebar-nav li {
    margin-bottom: 8px;
}

.nav-item {
    display: block;
    padding: 12px 20px;
    color: #888888;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Orbitron', monospace;
    letter-spacing: 1px;
}

.nav-item::before {
    content: '>';
    margin-right: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-item:hover {
    background: rgba(128, 128, 128, 0.05);
    color: #cccccc;
}

.nav-item:hover::before {
    opacity: 1;
}

.nav-item.active {
    background: rgba(128, 128, 128, 0.1);
    color: #cccccc;
}

.nav-item.active::before {
    opacity: 1;
}

/* Social Links */
.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
}

.sidebar-social a {
    color: #888888;
    font-size: 20px;
    transition: all 0.3s ease;
}

.sidebar-social a:hover {
    color: #cccccc;
    transform: translateY(-3px) scale(1.1);
}

/* Right Panel */
.right-panel {
    margin-left: 320px;
    width: calc(100% - 320px);
    min-height: 100vh;
}

.content-area {
    max-width: 900px;
    padding: 60px 80px;
}

/* Sections */
section {
    padding: 60px 0;
}

section:first-child {
    padding-top: 0;
}

section h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #ffffff;
    letter-spacing: -0.02em;
    font-family: 'Orbitron', monospace;
}

/* Typewriter Effect */
.typewriter {
    display: inline-block;
    white-space: nowrap;
}

.cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
    color: #888888;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 25px;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
}

section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #cccccc;
    margin-bottom: 8px;
    font-family: 'Orbitron', monospace;
}

section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #cccccc;
    margin-bottom: 12px;
}

section p {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* About Section */
.intro-text {
    margin-bottom: 40px;
}

.intro-text p {
    color: #888888;
}

.email-contact {
    margin-top: 30px;
}

.email-contact a {
    color: #888888;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.email-contact a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #888888;
    transition: width 0.3s ease;
}

.email-contact a:hover::after {
    width: 100%;
}

.email-contact a:hover {
    color: #cccccc;
}

/* Education Section */
.education-section {
    margin-top: 50px;
}

.education-item {
    padding: 30px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.education-degree {
    font-size: 16px;
    color: #888888;
    margin-bottom: 6px;
}

.education-date {
    font-size: 14px;
    color: #888888;
    margin-bottom: 20px;
    font-weight: 500;
}

.coursework {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
}

.coursework-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.coursework-grid span {
    font-size: 14px;
    color: #999999;
    padding: 8px 12px;
    background: rgba(128, 128, 128, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: default;
    border: 1px solid rgba(128, 128, 128, 0.2);
}

.coursework-grid span:hover {
    background: rgba(128, 128, 128, 0.15);
    color: #cccccc;
    transform: translateY(-2px);
}

/* Timeline (Experience & Projects) */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(128, 128, 128, 0.2);
}

.timeline-item {
    position: relative;
    padding-bottom: 50px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -35px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: #888888;
    border-radius: 50%;
    border: 2px solid #0a0a0a;
    box-shadow: 0 0 0 4px rgba(136, 136, 136, 0.2);
}

.timeline-content {
    padding-left: 0;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(5px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 20px;
}

.timeline-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif;
}

.timeline-header h3 i {
    color: #888888;
    margin-right: 10px;
    font-size: 18px;
}

.company,
.project-subtitle {
    font-size: 15px;
    color: #888888;
    margin-bottom: 0;
    font-weight: 500;
}

.date {
    font-size: 14px;
    color: #888888;
    white-space: nowrap;
    flex-shrink: 0;
}

.project-description {
    font-size: 15px;
    color: #999999;
    line-height: 1.7;
    margin-bottom: 15px;
}

.description {
    margin: 15px 0 20px 0;
    list-style: none;
    padding-left: 0;
}

.description li {
    color: #999999;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.description li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #888888;
    font-weight: bold;
    font-size: 18px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tech-tags span {
    font-size: 13px;
    padding: 6px 12px;
    background: rgba(128, 128, 128, 0.1);
    color: #999999;
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tags span:hover {
    background: rgba(128, 128, 128, 0.15);
    color: #cccccc;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-content {
    max-width: 600px;
}

.contact-methods {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.contact-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(128, 128, 128, 0.1);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.contact-item a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: rgba(128, 128, 128, 0.2);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.contact-item a:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.contact-item a i {
    font-size: 22px;
    color: #888888;
    z-index: 1;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    border-color: #888888;
    transform: translateY(-3px);
}

.contact-item a:hover i {
    color: #cccccc;
    transform: scale(1.1);
}

.contact-item label {
    font-size: 14px;
    color: #888888;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .left-panel {
        width: 100%;
        height: auto;
        position: relative;
        padding: 30px 20px;
    }

    .profile-section {
        margin-bottom: 30px;
    }

    .profile-image {
        max-width: 200px;
    }

    .sidebar-nav {
        margin-bottom: 20px;
    }

    .right-panel {
        margin-left: 0;
        width: 100%;
    }

    .content-area {
        padding: 40px 20px;
    }

    section h1 {
        font-size: 32px;
    }

    .timeline-header {
        flex-direction: column;
        gap: 10px;
    }

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

    .contact-methods {
        justify-content: center;
    }
}
