/* 项目详情页专用样式 */

/* 项目横幅 */
.project-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect fill="%232c3e50" width="1920" height="1080"/><rect fill="%2334495e" x="200" y="300" width="1520" height="600"/></svg>') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.project-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.back-btn {
    position: absolute;
    top: 100px;
    left: 40px;
    z-index: 10;
}

.back-btn a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    font-size: 0.95rem;
}

.back-btn a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.project-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
}

.project-badges {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.badge-hot {
    background: #e74c3c !important;
    color: white !important;
}

.project-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.project-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
}

/* 项目概况 */
.project-overview {
    background: var(--bg-white);
    padding: 5rem 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
}

.overview-content h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.overview-content p {
    color: var(--text-light);
    line-height: 2;
    font-size: 1.05rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
}

.highlight-item:hover {
    background: rgba(26, 26, 26, 0.05);
}

.highlight-item .icon {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.highlight-item span {
    color: var(--text-dark);
    font-weight: 500;
}

/* 信息卡片 */
.info-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.info-card h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 600;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-label {
    display: block;
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
}

.price-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
}

.price-label {
    display: block;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.price-value {
    display: block;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.btn-primary-full {
    display: block;
    width: 100%;
    padding: 1.2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.btn-primary-full:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary-full {
    display: block;
    width: 100%;
    padding: 1.2rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary-full:hover {
    background: var(--bg-light);
}

/* 实景图册 */
.project-gallery {
    background: var(--bg-white);
    padding: 5rem 0;
}

.project-gallery h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item.large {
    grid-column: 1 / 3;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.5);
    font-size: 1.5rem;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .info-card {
        order: -1;
    }
}

@media (max-width: 768px) {
    .project-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .project-hero h1 {
        font-size: 2.5rem;
    }
    
    .back-btn {
        top: 80px;
        left: 20px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item.large {
        grid-column: 1;
    }
}
