/* 
   Estilos para a página de detalhes de projeto da Graytec Tecnologia LTDA
   Complemento ao styles.css principal
*/

/* Hero da página de projeto */
.projeto-hero {
    position: relative;
    padding: 120px 0 60px;
    background: linear-gradient(to bottom, rgba(245, 245, 247, 0.9), rgba(245, 245, 247, 0.95));
    text-align: center;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.breadcrumb a {
    color: var(--primary-blue);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--secondary-blue);
}

.breadcrumb span {
    margin: 0 8px;
}

.projeto-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.projeto-subtitle {
    font-size: 1.3rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Conteúdo principal do projeto */
.projeto-content {
    padding: 60px 0;
}

.projeto-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

.projeto-main {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Galeria de imagens */
.projeto-gallery {
    margin-bottom: 20px;
}

.gallery-main {
    margin-bottom: 20px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery-main img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-medium);
}

.gallery-thumbs {
    display: flex;
    gap: 15px;
}

.thumb {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-medium);
    border: 2px solid transparent;
}

.thumb:hover {
    opacity: 0.9;
}

.thumb.active {
    opacity: 1;
    border-color: var(--primary-blue);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Descrição do projeto */
.projeto-description {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
}

.projeto-description h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.projeto-description h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 3px;
}

.projeto-description h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--dark-gray);
}

.projeto-description p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.projeto-description .lead {
    font-size: 1.2rem;
    color: var(--dark-gray);
}

/* Lista de funcionalidades */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    display: flex;
    margin-bottom: 25px;
    gap: 20px;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.feature-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.feature-content p {
    color: var(--medium-gray);
    margin-bottom: 0;
}

/* Tags de tecnologia */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.tech-tag {
    background-color: rgba(10, 132, 255, 0.1);
    color: var(--primary-blue);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.tech-tag:hover {
    background-color: rgba(10, 132, 255, 0.2);
    transform: translateY(-2px);
}

/* Timeline */
.timeline {
    position: relative;
    margin: 30px 0;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 9px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--secondary-blue));
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    z-index: 1;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.timeline-content p {
    color: var(--medium-gray);
    margin-bottom: 0;
}

/* Resultados do projeto */
.projeto-results {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
}

.projeto-results h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.projeto-results h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 3px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.result-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.result-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

.result-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.result-card p {
    color: var(--medium-gray);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Sidebar */
.projeto-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.projeto-sidebar .glass-card {
    height: auto;
}

.projeto-sidebar h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.info-item {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
}

.info-label {
    font-weight: 500;
    color: var(--dark-gray);
    width: 40%;
}

.info-value {
    color: var(--medium-gray);
    width: 60%;
}

.related-projects {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-project {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.related-project:hover {
    background-color: rgba(10, 132, 255, 0.05);
}

.related-project img {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
}

.related-project h4 {
    font-size: 0.9rem;
    margin: 0;
    color: var(--dark-gray);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    margin-top: 60px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background-color: var(--white);
    color: var(--primary-blue);
}

.cta-section .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .projeto-grid {
        grid-template-columns: 1fr;
    }
    
    .projeto-sidebar {
        order: -1;
    }
    
    .projeto-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .projeto-title {
        font-size: 2rem;
    }
    
    .projeto-subtitle {
        font-size: 1.1rem;
    }
    
    .gallery-thumbs {
        justify-content: center;
    }
    
    .results-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .feature-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .thumb {
        width: 80px;
        height: 80px;
    }
}
