/* ============================================
   PROJECT DETAIL - ДЕТАЛЬНАЯ СТРАНИЦА ПРОЕКТА
   ============================================ */

/* Хлебные крошки */
.breadcrumbs {
    padding: 120px 0 20px;
    background: transparent;
}

.breadcrumbs-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.breadcrumbs-content a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs-content a:hover {
    color: #c7ff66;
}

.breadcrumbs-content i {
    font-size: 10px;
    color: #333;
}

.breadcrumbs-content span {
    color: #c7ff66;
}

/* Hero проекта */
.project-hero {
    padding: 40px 0;
}

.project-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.project-category {
    display: inline-block;
    color: #c7ff66;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    background: rgba(199, 255, 102, 0.1);
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid rgba(199, 255, 102, 0.2);
}

.project-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
}

.project-quick-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a0a0a0;
    font-size: 16px;
}

.info-item i {
    color: #c7ff66;
}

/* Главное изображение */
.project-main-image {
    padding: 60px 0;
}

.main-image-wrapper {
    width: 100%;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.main-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.main-image-wrapper:hover img {
    transform: scale(1.02);
}

/* О проекте */
.project-about {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-left {
    padding-right: 30px;
}

.about-title {
    font-size: 42px;
    font-weight: 700;
    margin: 20px 0 30px;
    line-height: 1.2;
}

.about-text {
    color: #a0a0a0;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 16px;
}

.project-features {
    margin-top: 40px;
    background: #1a1a1a;
    padding: 30px;
    border-radius: 30px;
    border: 1px solid #2a2a2a;
}

.project-features h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #c7ff66;
}

.project-features ul {
    list-style: none;
}

.project-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #e0e0e0;
    font-size: 15px;
}

.project-features li i {
    color: #c7ff66;
    font-size: 14px;
}

/* Карточки справа */
.about-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project-stats-card,
.project-tech-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 30px;
    padding: 40px;
}

.project-stats-card h3,
.project-tech-card h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #c7ff66;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 20px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #c7ff66;
}

.stat-label {
    color: #a0a0a0;
    font-size: 14px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: rgba(199, 255, 102, 0.1);
    border: 1px solid rgba(199, 255, 102, 0.2);
    color: #c7ff66;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 13px;
    transition: all 0.3s;
}

.tech-tag:hover {
    background: #c7ff66;
    color: #0a0a0a;
    transform: translateY(-2px);
}

/* Галерея */
.project-gallery {
    padding: 80px 0;
    background: #0a0a0a;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-title {
    font-size: 42px;
    font-weight: 700;
    margin-top: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #c7ff66;
    font-size: 32px;
}

/* Задачи и решения */
.project-challenges {
    padding: 80px 0;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.challenge-item {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
}

.challenge-item:hover {
    border-color: #c7ff66;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(199, 255, 102, 0.1);
}

.challenge-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(199, 255, 102, 0.1);
    border: 2px solid rgba(199, 255, 102, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #c7ff66;
    transition: all 0.3s;
}

.challenge-item:hover .challenge-icon {
    background: #c7ff66;
    color: #0a0a0a;
    transform: rotateY(360deg);
}

.challenge-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.challenge-text {
    color: #a0a0a0;
    line-height: 1.7;
}

/* Отзыв */
.project-testimonial {
    padding: 80px 0;
}

.testimonial-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid #2a2a2a;
    border-radius: 60px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.testimonial-quote {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 80px;
    color: #c7ff66;
    opacity: 0.1;
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: rgba(199, 255, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #c7ff66;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.author-info p {
    color: #a0a0a0;
    font-size: 14px;
}

/* Похожие проекты */
.related-projects {
    padding: 80px 0;
}

.related-header {
    text-align: center;
    margin-bottom: 60px;
}

.related-title {
    font-size: 42px;
    font-weight: 700;
    margin-top: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-card {
    display: block;
    text-decoration: none;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.3s;
}

.related-card:hover {
    border-color: #c7ff66;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(199, 255, 102, 0.1);
}

.related-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-info {
    padding: 20px;
}

.related-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.related-cat {
    color: #a0a0a0;
    font-size: 13px;
}

/* CTA */
.project-cta {
    padding: 60px 0 100px;
}

.cta-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid #2a2a2a;
    border-radius: 60px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(199, 255, 102, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-text {
    color: #a0a0a0;
    font-size: 18px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.cta-button {
    position: relative;
    z-index: 2;
    padding: 18px 50px;
    font-size: 16px;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Адаптивность */
@media (max-width: 1024px) {
    .about-grid,
    .challenges-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 100px 0 20px;
    }

    .project-quick-info {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .about-grid,
    .challenges-grid,
    .related-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 40px 30px;
    }

    .testimonial-text {
        font-size: 18px;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-card {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .project-title {
        font-size: 36px;
    }

    .about-title,
    .gallery-title,
    .related-title {
        font-size: 32px;
    }

    .tech-tags {
        justify-content: center;
    }
}