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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #e8f4fd);
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 4rem 2rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.1rem;
    color: #718096;
    font-weight: 300;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #4a5568;
    margin-bottom: 1.5rem;
    border-left: 3px solid #6faaff;
    padding-left: 1rem;
}

.intro p {
    font-size: 1.1rem;
    color: #2d3748;
    background: rgba(255, 255, 255, 0.3);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.4);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease;
}

.skill-card:hover {
    transform: translateY(-2px);
}

.skill-card h3 {
    color: #4a5568;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.skill-card p {
    color: #718096;
    font-size: 0.95rem;
}

.projects-preview {
    background: rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.projects-preview p {
    color: #4a5568;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-item {
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    border-left: 4px solid #ffd93d;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-item:hover {
    background: rgba(255, 255, 255, 0.4);
}

.project-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-details {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.project-item.expanded .project-summary {
    display: none;
}

.project-item.expanded {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background: rgba(232, 244, 253, 0.95);
    overflow-y: auto;
    padding: 2rem;
    box-sizing: border-box;
}

.project-item.expanded .project-details {
    display: block !important;
    visibility: visible;
    opacity: 1;
    height: auto;
    overflow: visible;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.project-item.hidden {
    display: none;
}

.project-details h3 {
    color: #4a5568;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.project-details p {
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-details ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #2d3748;
}

.project-details li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.project-details strong {
    color: #4a5568;
    font-weight: 600;
}

.project-details a {
    color: #3182ce;
    text-decoration: none;
}

.project-details a:hover {
    text-decoration: underline;
}

.project-name {
    font-weight: 500;
    color: #2d3748;
}

.project-tech {
    font-size: 0.9rem;
    color: #718096;
    font-family: 'SF Mono', Monaco, monospace;
}

footer {
    text-align: center;
    padding: 2rem;
    color: #718096;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    main {
        padding: 2rem 1rem;
    }
    
    .project-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}
