/* project-page.css - единый стиль для всех страниц проектов */
/* Подключается на park-electrobus.html и других страницах-проектах */

/* Hero секция проекта */
.project-hero-mini {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
}

.project-hero-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    border-radius: 48px;
    padding: 2rem 2.5rem;
    text-align: center;
    border: 1px solid rgba(44, 82, 130, 0.25);
    max-width: 800px;
    width: 90%;
}

.project-badge {
    display: inline-block;
    background: #2c5282;
    color: white;
    padding: 4px 16px;
    border-radius: 40px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.project-hero-card h1 {
    font-family: 'Oranienbaum', 'Georgia', 'Times New Roman', serif;
    color: #1e2a3a;
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-size: clamp(1.8rem, 5vw, 3rem);
}

.project-hero-card .accent-line {
    width: 60px;
    height: 2px;
    background: #2c5282;
    margin: 1rem auto;
}

.project-hero-card p {
    margin-top: 1rem;
    color: #0f2b3d;
    font-weight: 500;
    opacity: 0.9;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #2c5282;
    color: #2c5282;
    padding: 8px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: 0.2s;
}

.btn-back:hover {
    background: #2c5282;
    color: white;
}

/* Мини-статистика на странице проекта */
.stats-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(44, 82, 130, 0.2);
    border-bottom: 1px solid rgba(44, 82, 130, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f2b3d;
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #1a2f44;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Сетка выполненных работ */
.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.work-chip {
    background: rgba(44, 82, 130, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 60px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #0f2b3d;
    text-align: center;
    transition: 0.2s;
}

.work-chip:hover {
    background: rgba(44, 82, 130, 0.2);
    transform: translateX(3px);
}

/* Блок описания работ */
.work-description {
    padding: 2rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.work-description-inner {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border-radius: 48px;
    padding: 2rem;
}

.work-description h2 {
    color: #1e2a3a;
    margin-bottom: 1rem;
    font-family: 'Oranienbaum', serif;
    font-weight: 400;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .project-hero-mini {
        padding: 5rem 1rem 1rem;
    }
    
    .project-hero-card {
        padding: 1.2rem;
    }
    
    .project-hero-card h1 {
        font-size: 1.5rem;
    }
    
    .project-hero-card p {
        font-size: 0.8rem;
    }
    
    .stats-mini {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .work-list {
        grid-template-columns: 1fr;
    }
    
    .work-description {
        padding: 1rem;
    }
    
    .work-description-inner {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .project-hero-card {
        width: 95%;
    }
    
    .project-hero-card h1 {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
}