/* Estilos para páginas de detalhes de projetos no estilo Behance */

/* Hero Section */
.project-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #05103C;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cdefs%3E%3Crect stroke='%2305103C' stroke-width='0.3' width='1' height='1' id='s'/%3E%3Cpattern id='a' width='3' height='3' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cuse fill='%23242745' href='%23s' y='2'/%3E%3Cuse fill='%23242745' href='%23s' x='1' y='2'/%3E%3Cuse fill='%2333354e' href='%23s' x='2' y='2'/%3E%3Cuse fill='%2333354e' href='%23s'/%3E%3Cuse fill='%233f4055' href='%23s' x='2'/%3E%3Cuse fill='%233f4055' href='%23s' x='1' y='1'/%3E%3C/pattern%3E%3Cpattern id='b' width='7' height='11' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23484a5c'%3E%3Cuse href='%23s'/%3E%3Cuse href='%23s' y='5' /%3E%3Cuse href='%23s' x='1' y='10'/%3E%3Cuse href='%23s' x='2' y='1'/%3E%3Cuse href='%23s' x='2' y='4'/%3E%3Cuse href='%23s' x='3' y='8'/%3E%3Cuse href='%23s' x='4' y='3'/%3E%3Cuse href='%23s' x='4' y='7'/%3E%3Cuse href='%23s' x='5' y='2'/%3E%3Cuse href='%23s' x='5' y='6'/%3E%3Cuse href='%23s' x='6' y='9'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='h' width='5' height='13' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23484a5c'%3E%3Cuse href='%23s' y='5'/%3E%3Cuse href='%23s' y='8'/%3E%3Cuse href='%23s' x='1' y='1'/%3E%3Cuse href='%23s' x='1' y='9'/%3E%3Cuse href='%23s' x='1' y='12'/%3E%3Cuse href='%23s' x='2'/%3E%3Cuse href='%23s' x='2' y='4'/%3E%3Cuse href='%23s' x='3' y='2'/%3E%3Cuse href='%23s' x='3' y='6'/%3E%3Cuse href='%23s' x='3' y='11'/%3E%3Cuse href='%23s' x='4' y='3'/%3E%3Cuse href='%23s' x='4' y='7'/%3E%3Cuse href='%23s' x='4' y='10'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='c' width='17' height='13' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23515263'%3E%3Cuse href='%23s' y='11'/%3E%3Cuse href='%23s' x='2' y='9'/%3E%3Cuse href='%23s' x='5' y='12'/%3E%3Cuse href='%23s' x='9' y='4'/%3E%3Cuse href='%23s' x='12' y='1'/%3E%3Cuse href='%23s' x='16' y='6'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='d' width='19' height='17' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%2305103C'%3E%3Cuse href='%23s' y='9'/%3E%3Cuse href='%23s' x='16' y='5'/%3E%3Cuse href='%23s' x='14' y='2'/%3E%3Cuse href='%23s' x='11' y='11'/%3E%3Cuse href='%23s' x='6' y='14'/%3E%3C/g%3E%3Cg fill='%23585a69'%3E%3Cuse href='%23s' x='3' y='13'/%3E%3Cuse href='%23s' x='9' y='7'/%3E%3Cuse href='%23s' x='13' y='10'/%3E%3Cuse href='%23s' x='15' y='4'/%3E%3Cuse href='%23s' x='18' y='1'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='e' width='47' height='53' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23F60'%3E%3Cuse href='%23s' x='2' y='5'/%3E%3Cuse href='%23s' x='16' y='38'/%3E%3Cuse href='%23s' x='46' y='42'/%3E%3Cuse href='%23s' x='29' y='20'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='f' width='59' height='71' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23F60'%3E%3Cuse href='%23s' x='33' y='13'/%3E%3Cuse href='%23s' x='27' y='54'/%3E%3Cuse href='%23s' x='55' y='55'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='g' width='139' height='97' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23F60'%3E%3Cuse href='%23s' x='11' y='8'/%3E%3Cuse href='%23s' x='51' y='13'/%3E%3Cuse href='%23s' x='17' y='73'/%3E%3Cuse href='%23s' x='99' y='57'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23b)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23h)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23c)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23d)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23e)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23f)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23g)' width='100%25' height='100%25'/%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.project-hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}


.project-hero-content {
    color: var(--white);
}

.project-category {
    display: inline-block;
    background-color: var(--accent);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.project-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--light);
}

.project-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
    margin-bottom: 30px;
}

.project-meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.9rem;
    color: var(--light);
    margin-bottom: 5px;
}

.meta-value {
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}

.project-hero-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.project-hero-image:hover img {
    transform: scale(1.03);
}

/* Galeria do Projeto - Estilo Behance */
.project-gallery {
    padding: 100px 0;
    background-color: var(--dark);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item.full-width {
    grid-column: span 12;
}

.gallery-item.half-width {
    grid-column: span 6;
}

.gallery-item.third-width {
    grid-column: span 4;
}

.mobile {
    position: relative;
    width: 275px;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 1rem;
    font-weight: 500;
}

/* Sobre o Projeto */
.project-about {
    padding: 100px 0;
    background-color: var(--dark-light);
}

.project-about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.project-description {
    color: var(--light);
    line-height: 1.8;
}

.project-description p {
    margin-bottom: 25px;
}

.project-description h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 40px 0 20px;
}

.feature-list, .tech-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: var(--light);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tech-list li {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent);
}

.project-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--light);
    font-size: 1rem;
}

/* Processo de Desenvolvimento */
.project-process {
    padding: 100px 0;
    background-color: var(--dark);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    height: 100%;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    z-index: 2;
}

.timeline-content {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    background-color: rgba(255, 255, 255, 0.08);
}

.timeline-content h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--light);
    line-height: 1.7;
}

/* Navegação entre projetos */
.project-navigation {
    padding: 50px 0;
    background-color: var(--dark-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.project-navigation-container {
    display: flex;
    justify-content: space-between;
}

.project-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--light);
    transition: color 0.3s ease;
}

.project-nav-item:hover {
    color: var(--accent);
}

.project-nav-item i {
    font-size: 1.5rem;
}

.project-nav-content {
    display: flex;
    flex-direction: column;
}

.project-nav-label {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.project-nav-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
}

.project-nav-item:hover .project-nav-title {
    color: var(--accent);
}

/* CTA Section */
.project-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.project-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/pattern-dots.png');
    opacity: 0.1;
    z-index: 1;
}

.project-cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.project-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.project-cta-description {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 40px;
}

/* Responsividade */
@media (max-width: 992px) {
    .project-hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-hero-image {
        order: -1;
    }
    
    .project-about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .gallery-item.third-width {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .project-hero {
        padding: 100px 0 60px;
    }
    
    .project-hero-title {
        font-size: 2.2rem;
    }
    
    .project-meta {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.half-width {
        grid-column: span 12;
    }
    
    .gallery-item.third-width {
        grid-column: span 12;
    }
    
    .project-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-navigation-container {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .project-hero-title {
        font-size: 1.8rem;
    }
    
    .timeline-item {
        padding-left: 70px;
    }
    
    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .project-cta-title {
        font-size: 1.8rem;
    }
}
