/* Estilos específicos para a página de Portfólio */

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Project Cards */
.project-card {
    background: rgba(35, 36, 58, 0.9);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    border: 2px solid transparent;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(252, 212, 87, 0.3);
    border-color: #ffdd98;
}

.project-card-header {
    padding: 25px 25px 20px 25px;
    border-bottom: 1px solid rgba(255, 221, 152, 0.2);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffdd98, #ffc55a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.project-icon i {
    font-size: 28px;
    color: #2c3e50;
}

.project-card-header h3 {
    color: #ffdd98;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.project-card-body {
    padding: 20px 25px;
}

.project-card-body p {
    color: rgba(252, 212, 87, 0.8);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(252, 212, 87, 0.2);
    color: #ffdd98;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(252, 212, 87, 0.3);
}

.project-card-footer {
    padding: 20px 25px 25px 25px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.project-card-footer .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-outline-primary {
    border-color: #ffdd98;
    color: #ffdd98;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #ffdd98;
    border-color: #ffdd98;
    color: #2c3e50;
}

.btn-primary {
    background: #ffdd98;
    border-color: #ffdd98;
    color: #2c3e50;
}

.btn-primary:hover {
    background: #ffc55a;
    border-color: #ffc55a;
    color: #2c3e50;
}

/* Technologies Section */
.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.tech-item {
    background: rgba(35, 36, 58, 0.9);
    border: 2px solid rgba(252, 212, 87, 0.3);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s;
}

.tech-item:hover {
    border-color: #ffdd98;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(252, 212, 87, 0.2);
}

.tech-item i {
    font-size: 2rem;
    color: #ffdd98;
    margin-bottom: 0.5rem;
    display: block;
}

.tech-item span {
    color: rgba(252, 212, 87, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Projects CTA */
.projects-cta {
    background: rgba(35, 36, 58, 0.6);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 2px solid rgba(252, 212, 87, 0.3);
    margin: 4rem 0;
}

.projects-cta h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 2rem;
}

.projects-cta p {
    color: #ffdd98;
    margin-bottom: 30px;
    font-size: 1.2rem;
}

/* Main content */
main {
    min-height: calc(100vh - 140px);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .floating-menu-pill {
        height: 36px;
        padding: 2px 10px 2px 4px;
    }
    .floating-menu-pill-text {
        font-size: 0.95em;
    }
    
    .technologies-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.8rem;
    }
    
    .tech-item {
        padding: 1rem 0.5rem;
    }
    
    .tech-item i {
        font-size: 1.5rem;
    }
    
    .projects-cta {
        padding: 2rem 1.5rem;
    }
    
    .project-card-header,
    .project-card-body,
    .project-card-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}
