:root {
    --background: #f5f5f5;
    --text: #333333;
    --card-bg: #ffffff;
    --border: #e5e5e5;
    --primary: #333333;
}

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

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    color: var(--text);
    min-height: 100vh;
    padding: 2rem;
    background: linear-gradient(
        -45deg,
        #f5f5f5,
        #f8f8f8,
        #f3f3f3,
        #f6f6f6
    );
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zM22.343 0L13.857 8.485 15.272 9.9l7.9-7.9h-.83zm5.657 0L19.514 8.485 20.93 9.9l8.485-8.485h-1.415zM32.372 0L22.343 10.03 23.758 11.444l10.03-10.03h-1.415zm-5.657 0L18.229 8.485 19.644 9.9l8.485-8.485h-1.415zM38.03 0L29.544 8.485 30.96 9.9l8.485-8.485h-1.414zm-5.657 0L23.887 8.485l1.415 1.415L34.373 0h-2.zM43.687 0L35.2 8.485l1.415 1.415L45.1 1.415 43.687 0zm-5.657 0L29.544 8.485l1.415 1.415L39.53 1.415 38.03 0zM49.344 0L40.858 8.485l1.415 1.415L51.3 1.415 49.344 0zm-5.657 0L35.2 8.485l1.415 1.415L45.1 1.415 43.687 0zM54.627 0L46.514 8.113l1.415 1.415L56.042 1.415 54.627 0zM5.373 0L13.486 8.113l-1.415 1.415L3.958 1.415 5.373 0z' fill='%23000000' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.6;
}

@keyframes patternFade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.3; }
}

main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Profile Section */
.profile {
    position: sticky;
    top: 2rem;
    text-align: center;
    padding-top: 1rem;
}

.profile-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.profile h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.location {
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.bio {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 320px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #555;
    font-size: 0.95rem;
}

.info-item i {
    width: 1.25rem;
    color: #666;
    text-align: center;
}

.info-item span {
    line-height: 1.4;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-link {
    color: var(--text);
    text-decoration: none;
    font-size: 1.5rem;
    padding: 0.75rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--card-bg);
    border: 1px solid var(--border);
}

.social-link:hover {
    transform: translateY(-2px);
    background: var(--text);
    color: var(--card-bg);
    border-color: var(--text);
}

/* Projects Section */
.projects-section {
    padding-top: 1rem;
}

/* Main Project */
.main-project {
    margin-bottom: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text);
    display: block;
}

.main-project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.main-project-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.main-project-icon img.project-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.main-project-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
}

.main-project-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.main-project-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--background);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text);
    margin-right: 0.5rem;
}

/* Project Grid */
.project-grid {
    display: grid;
    gap: 1rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.project-card:hover, .main-project:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.project-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.project-icon img.project-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.project-content h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.project-content p {
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 900px) {
    main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile {
        position: relative;
        top: 0;
        height: auto;
        max-width: 500px;
        margin: 0 auto;
        padding: 2rem 0;
    }
    
    .social-links {
        margin-bottom: 2rem;
    }
}

@media (max-width: 640px) {
    body {
        padding: 1rem;
    }

    .profile-image {
        width: 140px;
        height: 140px;
    }

    .profile h1 {
        font-size: 1.75rem;
    }

    .bio {
        font-size: 1rem;
    }

    .main-project-title {
        font-size: 1.25rem;
    }

    .main-project-description {
        font-size: 1rem;
    }
} 