* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background-color: #111111;
    padding: 32px 24px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid #222222;
    z-index: 10;
}

.profile {
    text-align: left;
    margin-bottom: 24px;
}

.profile-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 12px;
    object-fit: cover;
}

.profile h1 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex-shrink: 0;
}

.pronouns {
    color: #888888;
    font-size: 13px;
}

.sidebar-section {
    margin-bottom: 24px;
}

.sidebar-section h3 {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #666666;
    margin-bottom: 10px;
    font-weight: 600;
}

.sidebar-section p {
    font-size: 13px;
    color: #cccccc;
    line-height: 1.5;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cccccc;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.contact-link:hover {
    color: #ffffff;
}

.contact-link svg {
    flex-shrink: 0;
    opacity: 0.7;
    width: 14px;
    height: 14px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-badge {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 400;
    border: 1px solid #2a2a2a;
    display: inline-block;
}

.languages {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.language-badge {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 400;
    border: 1px solid #2a2a2a;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.flag {
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #222222;
}

.social-links a {
    color: #666666;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: #ffffff;
}

.social-links svg {
    width: 16px;
    height: 16px;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 14px 40px;
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #222222;
    z-index: 100;
}

.main-nav a {
    color: #888888;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #ffffff;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    padding: 70px 40px 40px;
    flex: 1;
    max-width: 1100px;
}

.section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #666666;
    margin-bottom: 20px;
    font-weight: 600;
}

.intro-text {
    font-size: 16px;
    line-height: 1.7;
    color: #ffffff;
    max-width: 800px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.project-card {
    display: flex;
    flex-direction: column;
    background-color: #0a0a0a;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease;
    border: 1px solid #1a1a1a;
}

.project-card:hover {
    transform: translateY(-2px);
}

.project-image {
    width: 100%;
    height: 160px;
    border-radius: 14px 14px 0 0;
    position: relative;
    overflow: hidden;
}

.project-havoc {
    background: radial-gradient(ellipse at top right, #525252, #a3a3a3, #e5e5e5);
}

.project-codetto {
    background: radial-gradient(ellipse at top right, #525252, #a3a3a3, #e5e5e5);
}

.project-info {
    display: flex;
    gap: 12px;
    padding: 16px;
    background-color: #0a0a0a;
}

.project-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-icon svg {
    width: 20px;
    height: 20px;
    stroke: rgba(0, 0, 0, 0.7);
}

.project-details {
    flex: 1;
}

.project-details h3 {
    font-size: 15px;
    margin-bottom: 6px;
    color: #ffffff;
    font-weight: 600;
}

.project-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-date,
.project-role,
.project-category {
    font-size: 11px;
    color: #888888;
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-date svg,
.project-role svg,
.project-category svg {
    width: 11px;
    height: 11px;
    opacity: 0.7;
    flex-shrink: 0;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.timeline-item {
    display: flex;
    gap: 16px;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    background-color: #1a1a1a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #2a2a2a;
}

.timeline-icon svg {
    width: 20px;
    height: 20px;
    color: #888888;
}

.timeline-content h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: #ffffff;
    font-weight: 600;
}

.timeline-date {
    font-size: 13px;
    color: #888888;
    margin-bottom: 4px;
}

.timeline-company {
    font-size: 13px;
    color: #aaaaaa;
    margin-bottom: 10px;
}

.timeline-description {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.6;
}

/* Certifications */
.certifications {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cert-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cert-icon {
    width: 40px;
    height: 40px;
    background-color: #1a1a1a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #2a2a2a;
}

.cert-icon svg {
    width: 20px;
    height: 20px;
    color: #888888;
}

.cert-item h3 {
    font-size: 15px;
    margin-bottom: 4px;
    color: #ffffff;
    font-weight: 600;
}

.cert-item p {
    font-size: 13px;
    color: #888888;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background-color: #111111;
    border: 1px solid #222222;
    border-radius: 16px;
    padding: 32px;
}

.stars {
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #cccccc;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.testimonial-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 15px;
    margin-bottom: 2px;
    color: #ffffff;
    font-weight: 600;
}

.testimonial-info p {
    font-size: 12px;
    color: #888888;
    line-height: 1.4;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.contact-card {
    background-color: #111111;
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s;
}

.contact-card:hover {
    background-color: #1a1a1a;
    border-color: #333333;
}

.contact-label {
    font-size: 12px;
    color: #888888;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 16px;
    color: #ffffff;
}

/* Footer */
.footer {
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid #222222;
    text-align: center;
    color: #666666;
    font-size: 14px;
}

/* Scrollbar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #111111;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #444444;
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        width: 260px;
    }
    
    .main-nav {
        left: 260px;
    }
    
    .main-content {
        margin-left: 260px;
        padding: 80px 32px 32px;
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #222222;
    }
    
    .main-nav {
        left: 0;
        padding: 12px 16px;
        gap: 16px;
        overflow-x: auto;
    }
    
    .main-content {
        margin-left: 0;
        padding: 80px 16px 32px;
    }
    
    .projects-grid,
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
