


/* ========== СТИЛІ ДЛЯ PRJ.HTML (ВСІ ПРОЕКТИ) ========== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Manrope", sans-serif;
    background-color: #f8f9fa;
}

/* ========== ДОДАТКОВІ СТИЛІ ДЛЯ ПРОЕКТІВ ========== */

/* Hero секція */
.page-hero {
    position: relative;
    background-color: #262625;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/projects/projects-hero.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 0;
}

.page-hero h1 {
    font-size: clamp(40px, 8vw, 70px);
    color: white;
    margin: 0;
    z-index: 2;
    position: relative;
    font-weight: 700;
}

.wave-container {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.wave-container svg {
    display: block;
    width: 100%;
    height: 100px;
}

/* Основний контейнер */
.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 70px;
}

/* Вступний блок */
.projects-intro {
    text-align: center;
    margin-bottom: 50px;
}

.badge {
    display: inline-block;
    background: #262625;
    color: white;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.projects-intro h2 {
    font-size: 38px;
    font-weight: 700;
    color: #262625;
    margin-bottom: 20px;
}

.projects-intro p {
    font-size: 18px;
    line-height: 1.55;
    color: #4a5568;
    max-width: 900px;
    margin: 0 auto;
}

/* Інформаційний блок (Що представлено / Як ми працюємо) */
.info-block-section {
    background: #fff;
    border-radius: 28px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.info-block-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: #262625;
    text-align: center;
    margin-bottom: 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-item {
    text-align: center;
    padding: 20px;
}

.info-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.info-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: #262625;
    margin-bottom: 12px;
}

.info-item p {
    font-size: 15px;
    line-height: 1.5;
    color: #4a5568;
}

/* Заголовок перед картками */
.projects-cards-title {
    margin: 50px 0 30px;
}

.projects-cards-title h3 {
    font-size: 28px;
    font-weight: 700;
    color: #262625;
    margin-bottom: 15px;
}

.projects-cards-title p {
    font-size: 16px;
    color: #4a5568;
}

/* Картки проектів (на mil-projects та art-projects) */
.projects-cards {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px
}

.project-item-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-wrap: wrap;
}

.project-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

.project-item-img {
    flex: 0 0 280px;
    width: 280px;
    height: 200px;
    overflow: hidden;
}

.project-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}



.project-item-content {
    flex: 1;
    padding: 25px 30px;
}

.project-item-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #262625;
    margin-bottom: 12px;
}

.project-item-content p {
    font-size: 15px;
    line-height: 1.55;
    color: #4a5568;
    margin-bottom: 15px;
}

.project-status {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.status-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.status-badge.active {
    background: #e8f0f4;
    color: #85abba;
}

.status-badge.planning {
    background: #fef5e0;
    color: #d4a300;
}

.progress-text {
    font-size: 13px;
    color: #85abba;
    font-weight: 600;
}

.project-link {
    color: #85abba;
    font-weight: 600;
    font-size: 15px;
}

.more-projects {
    text-align: center;
    padding: 50px;
    color: #888;
    font-size: 16px;
}

/* Для prj.html (картки напрямків) */
.projects-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.project-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

.project-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}



.project-content {
    padding: 25px;
    text-align: center;
}

.project-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.project-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #262625;
    margin-bottom: 12px;
}

.project-content p {
    font-size: 15px;
    line-height: 1.55;
    color: #4a5568;
    margin-bottom: 15px;
}

/* Адаптивність */
@media (max-width: 768px) {
    .projects-intro h2 {
        font-size: 28px;
    }
    
    .projects-intro p {
        font-size: 16px;
    }
    
    .info-block-section {
        padding: 25px;
    }
    
    .info-block-section h3 {
        font-size: 24px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-item-card {
        flex-direction: column;
    }
    
    .project-item-img {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }
    
    .project-item-content {
        padding: 20px;
    }
    
    .projects-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .project-img {
        height: 200px;
    }
}