/* 
* TECNOLOGIA CSS - Hauzi Landing Page
* Estilos específicos para a seção Tecnologia
*/

#tecnologia {
    background-color: var(--preto);
    position: relative;
}

#tecnologia:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--taupe) 0%, rgba(111, 104, 90, 0) 70%);
    opacity: 0.1;
    filter: blur(80px);
    z-index: 1;
}

#tecnologia h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

#tecnologia h2:after {
    content: none;
}

.tecnologia-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.tech-item {
    background-color: var(--grafite);
    padding: var(--spacing-md);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform var(--transition-time) ease, box-shadow var(--transition-time) ease;
    position: relative;
    overflow: hidden;
}

.tech-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--taupe);
    transition: height 0.3s ease;
}

.tech-item:hover:before {
    height: 100%;
}

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(111, 104, 90, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-time) ease;
}

.tech-icon img {
    width: 40px;
    height: auto;
    transition: transform var(--transition-time) ease;
}

.tech-item:hover .tech-icon {
    background-color: rgba(111, 104, 90, 0.4);
}

.tech-item:hover .tech-icon img {
    transform: scale(1.1);
}

.tech-item h3 {
    color: var(--branco);
    margin-bottom: var(--spacing-sm);
    transition: color var(--transition-time) ease;
}

.tech-item:hover h3 {
    color: var(--branco);
}

.tech-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--branco);
    opacity: 0.8;
}

/* Media Queries */
@media (max-width: 992px) {
    .tecnologia-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .tecnologia-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .tech-item {
        margin-bottom: var(--spacing-md);
    }
}
