/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0d0d0d;
    color: white;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.container {
    display: flex;
    min-height: 100vh;
    gap: 0;
    padding: 0rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* Sidebar styles */
.sidebar {
    display: flex;
    flex-direction: column;
    width: 352px;
    height: 100vh;
    min-height: 520px;
    padding: 1rem;
    gap: 2rem;
    position: sticky;
    top: 0;
    overflow: hidden;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    flex: 1;
    overflow-y: auto;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.avatar {
    position: relative;
    width: 32px;
    height: 32px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    opacity: 0;
}

.name {
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: -0.4px;
}

.hero-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.title-description-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title {
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 1.1;
    letter-spacing: -3px;
    margin-top: -1px;
}

.description {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.875rem;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 24px;
    background-color: white;
    border: none;
    border-radius: 1rem;
    color: #171717;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: -0.3px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: 'Inter', sans-serif;
    width: fit-content;
}

.cta-button:hover {
    background-color: #f3f4f6;
}

/* Footer styles */
.footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}



.footer-text {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.copyright {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    letter-spacing: -0.4px;
    line-height: 1;
}

/* Main content styles */
.main-content {
    flex: 1;
    padding: 16px;
}

.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.portfolio-item {
    background-color: #171717;
    border-radius: 1.5rem;
    padding: 0.5rem;
    width: 100%;
}

.portfolio-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
    background-color: #1a1a1a;
    transition: opacity 0.3s ease;
    vertical-align: top;
    display: block;
}

.portfolio-image[loading="lazy"] {
    opacity: 0;
}

.portfolio-image[loading="lazy"].loaded {
    opacity: 1;
}

/* Responsive design */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .sidebar {
        width: 352px;
        position: static;
        height: auto;
        min-height: auto;
        align-self: center;
    }
    
    .title {
        text-align: center;
        font-size: 2.5rem;
    }
    
    .description {
        text-align: center;
    }
    
    .cta-button {
        align-self: center;
    }
    
    .profile-section {
        justify-content: center;
    }
    
    .portfolio-item {
        border-radius: 20px;
    }
    .footer {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.5rem;
    }
    
    .sidebar {
        width: 352px;
        padding: 1rem 0.5rem;
        height: auto;
        min-height: auto;
        align-self: center;
    }
    
    .main-content {
        padding: 8px;
    }
    
    .title {
        font-size: 2.5rem !important;
        letter-spacing: -3px;
    }
    
    .description {
        font-size: 0.875rem !important;
    }
    
    .cta-button {
        font-size: 1rem !important;
    }
    
    .portfolio-grid {
        gap: 0.25rem;
    }
    
    .portfolio-item {
        padding: 0.25rem;
        border-radius: 20px;
    }
    
    .footer {
        display: none;
    }
}
