/* 项目详情页样式 */

.project-hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: flex-end;
    margin-top: 70px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 60px 20px 40px;
    color: var(--bg-white);
}

.project-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.project-subtitle {
    font-size: 20px;
    opacity: 0.9;
}

.project-overview {
    padding: 80px 0;
    background: var(--bg-white);
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.overview-content h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.overview-content p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 15px;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.project-highlights {
    padding: 80px 0;
    background: var(--bg-light);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.highlight-item {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.highlight-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.highlight-item h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.highlight-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.project-gallery {
    padding: 80px 0;
    background: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-testimonial {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonial-item {
    display: flex;
    gap: 30px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-top: 50px;
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    font-size: 18px;
    color: var(--primary-color);
}

.testimonial-author span {
    font-size: 14px;
    color: var(--text-light);
}

.project-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-white);
    text-align: center;
}

.project-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.project-cta p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .project-hero {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .project-subtitle {
        font-size: 16px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-item {
        flex-direction: column;
        padding: 30px 20px;
    }
}

