@import 'base.css';

/* Estilos específicos da página Tecnologias */
.tecnologias-container {
    padding: 10px 40px;
    animation: fadeIn 1s ease-out;
}

.tecnologias-container h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 3em;
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.tech-description {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.tech-description p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
    padding: 20px;
    border-radius: 15px;
    margin: 0;
}

.tech-categories {
    max-width: 1000px;
    margin: 0 auto;
}

.tech-category {
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out both;
}

.tech-category:nth-child(2) { animation-delay: 0.1s; }
.tech-category:nth-child(3) { animation-delay: 0.2s; }
.tech-category:nth-child(4) { animation-delay: 0.3s; }

.tech-category h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.2em;
    margin-bottom: 25px;
    text-align: center;
    color: #333;
}

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

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.tech-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.tech-item:hover img {
    transform: rotate(360deg);
}

.tech-icon {
    font-size: 50px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
    display: block;
}

.tech-item:hover .tech-icon {
    transform: scale(1.2) rotate(10deg);
}

.tech-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.tech-item:hover .tech-logo {
    transform: scale(1.1) rotate(5deg);
}

.tech-item span {
    display: block;
    font-weight: 600;
    font-size: 0.9em;
}

.skill-level {
    margin-top: 10px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: #333;
    border-radius: 3px;
    transition: width 1s ease-out;
}

/* Responsividade para Tecnologias */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
        padding-bottom: 140px;
    }
    
    header {
        padding: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #cea8f0;
        padding: 20px 0;
    }
    
    .nav-menu.active {
        display: block !important;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0 20px;
    }
    
    nav li {
        width: 100%;
    }
    
    nav a {
        display: block;
        padding: 15px 20px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        margin-bottom: 5px;
    }
    
    nav a:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .tecnologias-container {
        padding: 20px;
    }
    
    .tecnologias-container h1 {
        font-size: 2.5em;
    }
    
    .tech-category h2 {
        font-size: 1.8em;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .tech-item {
        padding: 15px;
    }
    
    .tech-item img {
        width: 40px;
        height: 40px;
    }
    
    .contatos ul {
        gap: 20px;
        text-align: center;
    }
}