@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

:root {
    --primary: #1d1d1f;
    --header-bg: rgba(44, 44, 46, 0.55);
    --accent: #00a0e9;
    --text: #1d1d1f;
    --text-light: #86868b;
    --bg-light: #fbfbfd;
    --spacing: clamp(4rem, 8vw, 8rem);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

.header {
    background: var(--header-bg);
    color: white;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.header-logo {
    width: 40px;
    height: auto;
    transition: transform 0.3s ease;
}

.header-logo-lab7 {
    width: 110px;
}

.header-spacer {
    height: 80px;
}

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

.year-section {
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.year-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: #fff;
    background: linear-gradient(90deg, var(--header-bg) 0%, rgba(44, 44, 46, 0.1) 100%);
    padding: 0.5rem 2rem;
    border-radius: 4px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.project-image-container {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.project-author {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.project-competition {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.project-award {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 500;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 1rem;
    }

    .year-title {
        font-size: 1.4rem;
        padding: 0.75rem 1.5rem;
    }
}

.no-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-light: #1d1d1f;
        --text: #f5f5f7;
        --text-light: #a1a1a6;
    }

    .project-card {
        background: rgba(40, 40, 40, 0.7);
    }

    .no-image-placeholder {
        background-color: #2c2c2e;
    }
}