/* 项目容器样式 - 网格布局 */
.project-container {
    max-width: 80%;
    margin: 0 auto;
    padding: 1rem;
    padding-bottom: 5rem;
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    color: #ffffff;
    line-height: 1.8;
}

@media (min-width: 769px) {
    .project-container {
        max-width: 90%;
        gap: 2.5rem;
        padding: 2rem;
    }
    
    .project-item {
        margin: 1rem;
        min-height: 16vh;
        height: auto;
    }
}





/* 单个项目卡片样式 */
.project-container {
    padding-bottom: 12rem;
}

/* 底部提示文本样式 */
.info-container {
    margin-top: -3rem;
    padding-bottom: 6rem;
}

.info-text {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin: 2rem auto;
    max-width: 80%;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .info-container {
        padding-bottom: 4rem;
    }
    
    .info-text {
        font-size: 0.8rem;
        margin-bottom: 6rem;
        padding: 0 1rem;
    }
}

.project-item {
    margin: 0.8rem 0.8rem 13rem 0.8rem;
}

@media (max-width: 768px) {
    .project-container {
        padding-bottom: 10rem;
    }
    
    .project-item {
        margin-bottom: 5rem;
        gap: 2rem;
    }
}
@media (max-width: 768px) {
    .project-container {
        grid-template-columns: 1fr;
        font-size: 0.95rem;
        max-width: 95%;
    }
    
    .project-item {
        flex-direction: column;
        margin: 0.5rem;
        gap: 1.2rem;
    }
}

.project-item {
    padding: 2rem;
    margin: 0.8rem 0.8rem 1.5rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(179, 224, 255, 0.1));
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    min-height: 100px; /* 优化移动端高度 */
    padding: 1rem 0.8rem;
    height: auto;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.project-item:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

/* 项目媒体容器样式 - 图片展示区域 */
.project-media {
    flex: 1;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-media:hover img {
    transform: scale(1.03);
}

/* 项目内容区域样式 - 文字描述 */
.project-content {
    flex: 1;
    color: #ffffff !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    font-weight: 500;
    font-size: 0.8rem;
    text-shadow: 0 0 1px rgba(0,0,0,0.3);
    -webkit-font-smoothing: antialiased;
}
